dev 2.0.138 → 2.0.139
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/environment.rb +23 -1
- data/lib/msbuild.rb +0 -1
- data/lib/wix.rb +0 -0
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03dbd0206069539aff9ab21bdff101ecb7085686
|
4
|
+
data.tar.gz: 0c40c997381f033e871762066e8a78a170e42343
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efce37fb6f3341eba81c87eb91edc117d95c1113c2f76cdc3edbae21917151a4ccda00710e6df783c8cced13e5403526ef911634044aa5e7428e8356e749744b
|
7
|
+
data.tar.gz: 9a5cbab4dde2c1ebcd727a284ee364dc1d65fc1e568c15570b7b9847f189734e0edaad8927e4f4a15fccf0de12cdfd28b4952f404ea67c810e340b2cc3f5df07
|
data/lib/environment.rb
CHANGED
@@ -39,5 +39,27 @@ class Environment < Hash
|
|
39
39
|
return dir
|
40
40
|
end
|
41
41
|
|
42
|
-
|
42
|
+
def self.check
|
43
|
+
#["ruby","svn","git","msbuild","candle","light"].each{|cmd|
|
44
|
+
puts 'checking commands...'
|
45
|
+
missing_command=false
|
46
|
+
['ruby --version','svn --version --quiet','git --version','msbuild /version','nuget','candle','light','gem --version'].each{|cmd|
|
47
|
+
command=Command.new(cmd)
|
48
|
+
command[:quiet]=true
|
49
|
+
command[:ignore_failure]=true
|
50
|
+
command.execute
|
51
|
+
if(command[:exit_code] == 0)
|
52
|
+
puts "#{cmd.split(' ')[0]} #{get_version(command[:output])}"
|
53
|
+
else
|
54
|
+
puts "#{cmd.split(' ')[0]} not found."
|
55
|
+
missing_command=true
|
56
|
+
end
|
57
|
+
|
58
|
+
}
|
59
|
+
puts "missing commands may be resolved by making sure that are installed and in PATH environment variable." if missing_command
|
60
|
+
end
|
61
|
+
|
62
|
+
def self.get_version text
|
63
|
+
text.match(/(\d+\.\d+\.[\d\w]+)/)
|
64
|
+
end
|
43
65
|
end
|
data/lib/msbuild.rb
CHANGED
@@ -6,7 +6,6 @@
|
|
6
6
|
class MSBuild < Hash
|
7
7
|
|
8
8
|
def initialize
|
9
|
-
#self[:vs14]="C:\\Program Files (x86)\\MSBuild\\14.0\\bin\\msbuild.exe"
|
10
9
|
if(File.exists?("C:\\Program Files (x86)\\MSBuild\\14.0\\bin\\msbuild.exe"))
|
11
10
|
self[:vs14]="C:\\Program Files (x86)\\MSBuild\\14.0\\bin\\msbuild.exe"
|
12
11
|
else
|
data/lib/wix.rb
ADDED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.139
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -71,6 +71,7 @@ files:
|
|
71
71
|
- lib/source.rb
|
72
72
|
- lib/svn.rb
|
73
73
|
- lib/tasks.rb
|
74
|
+
- lib/wix.rb
|
74
75
|
homepage: http://rubygems.org/gems/dev
|
75
76
|
licenses:
|
76
77
|
- Apache 2.0
|
@@ -91,8 +92,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
92
|
version: '0'
|
92
93
|
requirements: []
|
93
94
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.
|
95
|
+
rubygems_version: 2.4.5
|
95
96
|
signing_key:
|
96
97
|
specification_version: 4
|
97
98
|
summary: dev
|
98
99
|
test_files: []
|
100
|
+
has_rdoc:
|