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 +4 -4
- data/lib/puppet_forge_server/app/version3.rb +1 -1
- data/lib/puppet_forge_server/version.rb +1 -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: 6279979716a9261c09909f80bd59649b5b04def2
|
4
|
+
data.tar.gz: 8da95e7e628926a35427ca5839c75ba7a63bea2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
|
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.
|
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-
|
11
|
+
date: 2015-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|