puppet_forge 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module PuppetForge
2
- VERSION = '1.0.2' # Library version
2
+ VERSION = '1.0.3' # Library version
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -27,8 +27,10 @@ module StubbingHer
27
27
  end
28
28
 
29
29
  def load_fixture(path)
30
+ xplatform_path = path.to_s.gsub('?', '__')
31
+
30
32
  [ 404 ].tap do |response|
31
- local = File.join(PROJECT_ROOT, 'spec', 'fixtures', path.to_s)
33
+ local = File.join(PROJECT_ROOT, 'spec', 'fixtures', xplatform_path)
32
34
 
33
35
  if File.exists?("#{local}.headers") && File.exists?("#{local}.json")
34
36
  File.open("#{local}.headers") do |file|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet_forge
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-06-16 00:00:00.000000000 Z
12
+ date: 2014-06-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: her
@@ -169,10 +169,10 @@ files:
169
169
  - spec/fixtures/v3/modules.json
170
170
  - spec/fixtures/v3/modules/puppetlabs-apache.headers
171
171
  - spec/fixtures/v3/modules/puppetlabs-apache.json
172
- - spec/fixtures/v3/modules?owner=puppetlabs.headers
173
- - spec/fixtures/v3/modules?owner=puppetlabs.json
174
- - spec/fixtures/v3/modules?query=apache.headers
175
- - spec/fixtures/v3/modules?query=apache.json
172
+ - spec/fixtures/v3/modules__owner=puppetlabs.headers
173
+ - spec/fixtures/v3/modules__owner=puppetlabs.json
174
+ - spec/fixtures/v3/modules__query=apache.headers
175
+ - spec/fixtures/v3/modules__query=apache.json
176
176
  - spec/fixtures/v3/releases.headers
177
177
  - spec/fixtures/v3/releases.json
178
178
  - spec/fixtures/v3/releases/puppetlabs-apache-0.0.1.headers
@@ -185,8 +185,8 @@ files:
185
185
  - spec/fixtures/v3/releases/puppetlabs-apache-0.0.4.json
186
186
  - spec/fixtures/v3/releases/puppetlabs-apache-0.1.1.headers
187
187
  - spec/fixtures/v3/releases/puppetlabs-apache-0.1.1.json
188
- - spec/fixtures/v3/releases?module=puppetlabs-apache.headers
189
- - spec/fixtures/v3/releases?module=puppetlabs-apache.json
188
+ - spec/fixtures/v3/releases__module=puppetlabs-apache.headers
189
+ - spec/fixtures/v3/releases__module=puppetlabs-apache.json
190
190
  - spec/fixtures/v3/users/puppetlabs.headers
191
191
  - spec/fixtures/v3/users/puppetlabs.json
192
192
  - spec/spec_helper.rb
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
218
  version: '0'
219
219
  segments:
220
220
  - 0
221
- hash: -4161248064077052576
221
+ hash: 3695817481677248823
222
222
  requirements: []
223
223
  rubyforge_project:
224
224
  rubygems_version: 1.8.29
@@ -232,10 +232,10 @@ test_files:
232
232
  - spec/fixtures/v3/modules.json
233
233
  - spec/fixtures/v3/modules/puppetlabs-apache.headers
234
234
  - spec/fixtures/v3/modules/puppetlabs-apache.json
235
- - spec/fixtures/v3/modules?owner=puppetlabs.headers
236
- - spec/fixtures/v3/modules?owner=puppetlabs.json
237
- - spec/fixtures/v3/modules?query=apache.headers
238
- - spec/fixtures/v3/modules?query=apache.json
235
+ - spec/fixtures/v3/modules__owner=puppetlabs.headers
236
+ - spec/fixtures/v3/modules__owner=puppetlabs.json
237
+ - spec/fixtures/v3/modules__query=apache.headers
238
+ - spec/fixtures/v3/modules__query=apache.json
239
239
  - spec/fixtures/v3/releases.headers
240
240
  - spec/fixtures/v3/releases.json
241
241
  - spec/fixtures/v3/releases/puppetlabs-apache-0.0.1.headers
@@ -248,8 +248,8 @@ test_files:
248
248
  - spec/fixtures/v3/releases/puppetlabs-apache-0.0.4.json
249
249
  - spec/fixtures/v3/releases/puppetlabs-apache-0.1.1.headers
250
250
  - spec/fixtures/v3/releases/puppetlabs-apache-0.1.1.json
251
- - spec/fixtures/v3/releases?module=puppetlabs-apache.headers
252
- - spec/fixtures/v3/releases?module=puppetlabs-apache.json
251
+ - spec/fixtures/v3/releases__module=puppetlabs-apache.headers
252
+ - spec/fixtures/v3/releases__module=puppetlabs-apache.json
253
253
  - spec/fixtures/v3/users/puppetlabs.headers
254
254
  - spec/fixtures/v3/users/puppetlabs.json
255
255
  - spec/spec_helper.rb