datadog-notifications 0.6.0 → 0.6.1

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: 2d0e1c30e83693a9e33832f3ed942f453c757f3dee361aea4bbc7172057c0d5c
4
- data.tar.gz: 0f566306936e2f0e7bf0a2d70ed4f21825ec709fc3675405d1117acc0de3c634
3
+ metadata.gz: 472a4035494d388a59a5e218f0623dece5a45aac484f03031ee4c1a226687f58
4
+ data.tar.gz: c54d689966289b3d420d7e69ac8909a791884a91b4eee874f83c370c87f215ef
5
5
  SHA512:
6
- metadata.gz: c48e6b3b027fa4f80d610952cd417793b8f0a7a3570343dfea6712d65fd8872f414dc5421c19bdd6c1a8c4d31f756ed4cc6e5b4864f0d455a4a6d3c33bc68644
7
- data.tar.gz: b0774629b619d7866cc6fbb5b67f21d268aabc8114d42d2ca9ea3f347fe5a6aa6dad6e35e7c6be71f7fece846f194157c5e85472360b6754d0073477c5805d2b
6
+ metadata.gz: 9f1de08182535489a68e6d1090b9bf884b3cedc997e039a143a15d0f1ae77a7e5eeacd529e2b6e6dfce40d24fb8d630687431ac9a960fd1305b7330933cbaea6
7
+ data.tar.gz: 591c6be1b9b0c07ce843c11d7983cf3dfdec252532cd8f68104418020adf37ed8f0864f2b7987b6fa06c4e4d259455eefa02caa4063892aaebbf3371d66d4b24
@@ -1,5 +1,5 @@
1
1
  inherit_from:
2
- - https://bitbucket.org/bsm/misc/raw/master/rubocop/default.yml
2
+ - https://gitlab.com/bsm/misc/raw/master/rubocop/default.yml
3
3
 
4
4
  AllCops:
5
5
  TargetRubyVersion: "2.3"
@@ -1,20 +1,20 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- datadog-notifications (0.6.0)
4
+ datadog-notifications (0.6.1)
5
5
  activesupport
6
- dogstatsd-ruby (~> 4.0)
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.2)
12
- activesupport (= 5.2.2)
13
- activerecord (5.2.2)
14
- activemodel (= 5.2.2)
15
- activesupport (= 5.2.2)
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
16
  arel (>= 9.0)
17
- activesupport (5.2.2)
17
+ activesupport (5.2.3)
18
18
  concurrent-ruby (~> 1.0, >= 1.0.2)
19
19
  i18n (>= 0.7, < 2)
20
20
  minitest (~> 5.1)
@@ -28,20 +28,20 @@ GEM
28
28
  builder (3.2.3)
29
29
  coercible (1.0.0)
30
30
  descendants_tracker (~> 0.0.1)
31
- concurrent-ruby (1.1.4)
31
+ concurrent-ruby (1.1.5)
32
32
  descendants_tracker (0.0.4)
33
33
  thread_safe (~> 0.3, >= 0.3.1)
34
34
  diff-lcs (1.3)
35
- dogstatsd-ruby (4.0.0)
35
+ dogstatsd-ruby (4.2.0)
36
36
  equalizer (0.0.11)
37
- grape (1.2.2)
37
+ grape (1.2.3)
38
38
  activesupport
39
39
  builder
40
40
  mustermann-grape (~> 1.0.0)
41
41
  rack (>= 1.3.0)
42
42
  rack-accept
43
43
  virtus (>= 1.0.0)
44
- i18n (1.5.2)
44
+ i18n (1.6.0)
45
45
  concurrent-ruby (~> 1.0)
46
46
  ice_nine (0.11.2)
47
47
  jaro_winkler (1.5.2)
@@ -49,11 +49,11 @@ GEM
49
49
  mustermann (1.0.3)
50
50
  mustermann-grape (1.0.0)
51
51
  mustermann (~> 1.0.0)
52
- parallel (1.12.1)
53
- parser (2.5.3.0)
52
+ parallel (1.17.0)
53
+ parser (2.6.2.1)
54
54
  ast (~> 2.4.0)
55
- powerpack (0.1.2)
56
- rack (2.0.6)
55
+ psych (3.1.0)
56
+ rack (2.0.7)
57
57
  rack-accept (0.4.5)
58
58
  rack (>= 0.4)
59
59
  rack-test (1.1.0)
@@ -73,20 +73,20 @@ GEM
73
73
  diff-lcs (>= 1.2.0, < 2.0)
74
74
  rspec-support (~> 3.8.0)
75
75
  rspec-support (3.8.0)
76
- rubocop (0.62.0)
76
+ rubocop (0.67.2)
77
77
  jaro_winkler (~> 1.5.1)
78
78
  parallel (~> 1.10)
79
79
  parser (>= 2.5, != 2.5.1.1)
80
- powerpack (~> 0.1)
80
+ psych (>= 3.1.0)
81
81
  rainbow (>= 2.2.2, < 4.0)
82
82
  ruby-progressbar (~> 1.7)
83
- unicode-display_width (~> 1.4.0)
83
+ unicode-display_width (>= 1.4.0, < 1.6)
84
84
  ruby-progressbar (1.10.0)
85
- sqlite3 (1.3.13)
85
+ sqlite3 (1.4.0)
86
86
  thread_safe (0.3.6)
87
87
  tzinfo (1.2.5)
88
88
  thread_safe (~> 0.1)
89
- unicode-display_width (1.4.1)
89
+ unicode-display_width (1.5.0)
90
90
  virtus (1.0.5)
91
91
  axiom-types (~> 0.1)
92
92
  coercible (~> 1.0)
@@ -16,15 +16,15 @@ Gem::Specification.new do |s|
16
16
  s.require_paths = ['lib']
17
17
  s.required_ruby_version = '>= 2.3'
18
18
 
19
- s.add_runtime_dependency('activesupport')
20
- s.add_runtime_dependency('dogstatsd-ruby', '~> 4.0')
19
+ s.add_runtime_dependency 'activesupport'
20
+ s.add_runtime_dependency 'dogstatsd-ruby', '>= 4.2', '< 5.0'
21
21
 
22
- s.add_development_dependency('activerecord')
23
- s.add_development_dependency('bundler')
24
- s.add_development_dependency('grape', '>= 1.0.2')
25
- s.add_development_dependency('rack-test')
26
- s.add_development_dependency('rake')
27
- s.add_development_dependency('rspec')
28
- s.add_development_dependency('rubocop')
29
- s.add_development_dependency('sqlite3')
22
+ s.add_development_dependency 'activerecord'
23
+ s.add_development_dependency 'bundler'
24
+ s.add_development_dependency 'grape', '>= 1.0.2'
25
+ s.add_development_dependency 'rack-test'
26
+ s.add_development_dependency 'rake'
27
+ s.add_development_dependency 'rspec'
28
+ s.add_development_dependency 'rubocop'
29
+ s.add_development_dependency 'sqlite3'
30
30
  end
@@ -5,8 +5,8 @@ module Datadog
5
5
 
6
6
  def initialize
7
7
  @hostname = ENV['INSTRUMENTATION_HOSTNAME'] || Socket.gethostname
8
- @statsd_host = ENV['STATSD_HOST'] || ::Datadog::Statsd::Connection::DEFAULT_HOST
9
- @statsd_port = (ENV['STATSD_PORT'] || ::Datadog::Statsd::Connection::DEFAULT_PORT).to_i
8
+ @statsd_host = ENV['STATSD_HOST']
9
+ @statsd_port = ENV['STATSD_PORT']
10
10
  @socket_path = ENV['SOCKET_PATH']
11
11
  @reporter = Datadog::Notifications::Reporter
12
12
  @tags = []
@@ -1,5 +1,5 @@
1
1
  module Datadog
2
2
  class Notifications
3
- VERSION = '0.6.0'.freeze
3
+ VERSION = '0.6.1'.freeze
4
4
  end
5
5
  end
@@ -22,7 +22,7 @@ end
22
22
 
23
23
  module Mock
24
24
  class Reporter < Datadog::Notifications::Reporter
25
- def timing(stat, _ms, opts={})
25
+ def timing(stat, _millis, opts={})
26
26
  super(stat, 333, opts)
27
27
  end
28
28
 
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.0
4
+ version: 0.6.1
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-01-14 00:00:00.000000000 Z
11
+ date: 2019-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -28,16 +28,22 @@ dependencies:
28
28
  name: dogstatsd-ruby
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '4.2'
34
+ - - "<"
32
35
  - !ruby/object:Gem::Version
33
- version: '4.0'
36
+ version: '5.0'
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - "~>"
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: '4.2'
44
+ - - "<"
39
45
  - !ruby/object:Gem::Version
40
- version: '4.0'
46
+ version: '5.0'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: activerecord
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -203,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
203
209
  - !ruby/object:Gem::Version
204
210
  version: '0'
205
211
  requirements: []
206
- rubygems_version: 3.0.2
212
+ rubygems_version: 3.0.3
207
213
  signing_key:
208
214
  specification_version: 4
209
215
  summary: Generic ActiveSupport::Notifications Datadog handler