fig18 0.1.47-i386-mingw32 → 0.1.48-i386-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/fig/environment.rb +3 -3
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.48
|
data/lib/fig/environment.rb
CHANGED
@@ -68,7 +68,7 @@ module Fig
|
|
68
68
|
with_environment do
|
69
69
|
# TODO nil check
|
70
70
|
commands.each do |command|
|
71
|
-
result = yield expand_arg("#{command.command} #{args.join(' ')}").gsub('@',package.directory).split(' ')
|
71
|
+
result = yield expand_arg("#{command.command} #{args.join(' ')}").gsub('@', package.directory).split(' ')
|
72
72
|
end
|
73
73
|
end
|
74
74
|
result
|
@@ -156,7 +156,7 @@ module Fig
|
|
156
156
|
string_handle = StringIO.new
|
157
157
|
backtrace.dump(string_handle) if backtrace
|
158
158
|
package.backtrace.dump(string_handle) if package.backtrace
|
159
|
-
stacktrace = string_handle.
|
159
|
+
stacktrace = string_handle.string
|
160
160
|
Logging.fatal \
|
161
161
|
"Version mismatch: #{package_name}" \
|
162
162
|
+ ( stacktrace.empty? ? '' : "\n#{stacktrace}" )
|
@@ -203,7 +203,7 @@ module Fig
|
|
203
203
|
end
|
204
204
|
|
205
205
|
def expand_arg(arg)
|
206
|
-
arg.gsub(
|
206
|
+
arg.gsub( / @ ( [a-zA-Z0-9.-]+ ) /x ) do |match|
|
207
207
|
package = @packages[$1]
|
208
208
|
if package.nil?
|
209
209
|
Logging.fatal "Package not found: #{$1}"
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: fig18
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.48
|
6
6
|
platform: i386-mingw32
|
7
7
|
authors:
|
8
8
|
- Matthew Foemmel
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-11-
|
13
|
+
date: 2011-11-16 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: libarchive-static-ruby186
|