autobuild 1.10.0.rc1 → 1.10.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/autobuild/environment.rb +10 -1
- data/lib/autobuild/package.rb +1 -1
- data/lib/autobuild/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fbea1f806b426c73db9cf5ba96501f2ff9ba012
|
4
|
+
data.tar.gz: 17fb913a59ca4e22543318d4d911c5aa05886196
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd9377381c2eeadda6dae28588e15c7461e339fe97fe17790216469b679da9df3527f493c789c1f5ed7e0d88daa4150f09606806ea98de7d1d1c6278d421fdfa
|
7
|
+
data.tar.gz: 8611007e8b1021cecbdc8b0516725568729e8a43c12cebb29c5cd99549604c1741520f1936edfc2283a1e0d5d1a3e838d95c7e9849212650988bc76d9352727c
|
@@ -22,6 +22,11 @@ def self.bsd?
|
|
22
22
|
@freebsd || @macos #can be extended to some other OSes liek NetBSD
|
23
23
|
end
|
24
24
|
|
25
|
+
@msys = RbConfig::CONFIG["host_os"] =~%r!(msys)!
|
26
|
+
def self.msys?
|
27
|
+
@msys
|
28
|
+
end
|
29
|
+
|
25
30
|
SHELL_VAR_EXPANSION =
|
26
31
|
if windows? then "%%%s%%"
|
27
32
|
else "$%s"
|
@@ -243,9 +248,13 @@ def inherit(*names)
|
|
243
248
|
@inherit
|
244
249
|
end
|
245
250
|
|
251
|
+
def filter_original_env(name, parent_env)
|
252
|
+
parent_env.dup
|
253
|
+
end
|
254
|
+
|
246
255
|
def init_from_env(name)
|
247
256
|
if inherit?(name) && (parent_env = original_env[name])
|
248
|
-
inherited_environment[name] = parent_env.split(File::PATH_SEPARATOR)
|
257
|
+
inherited_environment[name] = filter_original_env(name, parent_env.split(File::PATH_SEPARATOR))
|
249
258
|
else
|
250
259
|
inherited_environment[name] = Array.new
|
251
260
|
end
|
data/lib/autobuild/package.rb
CHANGED
data/lib/autobuild/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autobuild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.0.
|
4
|
+
version: 1.10.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvain Joyeux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|