puppet-forge-server 1.7.3 → 1.7.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5f1449614786bc09ef0b3ea9d05b0b95bc73c61b
4
- data.tar.gz: cc504debfd84730de1ac4bfb9dc7c97f4d425979
3
+ metadata.gz: 440d5f978fa23d38d711175c1ea1b66e2e65fa2f
4
+ data.tar.gz: d4caedbc827e188a129f0103825d8f57efadd1d3
5
5
  SHA512:
6
- metadata.gz: 990ad7b68a7d9c98879657691f8b641708430a454c3dc423ccb6ca897d98f7d54fffc05c389e0e624e1d5f79567e1e4b3a6645846bcd5ce8e11d3e202e90f1eb
7
- data.tar.gz: dc67162f5bbca82fd01549bd8ec4233a68ea38edd17b328c80138b80a734e6ec6371c9aea17151619732a8878b0ffc3926f588ab8e032014c3c6f3d52defe5cb
6
+ metadata.gz: 12f76a03a7e175854155b80f1d647e71ab9f4771df3a8e2efedff5527ca19658601afc1a2614bf49331e7e1430815ba6a6f247196a021b873717fddef2462221
7
+ data.tar.gz: fb9de32f3d6ac5df75146c14d992a6da2f1565b54edea0cc60a0ede50a5f5ce3b04e53aae9e7f81be0ec00760ac6805c2e34221f3e51a2908bf6d716dbb882ab
@@ -31,7 +31,8 @@ module PuppetForgeServer::Api::V3
31
31
  :version => element[:metadata].version,
32
32
  :tags => element[:tags] ? element[:tags] : [element[:metadata].author, name],
33
33
  :file_uri => "/v3/files#{element[:path]}",
34
- :file_md5 => element[:checksum]
34
+ :file_md5 => element[:checksum],
35
+ :deleted_at => element[:deleted_at]
35
36
  }
36
37
  end.uniq{|r| r[:version]}.sort_by { |r| Gem::Version.new(r[:version]) }
37
38
  end
@@ -78,7 +78,8 @@ module PuppetForgeServer::Backends
78
78
  :metadata => parse_dependencies(PuppetForgeServer::Models::Metadata.new(normalize_metadata(element['metadata']))),
79
79
  :checksum => element['file_md5'],
80
80
  :path => element['file_uri'],
81
- :tags => (element['tags'] + (element['metadata']['tags'] ? element['metadata']['tags'] : [])).flatten.uniq
81
+ :tags => (element['tags'] + (element['metadata']['tags'] ? element['metadata']['tags'] : [])).flatten.uniq,
82
+ :deleted_at => element['deleted_at']
82
83
  }
83
84
  end
84
85
  end
@@ -15,5 +15,5 @@
15
15
  # limitations under the License.
16
16
 
17
17
  module PuppetForgeServer
18
- VERSION = '1.7.3'
18
+ VERSION = '1.7.4'
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-forge-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.3
4
+ version: 1.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilja Bobkevic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-04 00:00:00.000000000 Z
11
+ date: 2015-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra