datadog-notifications 0.6.1 → 0.6.2

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: 472a4035494d388a59a5e218f0623dece5a45aac484f03031ee4c1a226687f58
4
- data.tar.gz: c54d689966289b3d420d7e69ac8909a791884a91b4eee874f83c370c87f215ef
3
+ metadata.gz: 38a9e7c3163df4e1427b18ea7216e1b014d7bd3ba51a1aa0ff133de1990a6227
4
+ data.tar.gz: 0e1f66f6fea54e0934dd85d3e0ac351070ebd7652c6e0577e55aee10b887c067
5
5
  SHA512:
6
- metadata.gz: 9f1de08182535489a68e6d1090b9bf884b3cedc997e039a143a15d0f1ae77a7e5eeacd529e2b6e6dfce40d24fb8d630687431ac9a960fd1305b7330933cbaea6
7
- data.tar.gz: 591c6be1b9b0c07ce843c11d7983cf3dfdec252532cd8f68104418020adf37ed8f0864f2b7987b6fa06c4e4d259455eefa02caa4063892aaebbf3371d66d4b24
6
+ metadata.gz: 5362759bfa74f7cc6878861099b77eca4e933221f1f7eec74bff99a40551a21ed1bc5366895d1896ff79cc048d3e3fe00001a6fea20587b7ef4483caf45b220b
7
+ data.tar.gz: b58dc570f252838b4ad991345652218cd9026d3d78a70ef25d1dfca91577836267a054bbe56b42d45fb2ddb07c269ba10f369e28431fa899a6453db7abdfbe0d
data/.rubocop.yml CHANGED
@@ -2,7 +2,7 @@ inherit_from:
2
2
  - https://gitlab.com/bsm/misc/raw/master/rubocop/default.yml
3
3
 
4
4
  AllCops:
5
- TargetRubyVersion: "2.3"
5
+ TargetRubyVersion: "2.5"
6
6
 
7
7
  Naming/FileName:
8
8
  Exclude:
data/.travis.yml CHANGED
@@ -1,7 +1,8 @@
1
1
  cache: bundler
2
2
  language: ruby
3
+ before_install:
4
+ - gem install bundler
3
5
  rvm:
6
+ - 2.7
4
7
  - 2.6
5
8
  - 2.5
6
- - 2.4
7
- - 2.3
data/Gemfile.lock CHANGED
@@ -1,97 +1,95 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- datadog-notifications (0.6.1)
4
+ datadog-notifications (0.6.2)
5
5
  activesupport
