rainforest-cli 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -1
- data/.travis.yml +4 -0
- data/CHANGELOG.md +3 -0
- data/Gemfile +0 -1
- data/lib/rainforest/cli/http_client.rb +2 -2
- data/lib/rainforest/cli/version.rb +1 -1
- data/spec/http_client_spec.rb +1 -1
- data/spec/spec_helper.rb +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92aa2786f98a5e439e178408b1521a27b9f788e5
|
4
|
+
data.tar.gz: 4fb8adeafb3467880fe9e3be7adcd74a23abd28e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6564dc0380b6daaed3b00248d2a02c2cd4e8fc1c272fe68dc55925e7918919c490ff5c939d42534bebf1dbd0c21e593d540f7e61cbfcebc4e733c2989700cc20
|
7
|
+
data.tar.gz: ddd1a2abeba97ec6f4ef67c4e35f6cf274ab79af279b58da0fe683a07b6cc1e545c7d4c8c59f996f294201f6b34b506719b8065d75193d59ecf1e8446fa93589
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Rainforest CLI Changelog
|
2
2
|
|
3
|
+
# 1.2.2 - 21st March 2016
|
4
|
+
- Add support for Ruby 1.9.3 for easier usage on CircleCI. (16d74306a160c0fca8d34bc32493119051179c90, @epaulet)
|
5
|
+
|
3
6
|
## 1.2.1 - 18th March 2016
|
4
7
|
- Fixed a bug where uploading was stuck in an infinite loop if an embedded id did not exist (7b02b2f66dbd47098a7c1d5f79bc60a0cbe8984f, @epaulet)
|
5
8
|
- Fixed a bug that occurred when specifying a nested test folder without creating parent folders first (6c1b0e02c858f9d9c264e771f964b3e1a4ea8c7e, @epaulet)
|
data/Gemfile
CHANGED
@@ -33,8 +33,8 @@ module RainforestCli
|
|
33
33
|
JSON.parse(response.body)
|
34
34
|
end
|
35
35
|
|
36
|
-
def get(url, body = {},
|
37
|
-
wrap_exceptions(retries_on_failures) do
|
36
|
+
def get(url, body = {}, options = {})
|
37
|
+
wrap_exceptions(options[:retries_on_failures]) do
|
38
38
|
response = HTTParty.get make_url(url), {
|
39
39
|
body: body,
|
40
40
|
headers: headers,
|
data/spec/http_client_spec.rb
CHANGED
@@ -13,7 +13,7 @@ describe RainforestCli::HttpClient do
|
|
13
13
|
context 'retries_on_failures omitted' do
|
14
14
|
it 'raises the error on the first exception' do
|
15
15
|
expect(HTTParty).to receive(:get).once
|
16
|
-
expect { subject.get(url
|
16
|
+
expect { subject.get(url) }.to raise_error(Http::Exceptions::HttpException)
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rainforest-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Russell Smith
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-03-
|
12
|
+
date: 2016-03-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|