version_gem 1.1.9 → 1.1.10

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.
data/certs/pboling.pem ADDED
@@ -0,0 +1,27 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
3
+ ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
4
+ A2NvbTAeFw0yNTA1MDQxNTMzMDlaFw00NTA0MjkxNTMzMDlaMEMxFTATBgNVBAMM
5
+ DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
6
+ LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAruUoo0WA
7
+ uoNuq6puKWYeRYiZekz/nsDeK5x/0IEirzcCEvaHr3Bmz7rjo1I6On3gGKmiZs61
8
+ LRmQ3oxy77ydmkGTXBjruJB+pQEn7UfLSgQ0xa1/X3kdBZt6RmabFlBxnHkoaGY5
9
+ mZuZ5+Z7walmv6sFD9ajhzj+oIgwWfnEHkXYTR8I6VLN7MRRKGMPoZ/yvOmxb2DN
10
+ coEEHWKO9CvgYpW7asIihl/9GMpKiRkcYPm9dGQzZc6uTwom1COfW0+ZOFrDVBuV
11
+ FMQRPswZcY4Wlq0uEBLPU7hxnCL9nKK6Y9IhdDcz1mY6HZ91WImNslOSI0S8hRpj
12
+ yGOWxQIhBT3fqCBlRIqFQBudrnD9jSNpSGsFvbEijd5ns7Z9ZMehXkXDycpGAUj1
13
+ to/5cuTWWw1JqUWrKJYoifnVhtE1o1DZ+LkPtWxHtz5kjDG/zR3MG0Ula0UOavlD
14
+ qbnbcXPBnwXtTFeZ3C+yrWpE4pGnl3yGkZj9SMTlo9qnTMiPmuWKQDatAgMBAAGj
15
+ fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQE8uWvNbPVNRXZ
16
+ HlgPbc2PCzC4bjAhBgNVHREEGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
17
+ A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
18
+ ggGBAJbnUwfJQFPkBgH9cL7hoBfRtmWiCvdqdjeTmi04u8zVNCUox0A4gT982DE9
19
+ wmuN12LpdajxZONqbXuzZvc+nb0StFwmFYZG6iDwaf4BPywm2e/Vmq0YG45vZXGR
20
+ L8yMDSK1cQXjmA+ZBKOHKWavxP6Vp7lWvjAhz8RFwqF9GuNIdhv9NpnCAWcMZtpm
21
+ GUPyIWw/Cw/2wZp74QzZj6Npx+LdXoLTF1HMSJXZ7/pkxLCsB8m4EFVdb/IrW/0k
22
+ kNSfjtAfBHO8nLGuqQZVH9IBD1i9K6aSs7pT6TW8itXUIlkIUI2tg5YzW6OFfPzq
23
+ QekSkX3lZfY+HTSp/o+YvKkqWLUV7PQ7xh1ZYDtocpaHwgxe/j3bBqHE+CUPH2vA
24
+ 0V/FwdTRWcwsjVoOJTrYcff8pBZ8r2MvtAc54xfnnhGFzeRHfcltobgFxkAXdE6p
25
+ DVjBtqT23eugOqQ73umLcYDZkc36vnqGxUBSsXrzY9pzV5gGr2I8YUxMqf6ATrZt
26
+ L9nRqA==
27
+ -----END CERTIFICATE-----
@@ -46,7 +46,7 @@ module VersionGem
46
46
  major: major,
47
47
  minor: minor,
48
48
  patch: patch,
49
- pre: pre,
49
+ pre: pre
50
50
  }
51
51
  end
52
52
 
@@ -45,7 +45,7 @@ module VersionGem
45
45
  major: major,
46
46
  minor: minor,
47
47
  patch: patch,
48
- pre: pre,
48
+ pre: pre
49
49
  }
50
50
  end
51
51
 
@@ -7,7 +7,7 @@ module VersionGem
7
7
 
8
8
  # Check if the current Ruby version is greater than or equal to the given version
