version_gem 1.1.4 → 1.1.15
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/CHANGELOG.md +412 -29
- data/LICENSE.md +11 -0
- data/README.md +613 -219
- data/lib/version_gem/api.rb +3 -1
- data/lib/version_gem/basic.rb +0 -0
- data/lib/version_gem/epoch.rb +70 -0
- data/lib/version_gem/error.rb +3 -0
- data/lib/version_gem/rspec.rb +25 -0
- data/lib/version_gem/ruby.rb +9 -4
- data/lib/version_gem/version.rb +5 -6
- data/lib/version_gem.rb +2 -0
- data/sig/version_gem.rbs +74 -0
- data.tar.gz.sig +0 -0
- metadata +210 -57
- metadata.gz.sig +0 -0
- data/CODE_OF_CONDUCT.md +0 -84
- data/CONTRIBUTING.md +0 -85
- data/LICENSE.txt +0 -21
- data/SECURITY.md +0 -13
data/lib/version_gem/api.rb
CHANGED
data/lib/version_gem/basic.rb
CHANGED
|
File without changes
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative "error"
|
|
4
|
+
require_relative "api"
|
|
5
|
+
|
|
6
|
+
module VersionGem
|
|
7
|
+
# Support for Epoch Semantic Versioning
|
|
8
|
+
# See: https://antfu.me/posts/epoch-semver
|
|
9
|
+
module Epoch
|
|
10
|
+
EPOCH_SIZE = 1_000
|
|
11
|
+
|
|
12
|
+
class << self
|
|
13
|
+
def extended(base)
|
|
14
|
+
raise Error, "VERSION must be defined before 'extend #{name}'" unless defined?(base::VERSION)
|
|
15
|
+
|
|
16
|
+
base.extend(Api)
|
|
17
|
+
base.extend(OverloadApiForEpoch)
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
# Tweak the basic API so it will support Epoch Semantic Versioning
|
|
22
|
+
module OverloadApiForEpoch
|
|
23
|
+
# *** OVERLOAD METHODS FROM API ***
|
|
24
|
+
#
|
|
25
|
+
# The epoch version
|
|
26
|
+
#
|
|
27
|
+
# @return [Integer]
|
|
28
|
+
def epoch
|
|
29
|
+
@epoch ||= _major / EPOCH_SIZE
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# The major version
|
|
33
|
+
#
|
|
34
|
+
# @return [Integer]
|
|
35
|
+
def major
|
|
36
|
+
@major ||= _major % EPOCH_SIZE
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# The version number as a hash
|
|
40
|
+
#
|
|
41
|
+
# @return [Hash]
|
|
42
|
+
def to_h
|
|
43
|
+
@to_h ||= {
|
|
44
|
+
epoch: epoch,
|
|
45
|
+
major: major,
|
|
46
|
+
minor: minor,
|
|
47
|
+
patch: patch,
|
|
48
|
+
pre: pre
|
|
49
|
+
}
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# NOTE: This is not the same as _to_a, which returns an array of strings
|
|
53
|
+
#
|
|
54
|
+
# The version number as an array of cast values
|
|
55
|
+
# where epoch and major are derived from a single string:
|
|
56
|
+
# EPOCH * 1000 + MAJOR
|
|
57
|
+
#
|
|
58
|
+
# @return [Array<[Integer, String, NilClass]>]
|
|
59
|
+
def to_a
|
|
60
|
+
@to_a ||= [epoch, major, minor, patch, pre]
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
private
|
|
64
|
+
|
|
65
|
+
def _major
|
|
66
|
+
@_major ||= _to_a[0].to_i
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
end
|
data/lib/version_gem/error.rb
CHANGED
data/lib/version_gem/rspec.rb
CHANGED
|
@@ -12,6 +12,12 @@ RSpec::Matchers.define(:have_version_as_string) do
|
|
|
12
12
|
end
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
+
RSpec::Matchers.define(:have_epoch_as_integer) do
|
|
16
|
+
match do |version_mod|
|
|
17
|
+
version_mod.epoch.is_a?(Integer)
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
|
|
15
21
|
RSpec::Matchers.define(:have_major_as_integer) do
|
|
16
22
|
match do |version_mod|
|
|
17
23
|
version_mod.major.is_a?(Integer)
|
|
@@ -52,3 +58,22 @@ RSpec.shared_examples_for("a Version module") do |version_mod|
|
|
|
52
58
|
end
|
|
53
59
|
end
|
|
54
60
|
end
|
|
61
|
+
|
|
62
|
+
# This one is more Epoch ;)
|
|
63
|
+
RSpec.shared_examples_for("an Epoch Version module") do |version_mod|
|
|
64
|
+
it "is introspectable" do
|
|
65
|
+
aggregate_failures "introspectable api" do
|
|
66
|
+
expect(version_mod).is_a?(Module)
|
|
67
|
+
expect(version_mod).to(have_version_constant)
|
|
68
|
+
expect(version_mod).to(have_version_as_string)
|
|
69
|
+
expect(version_mod.to_s).to(be_a(String))
|
|
70
|
+
expect(version_mod).to(have_epoch_as_integer)
|
|
71
|
+
expect(version_mod).to(have_major_as_integer)
|
|
72
|
+
expect(version_mod).to(have_minor_as_integer)
|
|
73
|
+
expect(version_mod).to(have_patch_as_integer)
|
|
74
|
+
expect(version_mod).to(have_pre_as_nil_or_string)
|
|
75
|
+
expect(version_mod.to_h.keys).to(match_array(%i[epoch major minor patch pre]))
|
|
76
|
+
expect(version_mod.to_a).to(be_a(Array))
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
data/lib/version_gem/ruby.rb
CHANGED
|
@@ -1,17 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
module VersionGem
|
|
2
4
|
# Helpers for library CI integration against many different versions of Ruby
|
|
3
5
|
module Ruby
|
|
4
6
|
RUBY_VER = ::Gem::Version.new(RUBY_VERSION)
|
|
5
7
|
|
|
8
|
+
# Check if the current Ruby version is greater than or equal to the given version
|
|
6
9
|
def gte_minimum_version?(version, engine = "ruby")
|
|
7
|
-
|
|
10
|
+
::Gem::Version.new(version) <= RUBY_VER && engine == ::RUBY_ENGINE
|
|
8
11
|
end
|
|
9
12
|
module_function :gte_minimum_version?
|
|
10
13
|
|
|
14
|
+
# Check if the current Ruby version (MAJOR.MINOR) is equal to the given version
|
|
11
15
|
def actual_minor_version?(major, minor, engine = "ruby")
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
16
|
+
segs = RUBY_VER.segments
|
|
17
|
+
major.to_i == segs[0] &&
|
|
18
|
+
minor.to_i == segs[1] &&
|
|
19
|
+
engine == ::RUBY_ENGINE
|
|
15
20
|
end
|
|
16
21
|
module_function :actual_minor_version?
|
|
17
22
|
end
|
data/lib/version_gem/version.rb
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
module VersionGem
|
|
4
|
+
# Version namespace for this gem.
|
|
4
5
|
module Version
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
# because version files are loaded in Gemspecs before bundler
|
|
8
|
-
# has a chance to load dependencies.
|
|
9
|
-
# Instead, see lib/version_gem.rb for a solution that will work everywhere
|
|
10
|
-
# extend VersionGem::Basic
|
|
6
|
+
# Current gem version.
|
|
7
|
+
VERSION = "1.1.15"
|
|
11
8
|
end
|
|
9
|
+
# Current gem version exposed at the traditional constant location.
|
|
10
|
+
VERSION = Version::VERSION # Traditional Constant Location
|
|
12
11
|
end
|
data/lib/version_gem.rb
CHANGED
data/sig/version_gem.rbs
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
module VersionGem
|
|
2
|
+
module Api
|
|
3
|
+
# Internal memoized version string segments
|
|
4
|
+
@_to_a: Array[String]
|
|
5
|
+
|
|
6
|
+
# Memoized components
|
|
7
|
+
@major: Integer
|
|
8
|
+
@minor: Integer
|
|
9
|
+
@patch: Integer
|
|
10
|
+
@pre: String?
|
|
11
|
+
@to_a: Array[Integer | String | nil]
|
|
12
|
+
@to_h: Hash[Symbol, (Integer | String | nil)]
|
|
13
|
+
|
|
14
|
+
# Public API
|
|
15
|
+
def to_s: () -> String
|
|
16
|
+
def major: () -> Integer
|
|
17
|
+
def minor: () -> Integer
|
|
18
|
+
def patch: () -> Integer
|
|
19
|
+
def pre: () -> String?
|
|
20
|
+
def to_a: () -> Array[Integer | String | nil]
|
|
21
|
+
def to_h: () -> Hash[Symbol, (Integer | String | nil)]
|
|
22
|
+
|
|
23
|
+
private
|
|
24
|
+
|
|
25
|
+
def _to_a: () -> Array[String]
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
module Basic
|
|
29
|
+
def self.extended: () -> void
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
module Epoch
|
|
33
|
+
EPOCH_SIZE: Integer
|
|
34
|
+
|
|
35
|
+
# Hook used when this module is extended
|
|
36
|
+
def self.extended: (untyped) -> void
|
|
37
|
+
|
|
38
|
+
module OverloadApiForEpoch
|
|
39
|
+
# The epoch component (derived)
|
|
40
|
+
def epoch: () -> Integer
|
|
41
|
+
|
|
42
|
+
# Override of Api#major returning the derived major component
|
|
43
|
+
def major: () -> Integer
|
|
44
|
+
|
|
45
|
+
# Hash representation including epoch
|
|
46
|
+
def to_h: () -> Hash[Symbol, (Integer | String | nil)]
|
|
47
|
+
|
|
48
|
+
# Array of components [epoch, major, minor, patch, pre]
|
|
49
|
+
def to_a: () -> Array[Integer | String | nil]
|
|
50
|
+
|
|
51
|
+
private
|
|
52
|
+
|
|
53
|
+
def _major: () -> Integer
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
class Error < ::RuntimeError
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
module Ruby
|
|
61
|
+
RUBY_VER: ::Gem::Version
|
|
62
|
+
|
|
63
|
+
# Check if the current Ruby version is >= given version for the engine
|
|
64
|
+
def self.gte_minimum_version?: (String, ?String) -> bool
|
|
65
|
+
|
|
66
|
+
# Check if the current Ruby MAJOR.MINOR equals the given values for the engine
|
|
67
|
+
def self.actual_minor_version?: ((Integer | String), (Integer | String), ?String) -> bool
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
module Version
|
|
71
|
+
VERSION: String
|
|
72
|
+
end
|
|
73
|
+
VERSION: String
|
|
74
|
+
end
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,71 +1,77 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: version_gem
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- Peter Boling
|
|
8
|
-
|
|
9
|
-
bindir:
|
|
7
|
+
- Peter H. Boling
|
|
8
|
+
- Aboling0
|
|
9
|
+
bindir: exe
|
|
10
10
|
cert_chain:
|
|
11
11
|
- |
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
|
13
13
|
MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
|
|
14
14
|
ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
|
|
15
|
-
|
|
15
|
+
A2NvbTAeFw0yNTA1MDQxNTMzMDlaFw00NTA0MjkxNTMzMDlaMEMxFTATBgNVBAMM
|
|
16
16
|
DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
17
|
+
LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAruUoo0WA
|
|
18
|
+
uoNuq6puKWYeRYiZekz/nsDeK5x/0IEirzcCEvaHr3Bmz7rjo1I6On3gGKmiZs61
|
|
19
|
+
LRmQ3oxy77ydmkGTXBjruJB+pQEn7UfLSgQ0xa1/X3kdBZt6RmabFlBxnHkoaGY5
|
|
20
|
+
mZuZ5+Z7walmv6sFD9ajhzj+oIgwWfnEHkXYTR8I6VLN7MRRKGMPoZ/yvOmxb2DN
|
|
21
|
+
coEEHWKO9CvgYpW7asIihl/9GMpKiRkcYPm9dGQzZc6uTwom1COfW0+ZOFrDVBuV
|
|
22
|
+
FMQRPswZcY4Wlq0uEBLPU7hxnCL9nKK6Y9IhdDcz1mY6HZ91WImNslOSI0S8hRpj
|
|
23
|
+
yGOWxQIhBT3fqCBlRIqFQBudrnD9jSNpSGsFvbEijd5ns7Z9ZMehXkXDycpGAUj1
|
|
24
|
+
to/5cuTWWw1JqUWrKJYoifnVhtE1o1DZ+LkPtWxHtz5kjDG/zR3MG0Ula0UOavlD
|
|
25
|
+
qbnbcXPBnwXtTFeZ3C+yrWpE4pGnl3yGkZj9SMTlo9qnTMiPmuWKQDatAgMBAAGj
|
|
26
|
+
fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQE8uWvNbPVNRXZ
|
|
27
|
+
HlgPbc2PCzC4bjAhBgNVHREEGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
|
|
28
28
|
A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
29
|
+
ggGBAJbnUwfJQFPkBgH9cL7hoBfRtmWiCvdqdjeTmi04u8zVNCUox0A4gT982DE9
|
|
30
|
+
wmuN12LpdajxZONqbXuzZvc+nb0StFwmFYZG6iDwaf4BPywm2e/Vmq0YG45vZXGR
|
|
31
|
+
L8yMDSK1cQXjmA+ZBKOHKWavxP6Vp7lWvjAhz8RFwqF9GuNIdhv9NpnCAWcMZtpm
|
|
32
|
+
GUPyIWw/Cw/2wZp74QzZj6Npx+LdXoLTF1HMSJXZ7/pkxLCsB8m4EFVdb/IrW/0k
|
|
33
|
+
kNSfjtAfBHO8nLGuqQZVH9IBD1i9K6aSs7pT6TW8itXUIlkIUI2tg5YzW6OFfPzq
|
|
34
|
+
QekSkX3lZfY+HTSp/o+YvKkqWLUV7PQ7xh1ZYDtocpaHwgxe/j3bBqHE+CUPH2vA
|
|
35
|
+
0V/FwdTRWcwsjVoOJTrYcff8pBZ8r2MvtAc54xfnnhGFzeRHfcltobgFxkAXdE6p
|
|
36
|
+
DVjBtqT23eugOqQ73umLcYDZkc36vnqGxUBSsXrzY9pzV5gGr2I8YUxMqf6ATrZt
|
|
37
|
+
L9nRqA==
|
|
38
38
|
-----END CERTIFICATE-----
|
|
39
|
-
date:
|
|
39
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
40
40
|
dependencies:
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
|
-
name:
|
|
42
|
+
name: kettle-dev
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
47
|
+
version: '2.5'
|
|
48
|
+
- - ">="
|
|
49
|
+
- !ruby/object:Gem::Version
|
|
50
|
+
version: 2.5.14
|
|
48
51
|
type: :development
|
|
49
52
|
prerelease: false
|
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
54
|
requirements:
|
|
52
55
|
- - "~>"
|
|
53
56
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '
|
|
57
|
+
version: '2.5'
|
|
58
|
+
- - ">="
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: 2.5.14
|
|
55
61
|
- !ruby/object:Gem::Dependency
|
|
56
|
-
name:
|
|
62
|
+
name: bundler-audit
|
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
|
58
64
|
requirements:
|
|
59
65
|
- - "~>"
|
|
60
66
|
- !ruby/object:Gem::Version
|
|
61
|
-
version:
|
|
67
|
+
version: 0.9.3
|
|
62
68
|
type: :development
|
|
63
69
|
prerelease: false
|
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
71
|
requirements:
|
|
66
72
|
- - "~>"
|
|
67
73
|
- !ruby/object:Gem::Version
|
|
68
|
-
version:
|
|
74
|
+
version: 0.9.3
|
|
69
75
|
- !ruby/object:Gem::Dependency
|
|
70
76
|
name: rake
|
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -81,70 +87,217 @@ dependencies:
|
|
|
81
87
|
- !ruby/object:Gem::Version
|
|
82
88
|
version: '13.0'
|
|
83
89
|
- !ruby/object:Gem::Dependency
|
|
84
|
-
name:
|
|
90
|
+
name: require_bench
|
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
|
92
|
+
requirements:
|
|
93
|
+
- - "~>"
|
|
94
|
+
- !ruby/object:Gem::Version
|
|
95
|
+
version: '1.0'
|
|
96
|
+
- - ">="
|
|
97
|
+
- !ruby/object:Gem::Version
|
|
98
|
+
version: 1.0.4
|
|
99
|
+
type: :development
|
|
100
|
+
prerelease: false
|
|
101
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
102
|
+
requirements:
|
|
103
|
+
- - "~>"
|
|
104
|
+
- !ruby/object:Gem::Version
|
|
105
|
+
version: '1.0'
|
|
106
|
+
- - ">="
|
|
107
|
+
- !ruby/object:Gem::Version
|
|
108
|
+
version: 1.0.4
|
|
109
|
+
- !ruby/object:Gem::Dependency
|
|
110
|
+
name: anonymous_loader
|
|
111
|
+
requirement: !ruby/object:Gem::Requirement
|
|
112
|
+
requirements:
|
|
113
|
+
- - "~>"
|
|
114
|
+
- !ruby/object:Gem::Version
|
|
115
|
+
version: '0.1'
|
|
116
|
+
- - ">="
|
|
117
|
+
- !ruby/object:Gem::Version
|
|
118
|
+
version: 0.1.3
|
|
119
|
+
type: :development
|
|
120
|
+
prerelease: false
|
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
122
|
+
requirements:
|
|
123
|
+
- - "~>"
|
|
124
|
+
- !ruby/object:Gem::Version
|
|
125
|
+
version: '0.1'
|
|
126
|
+
- - ">="
|
|
127
|
+
- !ruby/object:Gem::Version
|
|
128
|
+
version: 0.1.3
|
|
129
|
+
- !ruby/object:Gem::Dependency
|
|
130
|
+
name: appraisal2
|
|
131
|
+
requirement: !ruby/object:Gem::Requirement
|
|
132
|
+
requirements:
|
|
133
|
+
- - "~>"
|
|
134
|
+
- !ruby/object:Gem::Version
|
|
135
|
+
version: '3.2'
|
|
136
|
+
- - ">="
|
|
137
|
+
- !ruby/object:Gem::Version
|
|
138
|
+
version: 3.2.0
|
|
139
|
+
type: :development
|
|
140
|
+
prerelease: false
|
|
141
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
142
|
+
requirements:
|
|
143
|
+
- - "~>"
|
|
144
|
+
- !ruby/object:Gem::Version
|
|
145
|
+
version: '3.2'
|
|
146
|
+
- - ">="
|
|
147
|
+
- !ruby/object:Gem::Version
|
|
148
|
+
version: 3.2.0
|
|
149
|
+
- !ruby/object:Gem::Dependency
|
|
150
|
+
name: kettle-test
|
|
151
|
+
requirement: !ruby/object:Gem::Requirement
|
|
152
|
+
requirements:
|
|
153
|
+
- - "~>"
|
|
154
|
+
- !ruby/object:Gem::Version
|
|
155
|
+
version: '2.0'
|
|
156
|
+
- - ">="
|
|
157
|
+
- !ruby/object:Gem::Version
|
|
158
|
+
version: 2.0.17
|
|
159
|
+
type: :development
|
|
160
|
+
prerelease: false
|
|
161
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
162
|
+
requirements:
|
|
163
|
+
- - "~>"
|
|
164
|
+
- !ruby/object:Gem::Version
|
|
165
|
+
version: '2.0'
|
|
166
|
+
- - ">="
|
|
167
|
+
- !ruby/object:Gem::Version
|
|
168
|
+
version: 2.0.17
|
|
169
|
+
- !ruby/object:Gem::Dependency
|
|
170
|
+
name: turbo_tests2
|
|
171
|
+
requirement: !ruby/object:Gem::Requirement
|
|
172
|
+
requirements:
|
|
173
|
+
- - "~>"
|
|
174
|
+
- !ruby/object:Gem::Version
|
|
175
|
+
version: '3.2'
|
|
176
|
+
- - ">="
|
|
177
|
+
- !ruby/object:Gem::Version
|
|
178
|
+
version: 3.2.4
|
|
179
|
+
type: :development
|
|
180
|
+
prerelease: false
|
|
181
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
182
|
+
requirements:
|
|
183
|
+
- - "~>"
|
|
184
|
+
- !ruby/object:Gem::Version
|
|
185
|
+
version: '3.2'
|
|
186
|
+
- - ">="
|
|
187
|
+
- !ruby/object:Gem::Version
|
|
188
|
+
version: 3.2.4
|
|
189
|
+
- !ruby/object:Gem::Dependency
|
|
190
|
+
name: ruby-progressbar
|
|
191
|
+
requirement: !ruby/object:Gem::Requirement
|
|
192
|
+
requirements:
|
|
193
|
+
- - "~>"
|
|
194
|
+
- !ruby/object:Gem::Version
|
|
195
|
+
version: '1.13'
|
|
196
|
+
type: :development
|
|
197
|
+
prerelease: false
|
|
198
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
199
|
+
requirements:
|
|
200
|
+
- - "~>"
|
|
201
|
+
- !ruby/object:Gem::Version
|
|
202
|
+
version: '1.13'
|
|
203
|
+
- !ruby/object:Gem::Dependency
|
|
204
|
+
name: stone_checksums
|
|
85
205
|
requirement: !ruby/object:Gem::Requirement
|
|
86
206
|
requirements:
|
|
87
207
|
- - "~>"
|
|
88
208
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: '0
|
|
209
|
+
version: '1.0'
|
|
210
|
+
- - ">="
|
|
211
|
+
- !ruby/object:Gem::Version
|
|
212
|
+
version: 1.0.8
|
|
90
213
|
type: :development
|
|
91
214
|
prerelease: false
|
|
92
215
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
216
|
requirements:
|
|
94
217
|
- - "~>"
|
|
95
218
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: '0
|
|
97
|
-
|
|
219
|
+
version: '1.0'
|
|
220
|
+
- - ">="
|
|
221
|
+
- !ruby/object:Gem::Version
|
|
222
|
+
version: 1.0.8
|
|
223
|
+
- !ruby/object:Gem::Dependency
|
|
224
|
+
name: gitmoji-regex
|
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
|
226
|
+
requirements:
|
|
227
|
+
- - "~>"
|
|
228
|
+
- !ruby/object:Gem::Version
|
|
229
|
+
version: '2.0'
|
|
230
|
+
- - ">="
|
|
231
|
+
- !ruby/object:Gem::Version
|
|
232
|
+
version: 2.0.11
|
|
233
|
+
type: :development
|
|
234
|
+
prerelease: false
|
|
235
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
236
|
+
requirements:
|
|
237
|
+
- - "~>"
|
|
238
|
+
- !ruby/object:Gem::Version
|
|
239
|
+
version: '2.0'
|
|
240
|
+
- - ">="
|
|
241
|
+
- !ruby/object:Gem::Version
|
|
242
|
+
version: 2.0.11
|
|
243
|
+
description: "\U0001F372 Versions are good. Versions are cool. Versions will win."
|
|
98
244
|
email:
|
|
99
|
-
-
|
|
100
|
-
- oauth-ruby@googlegroups.com
|
|
245
|
+
- floss@galtzo.com
|
|
101
246
|
executables: []
|
|
102
247
|
extensions: []
|
|
103
248
|
extra_rdoc_files: []
|
|
104
249
|
files:
|
|
105
250
|
- CHANGELOG.md
|
|
106
|
-
-
|
|
107
|
-
- CONTRIBUTING.md
|
|
108
|
-
- LICENSE.txt
|
|
251
|
+
- LICENSE.md
|
|
109
252
|
- README.md
|
|
110
|
-
- SECURITY.md
|
|
111
253
|
- lib/version_gem.rb
|
|
112
254
|
- lib/version_gem/api.rb
|
|
113
255
|
- lib/version_gem/basic.rb
|
|
256
|
+
- lib/version_gem/epoch.rb
|
|
114
257
|
- lib/version_gem/error.rb
|
|
115
258
|
- lib/version_gem/rspec.rb
|
|
116
259
|
- lib/version_gem/ruby.rb
|
|
117
260
|
- lib/version_gem/version.rb
|
|
118
|
-
|
|
261
|
+
- sig/version_gem.rbs
|
|
262
|
+
homepage: https://github.com/ruby-oauth/version_gem
|
|
119
263
|
licenses:
|
|
120
264
|
- MIT
|
|
121
265
|
metadata:
|
|
122
|
-
homepage_uri: https://
|
|
123
|
-
source_code_uri: https://
|
|
124
|
-
changelog_uri: https://
|
|
125
|
-
bug_tracker_uri: https://
|
|
126
|
-
documentation_uri: https://www.rubydoc.info/gems/version_gem/1.1.
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
266
|
+
homepage_uri: https://version-gem.galtzo.com
|
|
267
|
+
source_code_uri: https://github.com/ruby-oauth/version_gem/tree/v1.1.15
|
|
268
|
+
changelog_uri: https://github.com/ruby-oauth/version_gem/blob/v1.1.15/CHANGELOG.md
|
|
269
|
+
bug_tracker_uri: https://github.com/ruby-oauth/version_gem/issues
|
|
270
|
+
documentation_uri: https://www.rubydoc.info/gems/version_gem/1.1.15
|
|
271
|
+
funding_uri: https://github.com/sponsors/pboling
|
|
272
|
+
wiki_uri: https://github.com/ruby-oauth/version_gem/wiki
|
|
273
|
+
news_uri: https://www.railsbling.com/tags/version_gem
|
|
274
|
+
discord_uri: https://discord.gg/3qme4XHNKN
|
|
275
|
+
mailing_list_uri: https://www.rubyforum.org/tag/ruby-oauth
|
|
130
276
|
rubygems_mfa_required: 'true'
|
|
131
|
-
|
|
132
|
-
|
|
277
|
+
rdoc_options:
|
|
278
|
+
- "--title"
|
|
279
|
+
- "version_gem - \U0001F372 Enhance your VERSION! Sugar for Version modules."
|
|
280
|
+
- "--main"
|
|
281
|
+
- README.md
|
|
282
|
+
- "--exclude"
|
|
283
|
+
- "^sig/"
|
|
284
|
+
- "--line-numbers"
|
|
285
|
+
- "--inline-source"
|
|
286
|
+
- "--quiet"
|
|
133
287
|
require_paths:
|
|
134
288
|
- lib
|
|
135
289
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
136
290
|
requirements:
|
|
137
291
|
- - ">="
|
|
138
292
|
- !ruby/object:Gem::Version
|
|
139
|
-
version:
|
|
293
|
+
version: 2.2.0
|
|
140
294
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
295
|
requirements:
|
|
142
296
|
- - ">="
|
|
143
297
|
- !ruby/object:Gem::Version
|
|
144
298
|
version: '0'
|
|
145
299
|
requirements: []
|
|
146
|
-
rubygems_version:
|
|
147
|
-
signing_key:
|
|
300
|
+
rubygems_version: 4.0.17
|
|
148
301
|
specification_version: 4
|
|
149
|
-
summary: Enhance your VERSION! Sugar for Version modules.
|
|
302
|
+
summary: "\U0001F372 Enhance your VERSION! Sugar for Version modules."
|
|
150
303
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|