dev 2.0.116 → 2.0.117

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/msbuild.rb +6 -1
  3. metadata +9 -14
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b61791bb4f395ed48e0c2d5f3450f33bff643ec9
4
+ data.tar.gz: 6b1c768f2ae88b4e39e00dedcdcd19af1c645a9d
5
+ SHA512:
6
+ metadata.gz: ddbf38d0347fb7c69a4801092b98091eb5c5d5346d7475da4207bd8cc74566083ac6b66d9d7db2611ea3ddcef9fdf0c2bd4fc4592d3a476530d2ec56dd7080f8
7
+ data.tar.gz: a600da7617a24bdde2cb394b704714dcd5fe5b32f938403a702b05f07b50993b58127d2746c318bf424ff3387aabcf2dc4dab86fa80d4082ce2123eff2ee3433
data/lib/msbuild.rb CHANGED
@@ -2,12 +2,14 @@
2
2
  # Visual Studio 2010 version 10.0, solution format version 11.00
3
3
  # Visual Studio 2012 version 11.0, solution format version 12.00
4
4
  # Visual Studio 2013 version 12.0, solution format version 12.00
5
+ # Visual Studio 2015 version 14.0, solution format version 12.00
5
6
  class MSBuild < Hash
6
7
 
7
8
  def initialize
8
9
  self[:vs9]="C:\\Windows\\Microsoft.NET\\Framework\\v3.5\\msbuild.exe" if(File.exists?("C:\\Windows\\Microsoft.NET\\Framework\\v3.5\\msbuild.exe"))
9
10
  self[:vs10]="C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\msbuild.exe" if(File.exists?("C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\msbuild.exe"))
10
11
  self[:vs12]="C:\\Program Files (x86)\\MSBuild\\12.0\\bin\\msbuild.exe" if(File.exists?("C:\\Program Files (x86)\\MSBuild\\12.0\\bin\\msbuild.exe"))
12
+ self[:vs14]="C:\\Program Files (x86)\\MSBuild\\14.0\\bin\\msbuild.exe" if(File.exists?("C:\\Program Files (x86)\\MSBuild\\14.0\\bin\\msbuild.exe"))
11
13
  end
12
14
 
13
15
  def self.has_version? version
@@ -31,7 +33,10 @@ class MSBuild < Hash
31
33
  def self.get_vs_version(sln_filename)
32
34
  sln_text=File.read(sln_filename,:encoding=>'UTF-8')
33
35
  return :vs9 if sln_text.include?('Format Version 10.00')
34
- return :vs12
36
+ return :vs12 if sln_text.include?('12.0.30723.0')
37
+ return :vs12 if sln_text.include?('Visual Studio 2013')
38
+ return :vs12 if sln_text.include?('12.0.31101.0')
39
+ return :vs14
35
40
  end
36
41
 
37
42
  def self.get_configurations(sln_filename)
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.116
5
- prerelease:
4
+ version: 2.0.117
6
5
  platform: ruby
7
6
  authors:
8
7
  - Lou Parslow
@@ -14,17 +13,15 @@ dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rspec
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '3.0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '3.0'
30
27
  description: development tasks
@@ -35,6 +32,7 @@ extra_rdoc_files: []
35
32
  files:
36
33
  - LICENSE
37
34
  - lib/command.rb
35
+ - lib/commands.rb
38
36
  - lib/commands/add.rb
39
37
  - lib/commands/analyze.rb
40
38
  - lib/commands/array.rb
@@ -62,7 +60,6 @@ files:
62
60
  - lib/commands/timer.rb
63
61
  - lib/commands/update.rb
64
62
  - lib/commands/upgrade.rb
65
- - lib/commands.rb
66
63
  - lib/dev.rb
67
64
  - lib/environment.rb
68
65
  - lib/file.rb
@@ -75,27 +72,25 @@ files:
75
72
  homepage: http://rubygems.org/gems/dev
76
73
  licenses:
77
74
  - Apache 2.0
75
+ metadata: {}
78
76
  post_install_message:
79
77
  rdoc_options: []
80
78
  require_paths:
81
79
  - lib
82
80
  required_ruby_version: !ruby/object:Gem::Requirement
83
- none: false
84
81
  requirements:
85
- - - ! '>='
82
+ - - ">="
86
83
  - !ruby/object:Gem::Version
87
84
  version: 1.9.3
88
85
  required_rubygems_version: !ruby/object:Gem::Requirement
89
- none: false
90
86
  requirements:
91
- - - ! '>='
87
+ - - ">="
92
88
  - !ruby/object:Gem::Version
93
89
  version: '0'
94
90
  requirements: []
95
91
  rubyforge_project:
96
- rubygems_version: 1.8.24
92
+ rubygems_version: 2.2.3
97
93
  signing_key:
98
- specification_version: 3
94
+ specification_version: 4
99
95
  summary: dev
100
96
  test_files: []
101
- has_rdoc: