fig18 0.1.50-i386-mswin32 → 0.1.51-i386-mswin32

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,7 @@
1
1
  require 'fig/userinputerror'
2
2
 
3
3
  module Fig
4
+ # Configuration attempted to specify a URL outside of the whitelist.
4
5
  class URLAccessError < UserInputError
5
6
  attr_reader :urls, :package, :version
6
7
 
@@ -1,4 +1,6 @@
1
1
  module Fig
2
+ # Bad user! Bad! (Indicates we should exit with an error, but because it's
3
+ # a user caused issue, it's not a bug and should not produce a stack trace.)
2
4
  class UserInputError < StandardError
3
5
  end
4
6
  end
@@ -1,5 +1,3 @@
1
- # Keeping Windows-specific implementation details here.
2
-
3
1
  require 'erb'
4
2
  require 'fileutils'
5
3
 
@@ -8,8 +6,8 @@ require 'fileutils'
8
6
  # on the fly to run a user supplied command.
9
7
 
10
8
  module Fig
9
+ # Windows-specific implementation details.
11
10
  class Windows
12
-
13
11
  BATCH_SCRIPT_TEMPLATE = <<EOF
14
12
  @echo off
15
13
  % ENV.each do |k,v|
metadata CHANGED
@@ -1,382 +1,271 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: fig18
3
- version: !ruby/object:Gem::Version
4
- hash: 127
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 1
9
- - 50
10
- version: 0.1.50
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.51
5
+ prerelease:
11
6
  platform: i386-mswin32
12
- authors:
7
+ authors:
13
8
  - Matthew Foemmel
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-12-05 00:00:00 -06:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2012-01-03 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: libarchive-static-ruby186
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &259929940 !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 23
30
- segments:
31
- - 1
32
- - 0
33
- - 0
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
34
21
  version: 1.0.0
35
22
  type: :runtime
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: highline
39
23
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *259929940
25
+ - !ruby/object:Gem::Dependency
26
+ name: highline
27
+ requirement: &259928060 !ruby/object:Gem::Requirement
41
28
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- hash: 11
46
- segments:
47
- - 1
48
- - 6
49
- - 2
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
50
32
  version: 1.6.2
51
33
  type: :runtime
52
- version_requirements: *id002
53
- - !ruby/object:Gem::Dependency
54
- name: log4r
55
34
  prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *259928060
36
+ - !ruby/object:Gem::Dependency
37
+ name: log4r
38
+ requirement: &259926560 !ruby/object:Gem::Requirement
57
39
  none: false
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- hash: 25
62
- segments:
63
- - 1
64
- - 1
65
- - 5
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
66
43
  version: 1.1.5
67
44
  type: :runtime
68
- version_requirements: *id003
69
- - !ruby/object:Gem::Dependency
70
- name: net-netrc
71
45
  prerelease: false
72
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *259926560
47
+ - !ruby/object:Gem::Dependency
48
+ name: net-netrc
49
+ requirement: &259923920 !ruby/object:Gem::Requirement
73
50
  none: false
74
- requirements:
75
- - - ">="
76
- - !ruby/object:Gem::Version
77
- hash: 19
78
- segments:
79
- - 0
80
- - 2
81
- - 2
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
82
54
  version: 0.2.2
83
55
  type: :runtime
84
- version_requirements: *id004
85
- - !ruby/object:Gem::Dependency
86
- name: net-sftp
87
56
  prerelease: false
88
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *259923920
58
+ - !ruby/object:Gem::Dependency
59
+ name: net-sftp
60
+ requirement: &259847820 !ruby/object:Gem::Requirement
89
61
  none: false
90
- requirements:
91
- - - ">="
92
- - !ruby/object:Gem::Version
93
- hash: 7
94
- segments:
95
- - 2
96
- - 0
97
- - 4
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
98
65
  version: 2.0.4
99
66
  type: :runtime
100
- version_requirements: *id005
101
- - !ruby/object:Gem::Dependency
102
- name: net-ssh
103
67
  prerelease: false
104
- requirement: &id006 !ruby/object:Gem::Requirement
68
+ version_requirements: *259847820
69
+ - !ruby/object:Gem::Dependency
70
+ name: net-ssh
71
+ requirement: &259846760 !ruby/object:Gem::Requirement
105
72
  none: false
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- hash: 17
110
- segments:
111
- - 2
112
- - 0
113
- - 15
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
114
76
  version: 2.0.15
115
77
  type: :runtime
116
- version_requirements: *id006
117
- - !ruby/object:Gem::Dependency
118
- name: polyglot
119
78
  prerelease: false
120
- requirement: &id007 !ruby/object:Gem::Requirement
79
+ version_requirements: *259846760
80
+ - !ruby/object:Gem::Dependency
81
+ name: polyglot
82
+ requirement: &259845860 !ruby/object:Gem::Requirement
121
83
  none: false
122
- requirements:
123
- - - ">="
124
- - !ruby/object:Gem::Version
125
- hash: 5
126
- segments:
127
- - 0
128
- - 2
129
- - 9
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
130
87
  version: 0.2.9
131
88
  type: :runtime
132
- version_requirements: *id007
133
- - !ruby/object:Gem::Dependency
134
- name: rdoc
135
89
  prerelease: false
136
- requirement: &id008 !ruby/object:Gem::Requirement
90
+ version_requirements: *259845860
91
+ - !ruby/object:Gem::Dependency
92
+ name: rdoc
93
+ requirement: &259844780 !ruby/object:Gem::Requirement
137
94
  none: false
138
- requirements:
139
- - - ">="
140
- - !ruby/object:Gem::Version
141
- hash: 27
142
- segments:
143
- - 2
144
- - 4
145
- - 2
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
146
98
  version: 2.4.2
147
99
  type: :runtime
148
- version_requirements: *id008
149
- - !ruby/object:Gem::Dependency
150
- name: treetop
151
100
  prerelease: false
152
- requirement: &id009 !ruby/object:Gem::Requirement
101
+ version_requirements: *259844780
102
+ - !ruby/object:Gem::Dependency
103
+ name: treetop
104
+ requirement: &259842360 !ruby/object:Gem::Requirement
153
105
  none: false
154
- requirements:
155
- - - ">="
156
- - !ruby/object:Gem::Version
157
- hash: 3
158
- segments:
159
- - 1
160
- - 4
161
- - 2
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
162
109
  version: 1.4.2
163
110
  type: :runtime
164
- version_requirements: *id009
165
- - !ruby/object:Gem::Dependency
166
- name: open4
167
111
  prerelease: false
168
- requirement: &id010 !ruby/object:Gem::Requirement
112
+ version_requirements: *259842360
113
+ - !ruby/object:Gem::Dependency
114
+ name: open4
115
+ requirement: &259841520 !ruby/object:Gem::Requirement
169
116
  none: false
170
- requirements:
171
- - - ">="
172
- - !ruby/object:Gem::Version
173
- hash: 21
174
- segments:
175
- - 1
176
- - 0
177
- - 1
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
178
120
  version: 1.0.1
179
121
  type: :development
180
- version_requirements: *id010
181
- - !ruby/object:Gem::Dependency
182
- name: rspec
183
122
  prerelease: false
184
- requirement: &id011 !ruby/object:Gem::Requirement
123
+ version_requirements: *259841520
124
+ - !ruby/object:Gem::Dependency
125
+ name: rspec
126
+ requirement: &259840840 !ruby/object:Gem::Requirement
185
127
  none: false
186
- requirements:
128
+ requirements:
187
129
  - - ~>
188
- - !ruby/object:Gem::Version
189
- hash: 7
190
- segments:
191
- - 2
192
- version: "2"
130
+ - !ruby/object:Gem::Version
131
+ version: '2'
193
132
  type: :development
194
- version_requirements: *id011
195
- - !ruby/object:Gem::Dependency
196
- name: libarchive-static-ruby186
197
133
  prerelease: false
198
- requirement: &id012 !ruby/object:Gem::Requirement
134
+ version_requirements: *259840840
135
+ - !ruby/object:Gem::Dependency
136
+ name: libarchive-static-ruby186
137
+ requirement: &259824380 !ruby/object:Gem::Requirement
199
138
  none: false
200
- requirements:
201
- - - ">="
202
- - !ruby/object:Gem::Version
203
- hash: 23
204
- segments:
205
- - 1
206
- - 0
207
- - 0
139
+ requirements:
140
+ - - ! '>='
141
+ - !ruby/object:Gem::Version
208
142
  version: 1.0.0
209
143
  type: :runtime
210
- version_requirements: *id012
211
- - !ruby/object:Gem::Dependency
212
- name: highline
213
144
  prerelease: false
214
- requirement: &id013 !ruby/object:Gem::Requirement
145
+ version_requirements: *259824380
146
+ - !ruby/object:Gem::Dependency
147
+ name: highline
148
+ requirement: &259823500 !ruby/object:Gem::Requirement
215
149
  none: false
216
- requirements:
217
- - - ">="
218
- - !ruby/object:Gem::Version
219
- hash: 11
220
- segments:
221
- - 1
222
- - 6
223
- - 2
150
+ requirements:
151
+ - - ! '>='
152
+ - !ruby/object:Gem::Version
224
153
  version: 1.6.2
225
154
  type: :runtime
226
- version_requirements: *id013
227
- - !ruby/object:Gem::Dependency
228
- name: log4r
229
155
  prerelease: false
230
- requirement: &id014 !ruby/object:Gem::Requirement
156
+ version_requirements: *259823500
157
+ - !ruby/object:Gem::Dependency
158
+ name: log4r
159
+ requirement: &259822580 !ruby/object:Gem::Requirement
231
160
  none: false
232
- requirements:
233
- - - ">="
234
- - !ruby/object:Gem::Version
235
- hash: 25
236
- segments:
237
- - 1
238
- - 1
239
- - 5
161
+ requirements:
162
+ - - ! '>='
163
+ - !ruby/object:Gem::Version
240
164
  version: 1.1.5
241
165
  type: :runtime
242
- version_requirements: *id014
243
- - !ruby/object:Gem::Dependency
244
- name: net-netrc
245
166
  prerelease: false
246
- requirement: &id015 !ruby/object:Gem::Requirement
167
+ version_requirements: *259822580
168
+ - !ruby/object:Gem::Dependency
169
+ name: net-netrc
170
+ requirement: &259821720 !ruby/object:Gem::Requirement
247
171
  none: false
248
- requirements:
249
- - - ">="
250
- - !ruby/object:Gem::Version
251
- hash: 19
252
- segments:
253
- - 0
254
- - 2
255
- - 2
172
+ requirements:
173
+ - - ! '>='
174
+ - !ruby/object:Gem::Version
256
175
  version: 0.2.2
257
176
  type: :runtime
258
- version_requirements: *id015
259
- - !ruby/object:Gem::Dependency
260
- name: net-sftp
261
177
  prerelease: false
262
- requirement: &id016 !ruby/object:Gem::Requirement
178
+ version_requirements: *259821720
179
+ - !ruby/object:Gem::Dependency
180
+ name: net-sftp
181
+ requirement: &259820480 !ruby/object:Gem::Requirement
263
182
  none: false
264
- requirements:
265
- - - ">="
266
- - !ruby/object:Gem::Version
267
- hash: 7
268
- segments:
269
- - 2
270
- - 0
271
- - 4
183
+ requirements:
184
+ - - ! '>='
185
+ - !ruby/object:Gem::Version
272
186
  version: 2.0.4
273
187
  type: :runtime
274
- version_requirements: *id016
275
- - !ruby/object:Gem::Dependency
276
- name: net-ssh
277
188
  prerelease: false
278
- requirement: &id017 !ruby/object:Gem::Requirement
189
+ version_requirements: *259820480
190
+ - !ruby/object:Gem::Dependency
191
+ name: net-ssh
192
+ requirement: &259819300 !ruby/object:Gem::Requirement
279
193
  none: false
280
- requirements:
281
- - - ">="
282
- - !ruby/object:Gem::Version
283
- hash: 17
284
- segments:
285
- - 2
286
- - 0
287
- - 15
194
+ requirements:
195
+ - - ! '>='
196
+ - !ruby/object:Gem::Version
288
197
  version: 2.0.15
289
198
  type: :runtime
290
- version_requirements: *id017
291
- - !ruby/object:Gem::Dependency
292
- name: polyglot
293
199
  prerelease: false
294
- requirement: &id018 !ruby/object:Gem::Requirement
200
+ version_requirements: *259819300
201
+ - !ruby/object:Gem::Dependency
202
+ name: polyglot
203
+ requirement: &259817940 !ruby/object:Gem::Requirement
295
204
  none: false
296
- requirements:
297
- - - ">="
298
- - !ruby/object:Gem::Version
299
- hash: 5
300
- segments:
301
- - 0
302
- - 2
303
- - 9
205
+ requirements:
206
+ - - ! '>='
207
+ - !ruby/object:Gem::Version
304
208
  version: 0.2.9
305
209
  type: :runtime
306
- version_requirements: *id018
307
- - !ruby/object:Gem::Dependency
308
- name: rdoc
309
210
  prerelease: false
310
- requirement: &id019 !ruby/object:Gem::Requirement
211
+ version_requirements: *259817940
212
+ - !ruby/object:Gem::Dependency
213
+ name: rdoc
214
+ requirement: &259778840 !ruby/object:Gem::Requirement
311
215
  none: false
312
- requirements:
313
- - - ">="
314
- - !ruby/object:Gem::Version
315
- hash: 27
316
- segments:
317
- - 2
318
- - 4
319
- - 2
216
+ requirements:
217
+ - - ! '>='
218
+ - !ruby/object:Gem::Version
320
219
  version: 2.4.2
321
220
  type: :runtime
322
- version_requirements: *id019
323
- - !ruby/object:Gem::Dependency
324
- name: treetop
325
221
  prerelease: false
326
- requirement: &id020 !ruby/object:Gem::Requirement
222
+ version_requirements: *259778840
223
+ - !ruby/object:Gem::Dependency
224
+ name: treetop
225
+ requirement: &259778080 !ruby/object:Gem::Requirement
327
226
  none: false
328
- requirements:
329
- - - ">="
330
- - !ruby/object:Gem::Version
331
- hash: 3
332
- segments:
333
- - 1
334
- - 4
335
- - 2
227
+ requirements:
228
+ - - ! '>='
229
+ - !ruby/object:Gem::Version
336
230
  version: 1.4.2
337
231
  type: :runtime
338
- version_requirements: *id020
339
- - !ruby/object:Gem::Dependency
340
- name: open4
341
232
  prerelease: false
342
- requirement: &id021 !ruby/object:Gem::Requirement
233
+ version_requirements: *259778080
234
+ - !ruby/object:Gem::Dependency
235
+ name: open4
236
+ requirement: &259763200 !ruby/object:Gem::Requirement
343
237
  none: false
344
- requirements:
345
- - - ">="
346
- - !ruby/object:Gem::Version
347
- hash: 21
348
- segments:
349
- - 1
350
- - 0
351
- - 1
238
+ requirements:
239
+ - - ! '>='
240
+ - !ruby/object:Gem::Version
352
241
  version: 1.0.1
353
242
  type: :development
354
- version_requirements: *id021
355
- - !ruby/object:Gem::Dependency
356
- name: rspec
357
243
  prerelease: false
358
- requirement: &id022 !ruby/object:Gem::Requirement
244
+ version_requirements: *259763200
245
+ - !ruby/object:Gem::Dependency
246
+ name: rspec
247
+ requirement: &259761900 !ruby/object:Gem::Requirement
359
248
  none: false
360
- requirements:
249
+ requirements:
361
250
  - - ~>
362
- - !ruby/object:Gem::Version
363
- hash: 7
364
- segments:
365
- - 2
366
- version: "2"
251
+ - !ruby/object:Gem::Version
252
+ version: '2'
367
253
  type: :development
368
- version_requirements: *id022
369
- description: Fig is a utility for configuring environments and managing dependencies across a team of developers. Given a list of packages and a command to run, Fig builds environment variables named in those packages (e.g., CLASSPATH), then executes the command in that environment. The caller's environment is not affected.
254
+ prerelease: false
255
+ version_requirements: *259761900
256
+ description: Fig is a utility for configuring environments and managing dependencies
257
+ across a team of developers. Given a list of packages and a command to run, Fig
258
+ builds environment variables named in those packages (e.g., CLASSPATH), then executes
259
+ the command in that environment. The caller's environment is not affected.
370
260
  email: git@foemmel.com
371
- executables:
261
+ executables:
372
262
  - fig
373
263
  - fig-download
374
264
  extensions: []
375
-
376
- extra_rdoc_files:
265
+ extra_rdoc_files:
377
266
  - LICENSE
378
267
  - README.md
379
- files:
268
+ files:
380
269
  - Changes
381
270
  - VERSION
382
271
  - bin/fig
@@ -417,39 +306,29 @@ files:
417
306
  - lib/fig/windows.rb
418
307
  - LICENSE
419
308
  - README.md
420
- has_rdoc: true
421
309
  homepage: http://github.com/mfoemmel/fig
422
310
  licenses: []
423
-
424
311
  post_install_message:
425
312
  rdoc_options: []
426
-
427
- require_paths:
313
+ require_paths:
428
314
  - lib
429
- required_ruby_version: !ruby/object:Gem::Requirement
315
+ required_ruby_version: !ruby/object:Gem::Requirement
430
316
  none: false
431
- requirements:
432
- - - ">="
433
- - !ruby/object:Gem::Version
434
- hash: 3
435
- segments:
436
- - 0
437
- version: "0"
438
- required_rubygems_version: !ruby/object:Gem::Requirement
317
+ requirements:
318
+ - - ! '>='
319
+ - !ruby/object:Gem::Version
320
+ version: '0'
321
+ required_rubygems_version: !ruby/object:Gem::Requirement
439
322
  none: false
440
- requirements:
441
- - - ">="
442
- - !ruby/object:Gem::Version
443
- hash: 3
444
- segments:
445
- - 0
446
- version: "0"
323
+ requirements:
324
+ - - ! '>='
325
+ - !ruby/object:Gem::Version
326
+ version: '0'
447
327
  requirements: []
448
-
449
328
  rubyforge_project:
450
- rubygems_version: 1.3.7
329
+ rubygems_version: 1.8.10
451
330
  signing_key:
452
331
  specification_version: 3
453
- summary: Fig is a utility for configuring environments and managing dependencies across a team of developers. (fig18/i386-mswin32 version)
332
+ summary: Fig is a utility for configuring environments and managing dependencies across
333
+ a team of developers. (fig18/i386-mswin32 version)
454
334
  test_files: []
455
-