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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/LICENSE.adoc +1 -1
- data/README.adoc +18 -20
- data/lib/versionaire/errors/invalid_number.rb +1 -1
- data/lib/versionaire/errors/negative_number.rb +1 -1
- data/lib/versionaire/identity.rb +1 -1
- data/lib/versionaire/version.rb +0 -2
- metadata +6 -6
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bb162bc916245b6782d3451663d6ae53e09eb736a6423334b87a9f6b18f4fe47
|
|
4
|
+
data.tar.gz: b57712183b4dec5ba02234b370f6e0daf69536f087bb3470956e67a5aae571ac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 21c38cc0d147bc20e6d0e891d9855bc9d55f4b96f5ec540d726f6ce12ac136c057fc4fc28cfd5bca4594b248aae76862159c07544230aee82d63d3b382776a04
|
|
7
|
+
data.tar.gz: 78bc75b55d216cdbf34dff6b73f435b0a7685a699db719d6f8287cf32c36e25668fb216b43e40e2a8b803b53ffde6dd7bf75be177fed4dd61738da0ccf4d2566
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/LICENSE.adoc
CHANGED
|
@@ -150,7 +150,7 @@ additional liability.
|
|
|
150
150
|
|
|
151
151
|
END OF TERMS AND CONDITIONS
|
|
152
152
|
|
|
153
|
-
Copyright link:https://www.alchemists.io[
|
|
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]
|
data/README.adoc
CHANGED
|
@@ -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:
|
data/lib/versionaire/identity.rb
CHANGED
data/lib/versionaire/version.rb
CHANGED
|
@@ -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.
|
|
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-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
228
|
+
version: '0.19'
|
|
229
229
|
description:
|
|
230
230
|
email:
|
|
231
231
|
- brooke@alchemists.io
|
metadata.gz.sig
CHANGED
|
Binary file
|