-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Ruby 3.2/3.3 support and drop 2.6/2.7
- Loading branch information
1 parent
e867461
commit cadd9fd
Showing
9 changed files
with
49 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ require: | |
- rubocop-rspec | ||
|
||
AllCops: | ||
NewCops: enable | ||
Exclude: | ||
- vendor/**/* | ||
TargetRubyVersion: 3.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.1.2 | ||
3.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
module Prius | ||
VERSION = "5.0.0" | ||
VERSION = "6.0.0" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
# coding: utf-8 | ||
# frozen_string_literal: true | ||
|
||
require "English" | ||
|
||
lib = File.expand_path("lib", __dir__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require "prius/version" | ||
require_relative "lib/prius/version" | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "prius" | ||
spec.version = Prius::VERSION | ||
spec.authors = ["GoCardless Engineering"] | ||
spec.email = ["[email protected]"] | ||
spec.description = "Environmentally-friendly config" | ||
spec.summary = spec.description | ||
spec.summary = "Environmentally-friendly config. Validate and enforce the presence " \ | ||
"and correct types of environment variables." | ||
spec.description = <<~MSG.strip.tr("\n", " ") | ||
Prius is a powerful and versatile gem designed to simplify the management of environment variables | ||
in your application. With Prius, you can guarantee that your environment variables are not only | ||
present but also valid, ensuring a smoother and more reliable app experience. | ||
MSG | ||
spec.homepage = "https://github.com/gocardless/prius" | ||
spec.license = "MIT" | ||
|
||
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR) | ||
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } | ||
spec.require_paths = ["lib"] | ||
|
||
spec.required_ruby_version = ">= 2.6" | ||
spec.required_ruby_version = ">= 3.0" | ||
spec.files = Dir.chdir(__dir__) do | ||
`git ls-files -z`.split("\x0").reject do |f| | ||
(File.expand_path(f) == __FILE__) || f.start_with?(*%w[bin/ test/ spec/ features/ | ||
.git .circleci appveyor]) | ||
end | ||
end | ||
|
||
spec.add_development_dependency "gc_ruboconfig", "~> 3.6.0" | ||
spec.add_development_dependency "rspec", "~> 3.1" | ||
spec.add_development_dependency "rspec-github", "~> 2.4.0" | ||
spec.metadata["rubygems_mfa_required"] = "true" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters