fig 0.1.41 → 0.1.42
Sign up to get free protection for your applications and to get access to all the features.
- data/Changes +10 -0
- data/VERSION +1 -1
- data/lib/fig.rb +15 -7
- data/lib/fig/environment.rb +8 -4
- data/lib/fig/grammar.treetop +57 -17
- data/lib/fig/options.rb +10 -5
- data/lib/fig/os.rb +33 -12
- data/lib/fig/package.rb +43 -190
- data/lib/fig/package/archive.rb +24 -0
- data/lib/fig/package/command.rb +20 -0
- data/lib/fig/package/configuration.rb +40 -0
- data/lib/fig/package/include.rb +30 -0
- data/lib/fig/package/install.rb +21 -0
- data/lib/fig/package/override.rb +21 -0
- data/lib/fig/package/path.rb +21 -0
- data/lib/fig/package/publish.rb +21 -0
- data/lib/fig/package/resource.rb +24 -0
- data/lib/fig/package/retrieve.rb +21 -0
- data/lib/fig/package/set.rb +21 -0
- data/lib/fig/package/statement.rb +12 -0
- data/lib/fig/parser.rb +17 -4
- data/lib/fig/repository.rb +18 -23
- data/lib/fig/urlaccesserror.rb +6 -2
- metadata +16 -133
data/lib/fig/urlaccesserror.rb
CHANGED
@@ -2,8 +2,12 @@ require 'fig/userinputerror'
|
|
2
2
|
|
3
3
|
module Fig
|
4
4
|
class URLAccessError < UserInputError
|
5
|
-
|
6
|
-
|
5
|
+
attr_reader :urls, :package, :version
|
6
|
+
|
7
|
+
def initialize(urls, package, version)
|
8
|
+
@urls = urls
|
9
|
+
@package = package
|
10
|
+
@version = version
|
7
11
|
end
|
8
12
|
end
|
9
13
|
end
|
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fig
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
- 41
|
10
|
-
version: 0.1.41
|
4
|
+
prerelease:
|
5
|
+
version: 0.1.42
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- Matthew Foemmel
|
@@ -15,8 +10,7 @@ autorequire:
|
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
12
|
|
18
|
-
date: 2011-11-
|
19
|
-
default_executable:
|
13
|
+
date: 2011-11-15 00:00:00 Z
|
20
14
|
dependencies:
|
21
15
|
- !ruby/object:Gem::Dependency
|
22
16
|
name: libarchive-static
|
@@ -26,11 +20,6 @@ dependencies:
|
|
26
20
|
requirements:
|
27
21
|
- - ">="
|
28
22
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 23
|
30
|
-
segments:
|
31
|
-
- 1
|
32
|
-
- 0
|
33
|
-
- 0
|
34
23
|
version: 1.0.0
|
35
24
|
type: :development
|
36
25
|
version_requirements: *id001
|
@@ -42,11 +31,6 @@ dependencies:
|
|
42
31
|
requirements:
|
43
32
|
- - ">="
|
44
33
|
- !ruby/object:Gem::Version
|
45
|
-
hash: 23
|
46
|
-
segments:
|
47
|
-
- 1
|
48
|
-
- 0
|
49
|
-
- 0
|
50
34
|
version: 1.0.0
|
51
35
|
type: :runtime
|
52
36
|
version_requirements: *id002
|
@@ -58,11 +42,6 @@ dependencies:
|
|
58
42
|
requirements:
|
59
43
|
- - ">="
|
60
44
|
- !ruby/object:Gem::Version
|
61
|
-
hash: 11
|
62
|
-
segments:
|
63
|
-
- 1
|
64
|
-
- 6
|
65
|
-
- 2
|
66
45
|
version: 1.6.2
|
67
46
|
type: :runtime
|
68
47
|
version_requirements: *id003
|
@@ -74,11 +53,6 @@ dependencies:
|
|
74
53
|
requirements:
|
75
54
|
- - ">="
|
76
55
|
- !ruby/object:Gem::Version
|
77
|
-
hash: 25
|
78
|
-
segments:
|
79
|
-
- 1
|
80
|
-
- 1
|
81
|
-
- 5
|
82
56
|
version: 1.1.5
|
83
57
|
type: :runtime
|
84
58
|
version_requirements: *id004
|
@@ -90,11 +64,6 @@ dependencies:
|
|
90
64
|
requirements:
|
91
65
|
- - ">="
|
92
66
|
- !ruby/object:Gem::Version
|
93
|
-
hash: 19
|
94
|
-
segments:
|
95
|
-
- 0
|
96
|
-
- 2
|
97
|
-
- 2
|
98
67
|
version: 0.2.2
|
99
68
|
type: :runtime
|
100
69
|
version_requirements: *id005
|
@@ -106,11 +75,6 @@ dependencies:
|
|
106
75
|
requirements:
|
107
76
|
- - ">="
|
108
77
|
- !ruby/object:Gem::Version
|
109
|
-
hash: 7
|
110
|
-
segments:
|
111
|
-
- 2
|
112
|
-
- 0
|
113
|
-
- 4
|
114
78
|
version: 2.0.4
|
115
79
|
type: :runtime
|
116
80
|
version_requirements: *id006
|
@@ -122,11 +86,6 @@ dependencies:
|
|
122
86
|
requirements:
|
123
87
|
- - ">="
|
124
88
|
- !ruby/object:Gem::Version
|
125
|
-
hash: 17
|
126
|
-
segments:
|
127
|
-
- 2
|
128
|
-
- 0
|
129
|
-
- 15
|
130
89
|
version: 2.0.15
|
131
90
|
type: :runtime
|
132
91
|
version_requirements: *id007
|
@@ -138,11 +97,6 @@ dependencies:
|
|
138
97
|
requirements:
|
139
98
|
- - ">="
|
140
99
|
- !ruby/object:Gem::Version
|
141
|
-
hash: 5
|
142
|
-
segments:
|
143
|
-
- 0
|
144
|
-
- 2
|
145
|
-
- 9
|
146
100
|
version: 0.2.9
|
147
101
|
type: :runtime
|
148
102
|
version_requirements: *id008
|
@@ -154,11 +108,6 @@ dependencies:
|
|
154
108
|
requirements:
|
155
109
|
- - ">="
|
156
110
|
- !ruby/object:Gem::Version
|
157
|
-
hash: 27
|
158
|
-
segments:
|
159
|
-
- 2
|
160
|
-
- 4
|
161
|
-
- 2
|
162
111
|
version: 2.4.2
|
163
112
|
type: :runtime
|
164
113
|
version_requirements: *id009
|
@@ -170,11 +119,6 @@ dependencies:
|
|
170
119
|
requirements:
|
171
120
|
- - ">="
|
172
121
|
- !ruby/object:Gem::Version
|
173
|
-
hash: 3
|
174
|
-
segments:
|
175
|
-
- 1
|
176
|
-
- 4
|
177
|
-
- 2
|
178
122
|
version: 1.4.2
|
179
123
|
type: :runtime
|
180
124
|
version_requirements: *id010
|
@@ -186,11 +130,6 @@ dependencies:
|
|
186
130
|
requirements:
|
187
131
|
- - ">="
|
188
132
|
- !ruby/object:Gem::Version
|
189
|
-
hash: 21
|
190
|
-
segments:
|
191
|
-
- 1
|
192
|
-
- 0
|
193
|
-
- 1
|
194
133
|
version: 1.0.1
|
195
134
|
type: :development
|
196
135
|
version_requirements: *id011
|
@@ -202,9 +141,6 @@ dependencies:
|
|
202
141
|
requirements:
|
203
142
|
- - ~>
|
204
143
|
- !ruby/object:Gem::Version
|
205
|
-
hash: 7
|
206
|
-
segments:
|
207
|
-
- 2
|
208
144
|
version: "2"
|
209
145
|
type: :development
|
210
146
|
version_requirements: *id012
|
@@ -216,11 +152,6 @@ dependencies:
|
|
216
152
|
requirements:
|
217
153
|
- - ">="
|
218
154
|
- !ruby/object:Gem::Version
|
219
|
-
hash: 23
|
220
|
-
segments:
|
221
|
-
- 1
|
222
|
-
- 0
|
223
|
-
- 0
|
224
155
|
version: 1.0.0
|
225
156
|
type: :development
|
226
157
|
version_requirements: *id013
|
@@ -232,11 +163,6 @@ dependencies:
|
|
232
163
|
requirements:
|
233
164
|
- - ">="
|
234
165
|
- !ruby/object:Gem::Version
|
235
|
-
hash: 23
|
236
|
-
segments:
|
237
|
-
- 1
|
238
|
-
- 0
|
239
|
-
- 0
|
240
166
|
version: 1.0.0
|
241
167
|
type: :runtime
|
242
168
|
version_requirements: *id014
|
@@ -248,11 +174,6 @@ dependencies:
|
|
248
174
|
requirements:
|
249
175
|
- - ">="
|
250
176
|
- !ruby/object:Gem::Version
|
251
|
-
hash: 11
|
252
|
-
segments:
|
253
|
-
- 1
|
254
|
-
- 6
|
255
|
-
- 2
|
256
177
|
version: 1.6.2
|
257
178
|
type: :runtime
|
258
179
|
version_requirements: *id015
|
@@ -264,11 +185,6 @@ dependencies:
|
|
264
185
|
requirements:
|
265
186
|
- - ">="
|
266
187
|
- !ruby/object:Gem::Version
|
267
|
-
hash: 25
|
268
|
-
segments:
|
269
|
-
- 1
|
270
|
-
- 1
|
271
|
-
- 5
|
272
188
|
version: 1.1.5
|
273
189
|
type: :runtime
|
274
190
|
version_requirements: *id016
|
@@ -280,11 +196,6 @@ dependencies:
|
|
280
196
|
requirements:
|
281
197
|
- - ">="
|
282
198
|
- !ruby/object:Gem::Version
|
283
|
-
hash: 19
|
284
|
-
segments:
|
285
|
-
- 0
|
286
|
-
- 2
|
287
|
-
- 2
|
288
199
|
version: 0.2.2
|
289
200
|
type: :runtime
|
290
201
|
version_requirements: *id017
|
@@ -296,11 +207,6 @@ dependencies:
|
|
296
207
|
requirements:
|
297
208
|
- - ">="
|
298
209
|
- !ruby/object:Gem::Version
|
299
|
-
hash: 7
|
300
|
-
segments:
|
301
|
-
- 2
|
302
|
-
- 0
|
303
|
-
- 4
|
304
210
|
version: 2.0.4
|
305
211
|
type: :runtime
|
306
212
|
version_requirements: *id018
|
@@ -312,11 +218,6 @@ dependencies:
|
|
312
218
|
requirements:
|
313
219
|
- - ">="
|
314
220
|
- !ruby/object:Gem::Version
|
315
|
-
hash: 17
|
316
|
-
segments:
|
317
|
-
- 2
|
318
|
-
- 0
|
319
|
-
- 15
|
320
221
|
version: 2.0.15
|
321
222
|
type: :runtime
|
322
223
|
version_requirements: *id019
|
@@ -328,11 +229,6 @@ dependencies:
|
|
328
229
|
requirements:
|
329
230
|
- - ">="
|
330
231
|
- !ruby/object:Gem::Version
|
331
|
-
hash: 5
|
332
|
-
segments:
|
333
|
-
- 0
|
334
|
-
- 2
|
335
|
-
- 9
|
336
232
|
version: 0.2.9
|
337
233
|
type: :runtime
|
338
234
|
version_requirements: *id020
|
@@ -344,11 +240,6 @@ dependencies:
|
|
344
240
|
requirements:
|
345
241
|
- - ">="
|
346
242
|
- !ruby/object:Gem::Version
|
347
|
-
hash: 27
|
348
|
-
segments:
|
349
|
-
- 2
|
350
|
-
- 4
|
351
|
-
- 2
|
352
243
|
version: 2.4.2
|
353
244
|
type: :runtime
|
354
245
|
version_requirements: *id021
|
@@ -360,11 +251,6 @@ dependencies:
|
|
360
251
|
requirements:
|
361
252
|
- - ">="
|
362
253
|
- !ruby/object:Gem::Version
|
363
|
-
hash: 3
|
364
|
-
segments:
|
365
|
-
- 1
|
366
|
-
- 4
|
367
|
-
- 2
|
368
254
|
version: 1.4.2
|
369
255
|
type: :runtime
|
370
256
|
version_requirements: *id022
|
@@ -376,11 +262,6 @@ dependencies:
|
|
376
262
|
requirements:
|
377
263
|
- - ">="
|
378
264
|
- !ruby/object:Gem::Version
|
379
|
-
hash: 21
|
380
|
-
segments:
|
381
|
-
- 1
|
382
|
-
- 0
|
383
|
-
- 1
|
384
265
|
version: 1.0.1
|
385
266
|
type: :development
|
386
267
|
version_requirements: *id023
|
@@ -392,9 +273,6 @@ dependencies:
|
|
392
273
|
requirements:
|
393
274
|
- - ~>
|
394
275
|
- !ruby/object:Gem::Version
|
395
|
-
hash: 7
|
396
|
-
segments:
|
397
|
-
- 2
|
398
276
|
version: "2"
|
399
277
|
type: :development
|
400
278
|
version_requirements: *id024
|
@@ -427,6 +305,18 @@ files:
|
|
427
305
|
- lib/fig/options.rb
|
428
306
|
- lib/fig/os.rb
|
429
307
|
- lib/fig/package.rb
|
308
|
+
- lib/fig/package/archive.rb
|
309
|
+
- lib/fig/package/command.rb
|
310
|
+
- lib/fig/package/configuration.rb
|
311
|
+
- lib/fig/package/include.rb
|
312
|
+
- lib/fig/package/install.rb
|
313
|
+
- lib/fig/package/override.rb
|
314
|
+
- lib/fig/package/path.rb
|
315
|
+
- lib/fig/package/publish.rb
|
316
|
+
- lib/fig/package/resource.rb
|
317
|
+
- lib/fig/package/retrieve.rb
|
318
|
+
- lib/fig/package/set.rb
|
319
|
+
- lib/fig/package/statement.rb
|
430
320
|
- lib/fig/packageerror.rb
|
431
321
|
- lib/fig/parser.rb
|
432
322
|
- lib/fig/repository.rb
|
@@ -437,7 +327,6 @@ files:
|
|
437
327
|
- lib/fig/windows.rb
|
438
328
|
- LICENSE
|
439
329
|
- README.md
|
440
|
-
has_rdoc: true
|
441
330
|
homepage: http://github.com/mfoemmel/fig
|
442
331
|
licenses: []
|
443
332
|
|
@@ -451,23 +340,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
451
340
|
requirements:
|
452
341
|
- - ">="
|
453
342
|
- !ruby/object:Gem::Version
|
454
|
-
hash: 3
|
455
|
-
segments:
|
456
|
-
- 0
|
457
343
|
version: "0"
|
458
344
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
459
345
|
none: false
|
460
346
|
requirements:
|
461
347
|
- - ">="
|
462
348
|
- !ruby/object:Gem::Version
|
463
|
-
hash: 3
|
464
|
-
segments:
|
465
|
-
- 0
|
466
349
|
version: "0"
|
467
350
|
requirements: []
|
468
351
|
|
469
352
|
rubyforge_project:
|
470
|
-
rubygems_version: 1.
|
353
|
+
rubygems_version: 1.8.11
|
471
354
|
signing_key:
|
472
355
|
specification_version: 3
|
473
356
|
summary: Fig is a utility for configuring environments and managing dependencies across a team of developers.
|