log_sanity 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a0edb320430f364dcba88e455a88eb3cea47cc2630b691457e70b9727001a70
4
- data.tar.gz: db6591479d06b2b435bbd8992f3abf28e47dc15414bc87ccf6d7d3f0864e998d
3
+ metadata.gz: a31fa8ea5e6350b0402815d4953541aacce034d1d551161324ea69cf08c17027
4
+ data.tar.gz: 2a159e4a522885f3b0490bdfb927339b9e7356e7674068a9b6dc48af639e9e5f
5
5
  SHA512:
6
- metadata.gz: ef54dae274716b9d5c2bc180747b44cda69892a42e1c7addb7c8bee1275869ec9d4db97e88a5c0428eb15562bc49b1611c94160031fae6022c88c49902bda53f
7
- data.tar.gz: '0191a93198383de05c394f38d3cf4f046d0189d3b5ef78da900fd237353aab913bff98665fc606225a0179e187cd063e87e1947b617a08beebeead11d77cf8d6'
6
+ metadata.gz: d8abd35592d9be60aed4d17d62cd796aefa8499d929995b1724d7c5c64b5c4df472f23617c1e8ff8a8bfcf721f7d1303951c734575c03bcc93a7e78a709895ea
7
+ data.tar.gz: bb0d38031237b63a970a7cdd07ba549aa3ab6a8bfb5dd4ab752a31bef51f09abc472284fcff6cecdfbb9a19004fe035f671739ed4e9f97ddc02c077a8f55473e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ #### 2.1.0
2
+
3
+ - Require Rails 7.1.2
4
+ - Remove BroadcastLogger extension
5
+
1
6
  #### 2.0.0
2
7
 
3
8
  - (Breaking) Require Rails 7.1
data/Gemfile.lock CHANGED
@@ -1,76 +1,77 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- log_sanity (2.0.0)
5
- rails (>= 7.1, < 7.2)
4
+ log_sanity (2.1.0)
5
+ rails (>= 7.1.2, < 7.2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (7.1.0)
11
- actionpack (= 7.1.0)
12
- activesupport (= 7.1.0)
10
+ actioncable (7.1.2)
11
+ actionpack (= 7.1.2)
12
+ activesupport (= 7.1.2)
13
13
  nio4r (~> 2.0)
14
14
  websocket-driver (>= 0.6.1)
15
15
  zeitwerk (~> 2.6)
16
- actionmailbox (7.1.0)
17
- actionpack (= 7.1.0)
18
- activejob (= 7.1.0)
19
- activerecord (= 7.1.0)
20
- activestorage (= 7.1.0)
21
- activesupport (= 7.1.0)
16
+ actionmailbox (7.1.2)
17
+ actionpack (= 7.1.2)
18
+ activejob (= 7.1.2)
19
+ activerecord (= 7.1.2)
20
+ activestorage (= 7.1.2)
21
+ activesupport (= 7.1.2)
22
22
  mail (>= 2.7.1)
23
23
  net-imap
24
24
  net-pop
25
25
  net-smtp
26
- actionmailer (7.1.0)
27
- actionpack (= 7.1.0)
28
- actionview (= 7.1.0)
29
- activejob (= 7.1.0)
30
- activesupport (= 7.1.0)
26
+ actionmailer (7.1.2)
27
+ actionpack (= 7.1.2)
28
+ actionview (= 7.1.2)
29
+ activejob (= 7.1.2)
30
+ activesupport (= 7.1.2)
31
31
  mail (~> 2.5, >= 2.5.4)
32
32
  net-imap
33
33
  net-pop
34
34
  net-smtp
35
35
  rails-dom-testing (~> 2.2)
36
- actionpack (7.1.0)
37
- actionview (= 7.1.0)
38
- activesupport (= 7.1.0)
36
+ actionpack (7.1.2)
37
+ actionview (= 7.1.2)
38
+ activesupport (= 7.1.2)
39
39
  nokogiri (>= 1.8.5)
40
+ racc
40
41
  rack (>= 2.2.4)
41
42
  rack-session (>= 1.0.1)
42
43
  rack-test (>= 0.6.3)
43
44
  rails-dom-testing (~> 2.2)
44
45
  rails-html-sanitizer (~> 1.6)
45
- actiontext (7.1.0)
46
- actionpack (= 7.1.0)
47
- activerecord (= 7.1.0)
48
- activestorage (= 7.1.0)
49
- activesupport (= 7.1.0)
46
+ actiontext (7.1.2)
47
+ actionpack (= 7.1.2)
48
+ activerecord (= 7.1.2)
49
+ activestorage (= 7.1.2)
50
+ activesupport (= 7.1.2)
50
51
  globalid (>= 0.6.0)
51
52
  nokogiri (>= 1.8.5)
52
- actionview (7.1.0)
53
- activesupport (= 7.1.0)
53
+ actionview (7.1.2)
54
+ activesupport (= 7.1.2)
54
55
  builder (~> 3.1)
55
56
  erubi (~> 1.11)
56
57
  rails-dom-testing (~> 2.2)
57
58
  rails-html-sanitizer (~> 1.6)
58
- activejob (7.1.0)
59
- activesupport (= 7.1.0)
59
+ activejob (7.1.2)
60
+ activesupport (= 7.1.2)
60
61
  globalid (>= 0.3.6)
61
- activemodel (7.1.0)
62
- activesupport (= 7.1.0)
63
- activerecord (7.1.0)
64
- activemodel (= 7.1.0)
65
- activesupport (= 7.1.0)
62
+ activemodel (7.1.2)
63
+ activesupport (= 7.1.2)
64
+ activerecord (7.1.2)
65
+ activemodel (= 7.1.2)
66
+ activesupport (= 7.1.2)
66
67
  timeout (>= 0.4.0)
67
- activestorage (7.1.0)
68
- actionpack (= 7.1.0)
69
- activejob (= 7.1.0)
70
- activerecord (= 7.1.0)
71
- activesupport (= 7.1.0)
68
+ activestorage (7.1.2)
69
+ actionpack (= 7.1.2)
70
+ activejob (= 7.1.2)
71
+ activerecord (= 7.1.2)
72
+ activesupport (= 7.1.2)
72
73
  marcel (~> 1.0)
73
- activesupport (7.1.0)
74
+ activesupport (7.1.2)
74
75
  base64
75
76
  bigdecimal
76
77
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -80,14 +81,14 @@ GEM
80
81
  minitest (>= 5.1)
81
82
  mutex_m
82
83
  tzinfo (~> 2.0)
83
- base64 (0.1.1)
84
+ base64 (0.2.0)
84
85
  bigdecimal (3.1.4)
85
86
  builder (3.2.4)
86
87
  concurrent-ruby (1.2.2)
87
88
  connection_pool (2.4.1)
88
89
  crass (1.0.6)
89
- date (3.3.3)
90
- drb (2.1.1)
90
+ date (3.3.4)
91
+ drb (2.2.0)
91
92
  ruby2_keywords
92
93
  erubi (1.12.0)
93
94
  globalid (1.2.1)
@@ -95,10 +96,10 @@ GEM
95
96
  i18n (1.14.1)
96
97
  concurrent-ruby (~> 1.0)
97
98
  io-console (0.6.0)
98
- irb (1.8.1)
99
+ irb (1.9.0)
99
100
  rdoc
100
101
  reline (>= 0.3.8)
101
- loofah (2.21.3)
102
+ loofah (2.21.4)
102
103
  crass (~> 1.0.2)
103
104
  nokogiri (>= 1.12.0)
104
105
  mail (2.8.1)
@@ -109,13 +110,13 @@ GEM
109
110
  marcel (1.0.2)
110
111
  mini_mime (1.1.5)
111
112
  minitest (5.20.0)
112
- mutex_m (0.1.2)
113
- net-imap (0.4.1)
113
+ mutex_m (0.2.0)
114
+ net-imap (0.4.4)
114
115
  date
115
116
  net-protocol
116
117
  net-pop (0.1.2)
117
118
  net-protocol
118
- net-protocol (0.2.1)
119
+ net-protocol (0.2.2)
119
120
  timeout
120
121
  net-smtp (0.4.0)
121
122
  net-protocol
@@ -126,9 +127,9 @@ GEM
126
127
  racc (~> 1.4)
127
128
  nokogiri (1.15.4-x86_64-linux)
128
129
  racc (~> 1.4)
129
- psych (5.1.0)
130
+ psych (5.1.1.1)
130
131
  stringio
131
- racc (1.7.1)
132
+ racc (1.7.3)
132
133
  rack (3.0.8)
133
134
  rack-session (2.0.0)
134
135
  rack (>= 3.0.0)
@@ -137,20 +138,20 @@ GEM
137
138
  rackup (2.1.0)
138
139
  rack (>= 3)
139
140
  webrick (~> 1.8)
140
- rails (7.1.0)
141
- actioncable (= 7.1.0)
142
- actionmailbox (= 7.1.0)
143
- actionmailer (= 7.1.0)
144
- actionpack (= 7.1.0)
145
- actiontext (= 7.1.0)
146
- actionview (= 7.1.0)
147
- activejob (= 7.1.0)
148
- activemodel (= 7.1.0)
149
- activerecord (= 7.1.0)
150
- activestorage (= 7.1.0)
151
- activesupport (= 7.1.0)
141
+ rails (7.1.2)
142
+ actioncable (= 7.1.2)
143
+ actionmailbox (= 7.1.2)
144
+ actionmailer (= 7.1.2)
145
+ actionpack (= 7.1.2)
146
+ actiontext (= 7.1.2)
147
+ actionview (= 7.1.2)
148
+ activejob (= 7.1.2)
149
+ activemodel (= 7.1.2)
150
+ activerecord (= 7.1.2)
151
+ activestorage (= 7.1.2)
152
+ activesupport (= 7.1.2)
152
153
  bundler (>= 1.15.0)
153
- railties (= 7.1.0)
154
+ railties (= 7.1.2)
154
155
  rails-dom-testing (2.2.0)
155
156
  activesupport (>= 5.0.0)
156
157
  minitest
@@ -158,23 +159,23 @@ GEM
158
159
  rails-html-sanitizer (1.6.0)
159
160
  loofah (~> 2.21)
160
161
  nokogiri (~> 1.14)
161
- railties (7.1.0)
162
- actionpack (= 7.1.0)
163
- activesupport (= 7.1.0)
162
+ railties (7.1.2)
163
+ actionpack (= 7.1.2)
164
+ activesupport (= 7.1.2)
164
165
  irb
165
166
  rackup (>= 1.0.0)
166
167
  rake (>= 12.2)
167
168
  thor (~> 1.0, >= 1.2.2)
168
169
  zeitwerk (~> 2.6)
169
- rake (13.0.6)
170
- rdoc (6.5.0)
170
+ rake (13.1.0)
171
+ rdoc (6.6.0)
171
172
  psych (>= 4.0.0)
172
- reline (0.3.9)
173
+ reline (0.4.0)
173
174
  io-console (~> 0.5)
174
175
  ruby2_keywords (0.0.5)
175
- stringio (3.0.8)
176
- thor (1.2.2)
177
- timeout (0.4.0)
176
+ stringio (3.0.9)
177
+ thor (1.3.0)
178
+ timeout (0.4.1)
178
179
  tzinfo (2.0.6)
179
180
  concurrent-ruby (~> 1.0)
180
181
  webrick (1.8.1)
@@ -13,7 +13,6 @@ module LogSanity
13
13
  end
14
14
 
15
15
  initializer "log_sanity.configure", before: :load_config_initializers do |app|
16
- ActiveSupport::BroadcastLogger.include LogSanity::Extensions::BroadcastLogger
17
16
  app.config.log_tags ||= []
18
17
 
19
18
  if app.config.logsanity.enabled
@@ -1,3 +1,3 @@
1
1
  module LogSanity
2
- VERSION = '2.0.0'
2
+ VERSION = '2.1.0'
3
3
  end
data/lib/log_sanity.rb CHANGED
@@ -10,7 +10,6 @@
10
10
  middleware/request_logger
11
11
  extensions/action_cable_connection
12
12
  extensions/action_controller_helper
13
- extensions/broadcast_logger
14
13
  ).each do |fn|
