dev 2.1.123 → 2.1.124

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 +4 -4
  2. data/lib/apps/msbuild.rb +4 -0
  3. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 30399ed1d0b48bff58b1e832bcef8f1bc46a27515fc4581b198d689beafc00e4
4
- data.tar.gz: 02e158a0f5fedca0d32f5e32bf85e5038d982cb583534744f898dd2823a71f0b
3
+ metadata.gz: 6fcf7a14169ace07ef462df61413ae4713f8058b3d4cd0ee4ae8a2ee993c789c
4
+ data.tar.gz: eed5e63a6ab840ec0c8b0201f1d69b253f6a9f14b15184321d48cb7429ff1a0d
5
5
  SHA512:
6
- metadata.gz: 1d4ea4e251972580c28e208d0804969e83e3942d5b393c7e6cf1c03a9c61dc029027c34e96658a6690caf761ba4b2bf8bb6d9486a2f5b6d293217697b79aed4b
7
- data.tar.gz: d8b5aaf8cb1f1a95adbd605d69707b343a385aa420d9092936726a747e375137ee4a32e757cc7d8a5a49221038b493af8d63ada61faa641af87994b4081c8b04
6
+ metadata.gz: 24b95554c8d99f078f301cc88b3a96f7121f5612ff5ddda2863c55753677a7e52aab3043b0879b9a0b926f4eb54b7b43799ef33ac899bc170c38d795c5183d3b
7
+ data.tar.gz: 5409cd4e9359c28867182c241377eb0491648a5b13610fc636c3cbe5d35e4058014ad6de3d96ac6b98b63b7adead2fe4d1453195228d352db5a598b171e4489b
data/lib/apps/msbuild.rb CHANGED
@@ -6,6 +6,7 @@ puts __FILE__ if defined?(DEBUG)
6
6
  # Visual Studio 2013 version 12.0, solution format version 12.00
7
7
  # Visual Studio 2015 version 14.0, solution format version 12.00
8
8
  # Visual Studio 2017 version 15.0
9
+ # Visual Studio 2019 version 16.0
9
10
  require 'pp'
10
11
  class MSBuild < Hash
11
12
 
@@ -17,6 +18,7 @@ class MSBuild < Hash
17
18
  add(:vs14,"C:/Program Files (x86)/MSBuild/14.0/bin/msbuild.exe")
18
19
  add(:vs15,"C:/Program Files (x86)/MSBuild/15.0/bin/msbuild.exe")
19
20
  add(:vs15,"C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/MSBuild/15.0/Bin/MSBuild.exe")
21
+ add(:vs16,"C:/Program Files (x86)/Microsoft Visual Studio/2019/Preview/MSBuild/Current/Bin/MSBuilder.exe")
20
22
  end
21
23
 
22
24
  def add(key,name)
@@ -55,6 +57,7 @@ class MSBuild < Hash
55
57
 
56
58
  def self.get_vs_version(sln_filename)
57
59
  if(sln_filename.nil?)
60
+ return :vs16 if has_version? :vs16
58
61
  return :vs15 if has_version? :vs15
59
62
  return :vs14
60
63
  end
@@ -63,6 +66,7 @@ class MSBuild < Hash
63
66
  return :vs12 if sln_text.include?('12.0.30723.0')
64
67
  return :vs12 if sln_text.include?('Visual Studio 2013')
65
68
  return :vs12 if sln_text.include?('12.0.31101.0')
69
+ return :vs16 if sln_text.include?('Visual Studio Version 16')
66
70
  return :vs15 if has_version? :vs15
67
71
  return :vs14
68
72
  end
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.1.123
4
+ version: 2.1.124
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-22 00:00:00.000000000 Z
11
+ date: 2019-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -156,8 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  - !ruby/object:Gem::Version
157
157
  version: '0'
158
158
  requirements: []
159
- rubyforge_project:
160
- rubygems_version: 2.7.3
159
+ rubygems_version: 3.0.1
161
160
  signing_key:
162
161
  specification_version: 4
163
162
  summary: dev