hotdog 0.19.1 → 0.20.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
  SHA1:
3
- metadata.gz: 37eb71d2d0f9378b0f7cab0fdcf3217b318f572f
4
- data.tar.gz: 55022bd85ce5b4b6dc04157b6d4ff63bdca60dbe
3
+ metadata.gz: 798b005f303cead90997e9fbff30a5206d2eb56e
4
+ data.tar.gz: d4985510ac09a270b1a18a24a1f54e1b61778c7c
5
5
  SHA512:
6
- metadata.gz: 828d9d0ba9c433c4131218c439e77b334d997e0883045e3a962f1451f8063fb39b18a518d62fec441d6f968e734e4ffcd3989e1c8d492818aa3b58da4138b2cf
7
- data.tar.gz: 2bd5a8dc6a5af665edf13df21cf9ae8bf1c13e06717e56388831ad78b80c69c0e46bcf9c783c411ffd2feba8b58b055013ba99318f946c70f6f8e357ec1ba582
6
+ metadata.gz: 47e9228e056ef41c95b4dd332a1c4dc0856470005b076e9b5abd0e89afdf6d68cea5ddb5e723de84131e506f5110fc074c9760bdd208dd967c0521544328269b
7
+ data.tar.gz: 1f174e4a5f7ab4b427dc38c618a69866a6915414c6cf6bce0b51548459a5ef2265b695ca1695b74193cbfaa1b36dd049af9811839ae50c1cc72bcb7aec5cf59d
data/hotdog.gemspec CHANGED
@@ -18,15 +18,15 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_development_dependency "bundler", "~> 1.7"
22
- spec.add_development_dependency "rake", "~> 10.0"
23
- spec.add_development_dependency "rspec", "~> 3.3.0"
24
- spec.add_development_dependency "rubocop", "~> 0.35.1"
21
+ spec.add_development_dependency "bundler"
22
+ spec.add_development_dependency "rake"
23
+ spec.add_development_dependency "rspec"
24
+ spec.add_development_dependency "rubocop"
25
25
 
26
- spec.add_dependency "dogapi", ">= 1.13.0"
27
- spec.add_dependency "multi_json", "~> 1.11.2"
28
- spec.add_dependency "oj", "~> 2.12.14"
29
- spec.add_dependency "parallel", "~> 1.6.1"
30
- spec.add_dependency "parslet", "~> 1.6.2"
31
- spec.add_dependency "sqlite3", "~> 1.3.10"
26
+ spec.add_dependency "dogapi"
27
+ spec.add_dependency "multi_json"
28
+ spec.add_dependency "oj"
29
+ spec.add_dependency "parallel"
30
+ spec.add_dependency "parslet"
31
+ spec.add_dependency "sqlite3"
32
32
  end
@@ -396,12 +396,12 @@ module Hotdog
396
396
  end
397
397
 
398
398
  def with_retry(options={}, &block)
399
- (options[:retry] || 3).times do |i|
399
+ (options[:retry] || 5).times do |i|
400
400
  begin
401
401
  return yield
402
402
  rescue => error
403
403
  logger.warn(error.to_s)
404
- sleep(options[:retry_delay] || (1<<i))
404
+ sleep([options[:retry_delay] || (2<<i), options[:retry_max_delay] || 60].min)
405
405
  end
406
406
  end
407
407
  raise("retry count exceeded")
@@ -1,3 +1,3 @@
1
1
  module Hotdog
2
- VERSION = "0.19.1"
2
+ VERSION = "0.20.0"
3
3
  end
metadata CHANGED
@@ -1,155 +1,155 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hotdog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.1
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yamashita Yuu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-26 00:00:00.000000000 Z
11
+ date: 2016-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.7'
19
+ version: '0'
20
20
  type: :development
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: '1.7'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 3.3.0
47
+ version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 3.3.0
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 0.35.1
61
+ version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 0.35.1
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: dogapi
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: 1.13.0
75
+ version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: 1.13.0
82
+ version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: multi_json
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 1.11.2
89
+ version: '0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: 1.11.2
96
+ version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: oj
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: 2.12.14
103
+ version: '0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: 2.12.14
110
+ version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: parallel
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - "~>"
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: 1.6.1
117
+ version: '0'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - "~>"
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: 1.6.1
124
+ version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: parslet
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - "~>"
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
- version: 1.6.2
131
+ version: '0'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - "~>"
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
- version: 1.6.2
138
+ version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: sqlite3
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - "~>"
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
- version: 1.3.10
145
+ version: '0'
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - "~>"
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
- version: 1.3.10
152
+ version: '0'
153
153
  description: Yet another command-line tool for Datadog
154
154
  email:
155
155
  - peek824545201@gmail.com