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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b24d0667cd72acc5a7ffa8199560062476fb38cb
4
- data.tar.gz: da6ff8c8b13765be86cf258aedd768ab28d6f675
3
+ metadata.gz: 03dbd0206069539aff9ab21bdff101ecb7085686
4
+ data.tar.gz: 0c40c997381f033e871762066e8a78a170e42343
5
5
  SHA512:
6
- metadata.gz: ba2ed782992f2563d90c9c98364a6f67a913c2da30e6778302106320b1cc312beba410fe83ec411934df4c03cfcfd13ae7856fddb1416172782abb94c39d1346
7
- data.tar.gz: 7e1877d8cad2e62d86fcde48c1777d41422f636fd2346b11d5a9c0030e351ea469cf4b96c34e33c8a95ad9d318b39992698fcccafbcc42232367ea965fb93718
6
+ metadata.gz: efce37fb6f3341eba81c87eb91edc117d95c1113c2f76cdc3edbae21917151a4ccda00710e6df783c8cced13e5403526ef911634044aa5e7428e8356e749744b
7
+ data.tar.gz: 9a5cbab4dde2c1ebcd727a284ee364dc1d65fc1e568c15570b7b9847f189734e0edaad8927e4f4a15fccf0de12cdfd28b4952f404ea67c810e340b2cc3f5df07
@@ -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
@@ -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
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.138
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-05 00:00:00.000000000 Z
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.2.3
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: