puppet-library 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,147 +1,303 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: puppet-library
3
- version: !ruby/object:Gem::Version
4
- version: 0.8.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.0
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - drrb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
-
12
- date: 2014-02-07 00:00:00 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
11
+ date: 2014-02-15 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
15
14
  name: sinatra
16
- version_requirements: &id001 !ruby/object:Gem::Requirement
17
- requirements:
18
- - &id002
19
- - ">="
20
- - !ruby/object:Gem::Version
21
- version: "0"
22
- prerelease: false
23
- requirement: *id001
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
24
20
  type: :runtime
25
- - !ruby/object:Gem::Dependency
26
- name: json
27
- version_requirements: &id003 !ruby/object:Gem::Requirement
28
- requirements:
29
- - *id002
30
21
  prerelease: false
31
- requirement: *id003
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: json
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
32
34
  type: :runtime
33
- - !ruby/object:Gem::Dependency
34
- name: haml
35
- version_requirements: &id004 !ruby/object:Gem::Requirement
36
- requirements:
37
- - *id002
38
35
  prerelease: false
39
- requirement: *id004
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: haml
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
40
48
  type: :runtime
41
- - !ruby/object:Gem::Dependency
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
42
56
  name: bundler
43
- version_requirements: &id005 !ruby/object:Gem::Requirement
44
- requirements:
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
45
59
  - - ~>
46
- - !ruby/object:Gem::Version
47
- version: "1.3"
48
- prerelease: false
49
- requirement: *id005
60
+ - !ruby/object:Gem::Version
61
+ version: '1.3'
50
62
  type: :development
51
- - !ruby/object:Gem::Dependency
52
- name: coveralls
53
- version_requirements: &id006 !ruby/object:Gem::Requirement
54
- requirements:
55
- - *id002
56
63
  prerelease: false
57
- requirement: *id006
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '1.3'
69
+ - !ruby/object:Gem::Dependency
70
+ name: coveralls
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
58
76
  type: :development
59
- - !ruby/object:Gem::Dependency
60
- name: gitsu
61
- version_requirements: &id007 !ruby/object:Gem::Requirement
62
- requirements:
63
- - *id002
64
77
  prerelease: false
65
- requirement: *id007
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: gitsu
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
66
90
  type: :development
67
- - !ruby/object:Gem::Dependency
68
- name: librarian-puppet
69
- version_requirements: &id008 !ruby/object:Gem::Requirement
70
- requirements:
71
- - *id002
72
91
  prerelease: false
73
- requirement: *id008
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: librarian-puppet
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '='
102
+ - !ruby/object:Gem::Version
103
+ version: 0.9.10
74
104
  type: :development
75
- - !ruby/object:Gem::Dependency
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '='
109
+ - !ruby/object:Gem::Version
110
+ version: 0.9.10
111
+ - !ruby/object:Gem::Dependency
76
112
  name: mime-types
77
- version_requirements: &id009 !ruby/object:Gem::Requirement
78
- requirements:
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
79
115
  - - <
80
- - !ruby/object:Gem::Version
81
- version: "2"
82
- prerelease: false
83
- requirement: *id009
116
+ - !ruby/object:Gem::Version
117
+ version: '2'
84
118
  type: :development
85
- - !ruby/object:Gem::Dependency
86
- name: pry
87
- version_requirements: &id010 !ruby/object:Gem::Requirement
88
- requirements:
89
- - *id002
90
119
  prerelease: false
91
- requirement: *id010
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - <
123
+ - !ruby/object:Gem::Version
124
+ version: '2'
125
+ - !ruby/object:Gem::Dependency
126
+ name: pry
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
92
132
  type: :development
93
- - !ruby/object:Gem::Dependency
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
94
140
  name: puppet
95
- version_requirements: &id011 !ruby/object:Gem::Requirement
96
- requirements:
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
97
143
  - - ~>
98
- - !ruby/object:Gem::Version
144
+ - !ruby/object:Gem::Version
99
145
  version: 3.3.0
100
- prerelease: false
101
- requirement: *id011
102
146
  type: :development
103
- - !ruby/object:Gem::Dependency
104
- name: rack-test
105
- version_requirements: &id012 !ruby/object:Gem::Requirement
106
- requirements:
107
- - *id002
108
147
  prerelease: false
