diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index fbadd69..0a41c9c 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby_version: [2.4, 2.5, 2.6, 2.7, 3.0] + ruby_version: [2.4, 2.5, 2.6, 2.7, 3.0, 3.1] steps: - uses: actions/checkout@v1 @@ -39,7 +39,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby_version: [2.5, 2.6, 2.7, 3.0] + ruby_version: [2.7, 3.0, 3.1] steps: - uses: actions/checkout@v1 - name: Set up Ruby ${{ matrix.ruby_version }} diff --git a/lib/psenv/version.rb b/lib/psenv/version.rb index 3811673..a5bffcb 100644 --- a/lib/psenv/version.rb +++ b/lib/psenv/version.rb @@ -1,3 +1,3 @@ module Psenv - VERSION = "0.8.0".freeze + VERSION = "0.9.0".freeze end diff --git a/psenv-rails.gemspec b/psenv-rails.gemspec index aded815..6ce1c97 100644 --- a/psenv-rails.gemspec +++ b/psenv-rails.gemspec @@ -22,5 +22,5 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] spec.add_dependency "psenv", Psenv::VERSION - spec.add_dependency "railties", ">= 3.2", "< 6.2" + spec.add_dependency "railties", ">= 3.2", "< 7.1" end diff --git a/spec/rails/.ruby-version b/spec/rails/.ruby-version index ec1cf33..ef538c2 100644 --- a/spec/rails/.ruby-version +++ b/spec/rails/.ruby-version @@ -1 +1 @@ -2.6.3 +3.1.2 diff --git a/spec/rails/Gemfile b/spec/rails/Gemfile index 727d07c..86ea9b7 100644 --- a/spec/rails/Gemfile +++ b/spec/rails/Gemfile @@ -2,16 +2,16 @@ source "https://rubygems.org" git_source(:github) { |repo| "https://github.com/#{repo}.git" } # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' -gem "rails", "6.1.4.1" +gem "rails", "~> 7.0.0" # Use Puma as the app server -gem "puma", ">= 4.3.8" +gem "puma", "~> 5.0" # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder # gem 'jbuilder', '~> 2.7' # Use Active Model has_secure_password # gem 'bcrypt', '~> 3.1.7' # Reduces boot times through caching; required in config/boot.rb -gem "bootsnap", ">= 1.4.2", require: false +gem "bootsnap", require: false # Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making cross-origin AJAX possible # gem 'rack-cors' @@ -19,12 +19,7 @@ gem "bootsnap", ">= 1.4.2", require: false gem "psenv-rails", path: "../../" group :development, :test do - # Call 'byebug' anywhere in the code to stop execution and get a debugger console - gem "byebug", platforms: [:mri, :mingw, :x64_mingw] -end - -group :development do - gem "listen", ">= 3.0.5", "< 3.2" + gem "debug", platforms: %i[mri mingw x64_mingw] end # Windows does not include zoneinfo files, so bundle the tzinfo-data gem diff --git a/spec/rails/Gemfile.lock b/spec/rails/Gemfile.lock new file mode 100644 index 0000000..dedd63f --- /dev/null +++ b/spec/rails/Gemfile.lock @@ -0,0 +1,186 @@ +PATH + remote: ../.. + specs: + psenv (0.9.0) + aws-sdk-ssm (~> 1) + psenv-rails (0.9.0) + psenv (= 0.9.0) + railties (>= 3.2, < 7.1) + +GEM + remote: https://rubygems.org/ + specs: + actioncable (7.0.4) + actionpack (= 7.0.4) + activesupport (= 7.0.4) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + actionmailbox (7.0.4) + actionpack (= 7.0.4) + activejob (= 7.0.4) + activerecord (= 7.0.4) + activestorage (= 7.0.4) + activesupport (= 7.0.4) + mail (>= 2.7.1) + net-imap + net-pop + net-smtp + actionmailer (7.0.4) + actionpack (= 7.0.4) + actionview (= 7.0.4) + activejob (= 7.0.4) + activesupport (= 7.0.4) + mail (~> 2.5, >= 2.5.4) + net-imap + net-pop + net-smtp + rails-dom-testing (~> 2.0) + actionpack (7.0.4) + actionview (= 7.0.4) + activesupport (= 7.0.4) + rack (~> 2.0, >= 2.2.0) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.0, >= 1.2.0) + actiontext (7.0.4) + actionpack (= 7.0.4) + activerecord (= 7.0.4) + activestorage (= 7.0.4) + activesupport (= 7.0.4) + globalid (>= 0.6.0) + nokogiri (>= 1.8.5) + actionview (7.0.4) + activesupport (= 7.0.4) + builder (~> 3.1) + erubi (~> 1.4) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.1, >= 1.2.0) + activejob (7.0.4) + activesupport (= 7.0.4) + globalid (>= 0.3.6) + activemodel (7.0.4) + activesupport (= 7.0.4) + activerecord (7.0.4) + activemodel (= 7.0.4) + activesupport (= 7.0.4) + activestorage (7.0.4) + actionpack (= 7.0.4) + activejob (= 7.0.4) + activerecord (= 7.0.4) + activesupport (= 7.0.4) + marcel (~> 1.0) + mini_mime (>= 1.1.0) + activesupport (7.0.4) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 1.6, < 2) + minitest (>= 5.1) + tzinfo (~> 2.0) + aws-eventstream (1.2.0) + aws-partitions (1.642.0) + aws-sdk-core (3.158.0) + aws-eventstream (~> 1, >= 1.0.2) + aws-partitions (~> 1, >= 1.525.0) + aws-sigv4 (~> 1.1) + jmespath (~> 1, >= 1.6.1) + aws-sdk-ssm (1.141.0) + aws-sdk-core (~> 3, >= 3.127.0) + aws-sigv4 (~> 1.1) + aws-sigv4 (1.5.2) + aws-eventstream (~> 1, >= 1.0.2) + bootsnap (1.13.0) + msgpack (~> 1.2) + builder (3.2.4) + concurrent-ruby (1.1.10) + crass (1.0.6) + debug (1.6.2) + irb (>= 1.3.6) + reline (>= 0.3.1) + erubi (1.11.0) + globalid (1.0.0) + activesupport (>= 5.0) + i18n (1.12.0) + concurrent-ruby (~> 1.0) + io-console (0.5.11) + irb (1.4.1) + reline (>= 0.3.0) + jmespath (1.6.1) + loofah (2.19.0) + crass (~> 1.0.2) + nokogiri (>= 1.5.9) + mail (2.7.1) + mini_mime (>= 0.1.1) + marcel (1.0.2) + method_source (1.0.0) + mini_mime (1.1.2) + mini_portile2 (2.8.0) + minitest (5.16.3) + msgpack (1.6.0) + net-imap (0.3.1) + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.1.3) + timeout + net-smtp (0.3.2) + net-protocol + nio4r (2.5.8) + nokogiri (1.13.8) + mini_portile2 (~> 2.8.0) + racc (~> 1.4) + puma (5.6.5) + nio4r (~> 2.0) + racc (1.6.0) + rack (2.2.4) + rack-test (2.0.2) + rack (>= 1.3) + rails (7.0.4) + actioncable (= 7.0.4) + actionmailbox (= 7.0.4) + actionmailer (= 7.0.4) + actionpack (= 7.0.4) + actiontext (= 7.0.4) + actionview (= 7.0.4) + activejob (= 7.0.4) + activemodel (= 7.0.4) + activerecord (= 7.0.4) + activestorage (= 7.0.4) + activesupport (= 7.0.4) + bundler (>= 1.15.0) + railties (= 7.0.4) + rails-dom-testing (2.0.3) + activesupport (>= 4.2.0) + nokogiri (>= 1.6) + rails-html-sanitizer (1.4.3) + loofah (~> 2.3) + railties (7.0.4) + actionpack (= 7.0.4) + activesupport (= 7.0.4) + method_source + rake (>= 12.2) + thor (~> 1.0) + zeitwerk (~> 2.5) + rake (13.0.6) + reline (0.3.1) + io-console (~> 0.5) + thor (1.2.1) + timeout (0.3.0) + tzinfo (2.0.5) + concurrent-ruby (~> 1.0) + websocket-driver (0.7.5) + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + zeitwerk (2.6.1) + +PLATFORMS + ruby + +DEPENDENCIES + bootsnap + debug + psenv-rails! + puma (~> 5.0) + rails (~> 7.0.0) + tzinfo-data + +BUNDLED WITH + 2.3.22