sweet_notifications 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/ci.yml +43 -0
- data/.rubocop.yml +88 -4
- data/Appraisals +5 -17
- data/CHANGELOG.md +5 -0
- data/README.md +1 -1
- data/Rakefile +1 -1
- data/gemfiles/{rails_5.0.gemfile → rails_5.2.gemfile} +1 -1
- data/gemfiles/{rails_4.0.gemfile → rails_6.0.gemfile} +1 -1
- data/lib/sweet_notifications/log_subscriber.rb +1 -0
- data/lib/sweet_notifications/version.rb +1 -1
- data/sweet_notifications.gemspec +13 -13
- data/test/controller_runtime_test.rb +6 -6
- data/test/log_subscriber_test.rb +2 -2
- data/test/sweet_notifications_test.rb +1 -0
- metadata +48 -38
- data/.travis.yml +0 -23
- data/gemfiles/rails_4.1.gemfile +0 -7
- data/gemfiles/rails_4.2.gemfile +0 -7
- data/gemfiles/rails_5.1.gemfile +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5c1c62f7f37f8ccb5183e5319cfbd745533545be20c374ef14ac034081adacab
|
4
|
+
data.tar.gz: 0f73960d95c9cc6d0c8df39fb0d16bf451672fe6eee7cb924c7ca1354da24ab6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16da12ca9aeb6817725667ae40fee08bd25d0da2f1dd46fb1e93aebb67205a3b07d23993df789e7800702ed0aaf9bb56a678fa09ebd9428f3374f9eb67abfab0
|
7
|
+
data.tar.gz: 4591548d09478c09b16b6f12790e43e24a00dfe9163e6763944399ecafc65c984b132926c1e63b8fe8f26aa18a209572d8ef72c9711eeb38b052fb072dc6df28
|
@@ -0,0 +1,43 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on: [push, pull_request]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
test:
|
7
|
+
name: >-
|
8
|
+
Test (${{ matrix.gemfile }} ${{ matrix.ruby }})
|
9
|
+
runs-on: ubuntu-latest
|
10
|
+
strategy:
|
11
|
+
fail-fast: false
|
12
|
+
matrix:
|
13
|
+
gemfile:
|
14
|
+
- gemfiles/rails_5.2.gemfile
|
15
|
+
- gemfiles/rails_6.0.gemfile
|
16
|
+
- Gemfile
|
17
|
+
ruby:
|
18
|
+
- 2.5
|
19
|
+
- 2.6
|
20
|
+
- 2.7
|
21
|
+
- jruby
|
22
|
+
include:
|
23
|
+
- ruby: 2.7
|
24
|
+
gemfile: gemfiles/rails_head.gemfile
|
25
|
+
env:
|
26
|
+
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
27
|
+
steps:
|
28
|
+
- uses: actions/checkout@v2
|
29
|
+
- uses: ruby/setup-ruby@v1
|
30
|
+
with:
|
31
|
+
ruby-version: ${{ matrix.ruby }}
|
32
|
+
bundler-cache: true
|
33
|
+
- run: bundle exec rake test
|
34
|
+
rubocop:
|
35
|
+
name: Rubocop
|
36
|
+
runs-on: ubuntu-latest
|
37
|
+
steps:
|
38
|
+
- uses: actions/checkout@v2
|
39
|
+
- uses: ruby/setup-ruby@v1
|
40
|
+
with:
|
41
|
+
ruby-version: 2.7
|
42
|
+
bundler-cache: true
|
43
|
+
- run: bundle exec rubocop --format github
|
data/.rubocop.yml
CHANGED
@@ -1,26 +1,74 @@
|
|
1
|
+
require: rubocop-rails
|
2
|
+
|
1
3
|
AllCops:
|
2
4
|
Exclude:
|
3
5
|
- sweet_notifications.gemspec
|
4
6
|
- lib/sweet_notifications/version.rb
|
5
7
|
- "vendor/**/*"
|
6
8
|
- "gemfiles/vendor/**/*"
|
9
|
+
TargetRubyVersion: 2.5
|
7
10
|
|
8
11
|
Rails:
|
9
12
|
Enabled: true
|
10
13
|
|
11
|
-
|
14
|
+
Rails/ApplicationController:
|
15
|
+
Enabled: false
|
16
|
+
|
17
|
+
Rails/AssertNot:
|
18
|
+
Enabled: false
|
19
|
+
|
20
|
+
Rails/RefuteMethods:
|
21
|
+
Enabled: false
|
22
|
+
Rails/ActiveRecordCallbacksOrder:
|
23
|
+
Enabled: true
|
24
|
+
Rails/AfterCommitOverride:
|
25
|
+
Enabled: true
|
26
|
+
Rails/FindById:
|
27
|
+
Enabled: true
|
28
|
+
Rails/Inquiry:
|
29
|
+
Enabled: true
|
30
|
+
Rails/MailerName:
|
31
|
+
Enabled: true
|
32
|
+
Rails/MatchRoute:
|
33
|
+
Enabled: true
|
34
|
+
Rails/NegateInclude:
|
35
|
+
Enabled: true
|
36
|
+
Rails/Pluck:
|
37
|
+
Enabled: true
|
38
|
+
Rails/PluckInWhere:
|
39
|
+
Enabled: true
|
40
|
+
Rails/RenderInline:
|
41
|
+
Enabled: true
|
42
|
+
Rails/RenderPlainText:
|
43
|
+
Enabled: true
|
44
|
+
Rails/ShortI18n:
|
45
|
+
Enabled: true
|
46
|
+
Rails/SquishedSQLHeredocs:
|
47
|
+
Enabled: true
|
48
|
+
Rails/WhereExists:
|
49
|
+
Enabled: true
|
50
|
+
Rails/WhereNot:
|
51
|
+
Enabled: true
|
52
|
+
|
53
|
+
Bundler/OrderedGems:
|
54
|
+
Enabled: false
|
55
|
+
|
56
|
+
Lint/ConstantDefinitionInBlock:
|
57
|
+
Enabled: false
|
58
|
+
|
59
|
+
Style/ClassAndModuleChildren:
|
12
60
|
Exclude:
|
13
61
|
- test/**/*.rb
|
14
62
|
|
15
|
-
Documentation:
|
63
|
+
Style/Documentation:
|
16
64
|
Include:
|
17
65
|
- lib/**/*.rb
|
18
66
|
|
19
|
-
MethodLength:
|
67
|
+
Metrics/MethodLength:
|
20
68
|
Exclude:
|
21
69
|
- lib/sweet_notifications/controller_runtime.rb
|
22
70
|
|
23
|
-
ModuleFunction:
|
71
|
+
Style/ModuleFunction:
|
24
72
|
Enabled: false
|
25
73
|
|
26
74
|
Metrics/AbcSize:
|
@@ -28,3 +76,39 @@ Metrics/AbcSize:
|
|
28
76
|
|
29
77
|
Metrics/BlockLength:
|
30
78
|
Enabled: false
|
79
|
+
|
80
|
+
Style/FormatStringToken:
|
81
|
+
Enabled: false
|
82
|
+
|
83
|
+
Style/StringLiterals:
|
84
|
+
Enabled: false
|
85
|
+
|
86
|
+
Style/FrozenStringLiteralComment:
|
87
|
+
Enabled: false
|
88
|
+
|
89
|
+
Style/StringConcatenation:
|
90
|
+
Enabled: false
|
91
|
+
|
92
|
+
Style/IfUnlessModifier:
|
93
|
+
Enabled: false
|
94
|
+
|
95
|
+
Lint/DuplicateRegexpCharacterClassElement:
|
96
|
+
Enabled: true
|
97
|
+
Lint/EmptyBlock:
|
98
|
+
Enabled: true
|
99
|
+
Lint/NoReturnInBeginEndBlocks:
|
100
|
+
Enabled: true
|
101
|
+
Lint/ToEnumArguments:
|
102
|
+
Enabled: true
|
103
|
+
Lint/UnmodifiedReduceAccumulator:
|
104
|
+
Enabled: true
|
105
|
+
Style/ArgumentsForwarding:
|
106
|
+
Enabled: true
|
107
|
+
Style/CollectionCompact:
|
108
|
+
Enabled: true
|
109
|
+
Style/DocumentDynamicEvalDefinition:
|
110
|
+
Enabled: true
|
111
|
+
Style/NegatedIfElseCondition:
|
112
|
+
Enabled: true
|
113
|
+
Style/SwapValues:
|
114
|
+
Enabled: true
|
data/Appraisals
CHANGED
@@ -1,24 +1,12 @@
|
|
1
|
-
appraise
|
2
|
-
gem 'rails', '~>
|
1
|
+
appraise 'rails-5.2' do
|
2
|
+
gem 'rails', '~> 5.2.0'
|
3
3
|
end
|
4
4
|
|
5
|
-
appraise
|
6
|
-
gem 'rails', '~>
|
5
|
+
appraise 'rails-6.0' do
|
6
|
+
gem 'rails', '~> 6.0.0'
|
7
7
|
end
|
8
8
|
|
9
|
-
appraise
|
10
|
-
gem 'rails', '~> 4.2.0'
|
11
|
-
end
|
12
|
-
|
13
|
-
appraise "rails-5.0" do
|
14
|
-
gem 'rails', '~> 5.0.0'
|
15
|
-
end
|
16
|
-
|
17
|
-
appraise "rails-5.1" do
|
18
|
-
gem 'rails', '~> 5.1.0'
|
19
|
-
end
|
20
|
-
|
21
|
-
appraise "rails-head" do
|
9
|
+
appraise 'rails-head' do
|
22
10
|
gem 'rails', github: 'rails'
|
23
11
|
gem 'arel', github: 'rails/arel'
|
24
12
|
gem 'rack', github: 'rack'
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# SweetNotifications
|
1
|
+
# SweetNotifications
|
2
2
|
|
3
3
|
Syntactic sugar for ActiveSupport::LogSubscriber for easy instrumentation and
|
4
4
|
logging from third-party libraries.
|
data/Rakefile
CHANGED
data/sweet_notifications.gemspec
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
1
|
+
lib = File.expand_path('lib', __dir__)
|
3
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
3
|
require 'sweet_notifications/version'
|
5
4
|
|
@@ -8,8 +7,8 @@ Gem::Specification.new do |spec|
|
|
8
7
|
spec.version = SweetNotifications::VERSION
|
9
8
|
spec.authors = ["Ville Lautanala"]
|
10
9
|
spec.email = ["lautis@gmail.com"]
|
11
|
-
spec.summary =
|
12
|
-
spec.description =
|
10
|
+
spec.summary = 'Syntactic sugar for ActiveSupport::LogSubscriber.'
|
11
|
+
spec.description = 'Syntactic sugar for ActiveSupport::LogSubscriber for easy instrumentation and logging from third-party libraries.'
|
13
12
|
spec.homepage = "https://github.com/lautis/sweet_notifications"
|
14
13
|
spec.license = "MIT"
|
15
14
|
|
@@ -18,17 +17,18 @@ Gem::Specification.new do |spec|
|
|
18
17
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
18
|
spec.require_paths = ["lib"]
|
20
19
|
|
21
|
-
spec.required_ruby_version = '~> 2.
|
20
|
+
spec.required_ruby_version = '~> 2.5'
|
22
21
|
|
23
|
-
spec.add_runtime_dependency "activesupport", ">=
|
22
|
+
spec.add_runtime_dependency "activesupport", ">= 5.2"
|
23
|
+
spec.add_runtime_dependency "railties", ">= 5.2"
|
24
24
|
spec.add_runtime_dependency "request_store", "~> 1.0"
|
25
|
-
spec.
|
26
|
-
spec.add_development_dependency "
|
27
|
-
spec.add_development_dependency "bundler", "
|
25
|
+
spec.add_development_dependency "actionpack", ">= 5.2"
|
26
|
+
spec.add_development_dependency "appraisal", "~> 2.0"
|
27
|
+
spec.add_development_dependency "bundler", ">= 1.6"
|
28
28
|
spec.add_development_dependency "minitest"
|
29
|
-
spec.add_development_dependency "rake", "~>
|
29
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
30
|
+
spec.add_development_dependency "rubocop", "~> 1.2.0"
|
31
|
+
spec.add_development_dependency "rubocop-rails", "~> 2.0"
|
32
|
+
spec.add_development_dependency "simplecov", "~> 0.15"
|
30
33
|
spec.add_development_dependency "yard", "~> 0.9.7"
|
31
|
-
spec.add_development_dependency "appraisal", "~> 2.0"
|
32
|
-
spec.add_development_dependency "simplecov", "~> 0.12.0"
|
33
|
-
spec.add_development_dependency "rubocop", "~> 0.46.0"
|
34
34
|
end
|
@@ -6,7 +6,7 @@ describe SweetNotifications::ControllerRuntime do
|
|
6
6
|
|
7
7
|
ControllerRuntime = SweetNotifications.controller_runtime('Test',
|
8
8
|
TestLogSubscriber)
|
9
|
-
ActionController::Base.
|
9
|
+
ActionController::Base.include ControllerRuntime
|
10
10
|
|
11
11
|
class LogSubscribersController < ActionController::Base
|
12
12
|
def create
|
@@ -55,11 +55,11 @@ describe SweetNotifications::ControllerRuntime do
|
|
55
55
|
ActionController::Base.logger = @old_logger
|
56
56
|
end
|
57
57
|
|
58
|
-
# rubocop:disable AccessorMethodName
|
58
|
+
# rubocop:disable Naming/AccessorMethodName
|
59
59
|
def set_logger(logger)
|
60
60
|
ActionController::Base.logger = logger
|
61
61
|
end
|
62
|
-
# rubocop:enable AccessorMethodName
|
62
|
+
# rubocop:enable Naming/AccessorMethodName
|
63
63
|
|
64
64
|
describe '.log_process_action' do
|
65
65
|
it 'emits runtime to log messages' do
|
@@ -78,7 +78,7 @@ describe SweetNotifications::ControllerRuntime do
|
|
78
78
|
it 'appends non-zero runtime' do
|
79
79
|
post :create, params: { test: 1 }
|
80
80
|
wait
|
81
|
-
expected_message = /\(Views: [\d.]+ms \| Test: 100.0ms
|
81
|
+
expected_message = /\(Views: [\d.]+ms \| Test: 100.0ms/
|
82
82
|
assert_match(expected_message, @logger.logged(:info)[2])
|
83
83
|
end
|
84
84
|
|
@@ -86,14 +86,14 @@ describe SweetNotifications::ControllerRuntime do
|
|
86
86
|
TestLogSubscriber.runtime += 1000
|
87
87
|
post :create, params: { test: 1 }
|
88
88
|
wait
|
89
|
-
expected_message = /\(Views: [\d.]+ms \| Test: 100.0ms
|
89
|
+
expected_message = /\(Views: [\d.]+ms \| Test: 100.0ms/
|
90
90
|
assert_match(expected_message, @logger.logged(:info)[2])
|
91
91
|
end
|
92
92
|
|
93
93
|
it 'includes runtime after render' do
|
94
94
|
post :destroy, params: { id: 1 }
|
95
95
|
wait
|
96
|
-
expected_message = /\(Views: [\d.]+ms \| Test: 55.0ms
|
96
|
+
expected_message = /\(Views: [\d.]+ms \| Test: 55.0ms/
|
97
97
|
assert_match(expected_message, @logger.logged(:info)[2])
|
98
98
|
end
|
99
99
|
end
|
data/test/log_subscriber_test.rb
CHANGED
@@ -135,14 +135,14 @@ describe SweetNotifications::LogSubscriber do
|
|
135
135
|
subject.colorize_logging = true
|
136
136
|
odd = subject.message(event, 'Label', 'body')
|
137
137
|
even = subject.message(event, 'Label', 'body')
|
138
|
-
assert
|
138
|
+
assert odd.exclude?(ActiveSupport::LogSubscriber::BOLD + 'body')
|
139
139
|
assert even.include?(ActiveSupport::LogSubscriber::BOLD + 'body')
|
140
140
|
end
|
141
141
|
|
142
142
|
it 'does not use colors when setting is disabled' do
|
143
143
|
subject.colorize_logging = false
|
144
144
|
message = subject.message(event, 'Label', 'body')
|
145
|
-
assert
|
145
|
+
assert message.exclude?(ActiveSupport::LogSubscriber::CYAN)
|
146
146
|
end
|
147
147
|
end
|
148
148
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sweet_notifications
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ville Lautanala
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,14 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5.2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '5.2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: railties
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '5.2'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '5.2'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: request_store
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -39,45 +53,45 @@ dependencies:
|
|
39
53
|
- !ruby/object:Gem::Version
|
40
54
|
version: '1.0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
56
|
+
name: actionpack
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
59
|
- - ">="
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
48
|
-
type: :
|
61
|
+
version: '5.2'
|
62
|
+
type: :development
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
66
|
- - ">="
|
53
67
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
68
|
+
version: '5.2'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
70
|
+
name: appraisal
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
|
-
- - "
|
73
|
+
- - "~>"
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
75
|
+
version: '2.0'
|
62
76
|
type: :development
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
|
-
- - "
|
80
|
+
- - "~>"
|
67
81
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
82
|
+
version: '2.0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: bundler
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
|
-
- - "
|
87
|
+
- - ">="
|
74
88
|
- !ruby/object:Gem::Version
|
75
89
|
version: '1.6'
|
76
90
|
type: :development
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- - "
|
94
|
+
- - ">="
|
81
95
|
- !ruby/object:Gem::Version
|
82
96
|
version: '1.6'
|
83
97
|
- !ruby/object:Gem::Dependency
|
@@ -100,30 +114,30 @@ dependencies:
|
|
100
114
|
requirements:
|
101
115
|
- - "~>"
|
102
116
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
117
|
+
version: '13.0'
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
122
|
- - "~>"
|
109
123
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
124
|
+
version: '13.0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
126
|
+
name: rubocop
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
129
|
- - "~>"
|
116
130
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
131
|
+
version: 1.2.0
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
136
|
- - "~>"
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
138
|
+
version: 1.2.0
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
140
|
+
name: rubocop-rails
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
128
142
|
requirements:
|
129
143
|
- - "~>"
|
@@ -142,28 +156,28 @@ dependencies:
|
|
142
156
|
requirements:
|
143
157
|
- - "~>"
|
144
158
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0.
|
159
|
+
version: '0.15'
|
146
160
|
type: :development
|
147
161
|
prerelease: false
|
148
162
|
version_requirements: !ruby/object:Gem::Requirement
|
149
163
|
requirements:
|
150
164
|
- - "~>"
|
151
165
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0.
|
166
|
+
version: '0.15'
|
153
167
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
168
|
+
name: yard
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
156
170
|
requirements:
|
157
171
|
- - "~>"
|
158
172
|
- !ruby/object:Gem::Version
|
159
|
-
version: 0.
|
173
|
+
version: 0.9.7
|
160
174
|
type: :development
|
161
175
|
prerelease: false
|
162
176
|
version_requirements: !ruby/object:Gem::Requirement
|
163
177
|
requirements:
|
164
178
|
- - "~>"
|
165
179
|
- !ruby/object:Gem::Version
|
166
|
-
version: 0.
|
180
|
+
version: 0.9.7
|
167
181
|
description: Syntactic sugar for ActiveSupport::LogSubscriber for easy instrumentation
|
168
182
|
and logging from third-party libraries.
|
169
183
|
email:
|
@@ -172,9 +186,9 @@ executables: []
|
|
172
186
|
extensions: []
|
173
187
|
extra_rdoc_files: []
|
174
188
|
files:
|
189
|
+
- ".github/workflows/ci.yml"
|
175
190
|
- ".gitignore"
|
176
191
|
- ".rubocop.yml"
|
177
|
-
- ".travis.yml"
|
178
192
|
- Appraisals
|
179
193
|
- CHANGELOG.md
|
180
194
|
- CONTRIBUTING.md
|
@@ -182,11 +196,8 @@ files:
|
|
182
196
|
- LICENSE.txt
|
183
197
|
- README.md
|
184
198
|
- Rakefile
|
185
|
-
- gemfiles/
|
186
|
-
- gemfiles/
|
187
|
-
- gemfiles/rails_4.2.gemfile
|
188
|
-
- gemfiles/rails_5.0.gemfile
|
189
|
-
- gemfiles/rails_5.1.gemfile
|
199
|
+
- gemfiles/rails_5.2.gemfile
|
200
|
+
- gemfiles/rails_6.0.gemfile
|
190
201
|
- gemfiles/rails_head.gemfile
|
191
202
|
- lib/sweet_notifications.rb
|
192
203
|
- lib/sweet_notifications/controller_runtime.rb
|
@@ -203,7 +214,7 @@ homepage: https://github.com/lautis/sweet_notifications
|
|
203
214
|
licenses:
|
204
215
|
- MIT
|
205
216
|
metadata: {}
|
206
|
-
post_install_message:
|
217
|
+
post_install_message:
|
207
218
|
rdoc_options: []
|
208
219
|
require_paths:
|
209
220
|
- lib
|
@@ -211,16 +222,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
211
222
|
requirements:
|
212
223
|
- - "~>"
|
213
224
|
- !ruby/object:Gem::Version
|
214
|
-
version: '2.
|
225
|
+
version: '2.5'
|
215
226
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
216
227
|
requirements:
|
217
228
|
- - ">="
|
218
229
|
- !ruby/object:Gem::Version
|
219
230
|
version: '0'
|
220
231
|
requirements: []
|
221
|
-
|
222
|
-
|
223
|
-
signing_key:
|
232
|
+
rubygems_version: 3.1.2
|
233
|
+
signing_key:
|
224
234
|
specification_version: 4
|
225
235
|
summary: Syntactic sugar for ActiveSupport::LogSubscriber.
|
226
236
|
test_files:
|
data/.travis.yml
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
sudo: false
|
3
|
-
cache: bundler
|
4
|
-
gemfile:
|
5
|
-
- gemfiles/rails_4.2.gemfile
|
6
|
-
- gemfiles/rails_5.0.gemfile
|
7
|
-
- gemfiles/rails_5.1.gemfile
|
8
|
-
- Gemfile
|
9
|
-
rvm:
|
10
|
-
- '2.2.6'
|
11
|
-
- '2.3.3'
|
12
|
-
- '2.4.1'
|
13
|
-
- jruby-9.1.8.0
|
14
|
-
matrix:
|
15
|
-
include:
|
16
|
-
- rvm: '2.3.3'
|
17
|
-
gemfile: 'gemfiles/rails_4.0.gemfile'
|
18
|
-
- rvm: '2.3.3'
|
19
|
-
gemfile: 'gemfiles/rails_4.1.gemfile'
|
20
|
-
- rvm: '2.4.1'
|
21
|
-
gemfile: gemfiles/rails_head.gemfile
|
22
|
-
allow_failures:
|
23
|
-
- gemfile: gemfiles/rails_head.gemfile
|
data/gemfiles/rails_4.1.gemfile
DELETED
data/gemfiles/rails_4.2.gemfile
DELETED