puppet-forge-server 1.10.0 → 1.10.1

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: 729d7bfd39907675eb708e82189328460b0ad915
4
- data.tar.gz: 70d8b9cd7f17bf0689a988d558e644b962b10e6b
3
+ metadata.gz: 632ca8bb48f75463cf4cfcb6a2cc74f3732b48c6
4
+ data.tar.gz: f8c01749f8193e8c4d8c616924193c1f77536031
5
5
  SHA512:
6
- metadata.gz: a295bacb75065a6d551c2af7b23ca3c2ea464065f827ab9ff98375af32fc328878aedd0c1b535faf677085b1a8886616d027d5a6d5ad5461ee2fed141fade074
7
- data.tar.gz: 5b7f82e4a6a79495a124b67bb588fe58bda9004c995b6cfc7c3353be06653c08d4839b4f27d7c9dca5addc93893112ee233bb7516676473c4bdf732524ccfdee
6
+ metadata.gz: 467bd9aeb0bc6b55779b5a4759580847bbeac880a12d0aa2217eaf60e4ae69ef4860ee02e210a72696e2d5f2dc810b25d9a2021b547fa5d0db56a88eee2669b6
7
+ data.tar.gz: 4402a208b0a709f10f52059694054ebd99699962f8dc139f6a30bf766788e0be79ffd67687d4891ffc8e5c0836ad249f054234cf22950345c2cb46d957c9fe41
@@ -51,8 +51,8 @@ module PuppetForgeServer::App
51
51
  halt 400, json({:error => 'The number of version constraints in the query does not match the number of module names'}) unless params[:module]
52
52
  author, name = params[:module].split '-'
53
53
  releases = releases(author, name)
54
- halt 200, json({:pagination => {:next => false}, :results => []}) unless releases
55
- json :pagination => {:next => false, :total => releases.count}, :results => releases
54
+ halt 200, json({:pagination => {:next => nil}, :results => []}) unless releases
55
+ json :pagination => {:next => nil, :total => releases.count}, :results => releases
56
56
  end
57
57
 
58
58
  get '/v3/files/*' do
@@ -86,8 +86,8 @@ module PuppetForgeServer::App
86
86
  backend.query_metadata(query)
87
87
  end.flatten.compact.uniq
88
88
  modules = metadata.empty? ? nil : get_modules(metadata)
89
- halt 200, json({:pagination => {:next => false}, :results => []}) unless modules
90
- json :pagination => {:next => false, :total => modules.count}, :results => modules
89
+ halt 200, json({:pagination => {:next => nil}, :results => []}) unless modules
90
+ json :pagination => {:next => nil, :total => modules.count}, :results => modules
91
91
  end
92
92
 
93
93
  get '/v3/users/:author' do
@@ -15,5 +15,5 @@
15
15
  # limitations under the License.
16
16
 
17
17
  module PuppetForgeServer
18
- VERSION = '1.10.0'
18
+ VERSION = '1.10.1'
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.10.0
4
+ version: 1.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilja Bobkevic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-18 00:00:00.000000000 Z
11
+ date: 2017-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra