versionaire 8.2.0 → 8.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7856bdc9290014c751c767f1534b7f492ebeb33aed4838f2dc84277428f3796
4
- data.tar.gz: 23d02f9d4a7fb583762ba481492f5681f2111b560c57659537aa1630412ad4b6
3
+ metadata.gz: bb162bc916245b6782d3451663d6ae53e09eb736a6423334b87a9f6b18f4fe47
4
+ data.tar.gz: b57712183b4dec5ba02234b370f6e0daf69536f087bb3470956e67a5aae571ac
5
5
  SHA512:
6
- metadata.gz: bbd73613229106b44da7f64103b86baf799d2e3f32cc8c4e5f93bc73fae66bf52ed71e0ef52f858d60cb2e92c2da6c2b541c3b02d97d5e23319905194199bb47
7
- data.tar.gz: cb202da5b41d341454c5adeea9bf7070270ad39db9ad900661285e2121191bbb7b98655650bfdfd576cacb546249e270c73b791e66672d53e5544510ee05a31f
6
+ metadata.gz: 21c38cc0d147bc20e6d0e891d9855bc9d55f4b96f5ec540d726f6ce12ac136c057fc4fc28cfd5bca4594b248aae76862159c07544230aee82d63d3b382776a04
7
+ data.tar.gz: 78bc75b55d216cdbf34dff6b73f435b0a7685a699db719d6f8287cf32c36e25668fb216b43e40e2a8b803b53ffde6dd7bf75be177fed4dd61738da0ccf4d2566
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -150,7 +150,7 @@ additional liability.
150
150
 
151
151
  END OF TERMS AND CONDITIONS
152
152
 
153
- Copyright link:https://www.alchemists.io[Alchemists].
153
+ Copyright 2016 link:https://www.alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
154
154
 
155
155
  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
156
156
  compliance with the License. You may obtain a link:https://www.apache.org/licenses/LICENSE-2.0[copy]
@@ -31,8 +31,6 @@ image::https://www.alchemists.io/images/screencasts/versionaire/cover.svg[Screen
31
31
 
32
32
  == Setup
33
33
 
34
- === Production
35
-
36
34
  To install, run:
37
35
 
38
36
  [source,bash]
@@ -47,24 +45,6 @@ Add the following to your Gemfile:
47
45
  gem "versionaire"
48
46
  ----
49
47
 
50
- === Development
51
-
52
- To contribute, run:
53
-
54
- [source,bash]
55
- ----
56
- git clone https://github.com/bkuhlmann/versionaire.git
57
- cd versionaire
58
- bin/setup
59
- ----
60
-
61
- You can also use the IRB console for direct access to all objects:
62
-
63
- [source,bash]
64
- ----
65
- bin/console
66
- ----
67
-
68
48
  == Usage
69
49
 
70
50
  === Initialization
@@ -215,6 +195,24 @@ version_2 = Versionaire::Version[major: 5]
215
195
  version_1 - version_2 # Fails with a Versionaire::Errors::NegativeNumber
216
196
  ----
217
197
 
198
+ == Development
199
+
200
+ To contribute, run:
201
+
202
+ [source,bash]
203
+ ----
204
+ git clone https://github.com/bkuhlmann/versionaire.git
205
+ cd versionaire
206
+ bin/setup
207
+ ----
208
+
209
+ You can also use the IRB console for direct access to all objects:
210
+
211
+ [source,bash]
212
+ ----
213
+ bin/console
214
+ ----
215
+
218
216
  == Tests
219
217
 
220
218
  To test, run:
@@ -5,7 +5,7 @@ module Versionaire
5
5
  # Thrown when not using numbers.
6
6
  class InvalidNumber < Base
7
7
  def initialize message = "Major, minor, and patch must be a number."
8
- super
8
+ super message
9
9
  end
10
10
  end
11
11
  end
@@ -5,7 +5,7 @@ module Versionaire
5
5
  # Thrown when numbers are negative.
6
6
  class NegativeNumber < Base
7
7
  def initialize message = "Major, minor, and patch must be a positive number."
8
- super
8
+ super message
9
9
  end
10
10
  end
11
11
  end
@@ -5,7 +5,7 @@ module Versionaire
5
5
  module Identity
6
6
  NAME = "versionaire"
7
7
  LABEL = "Versionaire"
8
- VERSION = "8.2.0"
8
+ VERSION = "8.3.0"
9
9
  VERSION_LABEL = "#{LABEL} #{VERSION}"
10
10
  end
11
11
  end
@@ -4,7 +4,6 @@ module Versionaire
4
4
  DELIMITER = "."
5
5
 
6
6
  # An immutable, semantic version value object.
7
- # rubocop:disable Metrics/BlockLength
8
7
  Version = Struct.new :major, :minor, :patch, keyword_init: true do
9
8
  include Comparable
10
9
 
@@ -70,5 +69,4 @@ module Versionaire
70
69
  to_a.zip(other.to_a).map { |pair| pair.reduce action }
71
70
  end
72
71
  end
73
- # rubocop:enable Metrics/BlockLength
74
72
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: versionaire
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.2.0
4
+ version: 8.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -28,7 +28,7 @@ cert_chain:
28
28
  2XV8FRa7/JimI07sPLC13eLY3xd/aYTi85Z782KIA4j0G8XEEWAX0ouBhlXPocZv
29
29
  QWc=
30
30
  -----END CERTIFICATE-----
31
- date: 2020-07-23 00:00:00.000000000 Z
31
+ date: 2020-10-18 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: bundler-audit
@@ -162,14 +162,14 @@ dependencies:
162
162
  requirements:
163
163
  - - "~>"
164
164
  - !ruby/object:Gem::Version
165
- version: '0.83'
165
+ version: '0.89'
166
166
  type: :development
167
167
  prerelease: false
168
168
  version_requirements: !ruby/object:Gem::Requirement
169
169
  requirements:
170
170
  - - "~>"
171
171
  - !ruby/object:Gem::Version
172
- version: '0.83'
172
+ version: '0.89'
173
173
  - !ruby/object:Gem::Dependency
174
174
  name: rubocop-performance
175
175
  requirement: !ruby/object:Gem::Requirement
@@ -218,14 +218,14 @@ dependencies:
218
218
  requirements:
219
219
  - - "~>"
220
220
  - !ruby/object:Gem::Version
221
- version: '0.18'
221
+ version: '0.19'
222
222
  type: :development
223
223
  prerelease: false
224
224
  version_requirements: !ruby/object:Gem::Requirement
225
225
  requirements:
226
226
  - - "~>"
227
227
  - !ruby/object:Gem::Version
228
- version: '0.18'
228
+ version: '0.19'
229
229
  description:
230
230
  email:
231
231
  - brooke@alchemists.io
metadata.gz.sig CHANGED
Binary file