dev 2.1.83 → 2.1.84

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 +5 -5
  2. data/lib/apps/nuget.rb +3 -3
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 70e78ad0c41461213226c99f562aec9a7d6cdb0fd705fa96ddc73d90a9d758e0
4
- data.tar.gz: f32b2dc0a55b720b8220ec9a30049b063f49e1050cdab764ecc639f15dd1b525
2
+ SHA1:
3
+ metadata.gz: 2e264eee7acd86f9160296679065d948e1e80399
4
+ data.tar.gz: 413d11cbe3a121f391d809d032148755dbf6781e
5
5
  SHA512:
6
- metadata.gz: f7720f6b6cc9d8ec3e93c6bdc33b37173eae08bf0464d3dd70b64c922c12a3dc1a801ca5aebada069d600acc85fa21855cdcb0bf60c72841a12f23ec84819634
7
- data.tar.gz: 75626b812f23fcab75fa860e45cac44fd7ec1f85c04450a5149416152d22ba0f37240059d60d171b551322644f7e187fa8e6ea22c5991942268b528b631c242e
6
+ metadata.gz: e5e674370c314f8f9471902922c78fa6507729c0a2987d11dcf38bf463e2a4e50fda12a1f024c5c953f14587e143b7147405fdaa095450303cab2b6bbb7912b1
7
+ data.tar.gz: d6f7c8bbd66745aa55c35867371eeed275091599feab0be542ef44b2bc1d7a3aa7afc791f55bb5b3eac31f94fb24bab4ed0e28cbe686a0511169260e1c78c4c9
@@ -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.83
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-03-04 00:00:00.000000000 Z
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.7.3
159
+ rubygems_version: 2.5.1
160
160
  signing_key:
161
161
  specification_version: 4
162
162
  summary: dev