td 0.11.4 → 0.11.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/ChangeLog +7 -1
- data/lib/td/command/job.rb +4 -2
- data/lib/td/version.rb +1 -1
- data/td.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDllOTE4NDc3OTE2NmI4MTEyZTE4ZTZlNmI0NTg2ODFhZGRkNzRiOA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjBiOWUwYjMwMWEwYTczODYyNjMxMTJiMWY2ODc0ZDEyNTVjYmQ4ZA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDMyNTc0YjNmNmM4ODlhYWE4M2ZlNWVlNGJjYzUzYTg4MmJhYzZhZjAyYTJj
|
10
|
+
ZmZhYTYxNTg4NmZmNzczYjg0ZWM4ZmU5Y2E2MWIxYjE3N2Y0YmEyZmNjZjVj
|
11
|
+
YTE5NzFkMjY3NzA5YTM3MThhMTU2NjNhNTBlM2UxM2JmMzI5NTI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODBiOTk0ZmYzMzgyMDgxNDRkMDI0Njc0YmE5YTI1NTlmZDUwYzNiODk1M2Iw
|
14
|
+
MmE2ODk4N2E0MjIzNTRmY2I0ZDU2OWIwYWIxZjFkNmZiOTkxZTY0MTBkYzAz
|
15
|
+
MGVlNjE1MDJhMzRmNjk1OTMxYzVlNzRkOTFhMmQyNDNmYzIyZTc=
|
data/ChangeLog
CHANGED
@@ -1,8 +1,14 @@
|
|
1
|
+
== 2014-10-16 version 0.11.5
|
2
|
+
|
3
|
+
* Updated 'td-client' gem dependency to 0.8.66. The new gem addresses the
|
4
|
+
recently exposed SSLv3 'Poodle' vulnerability by upgrading both the HTTPClient
|
5
|
+
dependency and patching the Net::HTTP gem to force SSLv3 disabled.
|
6
|
+
|
1
7
|
== 2014-09-25 version 0.11.4
|
2
8
|
|
3
9
|
* Expand file path containing wildcards and not escaped by the underlying shell
|
4
10
|
* Add a global '-r / --retry-post-requests' option to enable the td-client-ruby
|
5
|
-
retrying mechanism for post request.
|
11
|
+
retrying mechanism for post request.
|
6
12
|
Note: -r option must be right after 'td' before subcommands like: td -r query
|
7
13
|
WARNING: enabling this option can lead to unexpected results because the
|
8
14
|
retrying mechanism can caused the creation of duplicated resources since the
|
data/lib/td/command/job.rb
CHANGED
@@ -208,7 +208,8 @@ module Command
|
|
208
208
|
rescue TreasureData::NotFoundError => e
|
209
209
|
# Got 404 because result not found.
|
210
210
|
rescue TreasureData::APIError, # HTTP status code 500 or more
|
211
|
-
Errno::ECONNREFUSED, Errno::ECONNRESET, Timeout::Error, EOFError
|
211
|
+
Errno::ECONNREFUSED, Errno::ECONNRESET, Timeout::Error, EOFError,
|
212
|
+
OpenSSL::SSL::SSLError, SocketError => e
|
212
213
|
# don't retry on 300 and 400 errors
|
213
214
|
if e.class == TreasureData::APIError && e.message !~ /^5\d\d:\s+/
|
214
215
|
raise e
|
@@ -232,7 +233,8 @@ module Command
|
|
232
233
|
rescue TreasureData::NotFoundError => e
|
233
234
|
# Got 404 because result not found.
|
234
235
|
rescue TreasureData::APIError,
|
235
|
-
Errno::ECONNREFUSED, Errno::ECONNRESET, Timeout::Error, EOFError
|
236
|
+
Errno::ECONNREFUSED, Errno::ECONNRESET, Timeout::Error, EOFError,
|
237
|
+
OpenSSL::SSL::SSLError, SocketError => e
|
236
238
|
# don't retry on 300 and 400 errors
|
237
239
|
if e.class == TreasureData::APIError && e.message !~ /^5\d\d:\s+/
|
238
240
|
raise e
|
data/lib/td/version.rb
CHANGED
data/td.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |gem|
|
|
21
21
|
gem.add_dependency "yajl-ruby", "~> 1.1"
|
22
22
|
gem.add_dependency "hirb", ">= 0.4.5"
|
23
23
|
gem.add_dependency "parallel", "~> 0.6.1"
|
24
|
-
gem.add_dependency "td-client", "~> 0.8.
|
24
|
+
gem.add_dependency "td-client", "~> 0.8.66"
|
25
25
|
gem.add_dependency "td-logger", "~> 0.3.21"
|
26
26
|
gem.add_dependency "rubyzip", "~> 0.9.9"
|
27
27
|
gem.add_development_dependency "rake", "~> 0.9"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: td
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Treasure Data, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|
@@ -102,14 +102,14 @@ dependencies:
|
|
102
102
|
requirements:
|
103
103
|
- - ~>
|
104
104
|
- !ruby/object:Gem::Version
|
105
|
-
version: 0.8.
|
105
|
+
version: 0.8.66
|
106
106
|
type: :runtime
|
107
107
|
prerelease: false
|
108
108
|
version_requirements: !ruby/object:Gem::Requirement
|
109
109
|
requirements:
|
110
110
|
- - ~>
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version: 0.8.
|
112
|
+
version: 0.8.66
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: td-logger
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|