versionaire 9.2.1 → 9.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +5 -3
- data/lib/versionaire/identity.rb +2 -2
- data.tar.gz.sig +0 -0
- metadata +3 -3
- 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: 6fc322d69d30450c7c68857bfe9976a59af4489a5651ddb30972ed4918a6b369
|
4
|
+
data.tar.gz: d222908d2a74363b6fbd4d5aac6202b6c51553eff1a175f08d66b03821b44c40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5492ddd489f1f689fec8f6a263e99c28a22b4c824f604735e58910f15ffab439f49b09cb5a47d534ce3d141d14f50b95d196d0c3656633f1b76989a22221c607
|
7
|
+
data.tar.gz: ae282cecbd1dc785aa0b6be8f1e8b3807a2dedfbc13d4bca10fea484c9ce3a4cbea3dc97fcc6b6b6c8daa5a5c58938226dc593adf7a341baae59f2697902d803
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -11,8 +11,10 @@ image::https://img.shields.io/badge/code_style-alchemists-brightgreen.svg[Alchem
|
|
11
11
|
[link=https://circleci.com/gh/bkuhlmann/versionaire]
|
12
12
|
image::https://circleci.com/gh/bkuhlmann/versionaire.svg?style=svg[Circle CI Status]
|
13
13
|
|
14
|
-
|
15
|
-
|
14
|
+
Ruby doesn't provide a primitive version type by default. Versionaire fills this gap by providing an
|
15
|
+
immutable, thread-safe, and link:https://semver.org[Semantic Version] in order to use versions
|
16
|
+
within your applications. This new version type behaves and feels a lot like other primitives (i.e.
|
17
|
+
`String`, `Array`, `Hash`, etc) and can even be cast/converted from other primitives.
|
16
18
|
|
17
19
|
toc::[]
|
18
20
|
|
@@ -150,7 +152,7 @@ Version version
|
|
150
152
|
By adding `using Versionaire::Cast` to your implementation, this allows Versionaire to refine
|
151
153
|
`Kernel` so you have a top-level `Version` conversion function much like Kernel's native support for
|
152
154
|
`Integer`, `String`, `Array`, `Hash`, etc. The benefit to this approach is it reduces the amount of
|
153
|
-
typing, doesn't
|
155
|
+
typing, doesn't pollute your entire object space like a monkey patch would, and provides a idiomatic
|
154
156
|
approach to casting like any other primitive.
|
155
157
|
|
156
158
|
==== Implicit
|
data/lib/versionaire/identity.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
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: 9.2.
|
4
|
+
version: 9.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod
|
29
29
|
W2A=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2021-
|
31
|
+
date: 2021-09-06 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: refinements
|
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
requirements: []
|
91
|
-
rubygems_version: 3.2.
|
91
|
+
rubygems_version: 3.2.27
|
92
92
|
signing_key:
|
93
93
|
specification_version: 4
|
94
94
|
summary: Provides an immutable, thread-safe, and semantic version type.
|
metadata.gz.sig
CHANGED
Binary file
|