version_gem 1.1.11 → 1.1.17

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.
@@ -1,8 +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
- VERSION = "1.1.11"
6
+ # Current gem version.
7
+ VERSION = "1.1.17"
6
8
  end
9
+ # Current gem version exposed at the traditional constant location.
7
10
  VERSION = Version::VERSION # Traditional Constant Location
8
11
  end
data/lib/version_gem.rb CHANGED
@@ -1,9 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "version_gem/version"
4
-
5
3
  require_relative "version_gem/basic"
6
4
  require_relative "version_gem/epoch"
5
+ require_relative "version_gem/version"
7
6
 
8
7
  # Namespace of this library
9
8
  module VersionGem
data/sig/version_gem.rbs CHANGED
@@ -1,2 +1,74 @@
1
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
2
74
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: version_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.11
4
+ version: 1.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
8
- - Aboling0
8
+ - Annibelle Boling
9
9
  bindir: exe
10
10
  cert_chain:
11
11
  - |
@@ -44,20 +44,20 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '2.1'
47
+ version: '3.1'
48
48
  - - ">="
49
49
  - !ruby/object:Gem::Version
50
- version: 2.1.0
50
+ version: 3.1.24
51
51
  type: :development
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - "~>"
56
56
  - !ruby/object:Gem::Version
57
- version: '2.1'
57
+ version: '3.1'
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: 2.1.0
60
+ version: 3.1.24
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: bundler-audit
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -106,26 +106,46 @@ dependencies:
106
106
  - - ">="
107
107
  - !ruby/object:Gem::Version
108
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.4
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.4
109
129
  - !ruby/object:Gem::Dependency
110
130
  name: appraisal2
111
131
  requirement: !ruby/object:Gem::Requirement
112
132
  requirements:
113
133
  - - "~>"
114
134
  - !ruby/object:Gem::Version
115
- version: '3.1'
135
+ version: '3.2'
116
136
  - - ">="
117
137
  - !ruby/object:Gem::Version
118
- version: 3.1.1
138
+ version: 3.2.6
119
139
  type: :development
120
140
  prerelease: false
121
141
  version_requirements: !ruby/object:Gem::Requirement
122
142
  requirements:
123
143
  - - "~>"
124
144
  - !ruby/object:Gem::Version
125
- version: '3.1'
145
+ version: '3.2'
126
146
  - - ">="
127
147
  - !ruby/object:Gem::Version
128
- version: 3.1.1
148
+ version: 3.2.6
129
149
  - !ruby/object:Gem::Dependency
130
150
  name: kettle-test
131
151
  requirement: !ruby/object:Gem::Requirement
@@ -135,7 +155,7 @@ dependencies:
135
155
  version: '2.0'
136
156
  - - ">="
137
157
  - !ruby/object:Gem::Version
138
- version: 2.0.3
158
+ version: 2.0.27
139
159
  type: :development
140
160
  prerelease: false
141
161
  version_requirements: !ruby/object:Gem::Requirement
@@ -145,27 +165,27 @@ dependencies:
145
165
  version: '2.0'
146
166
  - - ">="
147
167
  - !ruby/object:Gem::Version
148
- version: 2.0.3
168
+ version: 2.0.27
149
169
  - !ruby/object:Gem::Dependency
150
170
  name: turbo_tests2
151
171
  requirement: !ruby/object:Gem::Requirement
152
172
  requirements:
153
173
  - - "~>"
154
174
  - !ruby/object:Gem::Version
155
- version: '3.1'
175
+ version: '4.0'
156
176
  - - ">="
157
177
  - !ruby/object:Gem::Version
158
- version: 3.1.1
178
+ version: 4.0.0
159
179
  type: :development
160
180
  prerelease: false
161
181
  version_requirements: !ruby/object:Gem::Requirement
162
182
  requirements:
163
183
  - - "~>"
164
184
  - !ruby/object:Gem::Version
165
- version: '3.1'
185
+ version: '4.0'
166
186
  - - ">="
167
187
  - !ruby/object:Gem::Version
168
- version: 3.1.1
188
+ version: 4.0.0
169
189
  - !ruby/object:Gem::Dependency
170
190
  name: ruby-progressbar
171
191
  requirement: !ruby/object:Gem::Requirement
@@ -189,7 +209,7 @@ dependencies:
189
209
  version: '1.0'
190
210
  - - ">="
