puppet-forge-server 1.4.1 → 1.4.2

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: 41174af1ea931efa1f2ae3fe9f9e681b83899ef8
4
- data.tar.gz: 182819645a8b630d3fa0c6faad1aa1273bfc7891
3
+ metadata.gz: 6279979716a9261c09909f80bd59649b5b04def2
4
+ data.tar.gz: 8da95e7e628926a35427ca5839c75ba7a63bea2b
5
5
  SHA512:
6
- metadata.gz: 18aaea5df9a5426e29b082c380468d62560400d0b69f1a25a1c418c10a2f8c00acbf4a84e8c09d04133b14a2693195b4c4eee6778a762bdde72f2f0725b58747
7
- data.tar.gz: bf7e2b040bf048343c76b2ff0bcfa72efdeb1925654722c86e38e0470f72aa1c5157ceb44c2c7569045acdedaf5d6a1002c6302fb80204e77687ff97510ed64b
6
+ metadata.gz: 3223227aa9392bb6ceb29195c90c9724cf2e27803cd0cb67e669c04c787fd323f556d1f52bb860be6050aefbcc18cc58de1e0ec7078a01b7cfb130efb27b858c
7
+ data.tar.gz: 86efd6a5dfdb66720097eca9b662b07c6be609d464acd564abcf56d942d7266cd179156c4a1b4ece36cd1ced0fe23587d382f5d8ebb7a71b41666f722ebd4e3a
@@ -52,7 +52,7 @@ module PuppetForgeServer::App
52
52
  halt 400, json({:error => 'The number of version constraints in the query does not match the number of module names'}) unless params[:module]
53
53
  author, name = params[:module].split '-'
54
54
  releases = releases(author, name)
55
- halt 404, json({:pagination => {:next => false}, :results => []}) unless releases
55
+ halt 200, json({:pagination => {:next => false}, :results => []}) unless releases
56
56
  json :pagination => {:next => false, :total => releases.count}, :results => releases
57
57
  end
58
58
 
@@ -15,5 +15,5 @@
15
15
  # limitations under the License.
16
16
 
17
17
  module PuppetForgeServer
18
- VERSION = '1.4.1'
18
+ VERSION = '1.4.2'
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.4.1
4
+ version: 1.4.2
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-04-14 00:00:00.000000000 Z
11
+ date: 2015-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra