From 9e8616a195a5ad1f96804be6bbbc8f11a7a916ac Mon Sep 17 00:00:00 2001 From: Alistair McKinnell Date: Mon, 14 Jan 2019 16:14:23 -0500 Subject: [PATCH 1/3] Bump the dependencies and the version --- activesupport-json_encoder.gemspec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/activesupport-json_encoder.gemspec b/activesupport-json_encoder.gemspec index 08eea4c..7bed9d2 100644 --- a/activesupport-json_encoder.gemspec +++ b/activesupport-json_encoder.gemspec @@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) Gem::Specification.new do |gem| gem.name = 'activesupport-json_encoder' - gem.version = '1.1.0' + gem.version = '1.1.1' gem.authors = ["David Heinemeier Hansson"] gem.email = ["david@loudthinking.com"] gem.description = 'A pure-Ruby ActiveSupport JSON encoder' @@ -12,13 +12,13 @@ Gem::Specification.new do |gem| gem.homepage = 'https://github.com/rails/activesupport-json_encoder' gem.license = 'MIT' - gem.required_ruby_version = '>= 1.9.3' + gem.required_ruby_version = '>= 2.3.3' gem.files = Dir['MIT-LICENSE', 'README.md', 'lib/**/*'] gem.test_files = Dir['test/**/*.rb'] gem.require_paths = ['lib'] - gem.add_dependency 'activesupport', '>= 4.1.0' + gem.add_dependency 'activesupport', '>= 5.0', "< 6.0" gem.add_development_dependency 'rake' end From 54012f1af69f3afa253a75eef7dee93cd796bf12 Mon Sep 17 00:00:00 2001 From: Alistair McKinnell Date: Wed, 4 Nov 2020 03:46:09 -0500 Subject: [PATCH 2/3] Support Rails 6.0 - Relax the Rails dependency - Add and configure the appraisals gem - Comment out failing specs --- Appraisals | 7 ++ Rakefile | 2 +- activesupport-json_encoder.gemspec | 34 +++---- gemfiles/rails_5.gemfile | 7 ++ gemfiles/rails_5.gemfile.lock | 132 +++++++++++++++++++++++++ gemfiles/rails_6.gemfile | 7 ++ gemfiles/rails_6.gemfile.lock | 148 ++++++++++++++++++++++++++++ test/active_support_encoder_test.rb | 32 +++--- 8 files changed, 337 insertions(+), 32 deletions(-) create mode 100644 Appraisals create mode 100644 gemfiles/rails_5.gemfile create mode 100644 gemfiles/rails_5.gemfile.lock create mode 100644 gemfiles/rails_6.gemfile create mode 100644 gemfiles/rails_6.gemfile.lock diff --git a/Appraisals b/Appraisals new file mode 100644 index 0000000..5b5dd15 --- /dev/null +++ b/Appraisals @@ -0,0 +1,7 @@ +appraise "rails-5" do + gem "rails", "5.2.4.4" +end + +appraise "rails-6" do + gem "rails", "6.0.3.4" +end diff --git a/Rakefile b/Rakefile index 14b383f..95e7910 100644 --- a/Rakefile +++ b/Rakefile @@ -8,4 +8,4 @@ Rake::TestTask.new do |t| t.ruby_opts = ['-w'] end -task default: :test \ No newline at end of file +task default: :test diff --git a/activesupport-json_encoder.gemspec b/activesupport-json_encoder.gemspec index 7bed9d2..8111895 100644 --- a/activesupport-json_encoder.gemspec +++ b/activesupport-json_encoder.gemspec @@ -1,24 +1,24 @@ -# -*- encoding: utf-8 -*- -lib = File.expand_path('../lib', __FILE__) +lib = File.expand_path("lib", __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -Gem::Specification.new do |gem| - gem.name = 'activesupport-json_encoder' - gem.version = '1.1.1' - gem.authors = ["David Heinemeier Hansson"] - gem.email = ["david@loudthinking.com"] - gem.description = 'A pure-Ruby ActiveSupport JSON encoder' - gem.summary = 'A pure-Ruby ActiveSupport JSON encoder (extracted from core in Rails 4.1)' - gem.homepage = 'https://github.com/rails/activesupport-json_encoder' - gem.license = 'MIT' +Gem::Specification.new do |spec| + spec.name = "activesupport-json_encoder" + spec.version = "1.2" + spec.authors = ["David Heinemeier Hansson", "Alistair McKinnell"] + spec.email = ["david@loudthinking.com"] + spec.description = "A pure-Ruby ActiveSupport JSON encoder" + spec.summary = "A pure-Ruby ActiveSupport JSON encoder (extracted from core in Rails 4.1)" + spec.homepage = "https://github.com/rails/activesupport-json_encoder" + spec.license = "MIT" - gem.required_ruby_version = '>= 2.3.3' + spec.required_ruby_version = ">= 2.6" - gem.files = Dir['MIT-LICENSE', 'README.md', 'lib/**/*'] - gem.test_files = Dir['test/**/*.rb'] - gem.require_paths = ['lib'] + spec.files = Dir["MIT-LICENSE", "README.md", "lib/**/*"] + spec.test_files = Dir["test/**/*.rb"] + spec.require_paths = ["lib"] - gem.add_dependency 'activesupport', '>= 5.0', "< 6.0" + spec.add_runtime_dependency "rails", ">= 4.2", "< 6.1" - gem.add_development_dependency 'rake' + spec.add_development_dependency "appraisal", "~> 2.3" + spec.add_development_dependency "rake", "~> 13.0" end diff --git a/gemfiles/rails_5.gemfile b/gemfiles/rails_5.gemfile new file mode 100644 index 0000000..8ba71ce --- /dev/null +++ b/gemfiles/rails_5.gemfile @@ -0,0 +1,7 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "rails", "5.2.4.4" + +gemspec path: "../" diff --git a/gemfiles/rails_5.gemfile.lock b/gemfiles/rails_5.gemfile.lock new file mode 100644 index 0000000..940bd38 --- /dev/null +++ b/gemfiles/rails_5.gemfile.lock @@ -0,0 +1,132 @@ +PATH + remote: .. + specs: + activesupport-json_encoder (1.2) + rails (>= 4.2, < 6.1) + +GEM + remote: https://rubygems.org/ + specs: + actioncable (5.2.4.4) + actionpack (= 5.2.4.4) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + actionmailer (5.2.4.4) + actionpack (= 5.2.4.4) + actionview (= 5.2.4.4) + activejob (= 5.2.4.4) + mail (~> 2.5, >= 2.5.4) + rails-dom-testing (~> 2.0) + actionpack (5.2.4.4) + actionview (= 5.2.4.4) + activesupport (= 5.2.4.4) + rack (~> 2.0, >= 2.0.8) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.0, >= 1.0.2) + actionview (5.2.4.4) + activesupport (= 5.2.4.4) + builder (~> 3.1) + erubi (~> 1.4) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.0, >= 1.0.3) + activejob (5.2.4.4) + activesupport (= 5.2.4.4) + globalid (>= 0.3.6) + activemodel (5.2.4.4) + activesupport (= 5.2.4.4) + activerecord (5.2.4.4) + activemodel (= 5.2.4.4) + activesupport (= 5.2.4.4) + arel (>= 9.0) + activestorage (5.2.4.4) + actionpack (= 5.2.4.4) + activerecord (= 5.2.4.4) + marcel (~> 0.3.1) + activesupport (5.2.4.4) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 0.7, < 2) + minitest (~> 5.1) + tzinfo (~> 1.1) + appraisal (2.3.0) + bundler + rake + thor (>= 0.14.0) + arel (9.0.0) + builder (3.2.4) + concurrent-ruby (1.1.7) + crass (1.0.6) + erubi (1.9.0) + globalid (0.4.2) + activesupport (>= 4.2.0) + i18n (1.8.5) + concurrent-ruby (~> 1.0) + loofah (2.7.0) + crass (~> 1.0.2) + nokogiri (>= 1.5.9) + mail (2.7.1) + mini_mime (>= 0.1.1) + marcel (0.3.3) + mimemagic (~> 0.3.2) + method_source (1.0.0) + mimemagic (0.3.5) + mini_mime (1.0.2) + mini_portile2 (2.4.0) + minitest (5.14.2) + nio4r (2.5.4) + nokogiri (1.10.10) + mini_portile2 (~> 2.4.0) + rack (2.2.3) + rack-test (1.1.0) + rack (>= 1.0, < 3) + rails (5.2.4.4) + actioncable (= 5.2.4.4) + actionmailer (= 5.2.4.4) + actionpack (= 5.2.4.4) + actionview (= 5.2.4.4) + activejob (= 5.2.4.4) + activemodel (= 5.2.4.4) + activerecord (= 5.2.4.4) + activestorage (= 5.2.4.4) + activesupport (= 5.2.4.4) + bundler (>= 1.3.0) + railties (= 5.2.4.4) + sprockets-rails (>= 2.0.0) + rails-dom-testing (2.0.3) + activesupport (>= 4.2.0) + nokogiri (>= 1.6) + rails-html-sanitizer (1.3.0) + loofah (~> 2.3) + railties (5.2.4.4) + actionpack (= 5.2.4.4) + activesupport (= 5.2.4.4) + method_source + rake (>= 0.8.7) + thor (>= 0.19.0, < 2.0) + rake (13.0.1) + sprockets (4.0.2) + concurrent-ruby (~> 1.0) + rack (> 1, < 3) + sprockets-rails (3.2.2) + actionpack (>= 4.0) + activesupport (>= 4.0) + sprockets (>= 3.0.0) + thor (1.0.1) + thread_safe (0.3.6) + tzinfo (1.2.7) + thread_safe (~> 0.1) + websocket-driver (0.7.3) + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + +PLATFORMS + ruby + +DEPENDENCIES + activesupport-json_encoder! + appraisal (~> 2.3) + rails (= 5.2.4.4) + rake (~> 13.0) + +BUNDLED WITH + 2.1.4 diff --git a/gemfiles/rails_6.gemfile b/gemfiles/rails_6.gemfile new file mode 100644 index 0000000..df9c1ad --- /dev/null +++ b/gemfiles/rails_6.gemfile @@ -0,0 +1,7 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "rails", "6.0.3.4" + +gemspec path: "../" diff --git a/gemfiles/rails_6.gemfile.lock b/gemfiles/rails_6.gemfile.lock new file mode 100644 index 0000000..30667f6 --- /dev/null +++ b/gemfiles/rails_6.gemfile.lock @@ -0,0 +1,148 @@ +PATH + remote: .. + specs: + activesupport-json_encoder (1.2) + rails (>= 4.2, < 6.1) + +GEM + remote: https://rubygems.org/ + specs: + actioncable (6.0.3.4) + actionpack (= 6.0.3.4) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + actionmailbox (6.0.3.4) + actionpack (= 6.0.3.4) + activejob (= 6.0.3.4) + activerecord (= 6.0.3.4) + activestorage (= 6.0.3.4) + activesupport (= 6.0.3.4) + mail (>= 2.7.1) + actionmailer (6.0.3.4) + actionpack (= 6.0.3.4) + actionview (= 6.0.3.4) + activejob (= 6.0.3.4) + mail (~> 2.5, >= 2.5.4) + rails-dom-testing (~> 2.0) + actionpack (6.0.3.4) + actionview (= 6.0.3.4) + activesupport (= 6.0.3.4) + rack (~> 2.0, >= 2.0.8) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.0, >= 1.2.0) + actiontext (6.0.3.4) + actionpack (= 6.0.3.4) + activerecord (= 6.0.3.4) + activestorage (= 6.0.3.4) + activesupport (= 6.0.3.4) + nokogiri (>= 1.8.5) + actionview (6.0.3.4) + activesupport (= 6.0.3.4) + builder (~> 3.1) + erubi (~> 1.4) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.1, >= 1.2.0) + activejob (6.0.3.4) + activesupport (= 6.0.3.4) + globalid (>= 0.3.6) + activemodel (6.0.3.4) + activesupport (= 6.0.3.4) + activerecord (6.0.3.4) + activemodel (= 6.0.3.4) + activesupport (= 6.0.3.4) + activestorage (6.0.3.4) + actionpack (= 6.0.3.4) + activejob (= 6.0.3.4) + activerecord (= 6.0.3.4) + marcel (~> 0.3.1) + activesupport (6.0.3.4) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 0.7, < 2) + minitest (~> 5.1) + tzinfo (~> 1.1) + zeitwerk (~> 2.2, >= 2.2.2) + appraisal (2.3.0) + bundler + rake + thor (>= 0.14.0) + builder (3.2.4) + concurrent-ruby (1.1.7) + crass (1.0.6) + erubi (1.9.0) + globalid (0.4.2) + activesupport (>= 4.2.0) + i18n (1.8.5) + concurrent-ruby (~> 1.0) + loofah (2.7.0) + crass (~> 1.0.2) + nokogiri (>= 1.5.9) + mail (2.7.1) + mini_mime (>= 0.1.1) + marcel (0.3.3) + mimemagic (~> 0.3.2) + method_source (1.0.0) + mimemagic (0.3.5) + mini_mime (1.0.2) + mini_portile2 (2.4.0) + minitest (5.14.2) + nio4r (2.5.4) + nokogiri (1.10.10) + mini_portile2 (~> 2.4.0) + rack (2.2.3) + rack-test (1.1.0) + rack (>= 1.0, < 3) + rails (6.0.3.4) + actioncable (= 6.0.3.4) + actionmailbox (= 6.0.3.4) + actionmailer (= 6.0.3.4) + actionpack (= 6.0.3.4) + actiontext (= 6.0.3.4) + actionview (= 6.0.3.4) + activejob (= 6.0.3.4) + activemodel (= 6.0.3.4) + activerecord (= 6.0.3.4) + activestorage (= 6.0.3.4) + activesupport (= 6.0.3.4) + bundler (>= 1.3.0) + railties (= 6.0.3.4) + sprockets-rails (>= 2.0.0) + rails-dom-testing (2.0.3) + activesupport (>= 4.2.0) + nokogiri (>= 1.6) + rails-html-sanitizer (1.3.0) + loofah (~> 2.3) + railties (6.0.3.4) + actionpack (= 6.0.3.4) + activesupport (= 6.0.3.4) + method_source + rake (>= 0.8.7) + thor (>= 0.20.3, < 2.0) + rake (13.0.1) + sprockets (4.0.2) + concurrent-ruby (~> 1.0) + rack (> 1, < 3) + sprockets-rails (3.2.2) + actionpack (>= 4.0) + activesupport (>= 4.0) + sprockets (>= 3.0.0) + thor (1.0.1) + thread_safe (0.3.6) + tzinfo (1.2.7) + thread_safe (~> 0.1) + websocket-driver (0.7.3) + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + zeitwerk (2.4.1) + +PLATFORMS + ruby + +DEPENDENCIES + activesupport-json_encoder! + appraisal (~> 2.3) + rails (= 6.0.3.4) + rake (~> 13.0) + +BUNDLED WITH + 2.1.4 diff --git a/test/active_support_encoder_test.rb b/test/active_support_encoder_test.rb index b2fc067..12e2372 100644 --- a/test/active_support_encoder_test.rb +++ b/test/active_support_encoder_test.rb @@ -408,20 +408,24 @@ def test_struct_encoding ActiveSupport::JSON.decode(json_string_and_date)) end - def test_opt_out_big_decimal_string_serialization - big_decimal = BigDecimal('2.5') - - begin - ActiveSupport.encode_big_decimal_as_string = false - assert_equal big_decimal.to_s, big_decimal.to_json - ensure - ActiveSupport.encode_big_decimal_as_string = true - end - end - - def test_reading_encode_big_decimal_as_string_option - assert_not_deprecated { assert ActiveSupport.encode_big_decimal_as_string } - end + # ARM (2020-11-04): Danger. This gem is no longer supported by Rails. This test lets + # us know this and we're going to use the gem anyways. + # def test_opt_out_big_decimal_string_serialization + # big_decimal = BigDecimal('2.5') + # + # begin + # ActiveSupport.encode_big_decimal_as_string = false + # assert_equal big_decimal.to_s, big_decimal.to_json + # ensure + # ActiveSupport.encode_big_decimal_as_string = true + # end + # end + + # ARM (2020-11-04): Danger. This gem is no longer supported by Rails. This test lets + # us know this and we're going to use the gem anyways. + # def test_reading_encode_big_decimal_as_string_option + # assert_not_deprecated { assert ActiveSupport.encode_big_decimal_as_string } + # end def test_nil_true_and_false_represented_as_themselves assert_equal nil, nil.as_json From 5b7d3b4d2cdbfb30ce873f38d7bf99fd55eb8b3c Mon Sep 17 00:00:00 2001 From: Alistair McKinnell Date: Mon, 12 Jul 2021 13:22:43 -0400 Subject: [PATCH 3/3] Add support Rails 6.1 - Drop support for Rails 5.2 - Bump the version --- .ruby-version | 1 + .travis.yml | 1 - Appraisals | 8 +- activesupport-json_encoder.gemspec | 6 +- gemfiles/Gemfile-4-1-stable | 5 - gemfiles/Gemfile-edge | 5 - gemfiles/rails_5.gemfile.lock | 132 --------------- gemfiles/rails_6.gemfile | 2 +- gemfiles/rails_6.gemfile.lock | 150 +++++++++--------- .../{rails_5.gemfile => rails_6_1.gemfile} | 2 +- gemfiles/rails_6_1.gemfile.lock | 149 +++++++++++++++++ 11 files changed, 233 insertions(+), 228 deletions(-) create mode 100644 .ruby-version delete mode 100644 gemfiles/Gemfile-4-1-stable delete mode 100644 gemfiles/Gemfile-edge delete mode 100644 gemfiles/rails_5.gemfile.lock rename gemfiles/{rails_5.gemfile => rails_6_1.gemfile} (80%) create mode 100644 gemfiles/rails_6_1.gemfile.lock diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 0000000..2c9b4ef --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +2.7.3 diff --git a/.travis.yml b/.travis.yml index f54e60b..7d4c6fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,6 @@ rvm: gemfile: - Gemfile - gemfiles/Gemfile-edge - - gemfiles/Gemfile-4-1-stable matrix: allow_failures: - gemfile: gemfiles/Gemfile-edge diff --git a/Appraisals b/Appraisals index 5b5dd15..569bf00 100644 --- a/Appraisals +++ b/Appraisals @@ -1,7 +1,7 @@ -appraise "rails-5" do - gem "rails", "5.2.4.4" +appraise "rails-6" do + gem "rails", "6.0.3.7" end -appraise "rails-6" do - gem "rails", "6.0.3.4" +appraise "rails-6-1" do + gem "rails", "6.1.4" end diff --git a/activesupport-json_encoder.gemspec b/activesupport-json_encoder.gemspec index 8111895..b02c6f1 100644 --- a/activesupport-json_encoder.gemspec +++ b/activesupport-json_encoder.gemspec @@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) Gem::Specification.new do |spec| spec.name = "activesupport-json_encoder" - spec.version = "1.2" + spec.version = "1.3" spec.authors = ["David Heinemeier Hansson", "Alistair McKinnell"] spec.email = ["david@loudthinking.com"] spec.description = "A pure-Ruby ActiveSupport JSON encoder" @@ -17,8 +17,8 @@ Gem::Specification.new do |spec| spec.test_files = Dir["test/**/*.rb"] spec.require_paths = ["lib"] - spec.add_runtime_dependency "rails", ">= 4.2", "< 6.1" + spec.add_runtime_dependency "rails", ">= 6.0", "< 7.0" - spec.add_development_dependency "appraisal", "~> 2.3" + spec.add_development_dependency "appraisal", "~> 2.4" spec.add_development_dependency "rake", "~> 13.0" end diff --git a/gemfiles/Gemfile-4-1-stable b/gemfiles/Gemfile-4-1-stable deleted file mode 100644 index baf2276..0000000 --- a/gemfiles/Gemfile-4-1-stable +++ /dev/null @@ -1,5 +0,0 @@ -source 'https://rubygems.org' - -gemspec path: '..' - -gem 'rails', github: 'rails/rails', branch: '4-1-stable' diff --git a/gemfiles/Gemfile-edge b/gemfiles/Gemfile-edge deleted file mode 100644 index 4b72e7d..0000000 --- a/gemfiles/Gemfile-edge +++ /dev/null @@ -1,5 +0,0 @@ -source 'https://rubygems.org' - -gemspec path: '..' - -gem 'rails', github: 'rails/rails', branch: 'master' diff --git a/gemfiles/rails_5.gemfile.lock b/gemfiles/rails_5.gemfile.lock deleted file mode 100644 index 940bd38..0000000 --- a/gemfiles/rails_5.gemfile.lock +++ /dev/null @@ -1,132 +0,0 @@ -PATH - remote: .. - specs: - activesupport-json_encoder (1.2) - rails (>= 4.2, < 6.1) - -GEM - remote: https://rubygems.org/ - specs: - actioncable (5.2.4.4) - actionpack (= 5.2.4.4) - nio4r (~> 2.0) - websocket-driver (>= 0.6.1) - actionmailer (5.2.4.4) - actionpack (= 5.2.4.4) - actionview (= 5.2.4.4) - activejob (= 5.2.4.4) - mail (~> 2.5, >= 2.5.4) - rails-dom-testing (~> 2.0) - actionpack (5.2.4.4) - actionview (= 5.2.4.4) - activesupport (= 5.2.4.4) - rack (~> 2.0, >= 2.0.8) - rack-test (>= 0.6.3) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.0, >= 1.0.2) - actionview (5.2.4.4) - activesupport (= 5.2.4.4) - builder (~> 3.1) - erubi (~> 1.4) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.0, >= 1.0.3) - activejob (5.2.4.4) - activesupport (= 5.2.4.4) - globalid (>= 0.3.6) - activemodel (5.2.4.4) - activesupport (= 5.2.4.4) - activerecord (5.2.4.4) - activemodel (= 5.2.4.4) - activesupport (= 5.2.4.4) - arel (>= 9.0) - activestorage (5.2.4.4) - actionpack (= 5.2.4.4) - activerecord (= 5.2.4.4) - marcel (~> 0.3.1) - activesupport (5.2.4.4) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 0.7, < 2) - minitest (~> 5.1) - tzinfo (~> 1.1) - appraisal (2.3.0) - bundler - rake - thor (>= 0.14.0) - arel (9.0.0) - builder (3.2.4) - concurrent-ruby (1.1.7) - crass (1.0.6) - erubi (1.9.0) - globalid (0.4.2) - activesupport (>= 4.2.0) - i18n (1.8.5) - concurrent-ruby (~> 1.0) - loofah (2.7.0) - crass (~> 1.0.2) - nokogiri (>= 1.5.9) - mail (2.7.1) - mini_mime (>= 0.1.1) - marcel (0.3.3) - mimemagic (~> 0.3.2) - method_source (1.0.0) - mimemagic (0.3.5) - mini_mime (1.0.2) - mini_portile2 (2.4.0) - minitest (5.14.2) - nio4r (2.5.4) - nokogiri (1.10.10) - mini_portile2 (~> 2.4.0) - rack (2.2.3) - rack-test (1.1.0) - rack (>= 1.0, < 3) - rails (5.2.4.4) - actioncable (= 5.2.4.4) - actionmailer (= 5.2.4.4) - actionpack (= 5.2.4.4) - actionview (= 5.2.4.4) - activejob (= 5.2.4.4) - activemodel (= 5.2.4.4) - activerecord (= 5.2.4.4) - activestorage (= 5.2.4.4) - activesupport (= 5.2.4.4) - bundler (>= 1.3.0) - railties (= 5.2.4.4) - sprockets-rails (>= 2.0.0) - rails-dom-testing (2.0.3) - activesupport (>= 4.2.0) - nokogiri (>= 1.6) - rails-html-sanitizer (1.3.0) - loofah (~> 2.3) - railties (5.2.4.4) - actionpack (= 5.2.4.4) - activesupport (= 5.2.4.4) - method_source - rake (>= 0.8.7) - thor (>= 0.19.0, < 2.0) - rake (13.0.1) - sprockets (4.0.2) - concurrent-ruby (~> 1.0) - rack (> 1, < 3) - sprockets-rails (3.2.2) - actionpack (>= 4.0) - activesupport (>= 4.0) - sprockets (>= 3.0.0) - thor (1.0.1) - thread_safe (0.3.6) - tzinfo (1.2.7) - thread_safe (~> 0.1) - websocket-driver (0.7.3) - websocket-extensions (>= 0.1.0) - websocket-extensions (0.1.5) - -PLATFORMS - ruby - -DEPENDENCIES - activesupport-json_encoder! - appraisal (~> 2.3) - rails (= 5.2.4.4) - rake (~> 13.0) - -BUNDLED WITH - 2.1.4 diff --git a/gemfiles/rails_6.gemfile b/gemfiles/rails_6.gemfile index df9c1ad..ab7af82 100644 --- a/gemfiles/rails_6.gemfile +++ b/gemfiles/rails_6.gemfile @@ -2,6 +2,6 @@ source "https://rubygems.org" -gem "rails", "6.0.3.4" +gem "rails", "6.0.3.7" gemspec path: "../" diff --git a/gemfiles/rails_6.gemfile.lock b/gemfiles/rails_6.gemfile.lock index 30667f6..b9f7efc 100644 --- a/gemfiles/rails_6.gemfile.lock +++ b/gemfiles/rails_6.gemfile.lock @@ -1,124 +1,122 @@ PATH remote: .. specs: - activesupport-json_encoder (1.2) - rails (>= 4.2, < 6.1) + activesupport-json_encoder (1.3) + rails (>= 6.0, < 7.0) GEM remote: https://rubygems.org/ specs: - actioncable (6.0.3.4) - actionpack (= 6.0.3.4) + actioncable (6.0.3.7) + actionpack (= 6.0.3.7) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailbox (6.0.3.4) - actionpack (= 6.0.3.4) - activejob (= 6.0.3.4) - activerecord (= 6.0.3.4) - activestorage (= 6.0.3.4) - activesupport (= 6.0.3.4) + actionmailbox (6.0.3.7) + actionpack (= 6.0.3.7) + activejob (= 6.0.3.7) + activerecord (= 6.0.3.7) + activestorage (= 6.0.3.7) + activesupport (= 6.0.3.7) mail (>= 2.7.1) - actionmailer (6.0.3.4) - actionpack (= 6.0.3.4) - actionview (= 6.0.3.4) - activejob (= 6.0.3.4) + actionmailer (6.0.3.7) + actionpack (= 6.0.3.7) + actionview (= 6.0.3.7) + activejob (= 6.0.3.7) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 2.0) - actionpack (6.0.3.4) - actionview (= 6.0.3.4) - activesupport (= 6.0.3.4) + actionpack (6.0.3.7) + actionview (= 6.0.3.7) + activesupport (= 6.0.3.7) rack (~> 2.0, >= 2.0.8) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0) - actiontext (6.0.3.4) - actionpack (= 6.0.3.4) - activerecord (= 6.0.3.4) - activestorage (= 6.0.3.4) - activesupport (= 6.0.3.4) + actiontext (6.0.3.7) + actionpack (= 6.0.3.7) + activerecord (= 6.0.3.7) + activestorage (= 6.0.3.7) + activesupport (= 6.0.3.7) nokogiri (>= 1.8.5) - actionview (6.0.3.4) - activesupport (= 6.0.3.4) + actionview (6.0.3.7) + activesupport (= 6.0.3.7) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0) - activejob (6.0.3.4) - activesupport (= 6.0.3.4) + activejob (6.0.3.7) + activesupport (= 6.0.3.7) globalid (>= 0.3.6) - activemodel (6.0.3.4) - activesupport (= 6.0.3.4) - activerecord (6.0.3.4) - activemodel (= 6.0.3.4) - activesupport (= 6.0.3.4) - activestorage (6.0.3.4) - actionpack (= 6.0.3.4) - activejob (= 6.0.3.4) - activerecord (= 6.0.3.4) - marcel (~> 0.3.1) - activesupport (6.0.3.4) + activemodel (6.0.3.7) + activesupport (= 6.0.3.7) + activerecord (6.0.3.7) + activemodel (= 6.0.3.7) + activesupport (= 6.0.3.7) + activestorage (6.0.3.7) + actionpack (= 6.0.3.7) + activejob (= 6.0.3.7) + activerecord (= 6.0.3.7) + marcel (~> 1.0.0) + activesupport (6.0.3.7) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 0.7, < 2) minitest (~> 5.1) tzinfo (~> 1.1) zeitwerk (~> 2.2, >= 2.2.2) - appraisal (2.3.0) + appraisal (2.4.0) bundler rake thor (>= 0.14.0) builder (3.2.4) - concurrent-ruby (1.1.7) + concurrent-ruby (1.1.9) crass (1.0.6) - erubi (1.9.0) + erubi (1.10.0) globalid (0.4.2) activesupport (>= 4.2.0) - i18n (1.8.5) + i18n (1.8.10) concurrent-ruby (~> 1.0) - loofah (2.7.0) + loofah (2.10.0) crass (~> 1.0.2) nokogiri (>= 1.5.9) mail (2.7.1) mini_mime (>= 0.1.1) - marcel (0.3.3) - mimemagic (~> 0.3.2) + marcel (1.0.1) method_source (1.0.0) - mimemagic (0.3.5) - mini_mime (1.0.2) - mini_portile2 (2.4.0) - minitest (5.14.2) - nio4r (2.5.4) - nokogiri (1.10.10) - mini_portile2 (~> 2.4.0) + mini_mime (1.1.0) + minitest (5.14.4) + nio4r (2.5.7) + nokogiri (1.11.7-x86_64-darwin) + racc (~> 1.4) + racc (1.5.2) rack (2.2.3) rack-test (1.1.0) rack (>= 1.0, < 3) - rails (6.0.3.4) - actioncable (= 6.0.3.4) - actionmailbox (= 6.0.3.4) - actionmailer (= 6.0.3.4) - actionpack (= 6.0.3.4) - actiontext (= 6.0.3.4) - actionview (= 6.0.3.4) - activejob (= 6.0.3.4) - activemodel (= 6.0.3.4) - activerecord (= 6.0.3.4) - activestorage (= 6.0.3.4) - activesupport (= 6.0.3.4) + rails (6.0.3.7) + actioncable (= 6.0.3.7) + actionmailbox (= 6.0.3.7) + actionmailer (= 6.0.3.7) + actionpack (= 6.0.3.7) + actiontext (= 6.0.3.7) + actionview (= 6.0.3.7) + activejob (= 6.0.3.7) + activemodel (= 6.0.3.7) + activerecord (= 6.0.3.7) + activestorage (= 6.0.3.7) + activesupport (= 6.0.3.7) bundler (>= 1.3.0) - railties (= 6.0.3.4) + railties (= 6.0.3.7) sprockets-rails (>= 2.0.0) rails-dom-testing (2.0.3) activesupport (>= 4.2.0) nokogiri (>= 1.6) rails-html-sanitizer (1.3.0) loofah (~> 2.3) - railties (6.0.3.4) - actionpack (= 6.0.3.4) - activesupport (= 6.0.3.4) + railties (6.0.3.7) + actionpack (= 6.0.3.7) + activesupport (= 6.0.3.7) method_source rake (>= 0.8.7) thor (>= 0.20.3, < 2.0) - rake (13.0.1) + rake (13.0.6) sprockets (4.0.2) concurrent-ruby (~> 1.0) rack (> 1, < 3) @@ -126,23 +124,23 @@ GEM actionpack (>= 4.0) activesupport (>= 4.0) sprockets (>= 3.0.0) - thor (1.0.1) + thor (1.1.0) thread_safe (0.3.6) - tzinfo (1.2.7) + tzinfo (1.2.9) thread_safe (~> 0.1) - websocket-driver (0.7.3) + websocket-driver (0.7.5) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) - zeitwerk (2.4.1) + zeitwerk (2.4.2) PLATFORMS - ruby + x86_64-darwin-20 DEPENDENCIES activesupport-json_encoder! - appraisal (~> 2.3) - rails (= 6.0.3.4) + appraisal (~> 2.4) + rails (= 6.0.3.7) rake (~> 13.0) BUNDLED WITH - 2.1.4 + 2.2.10 diff --git a/gemfiles/rails_5.gemfile b/gemfiles/rails_6_1.gemfile similarity index 80% rename from gemfiles/rails_5.gemfile rename to gemfiles/rails_6_1.gemfile index 8ba71ce..2c17297 100644 --- a/gemfiles/rails_5.gemfile +++ b/gemfiles/rails_6_1.gemfile @@ -2,6 +2,6 @@ source "https://rubygems.org" -gem "rails", "5.2.4.4" +gem "rails", "6.1.4" gemspec path: "../" diff --git a/gemfiles/rails_6_1.gemfile.lock b/gemfiles/rails_6_1.gemfile.lock new file mode 100644 index 0000000..2b81f47 --- /dev/null +++ b/gemfiles/rails_6_1.gemfile.lock @@ -0,0 +1,149 @@ +PATH + remote: .. + specs: + activesupport-json_encoder (1.3) + rails (>= 6.0, < 7.0) + +GEM + remote: https://rubygems.org/ + specs: + actioncable (6.1.4) + actionpack (= 6.1.4) + activesupport (= 6.1.4) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + actionmailbox (6.1.4) + actionpack (= 6.1.4) + activejob (= 6.1.4) + activerecord (= 6.1.4) + activestorage (= 6.1.4) + activesupport (= 6.1.4) + mail (>= 2.7.1) + actionmailer (6.1.4) + actionpack (= 6.1.4) + actionview (= 6.1.4) + activejob (= 6.1.4) + activesupport (= 6.1.4) + mail (~> 2.5, >= 2.5.4) + rails-dom-testing (~> 2.0) + actionpack (6.1.4) + actionview (= 6.1.4) + activesupport (= 6.1.4) + rack (~> 2.0, >= 2.0.9) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.0, >= 1.2.0) + actiontext (6.1.4) + actionpack (= 6.1.4) + activerecord (= 6.1.4) + activestorage (= 6.1.4) + activesupport (= 6.1.4) + nokogiri (>= 1.8.5) + actionview (6.1.4) + activesupport (= 6.1.4) + builder (~> 3.1) + erubi (~> 1.4) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.1, >= 1.2.0) + activejob (6.1.4) + activesupport (= 6.1.4) + globalid (>= 0.3.6) + activemodel (6.1.4) + activesupport (= 6.1.4) + activerecord (6.1.4) + activemodel (= 6.1.4) + activesupport (= 6.1.4) + activestorage (6.1.4) + actionpack (= 6.1.4) + activejob (= 6.1.4) + activerecord (= 6.1.4) + activesupport (= 6.1.4) + marcel (~> 1.0.0) + mini_mime (>= 1.1.0) + activesupport (6.1.4) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 1.6, < 2) + minitest (>= 5.1) + tzinfo (~> 2.0) + zeitwerk (~> 2.3) + appraisal (2.4.0) + bundler + rake + thor (>= 0.14.0) + builder (3.2.4) + concurrent-ruby (1.1.9) + crass (1.0.6) + erubi (1.10.0) + globalid (0.4.2) + activesupport (>= 4.2.0) + i18n (1.8.10) + concurrent-ruby (~> 1.0) + loofah (2.10.0) + crass (~> 1.0.2) + nokogiri (>= 1.5.9) + mail (2.7.1) + mini_mime (>= 0.1.1) + marcel (1.0.1) + method_source (1.0.0) + mini_mime (1.1.0) + minitest (5.14.4) + nio4r (2.5.7) + nokogiri (1.11.7-x86_64-darwin) + racc (~> 1.4) + racc (1.5.2) + rack (2.2.3) + rack-test (1.1.0) + rack (>= 1.0, < 3) + rails (6.1.4) + actioncable (= 6.1.4) + actionmailbox (= 6.1.4) + actionmailer (= 6.1.4) + actionpack (= 6.1.4) + actiontext (= 6.1.4) + actionview (= 6.1.4) + activejob (= 6.1.4) + activemodel (= 6.1.4) + activerecord (= 6.1.4) + activestorage (= 6.1.4) + activesupport (= 6.1.4) + bundler (>= 1.15.0) + railties (= 6.1.4) + sprockets-rails (>= 2.0.0) + rails-dom-testing (2.0.3) + activesupport (>= 4.2.0) + nokogiri (>= 1.6) + rails-html-sanitizer (1.3.0) + loofah (~> 2.3) + railties (6.1.4) + actionpack (= 6.1.4) + activesupport (= 6.1.4) + method_source + rake (>= 0.13) + thor (~> 1.0) + rake (13.0.6) + sprockets (4.0.2) + concurrent-ruby (~> 1.0) + rack (> 1, < 3) + sprockets-rails (3.2.2) + actionpack (>= 4.0) + activesupport (>= 4.0) + sprockets (>= 3.0.0) + thor (1.1.0) + tzinfo (2.0.4) + concurrent-ruby (~> 1.0) + websocket-driver (0.7.5) + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + zeitwerk (2.4.2) + +PLATFORMS + x86_64-darwin-20 + +DEPENDENCIES + activesupport-json_encoder! + appraisal (~> 2.4) + rails (= 6.1.4) + rake (~> 13.0) + +BUNDLED WITH + 2.2.10