paul_bunyan 1.5.3 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +7 -5
- data/Jenkinsfile +14 -0
- data/README.md +1 -3
- data/lib/paul_bunyan/railtie/log_subscriber.rb +6 -2
- data/lib/paul_bunyan/version.rb +1 -1
- data/paul_bunyan.gemspec +2 -2
- data/spec/dummy/app/assets/config/manifest.js +3 -0
- data/spec/gemfiles/{42.gemfile → 52.gemfile} +1 -1
- data/spec/gemfiles/{50.gemfile → 60.gemfile} +1 -1
- metadata +16 -16
- data/spec/gemfiles/51.gemfile +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 733bf0c476cf961dcccd7d662b8a9676eab037a3e75cdd6ce078c13079f490ee
|
4
|
+
data.tar.gz: 66c62fcc45b6f1c944a4cd567e248523d8ac37dd9fb0b733344bfb2299538a6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a89471e33536f06b7f950cf5632e938261807a1f456019285f4e24bb5ef38e52c95d864126082244e5dd862ead583364fba9529c0eb765e732e70426d7827dd9
|
7
|
+
data.tar.gz: 248a005d21714b311ef81929a1c794875c9994d2c4bea7edfb1cf45b3d80e7db6c84dd878e417f7e9acaba9d8c3de01672e083c83431fd0601dd5fb1d5c81f6a
|
data/.travis.yml
CHANGED
@@ -1,17 +1,19 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
- 2.2
|
4
|
-
- 2.3
|
5
3
|
- 2.4
|
4
|
+
- 2.5
|
5
|
+
- 2.6
|
6
6
|
matrix:
|
7
|
+
exclude:
|
8
|
+
- rvm: 2.4
|
9
|
+
gemfile: spec/gemfiles/60.gemfile
|
7
10
|
fast_finish: true
|
8
11
|
# WWTD doesn't support allow_failures... yet
|
9
12
|
# allow_failures:
|
10
13
|
# - rvm: ruby-head
|
11
14
|
gemfile:
|
12
|
-
- spec/gemfiles/
|
13
|
-
- spec/gemfiles/
|
14
|
-
- spec/gemfiles/51.gemfile
|
15
|
+
- spec/gemfiles/52.gemfile
|
16
|
+
- spec/gemfiles/60.gemfile
|
15
17
|
script: bundle exec rspec
|
16
18
|
notifications:
|
17
19
|
email:
|
data/Jenkinsfile
ADDED
data/README.md
CHANGED
@@ -66,8 +66,12 @@ module PaulBunyan
|
|
66
66
|
subscribers << subscriber
|
67
67
|
|
68
68
|
event_patterns.each do |pattern|
|
69
|
-
|
70
|
-
|
69
|
+
if Rails::VERSION::MAJOR >= 6
|
70
|
+
subscriber.patterns[pattern] = notifier.subscribe(pattern, subscriber)
|
71
|
+
else
|
72
|
+
subscriber.patterns << pattern
|
73
|
+
notifier.subscribe(pattern, subscriber)
|
74
|
+
end
|
71
75
|
end
|
72
76
|
end
|
73
77
|
|
data/lib/paul_bunyan/version.rb
CHANGED
data/paul_bunyan.gemspec
CHANGED
@@ -20,11 +20,11 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.add_dependency 'request_store'
|
22
22
|
|
23
|
-
spec.add_development_dependency 'bundler'
|
23
|
+
spec.add_development_dependency 'bundler'
|
24
24
|
spec.add_development_dependency 'rake'
|
25
25
|
spec.add_development_dependency 'rspec'
|
26
26
|
spec.add_development_dependency 'wwtd'
|
27
|
-
spec.add_development_dependency 'rails', '>=
|
27
|
+
spec.add_development_dependency 'rails', '>= 5.2'
|
28
28
|
spec.add_development_dependency 'sqlite3'
|
29
29
|
spec.add_development_dependency 'byebug'
|
30
30
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paul_bunyan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Duane Johnson
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2020-04-01 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: request_store
|
@@ -31,16 +31,16 @@ dependencies:
|
|
31
31
|
name: bundler
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
requirements:
|
34
|
-
- - "
|
34
|
+
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: '
|
36
|
+
version: '0'
|
37
37
|
type: :development
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- - "
|
41
|
+
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: '
|
43
|
+
version: '0'
|
44
44
|
- !ruby/object:Gem::Dependency
|
45
45
|
name: rake
|
46
46
|
requirement: !ruby/object:Gem::Requirement
|
@@ -89,14 +89,14 @@ dependencies:
|
|
89
89
|
requirements:
|
90
90
|
- - ">="
|
91
91
|
- !ruby/object:Gem::Version
|
92
|
-
version: '
|
92
|
+
version: '5.2'
|
93
93
|
type: :development
|
94
94
|
prerelease: false
|
95
95
|
version_requirements: !ruby/object:Gem::Requirement
|
96
96
|
requirements:
|
97
97
|
- - ">="
|
98
98
|
- !ruby/object:Gem::Version
|
99
|
-
version: '
|
99
|
+
version: '5.2'
|
100
100
|
- !ruby/object:Gem::Dependency
|
101
101
|
name: sqlite3
|
102
102
|
requirement: !ruby/object:Gem::Requirement
|
@@ -144,6 +144,7 @@ files:
|
|
144
144
|
- Dockerfile
|
145
145
|
- Gemfile
|
146
146
|
- Guardfile
|
147
|
+
- Jenkinsfile
|
147
148
|
- LICENSE.txt
|
148
149
|
- README.md
|
149
150
|
- Rakefile
|
@@ -169,6 +170,7 @@ files:
|
|
169
170
|
- lib/tasks/paul_bunyan_tasks.rake
|
170
171
|
- paul_bunyan.gemspec
|
171
172
|
- spec/dummy/Rakefile
|
173
|
+
- spec/dummy/app/assets/config/manifest.js
|
172
174
|
- spec/dummy/app/assets/images/.keep
|
173
175
|
- spec/dummy/app/assets/javascripts/application.js
|
174
176
|
- spec/dummy/app/assets/stylesheets/application.css
|
@@ -209,9 +211,8 @@ files:
|
|
209
211
|
- spec/dummy/public/422.html
|
210
212
|
- spec/dummy/public/500.html
|
211
213
|
- spec/dummy/public/favicon.ico
|
212
|
-
- spec/gemfiles/
|
213
|
-
- spec/gemfiles/
|
214
|
-
- spec/gemfiles/51.gemfile
|
214
|
+
- spec/gemfiles/52.gemfile
|
215
|
+
- spec/gemfiles/60.gemfile
|
215
216
|
- spec/lib/paul_bunyan/json_formatter_spec.rb
|
216
217
|
- spec/lib/paul_bunyan/level_spec.rb
|
217
218
|
- spec/lib/paul_bunyan/log_relayer_spec.rb
|
@@ -242,13 +243,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
242
243
|
- !ruby/object:Gem::Version
|
243
244
|
version: '0'
|
244
245
|
requirements: []
|
245
|
-
|
246
|
-
rubygems_version: 2.7.6
|
246
|
+
rubygems_version: 3.0.3
|
247
247
|
signing_key:
|
248
248
|
specification_version: 4
|
249
249
|
summary: Logging for all the things
|
250
250
|
test_files:
|
251
251
|
- spec/dummy/Rakefile
|
252
|
+
- spec/dummy/app/assets/config/manifest.js
|
252
253
|
- spec/dummy/app/assets/images/.keep
|
253
254
|
- spec/dummy/app/assets/javascripts/application.js
|
254
255
|
- spec/dummy/app/assets/stylesheets/application.css
|
@@ -289,9 +290,8 @@ test_files:
|
|
289
290
|
- spec/dummy/public/422.html
|
290
291
|
- spec/dummy/public/500.html
|
291
292
|
- spec/dummy/public/favicon.ico
|
292
|
-
- spec/gemfiles/
|
293
|
-
- spec/gemfiles/
|
294
|
-
- spec/gemfiles/51.gemfile
|
293
|
+
- spec/gemfiles/52.gemfile
|
294
|
+
- spec/gemfiles/60.gemfile
|
295
295
|
- spec/lib/paul_bunyan/json_formatter_spec.rb
|
296
296
|
- spec/lib/paul_bunyan/level_spec.rb
|
297
297
|
- spec/lib/paul_bunyan/log_relayer_spec.rb
|