6
6
  dogstatsd-ruby (>= 4.2, < 5.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activemodel (5.2.3)
12
- activesupport (= 5.2.3)
13
- activerecord (5.2.3)
14
- activemodel (= 5.2.3)
15
- activesupport (= 5.2.3)
16
- arel (>= 9.0)
17
- activesupport (5.2.3)
11
+ activemodel (6.0.2.1)
12
+ activesupport (= 6.0.2.1)
13
+ activerecord (6.0.2.1)
14
+ activemodel (= 6.0.2.1)
15
+ activesupport (= 6.0.2.1)
16
+ activesupport (6.0.2.1)
18
17
  concurrent-ruby (~> 1.0, >= 1.0.2)
19
18
  i18n (>= 0.7, < 2)
20
19
  minitest (~> 5.1)
21
20
  tzinfo (~> 1.1)
22
- arel (9.0.0)
21
+ zeitwerk (~> 2.2)
23
22
  ast (2.4.0)
24
23
  axiom-types (0.1.1)
25
24
  descendants_tracker (~> 0.0.4)
26
25
  ice_nine (~> 0.11.0)
27
26
  thread_safe (~> 0.3, >= 0.3.1)
28
- builder (3.2.3)
27
+ builder (3.2.4)
29
28
  coercible (1.0.0)
30
29
  descendants_tracker (~> 0.0.1)
31
30
  concurrent-ruby (1.1.5)
32
31
  descendants_tracker (0.0.4)
33
32
  thread_safe (~> 0.3, >= 0.3.1)
34
33
  diff-lcs (1.3)
35
- dogstatsd-ruby (4.2.0)
34
+ dogstatsd-ruby (4.5.0)
36
35
  equalizer (0.0.11)
37
- grape (1.2.3)
36
+ grape (1.2.5)
38
37
  activesupport
39
38
  builder
40
39
  mustermann-grape (~> 1.0.0)
41
40
  rack (>= 1.3.0)
42
41
  rack-accept
43
42
  virtus (>= 1.0.0)
44
- i18n (1.6.0)
43
+ i18n (1.7.0)
45
44
  concurrent-ruby (~> 1.0)
46
45
  ice_nine (0.11.2)
47
- jaro_winkler (1.5.2)
48
- minitest (5.11.3)
46
+ jaro_winkler (1.5.4)
47
+ minitest (5.13.0)
49
48
  mustermann (1.0.3)
50
49
  mustermann-grape (1.0.0)
51
50
  mustermann (~> 1.0.0)
52
- parallel (1.17.0)
53
- parser (2.6.2.1)
51
+ parallel (1.19.1)
52
+ parser (2.7.0.1)
54
53
  ast (~> 2.4.0)
55
- psych (3.1.0)
56
- rack (2.0.7)
54
+ rack (2.0.8)
57
55
  rack-accept (0.4.5)
58
56
  rack (>= 0.4)
59
57
  rack-test (1.1.0)
60
58
  rack (>= 1.0, < 3)
61
59
  rainbow (3.0.0)
62
- rake (12.3.2)
63
- rspec (3.8.0)
64
- rspec-core (~> 3.8.0)
65
- rspec-expectations (~> 3.8.0)
66
- rspec-mocks (~> 3.8.0)
67
- rspec-core (3.8.0)
68
- rspec-support (~> 3.8.0)
69
- rspec-expectations (3.8.2)
60
+ rake (13.0.1)
61
+ rspec (3.9.0)
62
+ rspec-core (~> 3.9.0)
63
+ rspec-expectations (~> 3.9.0)
64
+ rspec-mocks (~> 3.9.0)
65
+ rspec-core (3.9.1)
66
+ rspec-support (~> 3.9.1)
67
+ rspec-expectations (3.9.0)
70
68
  diff-lcs (>= 1.2.0, < 2.0)
71
- rspec-support (~> 3.8.0)
72
- rspec-mocks (3.8.0)
69
+ rspec-support (~> 3.9.0)
70
+ rspec-mocks (3.9.1)
73
71
  diff-lcs (>= 1.2.0, < 2.0)
74
- rspec-support (~> 3.8.0)
75
- rspec-support (3.8.0)
76
- rubocop (0.67.2)
72
+ rspec-support (~> 3.9.0)
73
+ rspec-support (3.9.2)
74
+ rubocop (0.78.0)
77
75
  jaro_winkler (~> 1.5.1)
78
76
  parallel (~> 1.10)
79
- parser (>= 2.5, != 2.5.1.1)
80
- psych (>= 3.1.0)
77
+ parser (>= 2.6)
81
78
  rainbow (>= 2.2.2, < 4.0)
82
79
  ruby-progressbar (~> 1.7)
83
- unicode-display_width (>= 1.4.0, < 1.6)
84
- ruby-progressbar (1.10.0)
85
- sqlite3 (1.4.0)
80
+ unicode-display_width (>= 1.4.0, < 1.7)
81
+ ruby-progressbar (1.10.1)
82
+ sqlite3 (1.4.2)
86
83
  thread_safe (0.3.6)
87
- tzinfo (1.2.5)
84
+ tzinfo (1.2.6)
88
85
  thread_safe (~> 0.1)
89
- unicode-display_width (1.5.0)
86
+ unicode-display_width (1.6.0)
90
87
  virtus (1.0.5)
91
88
  axiom-types (~> 0.1)
92
89
  coercible (~> 1.0)
93
90
  descendants_tracker (~> 0.0, >= 0.0.3)
94
91
  equalizer (~> 0.0, >= 0.0.9)
92
+ zeitwerk (2.2.2)
95
93
 
96
94
  PLATFORMS
97
95
  ruby
@@ -108,4 +106,4 @@ DEPENDENCIES
108
106
  sqlite3
109
107
 
110
108
  BUNDLED WITH
111
- 1.17.3
109
+ 2.1.2
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
14
14
  s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
15
15
  s.test_files = s.files.grep(%r{^(spec)/})
16
16
  s.require_paths = ['lib']
17
- s.required_ruby_version = '>= 2.3'
17
+ s.required_ruby_version = '>= 2.5'
18
18
 
19
19
  s.add_runtime_dependency 'activesupport'
20
20
  s.add_runtime_dependency 'dogstatsd-ruby', '>= 4.2', '< 5.0'
@@ -1,5 +1,5 @@
1
1
  module Datadog
2
2
  class Notifications
3
- VERSION = '0.6.1'.freeze
3
+ VERSION = '0.6.2'.freeze
4
4
  end
5
5
  end
data/spec/spec_helper.rb CHANGED
@@ -10,7 +10,7 @@ require 'sqlite3'
10
10
 
11
11
  ### Active-record test preparation
12
12
 
13
- ActiveRecord::Base.configurations['test'] = { 'adapter' => 'sqlite3', 'database' => ':memory:' }
13
+ ActiveRecord::Base.configurations = { 'test' => { 'adapter' => 'sqlite3', 'database' => ':memory:' } }
14
14
  ActiveRecord::Base.establish_connection(:test)
15
15
  ActiveRecord::Base.connection.create_table :posts do |t|
16
16
  t.string :title
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datadog-notifications
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dimitrij Denissenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-17 00:00:00.000000000 Z
11
+ date: 2020-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -202,14 +202,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
202
202
  requirements:
203
203
  - - ">="
204
204
  - !ruby/object:Gem::Version
205
- version: '2.3'
205
+ version: '2.5'
206
206
  required_rubygems_version: !ruby/object:Gem::Requirement
207
207
  requirements:
208
208
  - - ">="
209
209
  - !ruby/object:Gem::Version
210
210
  version: '0'
211
211
  requirements: []
212
- rubygems_version: 3.0.3
212
+ rubygems_version: 3.0.6
213
213
  signing_key:
214
214
  specification_version: 4
215
215
  summary: Generic ActiveSupport::Notifications Datadog handler