9
9
  def gte_minimum_version?(version, engine = "ruby")
10
- RUBY_VER >= ::Gem::Version.new(version) && ::RUBY_ENGINE == engine
10
+ ::Gem::Version.new(version) <= RUBY_VER && engine == ::RUBY_ENGINE
11
11
  end
12
12
  module_function :gte_minimum_version?
13
13
 
@@ -16,7 +16,7 @@ module VersionGem
16
16
  segs = RUBY_VER.segments
17
17
  major.to_i == segs[0] &&
18
18
  minor.to_i == segs[1] &&
19
- ::RUBY_ENGINE == engine
19
+ engine == ::RUBY_ENGINE
20
20
  end
21
21
  module_function :actual_minor_version?
22
22
  end
@@ -2,13 +2,7 @@
2
2
 
3
3
  module VersionGem
4
4
  module Version
5
- VERSION = "1.1.9"
6
- # This would work in this gem, but not in external libraries,
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
11
- # or
12
- # extend VersionGem::Epoch
5
+ VERSION = "1.1.10"
13
6
  end
7
+ VERSION = Version::VERSION # Traditional Constant Location
14
8
  end
data/lib/version_gem.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require_relative "version_gem/version"
4
+
4
5
  require_relative "version_gem/basic"
5
6
  require_relative "version_gem/epoch"
6
7
 
@@ -1,9 +1,6 @@
1
1
  module VersionGem
2
2
  module Version
3
3
  VERSION: String
4
-
5
- # At runtime this module is extended with Basic via class_eval in lib/version_gem.rb
6
- # Declare the intended extension so class methods are available in typing
7
- extend VersionGem::Basic
8
4
  end
5
+ VERSION: String
9
6
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,11 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: version_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.9
4
+ version: 1.1.10
5
5
  platform: ruby
6
6
  authors:
7
- - Peter Boling
8
- bindir: bin
7
+ - Peter H. Boling
8
+ - Aboling0
9
+ bindir: exe
9
10
  cert_chain:
10
11
  - |
11
12
  -----BEGIN CERTIFICATE-----
@@ -43,34 +44,34 @@ dependencies:
43
44
  requirements:
44
45
  - - "~>"
45
46
  - !ruby/object:Gem::Version
46
- version: '1.1'
47
+ version: '2.0'
47
48
  - - ">="
48
49
  - !ruby/object:Gem::Version
49
- version: 1.1.3
50
+ version: 2.0.7
50
51
  type: :development
51
52
  prerelease: false
52
53
  version_requirements: !ruby/object:Gem::Requirement
53
54
  requirements:
54
55
  - - "~>"
55
56
  - !ruby/object:Gem::Version
56
- version: '1.1'
57
+ version: '2.0'
57
58
  - - ">="
58
59
  - !ruby/object:Gem::Version
59
- version: 1.1.3
60
+ version: 2.0.7
60
61
  - !ruby/object:Gem::Dependency
61
62
  name: bundler-audit
62
63
  requirement: !ruby/object:Gem::Requirement
63
64
  requirements:
64
65
  - - "~>"
65
66
  - !ruby/object:Gem::Version
66
- version: 0.9.2
67
+ version: 0.9.3
67
68
  type: :development
68
69
  prerelease: false
69
70
  version_requirements: !ruby/object:Gem::Requirement
70
71
  requirements:
71
72
  - - "~>"
72
73
  - !ruby/object:Gem::Version
73
- version: 0.9.2
74
+ version: 0.9.3
74
75
  - !ruby/object:Gem::Dependency
75
76
  name: rake
76
77
  requirement: !ruby/object:Gem::Requirement
@@ -112,6 +113,9 @@ dependencies:
112
113
  - - "~>"
113
114
  - !ruby/object:Gem::Version
114
115
  version: '3.0'
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: 3.0.6
115
119
  type: :development
116
120
  prerelease: false
117
121
  version_requirements: !ruby/object:Gem::Requirement
@@ -119,40 +123,49 @@ dependencies:
119
123
  - - "~>"