15
14
  require_relative "log_sanity/#{fn}"
16
15
  end
data/log_sanity.gemspec CHANGED
@@ -17,5 +17,5 @@ Gem::Specification.new do |s|
17
17
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
18
18
  s.require_paths = ["lib"]
19
19
 
20
- s.add_dependency 'rails', '>= 7.1', '< 7.2'
20
+ s.add_dependency 'rails', '>= 7.1.2', '< 7.2'
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: log_sanity
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - thomas morgan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-09 00:00:00.000000000 Z
11
+ date: 2023-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '7.1'
19
+ version: 7.1.2
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '7.2'
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '7.1'
29
+ version: 7.1.2
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '7.2'
@@ -48,7 +48,6 @@ files:
48
48
  - lib/log_sanity.rb
49
49
  - lib/log_sanity/extensions/action_cable_connection.rb
50
50
  - lib/log_sanity/extensions/action_controller_helper.rb
51
- - lib/log_sanity/extensions/broadcast_logger.rb
52
51
  - lib/log_sanity/formatter.rb
53
52
  - lib/log_sanity/log_subscribers/action_cable.rb
54
53
  - lib/log_sanity/log_subscribers/action_controller.rb
@@ -1,13 +0,0 @@
1
- module LogSanity
2
- module Extensions
3
- module BroadcastLogger
4
- extend ActiveSupport::Concern
5
-
6
- def initialize_copy(other)
7
- super
8
- @broadcasts = other.broadcasts.deep_dup
9
- end
10
-
11
- end
12
- end
13
- end