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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6cd239b74337270ec4552ab5b968097fb992fc10f16865db5636a72b470e8d01
4
- data.tar.gz: '09a9523fcc3b38208a572ffe57baebfa28c085c709c3ac0adf94b4db34982035'
3
+ metadata.gz: 733bf0c476cf961dcccd7d662b8a9676eab037a3e75cdd6ce078c13079f490ee
4
+ data.tar.gz: 66c62fcc45b6f1c944a4cd567e248523d8ac37dd9fb0b733344bfb2299538a6e
5
5
  SHA512:
6
- metadata.gz: 98d74e92f6f9b2c575ab9511b8070724aa181e1a7f8c60fa72f004db79eb301defdfdce8b185bb21ff034204383a7aeb190e7c748cba3b5e2722691c78a7391d
7
- data.tar.gz: eb3cc2f0857fd064339635230a56246adbab2da6a88a3c95e72696fe3be4db246462e083aaa6d40ed96c4368ea4c0d7c686a46acbe0f2d9551a3040791402f3e
6
+ metadata.gz: a89471e33536f06b7f950cf5632e938261807a1f456019285f4e24bb5ef38e52c95d864126082244e5dd862ead583364fba9529c0eb765e732e70426d7827dd9
7
+ data.tar.gz: 248a005d21714b311ef81929a1c794875c9994d2c4bea7edfb1cf45b3d80e7db6c84dd878e417f7e9acaba9d8c3de01672e083c83431fd0601dd5fb1d5c81f6a
@@ -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/42.gemfile
13
- - spec/gemfiles/50.gemfile
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:
@@ -0,0 +1,14 @@
1
+ pipeline {
2
+ agent {
3
+ label "docker"
4
+ }
5
+ stages {
6
+ stage('Build') {
7
+ steps {
8
+ ansiColor('xterm') {
9
+ sh './build.sh'
10
+ }
11
+ }
12
+ }
13
+ }
14
+ }
data/README.md CHANGED
@@ -43,9 +43,7 @@ Or install it yourself as:
43
43
  ```
44
44
  require 'paul_bunyan'
45
45
 
46
- include PaulBunyan::Logger
47
-
48
- PaulBunyan.set_logger(STDOUT)
46
+ include PaulBunyan
49
47
 
50
48
  logger.warn "blah"
51
49
  ```
@@ -66,8 +66,12 @@ module PaulBunyan
66
66
  subscribers << subscriber
67
67
 
68
68
  event_patterns.each do |pattern|
69
- subscriber.patterns << pattern
70
- notifier.subscribe(pattern, subscriber)
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
 
@@ -1,3 +1,3 @@
1
1
  module PaulBunyan
2
- VERSION = '1.5.3'
2
+ VERSION = '1.6.0'
3
3
  end
@@ -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', '~> 1.5'
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', '>= 4.2'
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
@@ -0,0 +1,3 @@
1
+ //= link_tree ../images
2
+ //= link_directory ../javascripts .js
3
+ //= link_directory ../stylesheets .css
@@ -2,4 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec path: '../../'
4
4
 
5
- gem 'rails', '~> 4.2.0'
5
+ gem 'rails', '~> 5.2.0'
@@ -2,4 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec path: '../../'
4
4
 
5
- gem 'rails', '~> 5.0.0'
5
+ gem 'rails', '~> 6.0.0'
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.5.3
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: 2018-11-19 00:00:00.000000000 Z
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: '1.5'
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: '1.5'
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: '4.2'
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: '4.2'
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/42.gemfile
213
- - spec/gemfiles/50.gemfile
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
- rubyforge_project:
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/42.gemfile
293
- - spec/gemfiles/50.gemfile
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
@@ -1,5 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec path: '../../'
4
-
5
- gem 'rails', '~> 5.1.0'