120
124
  - !ruby/object:Gem::Version
121
125
  version: '3.0'
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ version: 3.0.6
122
129
  - !ruby/object:Gem::Dependency
123
130
  name: kettle-test
124
131
  requirement: !ruby/object:Gem::Requirement
125
132
  requirements:
126
133
  - - "~>"
127
134
  - !ruby/object:Gem::Version
128
- version: '1.0'
135
+ version: '2.0'
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: 2.0.3
129
139
  type: :development
130
140
  prerelease: false
131
141
  version_requirements: !ruby/object:Gem::Requirement
132
142
  requirements:
133
143
  - - "~>"
134
144
  - !ruby/object:Gem::Version
135
- version: '1.0'
145
+ version: '2.0'
146
+ - - ">="
147
+ - !ruby/object:Gem::Version
148
+ version: 2.0.3
136
149
  - !ruby/object:Gem::Dependency
137
- name: rspec-pending_for
150
+ name: turbo_tests2
138
151
  requirement: !ruby/object:Gem::Requirement
139
152
  requirements:
140
153
  - - "~>"
141
154
  - !ruby/object:Gem::Version
142
- version: '0.0'
155
+ version: '3.1'
143
156
  - - ">="
144
157
  - !ruby/object:Gem::Version
145
- version: 0.0.17
158
+ version: 3.1.1
146
159
  type: :development
147
160
  prerelease: false
148
161
  version_requirements: !ruby/object:Gem::Requirement
149
162
  requirements:
150
163
  - - "~>"
151
164
  - !ruby/object:Gem::Version
152
- version: '0.0'
165
+ version: '3.1'
153
166
  - - ">="
154
167
  - !ruby/object:Gem::Version
155
- version: 0.0.17
168
+ version: 3.1.1
156
169
  - !ruby/object:Gem::Dependency
157
170
  name: ruby-progressbar
158
171
  requirement: !ruby/object:Gem::Requirement
@@ -176,7 +189,7 @@ dependencies:
176
189
  version: '1.0'
177
190
  - - ">="
178
191
  - !ruby/object:Gem::Version
179
- version: 1.0.2
192
+ version: 1.0.3
180
193
  type: :development
181
194
  prerelease: false
182
195
  version_requirements: !ruby/object:Gem::Requirement
@@ -186,28 +199,48 @@ dependencies:
186
199
  version: '1.0'
187
200
  - - ">="
188
201
  - !ruby/object:Gem::Version
189
- version: 1.0.2
202
+ version: 1.0.3
190
203
  - !ruby/object:Gem::Dependency
191
204
  name: gitmoji-regex
192
205
  requirement: !ruby/object:Gem::Requirement
193
206
  requirements:
194
207
  - - "~>"
195
208
  - !ruby/object:Gem::Version
196
- version: '1.0'
209
+ version: '2.0'
197
210
  - - ">="
198
211
  - !ruby/object:Gem::Version
199
- version: 1.0.3
212
+ version: 2.0.1
200
213
  type: :development
201
214
  prerelease: false
202
215
  version_requirements: !ruby/object:Gem::Requirement
203
216
  requirements:
204
217
  - - "~>"
205
218
  - !ruby/object:Gem::Version
206
- version: '1.0'
219
+ version: '2.0'
207
220
  - - ">="
208
221
  - !ruby/object:Gem::Version
209
- version: 1.0.3
210
- description: "\U0001F516 Versions are good. Versions are cool. Versions will win."
222
+ version: 2.0.1
223
+ - !ruby/object:Gem::Dependency
224
+ name: rspec-pending_for
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: '0.0'
230
+ - - ">="
231
+ - !ruby/object:Gem::Version
232
+ version: 0.0.17
233
+ type: :development
234
+ prerelease: false
235
+ version_requirements: !ruby/object:Gem::Requirement
236
+ requirements:
237
+ - - "~>"
238
+ - !ruby/object:Gem::Version
239
+ version: '0.0'
240
+ - - ">="
241
+ - !ruby/object:Gem::Version
242
+ version: 0.0.17
243
+ description: "\U0001F372 Versions are good. Versions are cool. Versions will win."
211
244
  email:
212
245
  - floss@galtzo.com
213
246
  - oauth-ruby@googlegroups.com
@@ -219,9 +252,8 @@ extra_rdoc_files:
219
252
  - CODE_OF_CONDUCT.md
220
253
  - CONTRIBUTING.md
221
254
  - FUNDING.md
222
- - LICENSE.txt
255
+ - LICENSE.md
223
256
  - README.md
224
- - REEK
225
257
  - RUBOCOP.md
226
258
  - SECURITY.md
227
259
  files:
@@ -230,11 +262,11 @@ files:
230
262
  - CODE_OF_CONDUCT.md
231
263
  - CONTRIBUTING.md
232
264
  - FUNDING.md
233
- - LICENSE.txt
265
+ - LICENSE.md
234
266
  - README.md
235
- - REEK
236
267
  - RUBOCOP.md
237
268
  - SECURITY.md
269
+ - certs/pboling.pem
238
270
  - lib/version_gem.rb
239
271
  - lib/version_gem/api.rb
240
272
  - lib/version_gem/basic.rb
@@ -260,20 +292,19 @@ homepage: https://github.com/ruby-oauth/version_gem
260
292
  licenses:
261
293
  - MIT
262
294
  metadata:
263
- homepage_uri: https://version-gem.galtzo.com/
264
- source_code_uri: https://github.com/ruby-oauth/version_gem/tree/v1.1.9
265
- changelog_uri: https://github.com/ruby-oauth/version_gem/blob/v1.1.9/CHANGELOG.md
295
+ homepage_uri: https://version-gem.galtzo.com
296
+ source_code_uri: https://github.com/ruby-oauth/version_gem/tree/v1.1.10
297
+ changelog_uri: https://github.com/ruby-oauth/version_gem/blob/v1.1.10/CHANGELOG.md
266
298
  bug_tracker_uri: https://github.com/ruby-oauth/version_gem/issues
267
- documentation_uri: https://www.rubydoc.info/gems/version_gem/1.1.9
299
+ documentation_uri: https://www.rubydoc.info/gems/version_gem/1.1.10
268
300
  funding_uri: https://github.com/sponsors/pboling
269
301
  wiki_uri: https://github.com/ruby-oauth/version_gem/wiki
270
- mailing_list_uri: https://groups.google.com/g/oauth-ruby
271
302
  news_uri: https://www.railsbling.com/tags/version_gem
272
303
  discord_uri: https://discord.gg/3qme4XHNKN
273
304
  rubygems_mfa_required: 'true'
274
305
  rdoc_options:
275
306
  - "--title"
276
- - "version_gem - \U0001F516 Enhance your VERSION! Sugar for Version modules."
307
+ - "version_gem - \U0001F372 Enhance your VERSION! Sugar for Version modules."
277
308
  - "--main"
278
309
  - README.md
279
310
  - "--exclude"
@@ -287,14 +318,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
287
318
  requirements:
288
319
  - - ">="
289
320
  - !ruby/object:Gem::Version
290
- version: '2.2'
321
+ version: 2.2.0
291
322
  required_rubygems_version: !ruby/object:Gem::Requirement
292
323
  requirements:
293
324
  - - ">="
294
325
  - !ruby/object:Gem::Version
295
326
  version: '0'
296
327
  requirements: []
297
- rubygems_version: 3.7.1
328
+ rubygems_version: 4.0.10
298
329
  specification_version: 4
299
- summary: "\U0001F516 Enhance your VERSION! Sugar for Version modules."
330
+ summary: "\U0001F372 Enhance your VERSION! Sugar for Version modules."
300
331
  test_files: []
metadata.gz.sig CHANGED
Binary file
data/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2022 - 2025 Peter Boling
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
data/REEK DELETED
File without changes