oldfixversion 0.0.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 404bfa2abd3d490b7b0e34e9e6ff73b9514881609bc9aa9c31a76352b51950e8
4
+ data.tar.gz: 2efe7869c1eacf9f833095d95540bb3258512fe3dd7a8a074b55b2b261482b8f
5
+ SHA512:
6
+ metadata.gz: 43f474bdb839a67a55def5b0db711f0be2f02591173224e858bed08ef6ba56ec0b62c0b874cb59090b5a91f7c05cc45b86747d1978a746370d9b4839050b23ae
7
+ data.tar.gz: 96f03c224f8452a57ab9d173c9686ea6f072dd20b67e81c9f15636cc9650eaf5d42c39aad812812eeb967fb37727bc81f219c4a43fddf96d91de5928feeca522
checksums.yaml.gz.sig ADDED
@@ -0,0 +1,2 @@
1
+ ��E@04���j[I�YnW���k�i𸎦�\�y�K��y>�d���z�! ��R -����J �3�aD�m��Y]��Z��V�����~��d�k��\��%���ƹgJ������6g�����}RNht Lrwz{�0OIW�/|72�Ymk�������Q�v���E"��%��)7�H%�������uL2FI�P���Ob0�.���t�{BE�
2
+ *���<�V-��b���O<���k�n��}��lk6 �RF���HE4S�q�8�c�r���9�R�-}����΀H�12d�[S9�]������G_q2ޱ������e�F�5 {>�cqw•�>��� ���`0gL��"YS ɱ�?�7H�
data/LICENSE.adoc ADDED
@@ -0,0 +1,134 @@
1
+ = Hippocratic License
2
+
3
+ Version: 2.1.0.
4
+
5
+ Purpose. The purpose of this License is for the Licensor named above to
6
+ permit the Licensee (as defined below) broad permission, if consistent
7
+ with Human Rights Laws and Human Rights Principles (as each is defined
8
+ below), to use and work with the Software (as defined below) within the
9
+ full scope of Licensor’s copyright and patent rights, if any, in the
10
+ Software, while ensuring attribution and protecting the Licensor from
11
+ liability.
12
+
13
+ Permission and Conditions. The Licensor grants permission by this
14
+ license ("License"), free of charge, to the extent of Licensor’s
15
+ rights under applicable copyright and patent law, to any person or
16
+ entity (the "Licensee") obtaining a copy of this software and
17
+ associated documentation files (the "Software"), to do everything with
18
+ the Software that would otherwise infringe (i) the Licensor’s copyright
19
+ in the Software or (ii) any patent claims to the Software that the
20
+ Licensor can license or becomes able to license, subject to all of the
21
+ following terms and conditions:
22
+
23
+ * Acceptance. This License is automatically offered to every person and
24
+ entity subject to its terms and conditions. Licensee accepts this
25
+ License and agrees to its terms and conditions by taking any action with
26
+ the Software that, absent this License, would infringe any intellectual
27
+ property right held by Licensor.
28
+ * Notice. Licensee must ensure that everyone who gets a copy of any part
29
+ of this Software from Licensee, with or without changes, also receives
30
+ the License and the above copyright notice (and if included by the
31
+ Licensor, patent, trademark and attribution notice). Licensee must cause
32
+ any modified versions of the Software to carry prominent notices stating
33
+ that Licensee changed the Software. For clarity, although Licensee is
34
+ free to create modifications of the Software and distribute only the
35
+ modified portion created by Licensee with additional or different terms,
36
+ the portion of the Software not modified must be distributed pursuant to
37
+ this License. If anyone notifies Licensee in writing that Licensee has
38
+ not complied with this Notice section, Licensee can keep this License by
39
+ taking all practical steps to comply within 30 days after the notice. If
40
+ Licensee does not do so, Licensee’s License (and all rights licensed
41
+ hereunder) shall end immediately.
42
+ * Compliance with Human Rights Principles and Human Rights Laws.
43
+ [arabic]
44
+ . Human Rights Principles.
45
+ [loweralpha]
46
+ .. Licensee is advised to consult the articles of the United Nations
47
+ Universal Declaration of Human Rights and the United Nations Global
48
+ Compact that define recognized principles of international human rights
49
+ (the "Human Rights Principles"). Licensee shall use the Software in a
50
+ manner consistent with Human Rights Principles.
51
+ .. Unless the Licensor and Licensee agree otherwise, any dispute,
52
+ controversy, or claim arising out of or relating to (i) Section 1(a)
53
+ regarding Human Rights Principles, including the breach of Section 1(a),
54
+ termination of this License for breach of the Human Rights Principles,
55
+ or invalidity of Section 1(a) or (ii) a determination of whether any Law
56
+ is consistent or in conflict with Human Rights Principles pursuant to
57
+ Section 2, below, shall be settled by arbitration in accordance with the
58
+ Hague Rules on Business and Human Rights Arbitration (the "Rules");
59
+ provided, however, that Licensee may elect not to participate in such
60
+ arbitration, in which event this License (and all rights licensed
61
+ hereunder) shall end immediately. The number of arbitrators shall be one
62
+ unless the Rules require otherwise.
63
+ +
64
+ Unless both the Licensor and Licensee agree to the contrary: (1) All
65
+ documents and information concerning the arbitration shall be public and
66
+ may be disclosed by any party; (2) The repository referred to under
67
+ Article 43 of the Rules shall make available to the public in a timely
68
+ manner all documents concerning the arbitration which are communicated
69
+ to it, including all submissions of the parties, all evidence admitted
70
+ into the record of the proceedings, all transcripts or other recordings
71
+ of hearings and all orders, decisions and awards of the arbitral
72
+ tribunal, subject only to the arbitral tribunal’s powers to take such
73
+ measures as may be necessary to safeguard the integrity of the arbitral
74
+ process pursuant to Articles 18, 33, 41 and 42 of the Rules; and (3)
75
+ Article 26(6) of the Rules shall not apply.
76
+ . Human Rights Laws. The Software shall not be used by any person or
77
+ entity for any systems, activities, or other uses that violate any Human
78
+ Rights Laws. "Human Rights Laws" means any applicable laws,
79
+ regulations, or rules (collectively, "Laws") that protect human,
80
+ civil, labor, privacy, political, environmental, security, economic, due
81
+ process, or similar rights; provided, however, that such Laws are
82
+ consistent and not in conflict with Human Rights Principles (a dispute
83
+ over the consistency or a conflict between Laws and Human Rights
84
+ Principles shall be determined by arbitration as stated above). Where
85
+ the Human Rights Laws of more than one jurisdiction are applicable or in
86
+ conflict with respect to the use of the Software, the Human Rights Laws
87
+ that are most protective of the individuals or groups harmed shall
88
+ apply.
89
+ . Indemnity. Licensee shall hold harmless and indemnify Licensor (and
90
+ any other contributor) against all losses, damages, liabilities,
91
+ deficiencies, claims, actions, judgments, settlements, interest, awards,
92
+ penalties, fines, costs, or expenses of whatever kind, including
93
+ Licensor’s reasonable attorneys’ fees, arising out of or relating to
94
+ Licensee’s use of the Software in violation of Human Rights Laws or
95
+ Human Rights Principles.
96
+ * Failure to Comply. Any failure of Licensee to act according to the
97
+ terms and conditions of this License is both a breach of the License and
98
+ an infringement of the intellectual property rights of the Licensor
99
+ (subject to exceptions under Laws, e.g., fair use). In the event of a
100
+ breach or infringement, the terms and conditions of this License may be
101
+ enforced by Licensor under the Laws of any jurisdiction to which
102
+ Licensee is subject. Licensee also agrees that the Licensor may enforce
103
+ the terms and conditions of this License against Licensee through
104
+ specific performance (or similar remedy under Laws) to the extent
105
+ permitted by Laws. For clarity, except in the event of a breach of this
106
+ License, infringement, or as otherwise stated in this License, Licensor
107
+ may not terminate this License with Licensee.
108
+ * Enforceability and Interpretation. If any term or provision of this
109
+ License is determined to be invalid, illegal, or unenforceable by a
110
+ court of competent jurisdiction, then such invalidity, illegality, or
111
+ unenforceability shall not affect any other term or provision of this
112
+ License or invalidate or render unenforceable such term or provision in
113
+ any other jurisdiction; provided, however, subject to a court
114
+ modification pursuant to the immediately following sentence, if any term
115
+ or provision of this License pertaining to Human Rights Laws or Human
116
+ Rights Principles is deemed invalid, illegal, or unenforceable against
117
+ Licensee by a court of competent jurisdiction, all rights in the
118
+ Software granted to Licensee shall be deemed null and void as between
119
+ Licensor and Licensee. Upon a determination that any term or provision
120
+ is invalid, illegal, or unenforceable, to the extent permitted by Laws,
121
+ the court may modify this License to affect the original purpose that
122
+ the Software be used in compliance with Human Rights Principles and
123
+ Human Rights Laws as closely as possible. The language in this License
124
+ shall be interpreted as to its fair meaning and not strictly for or
125
+ against any party.
126
+ * Disclaimer. TO THE FULL EXTENT ALLOWED BY LAW, THIS SOFTWARE COMES
127
+ "AS IS," WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED, AND LICENSOR AND
128
+ ANY OTHER CONTRIBUTOR SHALL NOT BE LIABLE TO ANYONE FOR ANY DAMAGES OR
129
+ OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE
130
+ OR THIS LICENSE, UNDER ANY KIND OF LEGAL CLAIM.
131
+
132
+ This Hippocratic License is an link:https://ethicalsource.dev[Ethical Source license] and is offered
133
+ for use by licensors and licensees at their own risk, on an "AS IS" basis, and with no warranties
134
+ express or implied, to the maximum extent permitted by Laws.
data/README.adoc ADDED
@@ -0,0 +1,68 @@
1
+ :toc: macro
2
+ :toclevels: 5
3
+ :figure-caption!:
4
+
5
+ = Oldfixversion
6
+
7
+ toc::[]
8
+
9
+ == Features
10
+
11
+ == Screencasts
12
+
13
+ == Requirements
14
+
15
+ . link:https://www.ruby-lang.org[Ruby].
16
+
17
+ == Setup
18
+
19
+ To set up the project, run:
20
+
21
+ [source,bash]
22
+ ----
23
+ bin/setup
24
+ ----
25
+
26
+ == Usage
27
+
28
+ == Development
29
+
30
+ To contribute, run:
31
+
32
+ [source,bash]
33
+ ----
34
+ git clone
35
+ cd oldfixversion
36
+ bin/setup
37
+ ----
38
+
39
+ You can also use the IRB console for direct access to all objects:
40
+
41
+ [source,bash]
42
+ ----
43
+ bin/console
44
+ ----
45
+
46
+ == Tests
47
+
48
+ To test, run:
49
+
50
+ [source,bash]
51
+ ----
52
+ bundle exec rake
53
+ ----
54
+
55
+ == link:[License]
56
+
57
+ == link:[Security]
58
+
59
+ == link:[Code of Conduct]
60
+
61
+ == link:[Contributions]
62
+
63
+ == link:[Versions]
64
+
65
+ == Credits
66
+
67
+ * Built with link:https://www.alchemists.io/projects/gemsmith[Gemsmith].
68
+ * Engineered by link:[Chris Aga].
data/exe/oldfixversion ADDED
@@ -0,0 +1,6 @@
1
+ #! /usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "oldfixversion"
5
+
6
+ Oldfixversion::CLI::Shell.new.call ARGV
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Oldfixversion
4
+ module CLI
5
+ module Actions
6
+ # Handles the config action.
7
+ class Config
8
+ include Oldfixversion::Import[:kernel, :logger]
9
+
10
+ def initialize client: Configuration::Loader::CLIENT, **dependencies
11
+ super(**dependencies)
12
+
13
+ @client = client
14
+ end
15
+
16
+ def call selection
17
+ case selection
18
+ when :edit then edit
19
+ when :view then view
20
+ else logger.error { "Invalid configuration selection: #{selection}." }
21
+ end
22
+ end
23
+
24
+ private
25
+
26
+ attr_reader :client
27
+
28
+ def edit = kernel.system("$EDITOR #{client.current}")
29
+
30
+ def view = kernel.system("cat #{client.current}")
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "dry/container"
4
+
5
+ module Oldfixversion
6
+ module CLI
7
+ module Actions
8
+ # Provides a single container of application and action specific dependencies.
9
+ module Container
10
+ extend Dry::Container::Mixin
11
+
12
+ merge Oldfixversion::Container
13
+
14
+ register(:config) { Config.new }
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "infusible"
4
+
5
+ module Oldfixversion
6
+ module CLI
7
+ module Actions
8
+ Import = Infusible.with Container
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "optparse"
4
+
5
+ module Oldfixversion
6
+ module CLI
7
+ # Assembles and parses all Command Line Interface (CLI) options.
8
+ class Parser
9
+ include Import[:configuration]
10
+
11
+ CLIENT = OptionParser.new nil, 40, " "
12
+
13
+ # Order is important.
14
+ SECTIONS = [Parsers::Core].freeze
15
+
16
+ def initialize sections: SECTIONS, client: CLIENT, **dependencies
17
+ super(**dependencies)
18
+
19
+ @sections = sections
20
+ @client = client
21
+ @configuration_duplicate = configuration.dup
22
+ end
23
+
24
+ def call arguments = []
25
+ sections.each { |section| section.call configuration_duplicate, client: }
26
+ client.parse arguments
27
+ configuration_duplicate.freeze
28
+ end
29
+
30
+ def to_s = client.to_s
31
+
32
+ private
33
+
34
+ attr_reader :sections, :client, :configuration_duplicate
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,62 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "refinements/structs"
4
+
5
+ module Oldfixversion
6
+ module CLI
7
+ module Parsers
8
+ # Handles parsing of Command Line Interface (CLI) core options.
9
+ class Core
10
+ include Import[:specification]
11
+
12
+ using Refinements::Structs
13
+
14
+ def self.call(...) = new(...).call
15
+
16
+ def initialize configuration = Container[:configuration],
17
+ client: Parser::CLIENT,
18
+ **dependencies
19
+
20
+ super(**dependencies)
21
+ @configuration = configuration
22
+ @client = client
23
+ end
24
+
25
+ def call arguments = []
26
+ client.banner = specification.labeled_summary
27
+ client.separator "\nUSAGE:\n"
28
+ collate
29
+ client.parse arguments
30
+ configuration
31
+ end
32
+
33
+ private
34
+
35
+ attr_reader :configuration, :client
36
+
37
+ def collate = private_methods.sort.grep(/add_/).each { |method| __send__ method }
38
+
39
+ def add_config
40
+ client.on "-c",
41
+ "--config ACTION",
42
+ %i[edit view],
43
+ "Manage gem configuration: edit or view." do |action|
44
+ configuration.merge! action_config: action
45
+ end
46
+ end
47
+
48
+ def add_version
49
+ client.on "-v", "--version", "Show gem version." do
50
+ configuration.merge! action_version: true
51
+ end
52
+ end
53
+
54
+ def add_help
55
+ client.on "-h", "--help", "Show this message." do
56
+ configuration.merge! action_help: true
57
+ end
58
+ end
59
+ end
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,33 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Oldfixversion
4
+ module CLI
5
+ # The main Command Line Interface (CLI) object.
6
+ class Shell
7
+ include Actions::Import[:config, :specification, :logger]
8
+
9
+ def initialize parser: Parser.new, **dependencies
10
+ super(**dependencies)
11
+ @parser = parser
12
+ end
13
+
14
+ def call arguments = []
15
+ perform parser.call(arguments)
16
+ rescue OptionParser::ParseError => error
17
+ logger.error { error.message }
18
+ end
19
+
20
+ private
21
+
22
+ attr_reader :parser
23
+
24
+ def perform configuration
25
+ case configuration
26
+ in action_config: Symbol => action then config.call action
27
+ in action_version: true then logger.info { specification.labeled_version }
28
+ else logger.any { parser.to_s }
29
+ end
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Oldfixversion
4
+ module Configuration
5
+ # Defines the content of the configuration for use throughout the gem.
6
+ Content = Struct.new(
7
+ :action_config,
8
+ :action_help,
9
+ :action_version,
10
+ keyword_init: true
11
+ ) do
12
+ def initialize *arguments
13
+ super
14
+ freeze
15
+ end
16
+ end
17
+ end
18
+ end
File without changes
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "pathname"
4
+ require "refinements/hashes"
5
+ require "refinements/structs"
6
+ require "runcom"
7
+ require "yaml"
8
+
9
+ module Oldfixversion
10
+ module Configuration
11
+ # Represents the fully assembled Command Line Interface (CLI) configuration.
12
+ class Loader
13
+ using Refinements::Hashes
14
+ using Refinements::Structs
15
+
16
+ DEFAULTS = (YAML.load_file(Pathname(__dir__).join("defaults.yml")) || {}).freeze
17
+ CLIENT = Runcom::Config.new "oldfixversion/configuration.yml", defaults: DEFAULTS
18
+
19
+ def self.call = new.call
20
+
21
+ def self.with_defaults = new client: DEFAULTS
22
+
23
+ def initialize content: Content.new, client: CLIENT
24
+ @content = content
25
+ @client = client
26
+ end
27
+
28
+ def call = content.merge(**client.to_h.flatten_keys).freeze
29
+
30
+ private
31
+
32
+ attr_reader :content, :client
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "cogger"
4
+ require "dry/container"
5
+ require "spek"
6
+
7
+ module Oldfixversion
8
+ # Provides a global gem container for injection into other objects.
9
+ module Container
10
+ extend Dry::Container::Mixin
11
+
12
+ register(:configuration) { Configuration::Loader.call }
13
+ register(:specification) { Spek::Loader.call "#{__dir__}/../../oldfixversion.gemspec" }
14
+ register(:kernel) { Kernel }
15
+ register(:logger) { Cogger::Client.new }
16
+ end
17
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "infusible"
4
+
5
+ module Oldfixversion
6
+ Import = Infusible.with Container
7
+ end
@@ -0,0 +1,94 @@
1
+ require 'active_support/all'
2
+
3
+ module Oldfixversion
4
+ module Inner
5
+ class Base
6
+
7
+ CUTOFFS = {
8
+ 'wednesday': {
9
+ cutoff: '11:00 am MST',
10
+ release: 'thursday'
11
+ },
12
+ 'friday': {
13
+ cutoff: '11:00 am MST',
14
+ release: 'tuesday'
15
+ }
16
+ }.with_indifferent_access
17
+
18
+ attr_accessor :date
19
+
20
+ def initialize(date)
21
+ @date = date
22
+ end
23
+
24
+ def cutoff_days
25
+ CUTOFFS.keys
26
+ end
27
+
28
+ def day_of_week
29
+ date.strftime("%A").downcase
30
+ end
31
+
32
+ def cutoff_day?
33
+ CUTOFFS.keys.include?(day_of_week)
34
+ end
35
+
36
+ def fix_version
37
+ next_release_day.strftime('%Y.%m.%d')
38
+ end
39
+
40
+ def cutoff_index
41
+ CUTOFFS.keys.index(cutoff)
42
+ end
43
+
44
+ def cutoff_time_string
45
+ '11:00 am MST'
46
+ end
47
+
48
+ def cutoff_time
49
+ base = Time.parse(cutoff_time_string).to_datetime
50
+ updated = base.change(
51
+ day: date.day,
52
+ month: date.month,
53
+ year: date.year
54
+ )
55
+ end
56
+
57
+ def before_cutoff_time?
58
+ date < cutoff_time
59
+ end
60
+
61
+ def days_of_week_names = Date::DAYNAMES.map(&:downcase)
62
+
63
+ def next_cutoff
64
+ CUTOFFS[next_cutoff_dow]
65
+ end
66
+
67
+ def dow_before_cutoff_time
68
+ return day_of_week if cutoff_day?
69
+
70
+ dow_index = days_of_week_names.index(day_of_week)
71
+ rotated = days_of_week_names.rotate(dow_index)
72
+ rotated.detect { |dow| CUTOFFS.keys.include?(dow) }
73
+ end
74
+
75
+ def dow_after_cutoff_time
76
+ dow_index = days_of_week_names.index(day_of_week)
77
+ rotated = days_of_week_names.rotate(dow_index + 1)
78
+ rotated.detect { |dow| CUTOFFS.keys.include?(dow) }
79
+ end
80
+
81
+ def next_cutoff_dow
82
+ return dow_before_cutoff_time if before_cutoff_time?
83
+
84
+ dow_after_cutoff_time
85
+ end
86
+
87
+ def next_release_day
88
+ next_release_dow = next_cutoff['release']
89
+ date.next_occurring(next_release_dow.to_sym)
90
+ end
91
+
92
+ end
93
+ end
94
+ end
@@ -0,0 +1,45 @@
1
+ require 'active_support/all'
2
+
3
+ =begin
4
+
5
+ Oldfixversion::Inner::InTimeZone.fetch
6
+
7
+ or
8
+
9
+ in_time_zone = Oldfixversion::Inner::InTimeZone.new
10
+ in_time_zone.fetch
11
+
12
+ =end
13
+ module Oldfixversion
14
+ module Inner
15
+ class InTimeZone
16
+
17
+ class << self
18
+ def fetch
19
+ new.fetch
20
+ end
21
+ end
22
+
23
+ attr_accessor :today
24
+
25
+ def initialize(today = time_current_default)
26
+ @today = today
27
+ end
28
+
29
+ def fetch
30
+ base = Base.new(today)
31
+ # debugger;
32
+
33
+ base.fix_version
34
+ end
35
+
36
+ def time_current_default
37
+ DateTime.current.in_time_zone("Mountain Time (US & Canada)").to_datetime
38
+ end
39
+
40
+ def time_zones = ActiveSupport::TimeZone.all.map(&:name)
41
+
42
+
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "zeitwerk"
4
+
5
+ Zeitwerk::Loader.for_gem.then do |loader|
6
+ loader.inflector.inflect "cli" => "CLI"
7
+ loader.setup
8
+ end
9
+
10
+ # Main namespace.
11
+ module Oldfixversion
12
+ end
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "oldfixversion"
5
+ spec.version = "0.0.0"
6
+ spec.authors = ["Chris Aga"]
7
+ spec.email = ["chrisaga.dev@gmail.com"]
8
+ spec.homepage = ""
9
+ spec.summary = ""
10
+ spec.license = "Hippocratic-2.1"
11
+
12
+ spec.metadata = {"label" => "Oldfixversion", "rubygems_mfa_required" => "true"}
13
+
14
+ spec.signing_key = Gem.default_key_path
15
+ spec.cert_chain = [Gem.default_cert_path]
16
+
17
+ spec.required_ruby_version = "~> 3.1"
18
+ spec.add_dependency "dry-container", "~> 0.11"
19
+ spec.add_dependency "infusible", "~> 0.2"
20
+ spec.add_dependency "refinements", "~> 9.7"
21
+ spec.add_dependency "runcom", "~> 8.7"
22
+ spec.add_dependency "spek", "~> 0.6"
23
+ spec.add_dependency "zeitwerk", "~> 2.6"
24
+ spec.add_dependency "rails", "= 6.0.6.1"
25
+
26
+ spec.bindir = "exe"
27
+ spec.executables << "oldfixversion"
28
+ spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
29
+ spec.files = Dir["*.gemspec", "lib/**/*"]
30
+ end
data.tar.gz.sig ADDED
Binary file
metadata ADDED
@@ -0,0 +1,192 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: oldfixversion
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Chris Aga
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxjaHJp
14
+ c2FnYS5kZXYxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
15
+ A2NvbTAeFw0yNDA0MTIwODM4MjFaFw0yNTA0MTIwODM4MjFaMEMxFTATBgNVBAMM
16
+ DGNocmlzYWdhLmRldjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
17
+ LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAr3djx9dw
18
+ FSJUkJqZZJ1mrOCnVk+EIjdX1ubBfYfIQXUsXc1oU/9ugpMm3aCnIfVjq2wU82kc
19
+ 8s0uCgHUaNG26CxYRqUk89RJoGhlzLpcnkTzDljL0GYE6hZwiiWdp/DAC3QRut7U
20
+ CLlHRG0gLUEQL3g1x6QerCaiuNFbzhZdMnRlazgKYTOdhSuuP/a/+16wUvDrtffK
21
+ U5Pay/jMqjVeEeTMcibCa1QwmTjBx6adtFRYJlOc/QWRykoZj8Viu8D0exC4IzJc
22
+ oLBG8U9LCsVcepesdhMiS8y2dREu4XaVuiUdz7tF1Ulc13pAe9UAK2cyDBkdUIuY
23
+ Y1NcwVMx5K3Dve4LrVxSpgx5viqicNMG8iV7Zganh2o8h/vyPvig4u4H/PfXmP1U
24
+ Vs5ubI1YCib4k5+HSxWFxj24aVNi2ei0eoNCjxXD33rFyqpEOySPdvudW7hrocKp
25
+ VA8+VNU/CnSVn0PyXpm1rd5letRhH+sX0Jfq9fqbGqYfukMl3/e3/BDRAgMBAAGj
26
+ fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQQRu5G9/KpGYDK
27
+ JCFKsvDcDGM59zAhBgNVHREEGjAYgRZjaHJpc2FnYS5kZXZAZ21haWwuY29tMCEG
28
+ A1UdEgQaMBiBFmNocmlzYWdhLmRldkBnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
29
+ ggGBAKxTWsiYJTfvjO2eAuAKG7h/E2ovPhdI5wYM/9Big3ehFQEgpdFmPN+uFehR
30
+ e6HtQUVeqJAuyyxBX/WP/ooXrRc6Vn7P8idqZFuPK4KxqK3DxzP+vHLwu2GvtMnQ
31
+ R+1Y0hc55SjjpRP29F6LaRHLAuCGqEDiGWhtL5Me9lzWDyHdD1IHr0aISInK7BtI
32
+ wg3OzFyH33EO8Ym1/iELyrLIVjikSSVkaxEv56qQVjD1CwCxvfn6sKSNrclN87Qv
33
+ MrKOrvj5GnInVGw9BbLHWD6WH7YcUi6BtntCtjNnF2GiZ3CiR2bFVEiUlsbksGYY
34
+ 3x9xQcKzP2zv58qAt6741redQ4OPsq8FpeqGTS7QrZz5rrKSm3ezde91iTl6Ef8q
35
+ NtaFHpV+6KoWvu0C8LPpjPPRK3Pv//n7pe7e3NMZnPHC+2s9sOBNWfr7gkOf+Pyt
36
+ YCkmIVQ1K0coiXWtOC+egrkt3IRF2Eqgvqhi1O1cqhpIDg/CD/+gTZtmaf8FmjIc
37
+ FXy7Lg==
38
+ -----END CERTIFICATE-----
39
+ date: 2024-04-20 00:00:00.000000000 Z
40
+ dependencies:
41
+ - !ruby/object:Gem::Dependency
42
+ name: dry-container
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.11'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.11'
55
+ - !ruby/object:Gem::Dependency
56
+ name: infusible
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.2'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.2'
69
+ - !ruby/object:Gem::Dependency
70
+ name: refinements
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '9.7'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '9.7'
83
+ - !ruby/object:Gem::Dependency
84
+ name: runcom
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '8.7'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '8.7'
97
+ - !ruby/object:Gem::Dependency
98
+ name: spek
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.6'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.6'
111
+ - !ruby/object:Gem::Dependency
112
+ name: zeitwerk
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '2.6'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '2.6'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rails
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '='
130
+ - !ruby/object:Gem::Version
131
+ version: 6.0.6.1
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '='
137
+ - !ruby/object:Gem::Version
138
+ version: 6.0.6.1
139
+ description:
140
+ email:
141
+ - chrisaga.dev@gmail.com
142
+ executables:
143
+ - oldfixversion
144
+ extensions: []
145
+ extra_rdoc_files:
146
+ - README.adoc
147
+ - LICENSE.adoc
148
+ files:
149
+ - LICENSE.adoc
150
+ - README.adoc
151
+ - exe/oldfixversion
152
+ - lib/oldfixversion.rb
153
+ - lib/oldfixversion/cli/actions/config.rb
154
+ - lib/oldfixversion/cli/actions/container.rb
155
+ - lib/oldfixversion/cli/actions/import.rb
156
+ - lib/oldfixversion/cli/parser.rb
157
+ - lib/oldfixversion/cli/parsers/core.rb
158
+ - lib/oldfixversion/cli/shell.rb
159
+ - lib/oldfixversion/configuration/content.rb
160
+ - lib/oldfixversion/configuration/defaults.yml
161
+ - lib/oldfixversion/configuration/loader.rb
162
+ - lib/oldfixversion/container.rb
163
+ - lib/oldfixversion/import.rb
164
+ - lib/oldfixversion/inner/base.rb
165
+ - lib/oldfixversion/inner/in_time_zone.rb
166
+ - oldfixversion.gemspec
167
+ homepage: ''
168
+ licenses:
169
+ - Hippocratic-2.1
170
+ metadata:
171
+ label: Oldfixversion
172
+ rubygems_mfa_required: 'true'
173
+ post_install_message:
174
+ rdoc_options: []
175
+ require_paths:
176
+ - lib
177
+ required_ruby_version: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - "~>"
180
+ - !ruby/object:Gem::Version
181
+ version: '3.1'
182
+ required_rubygems_version: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: '0'
187
+ requirements: []
188
+ rubygems_version: 3.4.6
189
+ signing_key:
190
+ specification_version: 4
191
+ summary: ''
192
+ test_files: []
metadata.gz.sig ADDED
@@ -0,0 +1,2 @@
1
+ �R�o��|�sz7D�,d�;�uO%��f:�8 ��C1Y��q�=���-�Bp�z�� X=b�ɧW � �hK�nY��D��<�7J������[6��/e�6�]%�
2
+ �^/��F=�'łW|��s��4s��7��Iz��m�(^���/%����/s��w�œkdӃČ��!�M�у��