dev 2.1.83 → 2.1.84
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/apps/nuget.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2e264eee7acd86f9160296679065d948e1e80399
|
4
|
+
data.tar.gz: 413d11cbe3a121f391d809d032148755dbf6781e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5e674370c314f8f9471902922c78fa6507729c0a2987d11dcf38bf463e2a4e50fda12a1f024c5c953f14587e143b7147405fdaa095450303cab2b6bbb7912b1
|
7
|
+
data.tar.gz: d6f7c8bbd66745aa55c35867371eeed275091599feab0be542ef44b2bc1d7a3aa7afc791f55bb5b3eac31f94fb24bab4ed0e28cbe686a0511169260e1c78c4c9
|
data/lib/apps/nuget.rb
CHANGED
@@ -26,14 +26,14 @@ class Nuget
|
|
26
26
|
versions=Hash.new
|
27
27
|
if(filename.include?('.nuspec'))
|
28
28
|
nuspec_text=File.read(filename,:encoding=>'UTF-8')
|
29
|
-
nuspec_text.scan(/<dependency[\s]+id="([\w\.]+)"[\s]+version="([\d\.]+)"/).each{|row|
|
29
|
+
nuspec_text.scan(/<dependency[\s]+id="([\w\.]+)"[\s]+version="([\d\.]+[-\w]+)"/).each{|row|
|
30
30
|
versions[row[0]] = row[1]
|
31
31
|
}
|
32
32
|
return versions
|
33
33
|
end
|
34
34
|
if(filename.include?('packages.config'))
|
35
35
|
config_text=File.read(filename,:encoding=>'UTF-8')
|
36
|
-
config_text.scan(/<package[\s]+id="([\w\.]+)"[\s]+version="([\d\.]+)"/).each{|row|
|
36
|
+
config_text.scan(/<package[\s]+id="([\w\.]+)"[\s]+version="([\d\.]+[-\w]+)"/).each{|row|
|
37
37
|
versions[row[0]] = row[1]
|
38
38
|
}
|
39
39
|
return versions
|
@@ -43,7 +43,7 @@ class Nuget
|
|
43
43
|
|
44
44
|
def self.set_versions filename,versions
|
45
45
|
text=File.read(filename,:encoding=>'UTF-8')
|
46
|
-
text_versions=text.scan(/id="[\w\.]+"[\s]+version="[\d\.]+"/)
|
46
|
+
text_versions=text.scan(/id="[\w\.]+"[\s]+version="[\d\.]+[-\w]+"/)
|
47
47
|
text2=text
|
48
48
|
versions.each{|k,v|
|
49
49
|
text_versions.each{|line|
|
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.
|
4
|
+
version: 2.1.84
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
156
156
|
version: '0'
|
157
157
|
requirements: []
|
158
158
|
rubyforge_project:
|
159
|
-
rubygems_version: 2.
|
159
|
+
rubygems_version: 2.5.1
|
160
160
|
signing_key:
|
161
161
|
specification_version: 4
|
162
162
|
summary: dev
|