vanagon 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e9188b407a2cea5a4ad1beaa844e0f18abaa5da
4
- data.tar.gz: 2f867ac9b05096dd35ce45d571af099faf0acc87
3
+ metadata.gz: 71209b38d92410c93fd14043757199b43b7eb354
4
+ data.tar.gz: 00e90c362e4e79b5301c8c2ca25d4e34756cc2c5
5
5
  SHA512:
6
- metadata.gz: c174fd00eb54d11bc40446b627c4cfaedfa1930b2d6c5a7edeb2a08148ca8e68abb63ad1d1b390fe940a221f37423128e21fb305a7c6f5d192bfef3f1a2e7109
7
- data.tar.gz: ffd5a859ee33018f5b1fbb7e7d587681290a9eee4271c1ec5020936b0d0dfa91c5441e77ad8d53b4179d603cf1e7e01b8a3f777cf59347c1fae33ac08000fcdd
6
+ metadata.gz: a416ecdf1e5c8d44250d9dd4192ec0d9d45c711fab197a444739bd7c711644baa9c8541488293151e5bb96a10b3fc615997ccf1bf92718e666214773aee4634b
7
+ data.tar.gz: 6e8aa16121c6d1c5a97abbe5569f98b032137402282d135e210c40b3981846e6f248a520a5ca1a38e2d9cf548d8ec398363c1f04e5e270c5e75bd6e382dde8bb
data/README.md CHANGED
@@ -8,6 +8,7 @@ The Vanagon Project
8
8
  * Contributing
9
9
  * License
10
10
  * Maintainers
11
+ * Support
11
12
 
12
13
  What is vanagon?
13
14
  ---
@@ -173,3 +174,7 @@ For more detailed examples of the DSLs available, please see the
173
174
  Maintainers
174
175
  ---
175
176
  The Release Engineering team at Puppet Labs
177
+
178
+ Support
179
+ ---
180
+ Please log tickets and issues at our [Issue Tracker](https://tickets.puppetlabs.com/browse/CPR). In addition there is an active #puppet-dev channel on Freenode.
@@ -98,8 +98,8 @@ class Vanagon
98
98
  # @param release [String] Standard package release
99
99
  # @return [String] version in IPS format
100
100
  def ips_version(version, release)
101
- version.gsub!(/[a-zA-Z]/, '')
102
- version.gsub!(/(^-)|(-$)/, '')
101
+ version = version.gsub(/[a-zA-Z]/, '')
102
+ version = version.gsub(/(^-)|(-$)/, '')
103
103
 
104
104
  # Here we strip leading 0 from version components but leave singular 0 on their own.
105
105
  version = version.split('.').map(&:to_i).join('.')
@@ -134,5 +134,3 @@ class Vanagon
134
134
  end
135
135
  end
136
136
  end
137
-
138
-
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vanagon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet Labs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-03 00:00:00.000000000 Z
11
+ date: 2015-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -143,7 +143,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - "~>"
145
145
  - !ruby/object:Gem::Version
146
- version: 2.1.0
146
+ version: '2.1'
147
147
  required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  requirements:
149
149
  - - ">="