bitballoon 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +8 -8
- data/lib/bitballoon/client.rb +2 -1
- data/lib/bitballoon/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 628682c1b2dcdf928322c339096332ac85ad0573
|
4
|
+
data.tar.gz: 0b5bb13086beb1eb593190cf306c2a9c72460eb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc160a923ccffc588fa626a9213b0c8f7c6e686e934b27f3982bd8afd4d0c5cce07fe0a5211794934781c896950ef505f33a1a911e2a4f8af57fcbeb2dd18005
|
7
|
+
data.tar.gz: 65016071c0d2dc09b617d16ef655a5c4a42c8c3742f9bbbcd08ad0014a786fd2c0388448fbe6bdcd2ca172fdcea984b4e096f0958a4ab12b92f6502f3bade81d
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
bitballoon (0.2.
|
5
|
-
highline
|
6
|
-
oauth2 (
|
4
|
+
bitballoon (0.2.6)
|
5
|
+
highline (~> 1.6.21)
|
6
|
+
oauth2 (~> 0.9.2)
|
7
7
|
slop (~> 3.6.0)
|
8
8
|
|
9
9
|
GEM
|
@@ -11,21 +11,21 @@ GEM
|
|
11
11
|
specs:
|
12
12
|
addressable (2.3.3)
|
13
13
|
crack (0.3.2)
|
14
|
-
faraday (0.9.
|
14
|
+
faraday (0.9.1)
|
15
15
|
multipart-post (>= 1.2, < 3)
|
16
16
|
highline (1.6.21)
|
17
|
-
jwt (1.
|
17
|
+
jwt (1.5.1)
|
18
18
|
minitest (5.0.8)
|
19
|
-
multi_json (1.
|
19
|
+
multi_json (1.11.1)
|
20
20
|
multi_xml (0.5.5)
|
21
21
|
multipart-post (2.0.0)
|
22
|
-
oauth2 (
|
22
|
+
oauth2 (0.9.4)
|
23
23
|
faraday (>= 0.8, < 0.10)
|
24
24
|
jwt (~> 1.0)
|
25
25
|
multi_json (~> 1.3)
|
26
26
|
multi_xml (~> 0.5)
|
27
27
|
rack (~> 1.2)
|
28
|
-
rack (1.
|
28
|
+
rack (1.6.1)
|
29
29
|
slop (3.6.0)
|
30
30
|
webmock (1.11.0)
|
31
31
|
addressable (>= 2.2.7)
|
data/lib/bitballoon/client.rb
CHANGED
@@ -72,7 +72,8 @@ module BitBalloon
|
|
72
72
|
if ENV['BB_VERBOSE']
|
73
73
|
puts "#{verb}, #{::File.join("/api", API_VERSION, path)}"
|
74
74
|
end
|
75
|
-
|
75
|
+
ssl_options = {:version => :TLSv1_2}
|
76
|
+
oauth_token.request(verb, ::File.join("/api", API_VERSION, path), ssl_options.merge(opts), &block)
|
76
77
|
rescue OAuth2::Error => e
|
77
78
|
case e.response.status
|
78
79
|
when 401
|
data/lib/bitballoon/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bitballoon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mathias Biilmann Christensen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oauth2
|
@@ -157,3 +157,4 @@ test_files:
|
|
157
157
|
- test/multipass_test.rb
|
158
158
|
- test/sites_test.rb
|
159
159
|
- test/test_helper.rb
|
160
|
+
has_rdoc:
|