td-client 0.8.10 → 0.8.11
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +5 -0
- data/data/ca-bundle.crt +3366 -0
- data/lib/td/client/api.rb +3 -2
- data/lib/td/client/version.rb +1 -1
- metadata +10 -9
data/lib/td/client/api.rb
CHANGED
@@ -762,8 +762,9 @@ class API
|
|
762
762
|
if @ssl
|
763
763
|
http.use_ssl = true
|
764
764
|
http.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
765
|
-
store = OpenSSL::X509::Store.new
|
766
|
-
http.cert_store = store
|
765
|
+
#store = OpenSSL::X509::Store.new
|
766
|
+
#http.cert_store = store
|
767
|
+
http.ca_file = File.join(File.dirname(__FILE__), '..', '..', '..', 'data', 'ca-bundle.crt')
|
767
768
|
end
|
768
769
|
|
769
770
|
header = {}
|
data/lib/td/client/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: td-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.11
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-02
|
12
|
+
date: 2012-03-02 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: msgpack
|
16
|
-
requirement: &
|
16
|
+
requirement: &12094460 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.4.4
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *12094460
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: json
|
27
|
-
requirement: &
|
27
|
+
requirement: &12091360 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 1.4.3
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *12091360
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rspec
|
38
|
-
requirement: &
|
38
|
+
requirement: &12090880 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: 2.8.0
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *12090880
|
47
47
|
description:
|
48
48
|
email:
|
49
49
|
executables: []
|
@@ -52,6 +52,7 @@ extra_rdoc_files:
|
|
52
52
|
- ChangeLog
|
53
53
|
- README.rdoc
|
54
54
|
files:
|
55
|
+
- data/ca-bundle.crt
|
55
56
|
- lib/td-client.rb
|
56
57
|
- lib/td/client.rb
|
57
58
|
- lib/td/client/api.rb
|
@@ -81,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
82
|
version: '0'
|
82
83
|
requirements: []
|
83
84
|
rubyforge_project:
|
84
|
-
rubygems_version: 1.8.
|
85
|
+
rubygems_version: 1.8.10
|
85
86
|
signing_key:
|
86
87
|
specification_version: 3
|
87
88
|
summary: Treasure Data API library for Ruby
|