191
211
  - !ruby/object:Gem::Version
192
- version: 1.0.3
212
+ version: 1.0.9
193
213
  type: :development
194
214
  prerelease: false
195
215
  version_requirements: !ruby/object:Gem::Requirement
@@ -199,7 +219,7 @@ dependencies:
199
219
  version: '1.0'
200
220
  - - ">="
201
221
  - !ruby/object:Gem::Version
202
- version: 1.0.3
222
+ version: 1.0.9
203
223
  - !ruby/object:Gem::Dependency
204
224
  name: gitmoji-regex
205
225
  requirement: !ruby/object:Gem::Requirement
@@ -209,7 +229,7 @@ dependencies:
209
229
  version: '2.0'
210
230
  - - ">="
211
231
  - !ruby/object:Gem::Version
212
- version: 2.0.1
232
+ version: 2.0.15
213
233
  type: :development
214
234
  prerelease: false
215
235
  version_requirements: !ruby/object:Gem::Requirement
@@ -219,34 +239,17 @@ dependencies:
219
239
  version: '2.0'
220
240
  - - ">="
221
241
  - !ruby/object:Gem::Version
222
- version: 2.0.1
223
- description: "\U0001F372 Versions are good. Versions are cool. Versions will win."
242
+ version: 2.0.15
243
+ description: "\U0001F516 Versions are good. Versions are cool. Versions will win."
224
244
  email:
225
245
  - floss@galtzo.com
226
- - oauth-ruby@googlegroups.com
227
246
  executables: []
228
247
  extensions: []
229
- extra_rdoc_files:
230
- - CHANGELOG.md
231
- - CITATION.cff
232
- - CODE_OF_CONDUCT.md
233
- - CONTRIBUTING.md
234
- - FUNDING.md
235
- - LICENSE.md
236
- - README.md
237
- - RUBOCOP.md
238
- - SECURITY.md
248
+ extra_rdoc_files: []
239
249
  files:
240
250
  - CHANGELOG.md
241
- - CITATION.cff
242
- - CODE_OF_CONDUCT.md
243
- - CONTRIBUTING.md
244
- - FUNDING.md
245
251
  - LICENSE.md
246
252
  - README.md
247
- - RUBOCOP.md
248
- - SECURITY.md
249
- - certs/pboling.pem
250
253
  - lib/version_gem.rb
251
254
  - lib/version_gem/api.rb
252
255
  - lib/version_gem/basic.rb
@@ -255,36 +258,25 @@ files:
255
258
  - lib/version_gem/rspec.rb
256
259
  - lib/version_gem/ruby.rb
257
260
  - lib/version_gem/version.rb
258
- - sig/all_formatters.rbs
259
- - sig/debug.rbs
260
- - sig/debug_ide.rbs
261
- - sig/debug_jruby.rbs
262
- - sig/debugging.rbs
263
- - sig/run_coverage.rbs
264
261
  - sig/version_gem.rbs
265
- - sig/version_gem/api.rbs
266
- - sig/version_gem/basic.rbs
267
- - sig/version_gem/epoch.rbs
268
- - sig/version_gem/error.rbs
269
- - sig/version_gem/ruby.rbs
270
- - sig/version_gem/version.rbs
271
262
  homepage: https://github.com/ruby-oauth/version_gem
272
263
  licenses:
273
264
  - MIT
274
265
  metadata:
275
266
  homepage_uri: https://version-gem.galtzo.com
276
- source_code_uri: https://github.com/ruby-oauth/version_gem/tree/v1.1.11
277
- changelog_uri: https://github.com/ruby-oauth/version_gem/blob/v1.1.11/CHANGELOG.md
267
+ source_code_uri: https://github.com/ruby-oauth/version_gem/tree/v1.1.17
268
+ changelog_uri: https://github.com/ruby-oauth/version_gem/blob/v1.1.17/CHANGELOG.md
278
269
  bug_tracker_uri: https://github.com/ruby-oauth/version_gem/issues
279
- documentation_uri: https://www.rubydoc.info/gems/version_gem/1.1.11
270
+ documentation_uri: https://www.rubydoc.info/gems/version_gem/1.1.17
280
271
  funding_uri: https://github.com/sponsors/pboling
281
272
  wiki_uri: https://github.com/ruby-oauth/version_gem/wiki
282
273
  news_uri: https://www.railsbling.com/tags/version_gem
283
274
  discord_uri: https://discord.gg/3qme4XHNKN
275
+ mailing_list_uri: https://www.rubyforum.org/tag/ruby-oauth
284
276
  rubygems_mfa_required: 'true'
285
277
  rdoc_options:
286
278
  - "--title"
287
- - "version_gem - \U0001F372 Enhance your VERSION! Sugar for Version modules."
279
+ - "version_gem - \U0001F516 Enhance your VERSION! Sugar for Version modules."
288
280
  - "--main"
289
281
  - README.md
290
282
  - "--exclude"
@@ -305,7 +297,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
305
297
  - !ruby/object:Gem::Version
306
298
  version: '0'
307
299
  requirements: []
308
- rubygems_version: 4.0.10
300
+ rubygems_version: 4.0.20
309
301
  specification_version: 4
310
- summary: "\U0001F372 Enhance your VERSION! Sugar for Version modules."
302
+ summary: "\U0001F516 Enhance your VERSION! Sugar for Version modules."
311
303
  test_files: []
metadata.gz.sig CHANGED
@@ -1,3 +1,3 @@
1
- d����#=D����Ǡ�c^�T��χ�0F���"vH��/w����(�
2
- �s��� �U~���а(v�>��79K�}�y�bRx�^��v&��78i�Y��);�_:b�^kN���KS]������Z�2����E�0ǧ$=�׍�΄K@���p�T��63އ
3
- h���� ���d����2��*���\��_\��h�&<,�;�@@5�S����he\��i��R��i)����8���f@j��*FϨ�Y � �ɶ}e��p�ѫk��}�e�Kk��{�Ҥ�KѤ��<�8+"y�
4
- r�k<"��
5
- C�cA<���X��Фo���f#f�
6
- ��>�ϣ�S��v��藩���U��L��/"
1
+ ����`L��@��;���:ֿ�<���2F^b-U��!L;N���i�bp��ew��L1�=)��_��|�A"3 ���F��34�]�5ۙ)���h3���7���9N�j�(���2�@ȡh��Ŭ'��l��~Ӏ���^�k
2
+ mqVQ�����N���E����TH��M��:5���$�j�R�%I��A�ޜ���c3r�6�~E�i6����f?]8*1����&-5�r ���r�K���=���d,v���wſ
3
+ h1%�9-[�2��#�g��[Ȼ� )��N$Q,���}���WM"h�ҝ��B�~Y,X�n���cweS�Lrl� ���8x��\��`v�W1 "�L��o���>QeT�@i�뭂
data/CITATION.cff DELETED
@@ -1,20 +0,0 @@
1
- cff-version: 1.2.0
2
- title: "version_gem"
3
- message: >-
4
- If you use this work and you want to cite it,
5
- then you can use the metadata from this file.
6
- type: software
7
- authors:
8
- - given-names: "Peter H."
9
- family-names: "Boling"
10
- email: "floss@galtzo.com"
11
- affiliation: "galtzo.com"
12
- orcid: 'https://orcid.org/0009-0008-8519-441X'
13
- identifiers:
14
- - type: url
15
- value: 'https://github.com/ruby-oauth/version_gem'
16
- description: "version_gem"
17
- repository-code: 'https://github.com/ruby-oauth/version_gem'
18
- abstract: >-
19
- version_gem
20
- license: See license file
data/CODE_OF_CONDUCT.md DELETED
@@ -1,134 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- We as members, contributors, and leaders pledge to make participation in our
6
- community a harassment-free experience for everyone, regardless of age, body
7
- size, visible or invisible disability, ethnicity, sex characteristics, gender
8
- identity and expression, level of experience, education, socio-economic status,
9
- nationality, personal appearance, race, caste, color, religion, or sexual
10
- identity and orientation.
11
-
12
- We pledge to act and interact in ways that contribute to an open, welcoming,
13
- diverse, inclusive, and healthy community.
14
-
15
- ## Our Standards
16
-
17
- Examples of behavior that contributes to a positive environment for our
18
- community include:
19
-
20
- * Demonstrating empathy and kindness toward other people
21
- * Being respectful of differing opinions, viewpoints, and experiences
22
- * Giving and gracefully accepting constructive feedback
23
- * Accepting responsibility and apologizing to those affected by our mistakes,
24
- and learning from the experience
25
- * Focusing on what is best not just for us as individuals, but for the overall
26
- community
27
-
28
- Examples of unacceptable behavior include:
29
-
30
- * The use of sexualized language or imagery, and sexual attention or advances of
31
- any kind
32
- * Trolling, insulting or derogatory comments, and personal or political attacks
33
- * Public or private harassment
34
- * Publishing others' private information, such as a physical or email address,
35
- without their explicit permission
36
- * Other conduct which could reasonably be considered inappropriate in a
37
- professional setting
38
-
39
- ## Enforcement Responsibilities
40
-
41
- Community leaders are responsible for clarifying and enforcing our standards of
42
- acceptable behavior and will take appropriate and fair corrective action in
43
- response to any behavior that they deem inappropriate, threatening, offensive,
44
- or harmful.
45
-
46
- Community leaders have the right and responsibility to remove, edit, or reject
47
- comments, commits, code, wiki edits, issues, and other contributions that are
48
- not aligned to this Code of Conduct, and will communicate reasons for moderation
49
- decisions when appropriate.
50
-
51
- ## Scope
52
-
53
- This Code of Conduct applies within all community spaces, and also applies when
54
- an individual is officially representing the community in public spaces.
55
- Examples of representing our community include using an official email address,
56
- posting via an official social media account, or acting as an appointed
57
- representative at an online or offline event.
58
-
59
- ## Enforcement
60
-
61
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
- reported to the community leaders responsible for enforcement at
63
- [![Contact Maintainer][🚂maint-contact-img]][🚂maint-contact].
64
- All complaints will be reviewed and investigated promptly and fairly.
65
-
66
- All community leaders are obligated to respect the privacy and security of the
67
- reporter of any incident.
68
-
69
- ## Enforcement Guidelines
70
-
71
- Community leaders will follow these Community Impact Guidelines in determining
72
- the consequences for any action they deem in violation of this Code of Conduct:
73
-
74
- ### 1. Correction
75
-
76
- **Community Impact**: Use of inappropriate language or other behavior deemed
77
- unprofessional or unwelcome in the community.
78
-
79
- **Consequence**: A private, written warning from community leaders, providing
80
- clarity around the nature of the violation and an explanation of why the
81
- behavior was inappropriate. A public apology may be requested.
82
-
83
- ### 2. Warning
84
-
85
- **Community Impact**: A violation through a single incident or series of
86
- actions.
87
-
88
- **Consequence**: A warning with consequences for continued behavior. No
89
- interaction with the people involved, including unsolicited interaction with
90
- those enforcing the Code of Conduct, for a specified period of time. This
91
- includes avoiding interactions in community spaces as well as external channels
92
- like social media. Violating these terms may lead to a temporary or permanent
93
- ban.
94
-
95
- ### 3. Temporary Ban
96
-
97
- **Community Impact**: A serious violation of community standards, including
98
- sustained inappropriate behavior.
99
-
100
- **Consequence**: A temporary ban from any sort of interaction or public
101
- communication with the community for a specified period of time. No public or
102
- private interaction with the people involved, including unsolicited interaction
103
- with those enforcing the Code of Conduct, is allowed during this period.
104
- Violating these terms may lead to a permanent ban.
105
-
106
- ### 4. Permanent Ban
107
-
108
- **Community Impact**: Demonstrating a pattern of violation of community
109
- standards, including sustained inappropriate behavior, harassment of an
110
- individual, or aggression toward or disparagement of classes of individuals.
111
-
112
- **Consequence**: A permanent ban from any sort of public interaction within the
113
- community.
114
-
115
- ## Attribution
116
-
117
- This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
- version 2.1, available at
119
- [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
120
-
121
- Community Impact Guidelines were inspired by
122
- [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
123
-
124
- For answers to common questions about this code of conduct, see the FAQ at
125
- [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
126
- [https://www.contributor-covenant.org/translations][translations].
127
-
128
- [homepage]: https://www.contributor-covenant.org
129
- [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
130
- [Mozilla CoC]: https://github.com/mozilla/diversity
131
- [FAQ]: https://www.contributor-covenant.org/faq
132
- [translations]: https://www.contributor-covenant.org/translations
133
- [🚂maint-contact]: http://www.railsbling.com/contact
134
- [🚂maint-contact-img]: https://img.shields.io/badge/Contact-Maintainer-0093D0.svg?style=flat&logo=rubyonrails&logoColor=red