109
- requirement: *id012
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ~>
151
+ - !ruby/object:Gem::Version
152
+ version: 3.3.0
153
+ - !ruby/object:Gem::Dependency
154
+ name: rack-test
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - '>='
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
110
160
  type: :development
111
- - !ruby/object:Gem::Dependency
112
- name: rake
113
- version_requirements: &id013 !ruby/object:Gem::Requirement
114
- requirements:
115
- - *id002
116
161
  prerelease: false
117
- requirement: *id013
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - '>='
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: rake
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
118
174
  type: :development
119
- - !ruby/object:Gem::Dependency
120
- name: rspec
121
- version_requirements: &id014 !ruby/object:Gem::Requirement
122
- requirements:
123
- - *id002
124
175
  prerelease: false
125
- requirement: *id014
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - '>='
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: rspec
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - '>='
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
126
188
  type: :development
127
- - !ruby/object:Gem::Dependency
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - '>='
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ - !ruby/object:Gem::Dependency
128
196
  name: simplecov
129
- version_requirements: &id015 !ruby/object:Gem::Requirement
130
- requirements:
131
- - *id002
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - '>='
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - '>='
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: guard
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - '>='
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - '>='
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: guard-rspec
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - '>='
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - '>='
235
+ - !ruby/object:Gem::Version
236
+ version: '0'
237
+ - !ruby/object:Gem::Dependency
238
+ name: terminal-notifier-guard
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - '>='
242
+ - !ruby/object:Gem::Version
243
+ version: '0'
244
+ type: :development
132
245
  prerelease: false
133
- requirement: *id015
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - '>='
249
+ - !ruby/object:Gem::Version
250
+ version: '0'
251
+ - !ruby/object:Gem::Dependency
252
+ name: capybara
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - '>='
256
+ - !ruby/object:Gem::Version
257
+ version: '0'
134
258
  type: :development
135
- description: A Puppet module server
136
- email:
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - '>='
263
+ - !ruby/object:Gem::Version
264
+ version: '0'
265
+ - !ruby/object:Gem::Dependency
266
+ name: nokogiri
267
+ requirement: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - '>='
270
+ - !ruby/object:Gem::Version
271
+ version: '0'
272
+ type: :development
273
+ prerelease: false
274
+ version_requirements: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - '>='
277
+ - !ruby/object:Gem::Version
278
+ version: '0'
279
+ - !ruby/object:Gem::Dependency
280
+ name: cucumber
281
+ requirement: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - '>='
284
+ - !ruby/object:Gem::Version
285
+ version: '0'
286
+ type: :development
287
+ prerelease: false
288
+ version_requirements: !ruby/object:Gem::Requirement
289
+ requirements:
290
+ - - '>='
291
+ - !ruby/object:Gem::Version
292
+ version: '0'
293
+ description: A private Puppet forge
294
+ email:
137
295
  - drrrrrrrrrrrb@gmail.com
138
- executables:
296
+ executables:
139
297
  - puppet-library
140
298
  extensions: []
141
-
142
299
  extra_rdoc_files: []
143
-
144
- files:
300
+ files:
145
301
  - .gitignore
146
302
  - .licenseignore
147
303
  - .simplecov
@@ -165,6 +321,9 @@ files:
165
321
  - lib/puppet_library/app/views/layout.haml
166
322
  - lib/puppet_library/app/views/module.haml
167
323
  - lib/puppet_library/app/views/module_not_found.haml
324
+ - lib/puppet_library/archive.rb
325
+ - lib/puppet_library/archive/archive_reader.rb
326
+ - lib/puppet_library/archive/archiver.rb
168
327
  - lib/puppet_library/forge.rb
169
328
  - lib/puppet_library/forge/abstract.rb
170
329
  - lib/puppet_library/forge/cache.rb
@@ -172,6 +331,7 @@ files:
172
331
  - lib/puppet_library/forge/multi.rb
173
332
  - lib/puppet_library/forge/proxy.rb
174
333
  - lib/puppet_library/forge/search_result.rb
334
+ - lib/puppet_library/forge/source.rb
175
335
  - lib/puppet_library/http.rb
176
336
  - lib/puppet_library/http/cache.rb
177
337
  - lib/puppet_library/http/cache/disk.rb
@@ -180,15 +340,20 @@ files:
180
340
  - lib/puppet_library/http/http_client.rb
181
341
  - lib/puppet_library/http/url.rb
182
342
  - lib/puppet_library/puppet_library.rb
343
+ - lib/puppet_library/puppet_module.rb
344
+ - lib/puppet_library/puppet_module/modulefile.rb
183
345
  - lib/puppet_library/server.rb
184
346
  - lib/puppet_library/util.rb
185
347
  - lib/puppet_library/version.rb
186
348
  - puppet-library.gemspec
349
+ - spec/archive/archive_reader_spec.rb
350
+ - spec/archive/archiver_spec.rb
187
351
  - spec/forge/abstract_spec.rb
188
352
  - spec/forge/cache_spec.rb
189
353
  - spec/forge/directory_spec.rb
190
354
  - spec/forge/multi_spec.rb
191
355
  - spec/forge/proxy_spec.rb
356
+ - spec/forge/source_spec.rb
192
357
  - spec/http/cache/disk_spec.rb
193
358
  - spec/http/cache/in_memory_spec.rb
194
359
  - spec/http/cache/noop_spec.rb
@@ -196,44 +361,49 @@ files:
196
361
  - spec/http/url_spec.rb
197
362
  - spec/module_spec_helper.rb
198
363
  - spec/puppet_library_spec.rb
364
+ - spec/puppet_module/modulefile_spec.rb
199
365
  - spec/server_spec.rb
200
366
  - spec/spec_helper.rb
201
367
  - spec/util_spec.rb
202
368
  - test/librarian_puppet_integration_test.rb
203
369
  homepage: https://github.com/drrb/puppet-library
204
- licenses:
370
+ licenses:
205
371
  - GPL-3
206
372
  metadata: {}
207
-
208
373
  post_install_message:
209
374
  rdoc_options: []
210
-
211
- require_paths:
375
+ require_paths:
212
376
  - lib
213
- required_ruby_version: !ruby/object:Gem::Requirement
214
- requirements:
215
- - *id002
216
- required_rubygems_version: !ruby/object:Gem::Requirement
217
- requirements:
218
- - *id002
377
+ required_ruby_version: !ruby/object:Gem::Requirement
378
+ requirements:
379
+ - - '>='
380
+ - !ruby/object:Gem::Version
381
+ version: '0'
382
+ required_rubygems_version: !ruby/object:Gem::Requirement
383
+ requirements:
384
+ - - '>='
385
+ - !ruby/object:Gem::Version
386
+ version: '0'
219
387
  requirements: []
220
-
221
388
  rubyforge_project:
222
- rubygems_version: 2.0.14
389
+ rubygems_version: 2.0.3
223
390
  signing_key:
224
391
  specification_version: 4
225
392
  summary: Puppet Library is a private Puppet module server that's compatible with librarian-puppet.
226
- test_files:
393
+ test_files:
227
394
  - features/module_list.feature
228
395
  - features/module_page.feature
229
396
  - features/module_search.feature
230
397
  - features/step_definitions/sinatra_steps.rb
231
398
  - features/support/env.rb
399
+ - spec/archive/archive_reader_spec.rb
400
+ - spec/archive/archiver_spec.rb
232
401
  - spec/forge/abstract_spec.rb
233
402
  - spec/forge/cache_spec.rb
234
403
  - spec/forge/directory_spec.rb
235
404
  - spec/forge/multi_spec.rb
236
405
  - spec/forge/proxy_spec.rb
406
+ - spec/forge/source_spec.rb
237
407
  - spec/http/cache/disk_spec.rb
238
408
  - spec/http/cache/in_memory_spec.rb
239
409
  - spec/http/cache/noop_spec.rb
@@ -241,6 +411,7 @@ test_files:
241
411
  - spec/http/url_spec.rb
242
412
  - spec/module_spec_helper.rb
243
413
  - spec/puppet_library_spec.rb
414
+ - spec/puppet_module/modulefile_spec.rb
244
415
  - spec/server_spec.rb
245
416
  - spec/spec_helper.rb
246
417
  - spec/util_spec.rb