File tree Expand file tree Collapse file tree 4 files changed +4
-37
lines changed Expand file tree Collapse file tree 4 files changed +4
-37
lines changed Original file line number Diff line number Diff line change 11source 'https://rubygems.org'
22git_source ( :github ) { |repo | "https://github.com/#{ repo } .git" }
3- gem 'lograge'
4- gem 'lograge-sql'
3+
4+
55
66ruby '2.3.3'
77gem 'knock' , github : 'psantos10/knock' , branch : 'master'
Original file line number Diff line number Diff line change 8080 rb-fsevent (~> 0.9 , >= 0.9.4 )
8181 rb-inotify (~> 0.9 , >= 0.9.7 )
8282 ruby_dep (~> 1.2 )
83- lograge (0.11.2 )
84- actionpack (>= 4 )
85- activesupport (>= 4 )
86- railties (>= 4 )
87- request_store (~> 1.0 )
88- lograge-sql (1.0.0 )
89- activerecord (>= 4 , < 7.0 )
90- lograge (~> 0.4 )
9183 loofah (2.2.3 )
9284 crass (~> 1.0.2 )
9385 nokogiri (>= 1.5.9 )
142134 rb-inotify (0.10.0 )
143135 ffi (~> 1.0 )
144136 rb-readline (0.5.5 )
145- request_store (1.4.1 )
146- rack (>= 1.4 )
147137 ruby_dep (1.5.0 )
148138 spring (2.0.2 )
149139 activesupport (>= 4.2 )
@@ -176,8 +166,6 @@ DEPENDENCIES
176166 jwt
177167 knock !
178168 listen (>= 3.0.5 , < 3.2 )
179- lograge
180- lograge-sql
181169 pg (>= 0.18 , < 2.0 )
182170 pry
183171 puma (~> 3.11 )
Original file line number Diff line number Diff line change @@ -17,15 +17,6 @@ def get_current_user
1717
1818 user
1919 end
20- def append_info_to_payload ( payload )
21- super
22- case
23- when payload [ :status ] == 200
24- payload [ :level ] = "INFO"
25- when payload [ :status ] == 302
26- payload [ :level ] = "WARN"
27- else
28- payload [ :level ] = "ERROR"
29- end
30- end
20+
21+
3122 end
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments