fig 0.1.50-java → 0.1.51-java
Sign up to get free protection for your applications and to get access to all the features.
- data/Changes +4 -0
- data/VERSION +1 -1
- data/lib/fig.rb +184 -140
- data/lib/fig/applicationconfiguration.rb +2 -1
- data/lib/fig/backtrace.rb +2 -0
- data/lib/fig/environment.rb +35 -24
- data/lib/fig/figrc.rb +2 -0
- data/lib/fig/grammar.treetop +1 -1
- data/lib/fig/log4rconfigerror.rb +1 -0
- data/lib/fig/logging.rb +2 -0
- data/lib/fig/notfounderror.rb +3 -0
- data/lib/fig/options.rb +20 -14
- data/lib/fig/os.rb +2 -0
- data/lib/fig/package.rb +8 -7
- data/lib/fig/package/archive.rb +3 -0
- data/lib/fig/package/command.rb +2 -0
- data/lib/fig/package/configuration.rb +3 -3
- data/lib/fig/package/include.rb +2 -0
- data/lib/fig/package/install.rb +1 -0
- data/lib/fig/package/override.rb +7 -0
- data/lib/fig/package/path.rb +2 -0
- data/lib/fig/package/publish.rb +2 -0
- data/lib/fig/package/resource.rb +3 -0
- data/lib/fig/package/retrieve.rb +1 -0
- data/lib/fig/package/set.rb +1 -0
- data/lib/fig/package/statement.rb +1 -0
- data/lib/fig/packageerror.rb +2 -1
- data/lib/fig/parser.rb +34 -8
- data/lib/fig/repository.rb +2 -0
- data/lib/fig/retriever.rb +7 -6
- data/lib/fig/urlaccesserror.rb +1 -0
- data/lib/fig/userinputerror.rb +2 -0
- data/lib/fig/windows.rb +1 -3
- metadata +98 -161
data/lib/fig/urlaccesserror.rb
CHANGED
data/lib/fig/userinputerror.rb
CHANGED
data/lib/fig/windows.rb
CHANGED
@@ -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,192 +1,139 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: fig
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
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: java
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Matthew Foemmel
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
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: highline
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &259485120 !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 11
|
30
|
-
segments:
|
31
|
-
- 1
|
32
|
-
- 6
|
33
|
-
- 2
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
34
21
|
version: 1.6.2
|
35
22
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: log4r
|
39
23
|
prerelease: false
|
40
|
-
|
24
|
+
version_requirements: *259485120
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: log4r
|
27
|
+
requirement: &259483880 !ruby/object:Gem::Requirement
|
41
28
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
hash: 25
|
46
|
-
segments:
|
47
|
-
- 1
|
48
|
-
- 1
|
49
|
-
- 5
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
50
32
|
version: 1.1.5
|
51
33
|
type: :runtime
|
52
|
-
version_requirements: *id002
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: net-netrc
|
55
34
|
prerelease: false
|
56
|
-
|
35
|
+
version_requirements: *259483880
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: net-netrc
|
38
|
+
requirement: &259483080 !ruby/object:Gem::Requirement
|
57
39
|
none: false
|
58
|
-
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
hash: 19
|
62
|
-
segments:
|
63
|
-
- 0
|
64
|
-
- 2
|
65
|
-
- 2
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
66
43
|
version: 0.2.2
|
67
44
|
type: :runtime
|
68
|
-
version_requirements: *id003
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: net-sftp
|
71
45
|
prerelease: false
|
72
|
-
|
46
|
+
version_requirements: *259483080
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: net-sftp
|
49
|
+
requirement: &259482400 !ruby/object:Gem::Requirement
|
73
50
|
none: false
|
74
|
-
requirements:
|
75
|
-
- -
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
hash: 7
|
78
|
-
segments:
|
79
|
-
- 2
|
80
|
-
- 0
|
81
|
-
- 4
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
82
54
|
version: 2.0.4
|
83
55
|
type: :runtime
|
84
|
-
version_requirements: *id004
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
|
-
name: net-ssh
|
87
56
|
prerelease: false
|
88
|
-
|
57
|
+
version_requirements: *259482400
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: net-ssh
|
60
|
+
requirement: &259481680 !ruby/object:Gem::Requirement
|
89
61
|
none: false
|
90
|
-
requirements:
|
91
|
-
- -
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
hash: 17
|
94
|
-
segments:
|
95
|
-
- 2
|
96
|
-
- 0
|
97
|
-
- 15
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
98
65
|
version: 2.0.15
|
99
66
|
type: :runtime
|
100
|
-
version_requirements: *id005
|
101
|
-
- !ruby/object:Gem::Dependency
|
102
|
-
name: polyglot
|
103
67
|
prerelease: false
|
104
|
-
|
68
|
+
version_requirements: *259481680
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: polyglot
|
71
|
+
requirement: &259189320 !ruby/object:Gem::Requirement
|
105
72
|
none: false
|
106
|
-
requirements:
|
107
|
-
- -
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
hash: 5
|
110
|
-
segments:
|
111
|
-
- 0
|
112
|
-
- 2
|
113
|
-
- 9
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
114
76
|
version: 0.2.9
|
115
77
|
type: :runtime
|
116
|
-
version_requirements: *id006
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: rdoc
|
119
78
|
prerelease: false
|
120
|
-
|
79
|
+
version_requirements: *259189320
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: rdoc
|
82
|
+
requirement: &259188640 !ruby/object:Gem::Requirement
|
121
83
|
none: false
|
122
|
-
requirements:
|
123
|
-
- -
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
hash: 27
|
126
|
-
segments:
|
127
|
-
- 2
|
128
|
-
- 4
|
129
|
-
- 2
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
130
87
|
version: 2.4.2
|
131
88
|
type: :runtime
|
132
|
-
version_requirements: *id007
|
133
|
-
- !ruby/object:Gem::Dependency
|
134
|
-
name: treetop
|
135
89
|
prerelease: false
|
136
|
-
|
90
|
+
version_requirements: *259188640
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: treetop
|
93
|
+
requirement: &259188040 !ruby/object:Gem::Requirement
|
137
94
|
none: false
|
138
|
-
requirements:
|
139
|
-
- -
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
hash: 3
|
142
|
-
segments:
|
143
|
-
- 1
|
144
|
-
- 4
|
145
|
-
- 2
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
146
98
|
version: 1.4.2
|
147
99
|
type: :runtime
|
148
|
-
version_requirements: *id008
|
149
|
-
- !ruby/object:Gem::Dependency
|
150
|
-
name: open4
|
151
100
|
prerelease: false
|
152
|
-
|
101
|
+
version_requirements: *259188040
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: open4
|
104
|
+
requirement: &259187240 !ruby/object:Gem::Requirement
|
153
105
|
none: false
|
154
|
-
requirements:
|
155
|
-
- -
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
hash: 21
|
158
|
-
segments:
|
159
|
-
- 1
|
160
|
-
- 0
|
161
|
-
- 1
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
162
109
|
version: 1.0.1
|
163
110
|
type: :development
|
164
|
-
version_requirements: *id009
|
165
|
-
- !ruby/object:Gem::Dependency
|
166
|
-
name: rspec
|
167
111
|
prerelease: false
|
168
|
-
|
112
|
+
version_requirements: *259187240
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: rspec
|
115
|
+
requirement: &259185880 !ruby/object:Gem::Requirement
|
169
116
|
none: false
|
170
|
-
requirements:
|
117
|
+
requirements:
|
171
118
|
- - ~>
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
|
174
|
-
segments:
|
175
|
-
- 2
|
176
|
-
version: "2"
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '2'
|
177
121
|
type: :development
|
178
|
-
|
179
|
-
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: *259185880
|
124
|
+
description: Fig is a utility for configuring environments and managing dependencies
|
125
|
+
across a team of developers. Given a list of packages and a command to run, Fig
|
126
|
+
builds environment variables named in those packages (e.g., CLASSPATH), then executes
|
127
|
+
the command in that environment. The caller's environment is not affected.
|
180
128
|
email: git@foemmel.com
|
181
|
-
executables:
|
129
|
+
executables:
|
182
130
|
- fig
|
183
131
|
- fig-download
|
184
132
|
extensions: []
|
185
|
-
|
186
|
-
extra_rdoc_files:
|
133
|
+
extra_rdoc_files:
|
187
134
|
- LICENSE
|
188
135
|
- README.md
|
189
|
-
files:
|
136
|
+
files:
|
190
137
|
- Changes
|
191
138
|
- VERSION
|
192
139
|
- bin/fig
|
@@ -227,39 +174,29 @@ files:
|
|
227
174
|
- lib/fig/windows.rb
|
228
175
|
- LICENSE
|
229
176
|
- README.md
|
230
|
-
has_rdoc: true
|
231
177
|
homepage: http://github.com/mfoemmel/fig
|
232
178
|
licenses: []
|
233
|
-
|
234
179
|
post_install_message:
|
235
180
|
rdoc_options: []
|
236
|
-
|
237
|
-
require_paths:
|
181
|
+
require_paths:
|
238
182
|
- lib
|
239
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
183
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
240
184
|
none: false
|
241
|
-
requirements:
|
242
|
-
- -
|
243
|
-
- !ruby/object:Gem::Version
|
244
|
-
|
245
|
-
|
246
|
-
- 0
|
247
|
-
version: "0"
|
248
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - ! '>='
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '0'
|
189
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
249
190
|
none: false
|
250
|
-
requirements:
|
251
|
-
- -
|
252
|
-
- !ruby/object:Gem::Version
|
253
|
-
|
254
|
-
segments:
|
255
|
-
- 0
|
256
|
-
version: "0"
|
191
|
+
requirements:
|
192
|
+
- - ! '>='
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
257
195
|
requirements: []
|
258
|
-
|
259
196
|
rubyforge_project:
|
260
|
-
rubygems_version: 1.
|
197
|
+
rubygems_version: 1.8.10
|
261
198
|
signing_key:
|
262
199
|
specification_version: 3
|
263
|
-
summary: Fig is a utility for configuring environments and managing dependencies across
|
200
|
+
summary: Fig is a utility for configuring environments and managing dependencies across
|
201
|
+
a team of developers. (fig/java version)
|
264
202
|
test_files: []
|
265
|
-
|