artifactory 2.8.1 → 2.8.2
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/.travis.yml +1 -1
- data/CHANGELOG.md +4 -0
- data/lib/artifactory/client.rb +1 -1
- data/lib/artifactory/version.rb +1 -1
- data/spec/unit/client_spec.rb +8 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3ef3bf846ba58ab200c737eb261bef55b26d42a6
|
|
4
|
+
data.tar.gz: a50a886a796ad877dae21183d7601d060371f2d6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf1d7d48171793cbe944043a280d512194addd87d1b25c6f23239c6744e6ff3b5940714d29aa9a2a99ffaf4cfea7c95bfb2c2fe07faa65f8b387c7662bf1c966
|
|
7
|
+
data.tar.gz: 774c9fd405215ed6c14036cb9ea6b916edd1729d9899bcae48bcb755092062175b8b983369edeea4cf7229fc8bb79956704cd146a3fd56b5c37d1265c7b7e1e6
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@ Artifactory Client CHANGELOG
|
|
|
3
3
|
This file is used to document the changes between releases of the Artifactory
|
|
4
4
|
Ruby client.
|
|
5
5
|
|
|
6
|
+
v2.8.2 (06-14-2017)
|
|
7
|
+
-------------------
|
|
8
|
+
- Properly parse empty response bodies
|
|
9
|
+
|
|
6
10
|
v2.8.1 (03-21-2017)
|
|
7
11
|
-------------------
|
|
8
12
|
- Allow downloading of large files. Fixes #83.
|
data/lib/artifactory/client.rb
CHANGED
data/lib/artifactory/version.rb
CHANGED
data/spec/unit/client_spec.rb
CHANGED
|
@@ -107,6 +107,14 @@ module Artifactory
|
|
|
107
107
|
end
|
|
108
108
|
end
|
|
109
109
|
end
|
|
110
|
+
|
|
111
|
+
context "application/json response with an empty body" do
|
|
112
|
+
before { stub_request(:get, /.+/).to_return(status: 200, headers: { "Content-Type" => "application/json" }, body: "") }
|
|
113
|
+
|
|
114
|
+
it "should not raise an error" do
|
|
115
|
+
expect { subject.request(:get, "/foo") }.to_not raise_error(TypeError)
|
|
116
|
+
end
|
|
117
|
+
end
|
|
110
118
|
end
|
|
111
119
|
|
|
112
120
|
describe "#to_query_string" do
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: artifactory
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.8.
|
|
4
|
+
version: 2.8.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Seth Vargo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-06-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
140
140
|
version: '0'
|
|
141
141
|
requirements: []
|
|
142
142
|
rubyforge_project:
|
|
143
|
-
rubygems_version: 2.
|
|
143
|
+
rubygems_version: 2.6.11
|
|
144
144
|
signing_key:
|
|
145
145
|
specification_version: 4
|
|
146
146
|
summary: Artifactory is a simple, lightweight Ruby client for interacting with the
|