nuget_helper 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nuget_helper.rb +8 -1
- data/lib/nuget_helper/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aeb3319d4ba195de67d307cc4606ee0f7fa823ab
|
4
|
+
data.tar.gz: 62746afe56a3125bbb5cbca9b4934e4673608295
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64ee2baa32c3304e46512cba958cfd8e076d1aa7e57b3df525c104e9591b8e1016d760bbad6b3e05a2f44ae949cd295f0c087889ac5545d882d6af2f0b26e237
|
7
|
+
data.tar.gz: 93eb444abbedc81d4bfedafe34017d7268df5bcb8de17da57db6bd37aab9e95502c0e5ec6277e032cb0a33f85fba04e2ba2e153562e9cf255529e8a46807641b
|
data/lib/nuget_helper.rb
CHANGED
@@ -40,7 +40,7 @@ module NugetHelper
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def self.xunit_path
|
43
|
-
self.command_path('xunit.runners', 'xunit.console.
|
43
|
+
self.command_path('xunit.runners', 'xunit.console.exe')
|
44
44
|
end
|
45
45
|
|
46
46
|
def self.run_tool(command, parameters=nil)
|
@@ -55,4 +55,11 @@ module NugetHelper
|
|
55
55
|
def self.version_of(file)
|
56
56
|
file.gsub(/[a-zA-Z]\.?/,'').split(/\./).map do |i| i.to_i end
|
57
57
|
end
|
58
|
+
|
59
|
+
def self.last_version(files)
|
60
|
+
files.max_by do |l|
|
61
|
+
self.version_of(l)
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
58
65
|
end
|
data/lib/nuget_helper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nuget_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oskar Gewalli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
version: '0'
|
113
113
|
requirements: []
|
114
114
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.4.
|
115
|
+
rubygems_version: 2.4.5
|
116
116
|
signing_key:
|
117
117
|
specification_version: 4
|
118
118
|
summary: Helper Gem to simplify work with nuget.
|