artifactory 2.6.0 → 2.7.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b78870ce533114a24a58309118aa1371b8148e84
4
- data.tar.gz: 70072323490ca5caa97a9f26c5ada37076df82a1
3
+ metadata.gz: 36a57d1a8d8f2897585a0e123efbc5fd0b179577
4
+ data.tar.gz: 7b9b819091f946ef7be601b36a87b0dd126199da
5
5
  SHA512:
6
- metadata.gz: acb5a08f27fe3551f4b4bb97ce45720194295a71e9ed6123cb03d47784e38fae528a1b1de37a96efb6468dff407082e147a0e7f5b2eda6091ce57cad6312fe17
7
- data.tar.gz: eda4087d4293e24272959d44d58b1673546c1b096fb7349384b3407cd3d60cb6154f6dc62b8e61ebb9144dccbd54b66fc4f6dbba1ad9df5e81c26e9089ec211b
6
+ metadata.gz: cef02ee8889eea9693ac3442f1c3922acd6d99da9aa40438e452902fe1cc62fa4d3ddea91f096b81c647ddf5c63b14ee03eb79a4485a998760bedc878b16563f
7
+ data.tar.gz: d227fd12f179a45d6bd934418a90c3a3f0465f3e0de6c3a0cc694d96f71a0bdf93a9f8b681ba3b2ae3c3c1e6dd81cc9e2faffea4a7460e51d51566e173fe0b67
@@ -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.7.0 (02-21-2017)
7
+ -------------------
8
+ - Include statuses in Build resource
9
+
6
10
  v2.6.0 (02-02-2017)
7
11
  -------------------
8
12
  - Add API Key authentication
@@ -110,6 +110,7 @@ module Artifactory
110
110
  attribute :build_retention, {}
111
111
  attribute :modules, []
112
112
  attribute :governance
113
+ attribute :statuses, []
113
114
 
114
115
  #
115
116
  # Compare a build artifacts/dependencies/environment with an older
@@ -15,5 +15,5 @@
15
15
  #
16
16
 
17
17
  module Artifactory
18
- VERSION = "2.6.0"
18
+ VERSION = "2.7.0"
19
19
  end
@@ -18,6 +18,7 @@ module Artifactory
18
18
  expect(build.name).to eq("wicket")
19
19
  expect(build.number).to eq("51")
20
20
  expect(build.started).to eq(Time.parse("2014-09-30T12:00:19.893+0300"))
21
+ expect(build.statuses.first).to include("status" => "promoted")
21
22
  end
22
23
  end
23
24
 
@@ -204,6 +204,15 @@ module Artifactory
204
204
  "autoDiscardStaleComponentRequests" => false,
205
205
  },
206
206
  },
207
+ "statuses" => [ {
208
+ "status" => "promoted",
209
+ "comment" => "",
210
+ "repository" => "omnibus-stable-local",
211
+ "timestamp" => "2017-02-20T12:33:59.570+0100",
212
+ "user" => "doge",
213
+ "ciUser" => "doge",
214
+ "timestampDate" => 1487590439570,
215
+ } ],
207
216
  }
208
217
  )
209
218
  end
@@ -11,8 +11,8 @@ module Artifactory
11
11
  ENV.delete("ARTIFACTORY_READ_TIMEOUT")
12
12
  end
13
13
 
14
- it "returns Fixnums even when given strings" do
15
- expect(subject.read_timeout).to be_an_instance_of Fixnum
14
+ it "returns Integers even when given strings" do
15
+ expect(subject.read_timeout).to be_kind_of Integer
16
16
  end
17
17
 
18
18
  it "returns a non-zero value" 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.6.0
4
+ version: 2.7.0
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-02-02 00:00:00.000000000 Z
11
+ date: 2017-02-21 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.6.10
143
+ rubygems_version: 2.4.5.1
144
144
  signing_key:
145
145
  specification_version: 4
146
146
  summary: Artifactory is a simple, lightweight Ruby client for interacting with the