From 4a1770acd1882575fdcf06c0552e2476cf22a2d6 Mon Sep 17 00:00:00 2001 From: Eito Katagiri Date: Sat, 20 Jan 2024 14:43:52 +0900 Subject: [PATCH] prepare for releasing version 4.8.0 --- .github/workflows/build.yml | 25 +- .rubocop.yml | 2 +- .rubocop_todo.yml | 145 ++++++--- Appraisals | 59 ++-- Gemfile | 2 +- Gemfile.lock | 45 +-- README.md | 4 +- gemfiles/active6.0.3.6.gemfile | 12 - ...ctive5.2.5.gemfile => active6.0.6.gemfile} | 6 +- ....gemfile.lock => active6.0.6.gemfile.lock} | 78 ++--- ...e6.1.3.1.gemfile => active6.1.7.6.gemfile} | 6 +- ...emfile.lock => active6.1.7.6.gemfile.lock} | 78 ++--- gemfiles/active7.0.8.gemfile | 12 + ....gemfile.lock => active7.0.8.gemfile.lock} | 78 ++--- gemfiles/active7.1.3.gemfile | 12 + ....gemfile.lock => active7.1.3.gemfile.lock} | 101 ++++--- gemfiles/rails5.2.5.gemfile | 14 - gemfiles/rails5.2.5.gemfile.lock | 217 -------------- gemfiles/rails6.0.3.6.gemfile.lock | 232 --------------- ...ails6.1.3.1.gemfile => rails6.0.6.gemfile} | 4 +- gemfiles/rails6.0.6.gemfile.lock | 270 +++++++++++++++++ gemfiles/rails6.1.3.1.gemfile.lock | 235 --------------- ...ls6.0.3.6.gemfile => rails6.1.7.6.gemfile} | 4 +- gemfiles/rails6.1.7.6.gemfile.lock | 273 +++++++++++++++++ gemfiles/rails7.0.0.gemfile.lock | 224 -------------- ...{rails7.0.0.gemfile => rails7.0.8.gemfile} | 4 +- gemfiles/rails7.0.8.gemfile.lock | 248 ++++++++++++++++ ...active7.0.0.gemfile => rails7.1.3.gemfile} | 6 +- gemfiles/rails7.1.3.gemfile.lock | 281 ++++++++++++++++++ lib/comma.rb | 1 + lib/comma/header_extractor.rb | 1 + lib/comma/version.rb | 2 +- spec/comma/comma_spec.rb | 36 +-- spec/comma/rails/active_record_spec.rb | 2 +- spec/comma/rails/mongoid_spec.rb | 2 +- 35 files changed, 1467 insertions(+), 1254 deletions(-) delete mode 100644 gemfiles/active6.0.3.6.gemfile rename gemfiles/{active5.2.5.gemfile => active6.0.6.gemfile} (64%) rename gemfiles/{active6.0.3.6.gemfile.lock => active6.0.6.gemfile.lock} (63%) rename gemfiles/{active6.1.3.1.gemfile => active6.1.7.6.gemfile} (63%) rename gemfiles/{active7.0.0.gemfile.lock => active6.1.7.6.gemfile.lock} (61%) create mode 100644 gemfiles/active7.0.8.gemfile rename gemfiles/{active6.1.3.1.gemfile.lock => active7.0.8.gemfile.lock} (63%) create mode 100644 gemfiles/active7.1.3.gemfile rename gemfiles/{active5.2.5.gemfile.lock => active7.1.3.gemfile.lock} (53%) delete mode 100644 gemfiles/rails5.2.5.gemfile delete mode 100644 gemfiles/rails5.2.5.gemfile.lock delete mode 100644 gemfiles/rails6.0.3.6.gemfile.lock rename gemfiles/{rails6.1.3.1.gemfile => rails6.0.6.gemfile} (76%) create mode 100644 gemfiles/rails6.0.6.gemfile.lock delete mode 100644 gemfiles/rails6.1.3.1.gemfile.lock rename gemfiles/{rails6.0.3.6.gemfile => rails6.1.7.6.gemfile} (76%) create mode 100644 gemfiles/rails6.1.7.6.gemfile.lock delete mode 100644 gemfiles/rails7.0.0.gemfile.lock rename gemfiles/{rails7.0.0.gemfile => rails7.0.8.gemfile} (75%) create mode 100644 gemfiles/rails7.0.8.gemfile.lock rename gemfiles/{active7.0.0.gemfile => rails7.1.3.gemfile} (64%) create mode 100644 gemfiles/rails7.1.3.gemfile.lock diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 476f3b6..955150b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,29 +4,8 @@ jobs: build: strategy: matrix: - ruby: ['2.5', '2.6', '2.7', '3.0'] - gemfile: ['active6.0.3.6', 'active6.1.3.1', 'rails6.0.3.6', 'rails6.1.3.1'] - include: - - ruby: '2.5' - gemfile: active5.2.5 - - ruby: '2.6' - gemfile: active5.2.5 - - ruby: '2.7' - gemfile: active5.2.5 - - ruby: '2.5' - gemfile: rails5.2.5 - - ruby: '2.6' - gemfile: rails5.2.5 - - ruby: '2.7' - gemfile: rails5.2.5 - - ruby: '2.7' - gemfile: active7.0.0 - - ruby: '3.0' - gemfile: active7.0.0 - - ruby: '2.7' - gemfile: rails7.0.0 - - ruby: '3.0' - gemfile: rails7.0.0 + ruby: ['3.0', '3.1', '3.2', '3.3'] + gemfile: ['active6.0.6', 'active6.1.7.6', 'active7.0.8', 'active7.1.3', 'rails6.0.6', 'rails6.1.7.6', 'rails7.0.8', 'rails7.1.3'] runs-on: ubuntu-latest env: BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile diff --git a/.rubocop.yml b/.rubocop.yml index 74fd8dd..ef409f8 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -10,7 +10,7 @@ AllCops: NewCops: enable TargetRubyVersion: 2.5 -Metrics/LineLength: +Layout/LineLength: IgnoreCopDirectives: true Max: 120 diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 70f1ef0..196e2b7 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,24 +1,104 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2016-10-11 00:30:58 +0900 using RuboCop version 0.43.0. +# on 2024-01-20 09:02:51 UTC using RuboCop version 1.30.1. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. +# Offense count: 1 +# This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: Include. +# Include: **/*.gemspec +Gemspec/DeprecatedAttributeAssignment: + Exclude: + - 'comma.gemspec' + +# Offense count: 1 +# This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: Include. +# Include: **/*.gemspec +Gemspec/RequireMFA: + Exclude: + - 'comma.gemspec' + +# Offense count: 1 +# Configuration parameters: Include. +# Include: **/*.gemspec +Gemspec/RequiredRubyVersion: + Exclude: + - 'comma.gemspec' + +# Offense count: 1 +# This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, AllowAdjacentOneLineDefs, NumberOfEmptyLines. +Layout/EmptyLineBetweenDefs: + Exclude: + - 'spec/rails_app/rails_app.rb' + +# Offense count: 4 +# This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: AllowAliasSyntax, AllowedMethods. +# AllowedMethods: alias_method, public, protected, private +Layout/EmptyLinesAroundAttributeAccessor: + Exclude: + - 'spec/comma/comma_spec.rb' + +# Offense count: 1 +# This cop supports safe autocorrection (--autocorrect). +Layout/SpaceAroundMethodCallOperator: + Exclude: + - 'spec/controllers/users_controller_spec.rb' + +# Offense count: 17 +# Configuration parameters: AllowedMethods. +# AllowedMethods: enums +Lint/ConstantDefinitionInBlock: + Exclude: + - 'spec/comma/comma_spec.rb' + - 'spec/comma/rails/active_record_spec.rb' + - 'spec/comma/rails/data_mapper_collection_spec.rb' + - 'spec/comma/rails/mongoid_spec.rb' + +# Offense count: 4 +# Configuration parameters: AllowComments, AllowEmptyLambdas. +Lint/EmptyBlock: + Exclude: + - 'spec/comma/comma_spec.rb' + - 'spec/comma/rails/data_mapper_collection_spec.rb' + +# Offense count: 1 +Lint/MissingSuper: + Exclude: + - 'spec/comma/comma_spec.rb' + +# Offense count: 1 +# This cop supports unsafe autocorrection (--autocorrect-all). +Lint/NonDeterministicRequireOrder: + Exclude: + - 'spec/spec_helper.rb' + # Offense count: 2 +# Configuration parameters: IgnoredMethods, CountRepeatedAttributes. Metrics/AbcSize: Max: 22 # Offense count: 3 -# Configuration parameters: CountComments. +# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. Metrics/MethodLength: - Max: 17 + Max: 16 + +# Offense count: 2 +# Configuration parameters: EnforcedStyle, AllowedIdentifiers, AllowedPatterns. +# SupportedStyles: snake_case, camelCase +Naming/VariableName: + Exclude: + - 'spec/comma/comma_spec.rb' -# Offense count: 15 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods. -# SupportedStyles: line_count_based, semantic, braces_for_chaining +# Offense count: 14 +# This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods. +# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object # FunctionalMethods: let, let!, subject, watch # IgnoredMethods: lambda, proc, it @@ -29,6 +109,7 @@ Style/BlockDelimiters: - 'spec/comma/header_extractor_spec.rb' # Offense count: 11 +# Configuration parameters: AllowedConstants. Style/Documentation: Exclude: - 'spec/**/*' @@ -43,57 +124,23 @@ Style/Documentation: - 'lib/comma/object.rb' - 'lib/comma/relation.rb' -Lint/MissingSuper: - Exclude: - - 'lib/comma/data_extractor.rb' - - 'lib/comma/header_extractor.rb' - - 'spec/comma/comma_spec.rb' - +# Offense count: 3 Style/MissingRespondToMissing: Exclude: - 'lib/comma/data_extractor.rb' - 'lib/comma/header_extractor.rb' -# Offense count: 2 -# Configuration parameters: EnforcedStyle, SupportedStyles. -# SupportedStyles: snake_case, camelCase -Naming/VariableName: - Exclude: - - 'spec/comma/comma_spec.rb' - -Style/StringConcatenation: - Exclude: - - 'spec/comma/comma_spec.rb' - - 'spec/comma/rails/active_record_spec.rb' - - 'spec/spec_helper.rb' - -Lint/NonDeterministicRequireOrder: - Exclude: - - 'spec/spec_helper.rb' - +# Offense count: 1 +# This cop supports safe autocorrection (--autocorrect). Style/RedundantBegin: Exclude: - 'spec/spec_helper.rb' -Layout/SpaceAroundMethodCallOperator: - Exclude: - - 'spec/controllers/users_controller_spec.rb' - -Lint/ConstantDefinitionInBlock: +# Offense count: 6 +# This cop supports unsafe autocorrection (--autocorrect-all). +# Configuration parameters: Mode. +Style/StringConcatenation: Exclude: - 'spec/comma/comma_spec.rb' - 'spec/comma/rails/active_record_spec.rb' - - 'spec/comma/rails/data_mapper_collection_spec.rb' - - 'spec/comma/rails/mongoid_spec.rb' - -Layout/EmptyLinesAroundAttributeAccessor: - Exclude: - - 'spec/comma/comma_spec.rb' - -Migration/DepartmentName: - Exclude: - - spec/comma/comma_spec.rb - -Gemspec/RequiredRubyVersion: - Exclude: - - comma.gemspec \ No newline at end of file + - 'spec/spec_helper.rb' diff --git a/Appraisals b/Appraisals index 401f2fe..98fbe2e 100644 --- a/Appraisals +++ b/Appraisals @@ -1,52 +1,43 @@ # frozen_string_literal: true -[ - '5.2.5' -].each do |version_number| - clean_number = version_number.gsub(/[<>~=]*/, '') - - appraise "rails#{clean_number}" do - gem 'rails', version_number - gem 'rspec-rails' - gem 'sprockets', '< 4' - gem 'sqlite3', '~> 1.3.11' - gem 'test-unit' - end - - appraise "active#{clean_number}" do - gem 'activesupport', version_number - gem 'activerecord', version_number - end -end - -appraise 'rails6.0.3.6' do - gem 'rails', '6.0.3.6' +appraise 'rails6.0.6' do + gem 'rails', '6.0.6' gem 'rspec-rails' gem 'test-unit' end -appraise 'active6.0.3.6' do - gem 'activesupport', '6.0.3.6' - gem 'activerecord', '6.0.3.6' +appraise 'active6.0.6' do + gem 'activesupport', '6.0.6' + gem 'activerecord', '6.0.6' end -appraise 'rails6.1.3.1' do - gem 'rails', '6.1.3.1' +appraise 'rails6.1.7.6' do + gem 'rails', '6.1.7.6' gem 'rspec-rails' gem 'test-unit' end -appraise 'active6.1.3.1' do - gem 'activesupport', '6.1.3.1' - gem 'activerecord', '6.1.3.1' +appraise 'active6.1.7.6' do + gem 'activesupport', '6.1.7.6' + gem 'activerecord', '6.1.7.6' end -appraise 'rails7.0.0' do - gem 'rails', '7.0.0' +appraise 'rails7.0.8' do + gem 'rails', '7.0.8' gem 'rspec-rails' end -appraise 'active7.0.0' do - gem 'activesupport', '7.0.0' - gem 'activerecord', '7.0.0' +appraise 'active7.0.8' do + gem 'activesupport', '7.0.8' + gem 'activerecord', '7.0.8' +end + +appraise 'rails7.1.3' do + gem 'rails', '7.1.3' + gem 'rspec-rails' +end + +appraise 'active7.1.3' do + gem 'activesupport', '7.1.3' + gem 'activerecord', '7.1.3' end diff --git a/Gemfile b/Gemfile index cb1f609..eb045b1 100644 --- a/Gemfile +++ b/Gemfile @@ -5,6 +5,6 @@ source 'https://rubygems.org' gemspec gem 'coveralls', require: false -gem 'rubocop', '~> 1.0.0', require: false +gem 'rubocop', '~> 1.30.0', require: false gem 'rubocop-performance', require: false gem 'sqlite3' diff --git a/Gemfile.lock b/Gemfile.lock index 2314238..452882b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - comma (4.7.0) + comma (4.8.0) activesupport (>= 4.2.0) GEM @@ -39,20 +39,23 @@ GEM mime-types (3.2.2) mime-types-data (~> 3.2015) mime-types-data (3.2019.0331) + mini_portile2 (2.8.5) minitest (5.14.4) multi_json (1.1.0) netrc (0.11.0) - parallel (1.22.1) - parser (3.1.2.0) + parallel (1.24.0) + parser (3.3.0.4) ast (~> 2.4.1) + racc + racc (1.7.3) rainbow (3.1.1) rake (13.0.1) - regexp_parser (2.5.0) + regexp_parser (2.9.0) rest-client (2.0.2) http-cookie (>= 1.0.2, < 2.0) mime-types (>= 1.16, < 4.0) netrc (~> 0.8) - rexml (3.2.5) + rexml (3.2.6) rspec (3.5.0) rspec-core (~> 3.5.0) rspec-expectations (~> 3.5.0) @@ -73,33 +76,35 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.5.0) rspec-support (3.5.0) - rubocop (1.0.0) + rubocop (1.30.1) parallel (~> 1.10) - parser (>= 2.7.1.5) + parser (>= 3.1.0.0) rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8) - rexml - rubocop-ast (>= 0.6.0) + regexp_parser (>= 1.8, < 3.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.18.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 2.0) - rubocop-ast (1.19.1) - parser (>= 3.1.1.0) - rubocop-performance (1.1.0) - rubocop (>= 0.67.0) - ruby-progressbar (1.11.0) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.30.0) + parser (>= 3.2.1.0) + rubocop-performance (1.10.2) + rubocop (>= 0.90.0, < 2.0) + rubocop-ast (>= 0.4.0) + ruby-progressbar (1.13.0) simplecov (0.9.2) docile (~> 1.1.0) multi_json (~> 1.0) simplecov-html (~> 0.9.0) simplecov-html (0.9.0) - sqlite3 (1.3.11) + sqlite3 (1.7.0) + mini_portile2 (~> 2.8.0) thor (0.19.1) tzinfo (2.0.6) concurrent-ruby (~> 1.0) unf (0.1.4) unf_ext unf_ext (0.0.7.6) - unicode-display_width (1.8.0) + unicode-display_width (2.5.0) PLATFORMS ruby @@ -113,9 +118,9 @@ DEPENDENCIES rspec (~> 3.5.0) rspec-activemodel-mocks rspec-its - rubocop (~> 1.0.0) + rubocop (~> 1.30.0) rubocop-performance sqlite3 BUNDLED WITH - 2.1.4 + 2.5.5 diff --git a/README.md b/README.md index 26194de..216aba1 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ A library to generate comma seperated value (CSV) for Ruby objects like ActiveRe ### Prerequisites -You need to use ruby 2.4 or later. If you generate CSV from ActiveRecord models, you need to have ActiveRecord 5.0 or later. +You need to use ruby 3.0 or later. If you generate CSV from ActiveRecord models, you need to have ActiveRecord 6.0 or later. ### Installing @@ -17,7 +17,7 @@ Comma is distributed as a gem, best installed via Bundler. Include the gem in your Gemfile: ```ruby -gem 'comma', '~> 4.7.0' +gem 'comma', '~> 4.8.0' ``` Or, if you want to live life on the edge, you can get master from the main comma repository: diff --git a/gemfiles/active6.0.3.6.gemfile b/gemfiles/active6.0.3.6.gemfile deleted file mode 100644 index 7a7eb43..0000000 --- a/gemfiles/active6.0.3.6.gemfile +++ /dev/null @@ -1,12 +0,0 @@ -# This file was generated by Appraisal - -source "https://rubygems.org" - -gem "coveralls", :require => false -gem "rubocop", "~> 1.0.0", :require => false -gem "rubocop-performance", :require => false -gem "sqlite3" -gem "activesupport", "6.0.3.6" -gem "activerecord", "6.0.3.6" - -gemspec :path => "../" diff --git a/gemfiles/active5.2.5.gemfile b/gemfiles/active6.0.6.gemfile similarity index 64% rename from gemfiles/active5.2.5.gemfile rename to gemfiles/active6.0.6.gemfile index 8b0e4b7..2801a3b 100644 --- a/gemfiles/active5.2.5.gemfile +++ b/gemfiles/active6.0.6.gemfile @@ -3,10 +3,10 @@ source "https://rubygems.org" gem "coveralls", :require => false -gem "rubocop", "~> 1.0.0", :require => false +gem "rubocop", "~> 1.30.0", :require => false gem "rubocop-performance", :require => false gem "sqlite3" -gem "activesupport", "5.2.5" -gem "activerecord", "5.2.5" +gem "activesupport", "6.0.6" +gem "activerecord", "6.0.6" gemspec :path => "../" diff --git a/gemfiles/active6.0.3.6.gemfile.lock b/gemfiles/active6.0.6.gemfile.lock similarity index 63% rename from gemfiles/active6.0.3.6.gemfile.lock rename to gemfiles/active6.0.6.gemfile.lock index 631153a..189233e 100644 --- a/gemfiles/active6.0.3.6.gemfile.lock +++ b/gemfiles/active6.0.6.gemfile.lock @@ -1,18 +1,18 @@ PATH remote: .. specs: - comma (4.7.0) + comma (4.8.0) activesupport (>= 4.2.0) GEM remote: https://rubygems.org/ specs: - activemodel (6.0.3.6) - activesupport (= 6.0.3.6) - activerecord (6.0.3.6) - activemodel (= 6.0.3.6) - activesupport (= 6.0.3.6) - activesupport (6.0.3.6) + activemodel (6.0.6) + activesupport (= 6.0.6) + activerecord (6.0.6) + activemodel (= 6.0.6) + activesupport (= 6.0.6) + activesupport (6.0.6) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 0.7, < 2) minitest (~> 5.1) @@ -23,31 +23,34 @@ GEM rake thor (>= 0.14.0) ast (2.4.2) - concurrent-ruby (1.1.9) + concurrent-ruby (1.2.3) coveralls (0.8.23) json (>= 1.8, < 3) simplecov (~> 0.16.1) term-ansicolor (~> 1.3) thor (>= 0.19.4, < 2.0) tins (~> 1.6) - diff-lcs (1.4.4) + diff-lcs (1.5.0) docile (1.4.0) - i18n (1.8.11) + i18n (1.14.1) concurrent-ruby (~> 1.0) - json (2.6.1) + json (2.7.1) + mini_portile2 (2.8.5) minitest (5.14.4) - parallel (1.22.1) - parser (3.1.2.0) + parallel (1.24.0) + parser (3.3.0.4) ast (~> 2.4.1) + racc + racc (1.7.3) rainbow (3.1.1) rake (13.0.6) - regexp_parser (2.5.0) - rexml (3.2.5) + regexp_parser (2.9.0) + rexml (3.2.6) rspec (3.5.0) rspec-core (~> 3.5.0) rspec-expectations (~> 3.5.0) rspec-mocks (~> 3.5.0) - rspec-activemodel-mocks (1.1.0) + rspec-activemodel-mocks (1.2.0) activemodel (>= 3.0) activesupport (>= 3.0) rspec-mocks (>= 2.99, < 4.0) @@ -63,45 +66,46 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.5.0) rspec-support (3.5.0) - rubocop (1.0.0) + rubocop (1.30.1) parallel (~> 1.10) - parser (>= 2.7.1.5) + parser (>= 3.1.0.0) rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8) - rexml - rubocop-ast (>= 0.6.0) + regexp_parser (>= 1.8, < 3.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.18.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 2.0) - rubocop-ast (1.17.0) - parser (>= 3.1.1.0) - rubocop-performance (1.10.2) - rubocop (>= 0.90.0, < 2.0) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.30.0) + parser (>= 3.2.1.0) + rubocop-performance (1.19.1) + rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) - ruby-progressbar (1.11.0) + ruby-progressbar (1.13.0) simplecov (0.16.1) docile (~> 1.1) json (>= 1.8, < 3) simplecov-html (~> 0.10.0) simplecov-html (0.10.2) - sqlite3 (1.4.2) + sqlite3 (1.7.0) + mini_portile2 (~> 2.8.0) sync (0.5.0) term-ansicolor (1.7.1) tins (~> 1.0) - thor (1.1.0) + thor (1.3.0) thread_safe (0.3.6) - tins (1.29.1) + tins (1.32.1) sync - tzinfo (1.2.9) + tzinfo (1.2.11) thread_safe (~> 0.1) - unicode-display_width (1.8.0) - zeitwerk (2.5.1) + unicode-display_width (2.5.0) + zeitwerk (2.6.12) PLATFORMS ruby DEPENDENCIES - activerecord (= 6.0.3.6) - activesupport (= 6.0.3.6) + activerecord (= 6.0.6) + activesupport (= 6.0.6) appraisal (~> 1.0.0) comma! coveralls @@ -110,9 +114,9 @@ DEPENDENCIES rspec (~> 3.5.0) rspec-activemodel-mocks rspec-its - rubocop (~> 1.0.0) + rubocop (~> 1.30.0) rubocop-performance sqlite3 BUNDLED WITH - 2.1.4 + 2.5.5 diff --git a/gemfiles/active6.1.3.1.gemfile b/gemfiles/active6.1.7.6.gemfile similarity index 63% rename from gemfiles/active6.1.3.1.gemfile rename to gemfiles/active6.1.7.6.gemfile index b961abe..68ee3c0 100644 --- a/gemfiles/active6.1.3.1.gemfile +++ b/gemfiles/active6.1.7.6.gemfile @@ -3,10 +3,10 @@ source "https://rubygems.org" gem "coveralls", :require => false -gem "rubocop", "~> 1.0.0", :require => false +gem "rubocop", "~> 1.30.0", :require => false gem "rubocop-performance", :require => false gem "sqlite3" -gem "activesupport", "6.1.3.1" -gem "activerecord", "6.1.3.1" +gem "activesupport", "6.1.7.6" +gem "activerecord", "6.1.7.6" gemspec :path => "../" diff --git a/gemfiles/active7.0.0.gemfile.lock b/gemfiles/active6.1.7.6.gemfile.lock similarity index 61% rename from gemfiles/active7.0.0.gemfile.lock rename to gemfiles/active6.1.7.6.gemfile.lock index ba5d9c0..74b28c5 100644 --- a/gemfiles/active7.0.0.gemfile.lock +++ b/gemfiles/active6.1.7.6.gemfile.lock @@ -1,52 +1,56 @@ PATH remote: .. specs: - comma (4.7.0) + comma (4.8.0) activesupport (>= 4.2.0) GEM remote: https://rubygems.org/ specs: - activemodel (7.0.0) - activesupport (= 7.0.0) - activerecord (7.0.0) - activemodel (= 7.0.0) - activesupport (= 7.0.0) - activesupport (7.0.0) + activemodel (6.1.7.6) + activesupport (= 6.1.7.6) + activerecord (6.1.7.6) + activemodel (= 6.1.7.6) + activesupport (= 6.1.7.6) + activesupport (6.1.7.6) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) + zeitwerk (~> 2.3) appraisal (1.0.3) bundler rake thor (>= 0.14.0) ast (2.4.2) - concurrent-ruby (1.1.9) + concurrent-ruby (1.2.3) coveralls (0.8.23) json (>= 1.8, < 3) simplecov (~> 0.16.1) term-ansicolor (~> 1.3) thor (>= 0.19.4, < 2.0) tins (~> 1.6) - diff-lcs (1.4.4) + diff-lcs (1.5.0) docile (1.4.0) - i18n (1.8.11) + i18n (1.14.1) concurrent-ruby (~> 1.0) - json (2.6.1) + json (2.7.1) + mini_portile2 (2.8.5) minitest (5.14.4) - parallel (1.22.1) - parser (3.1.2.0) + parallel (1.24.0) + parser (3.3.0.4) ast (~> 2.4.1) + racc + racc (1.7.3) rainbow (3.1.1) rake (13.0.6) - regexp_parser (2.5.0) - rexml (3.2.5) + regexp_parser (2.9.0) + rexml (3.2.6) rspec (3.5.0) rspec-core (~> 3.5.0) rspec-expectations (~> 3.5.0) rspec-mocks (~> 3.5.0) - rspec-activemodel-mocks (1.1.0) + rspec-activemodel-mocks (1.2.0) activemodel (>= 3.0) activesupport (>= 3.0) rspec-mocks (>= 2.99, < 4.0) @@ -62,43 +66,45 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.5.0) rspec-support (3.5.0) - rubocop (1.0.0) + rubocop (1.30.1) parallel (~> 1.10) - parser (>= 2.7.1.5) + parser (>= 3.1.0.0) rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8) - rexml - rubocop-ast (>= 0.6.0) + regexp_parser (>= 1.8, < 3.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.18.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 2.0) - rubocop-ast (1.19.1) - parser (>= 3.1.1.0) - rubocop-performance (1.10.2) - rubocop (>= 0.90.0, < 2.0) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.30.0) + parser (>= 3.2.1.0) + rubocop-performance (1.19.1) + rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) - ruby-progressbar (1.11.0) + ruby-progressbar (1.13.0) simplecov (0.16.1) docile (~> 1.1) json (>= 1.8, < 3) simplecov-html (~> 0.10.0) simplecov-html (0.10.2) - sqlite3 (1.4.2) + sqlite3 (1.7.0) + mini_portile2 (~> 2.8.0) sync (0.5.0) term-ansicolor (1.7.1) tins (~> 1.0) - thor (1.1.0) - tins (1.29.1) + thor (1.3.0) + tins (1.32.1) sync - tzinfo (2.0.4) + tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unicode-display_width (1.8.0) + unicode-display_width (2.5.0) + zeitwerk (2.6.12) PLATFORMS ruby DEPENDENCIES - activerecord (= 7.0.0) - activesupport (= 7.0.0) + activerecord (= 6.1.7.6) + activesupport (= 6.1.7.6) appraisal (~> 1.0.0) comma! coveralls @@ -107,9 +113,9 @@ DEPENDENCIES rspec (~> 3.5.0) rspec-activemodel-mocks rspec-its - rubocop (~> 1.0.0) + rubocop (~> 1.30.0) rubocop-performance sqlite3 BUNDLED WITH - 2.1.4 + 2.5.5 diff --git a/gemfiles/active7.0.8.gemfile b/gemfiles/active7.0.8.gemfile new file mode 100644 index 0000000..5f1b975 --- /dev/null +++ b/gemfiles/active7.0.8.gemfile @@ -0,0 +1,12 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "coveralls", :require => false +gem "rubocop", "~> 1.30.0", :require => false +gem "rubocop-performance", :require => false +gem "sqlite3" +gem "activesupport", "7.0.8" +gem "activerecord", "7.0.8" + +gemspec :path => "../" diff --git a/gemfiles/active6.1.3.1.gemfile.lock b/gemfiles/active7.0.8.gemfile.lock similarity index 63% rename from gemfiles/active6.1.3.1.gemfile.lock rename to gemfiles/active7.0.8.gemfile.lock index 0742f33..b68fb50 100644 --- a/gemfiles/active6.1.3.1.gemfile.lock +++ b/gemfiles/active7.0.8.gemfile.lock @@ -1,53 +1,55 @@ PATH remote: .. specs: - comma (4.7.0) + comma (4.8.0) activesupport (>= 4.2.0) GEM remote: https://rubygems.org/ specs: - activemodel (6.1.3.1) - activesupport (= 6.1.3.1) - activerecord (6.1.3.1) - activemodel (= 6.1.3.1) - activesupport (= 6.1.3.1) - activesupport (6.1.3.1) + activemodel (7.0.8) + activesupport (= 7.0.8) + activerecord (7.0.8) + activemodel (= 7.0.8) + activesupport (= 7.0.8) + activesupport (7.0.8) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) - zeitwerk (~> 2.3) appraisal (1.0.3) bundler rake thor (>= 0.14.0) ast (2.4.2) - concurrent-ruby (1.1.9) + concurrent-ruby (1.2.3) coveralls (0.8.23) json (>= 1.8, < 3) simplecov (~> 0.16.1) term-ansicolor (~> 1.3) thor (>= 0.19.4, < 2.0) tins (~> 1.6) - diff-lcs (1.4.4) + diff-lcs (1.5.0) docile (1.4.0) - i18n (1.8.11) + i18n (1.14.1) concurrent-ruby (~> 1.0) - json (2.6.1) + json (2.7.1) + mini_portile2 (2.8.5) minitest (5.14.4) - parallel (1.22.1) - parser (3.1.2.0) + parallel (1.24.0) + parser (3.3.0.4) ast (~> 2.4.1) + racc + racc (1.7.3) rainbow (3.1.1) rake (13.0.6) - regexp_parser (2.5.0) - rexml (3.2.5) + regexp_parser (2.9.0) + rexml (3.2.6) rspec (3.5.0) rspec-core (~> 3.5.0) rspec-expectations (~> 3.5.0) rspec-mocks (~> 3.5.0) - rspec-activemodel-mocks (1.1.0) + rspec-activemodel-mocks (1.2.0) activemodel (>= 3.0) activesupport (>= 3.0) rspec-mocks (>= 2.99, < 4.0) @@ -63,44 +65,44 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.5.0) rspec-support (3.5.0) - rubocop (1.0.0) + rubocop (1.30.1) parallel (~> 1.10) - parser (>= 2.7.1.5) + parser (>= 3.1.0.0) rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8) - rexml - rubocop-ast (>= 0.6.0) + regexp_parser (>= 1.8, < 3.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.18.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 2.0) - rubocop-ast (1.17.0) - parser (>= 3.1.1.0) - rubocop-performance (1.10.2) - rubocop (>= 0.90.0, < 2.0) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.30.0) + parser (>= 3.2.1.0) + rubocop-performance (1.19.1) + rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) - ruby-progressbar (1.11.0) + ruby-progressbar (1.13.0) simplecov (0.16.1) docile (~> 1.1) json (>= 1.8, < 3) simplecov-html (~> 0.10.0) simplecov-html (0.10.2) - sqlite3 (1.4.2) + sqlite3 (1.7.0) + mini_portile2 (~> 2.8.0) sync (0.5.0) term-ansicolor (1.7.1) tins (~> 1.0) - thor (1.1.0) - tins (1.29.1) + thor (1.3.0) + tins (1.32.1) sync - tzinfo (2.0.4) + tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unicode-display_width (1.8.0) - zeitwerk (2.5.1) + unicode-display_width (2.5.0) PLATFORMS ruby DEPENDENCIES - activerecord (= 6.1.3.1) - activesupport (= 6.1.3.1) + activerecord (= 7.0.8) + activesupport (= 7.0.8) appraisal (~> 1.0.0) comma! coveralls @@ -109,9 +111,9 @@ DEPENDENCIES rspec (~> 3.5.0) rspec-activemodel-mocks rspec-its - rubocop (~> 1.0.0) + rubocop (~> 1.30.0) rubocop-performance sqlite3 BUNDLED WITH - 2.1.4 + 2.5.5 diff --git a/gemfiles/active7.1.3.gemfile b/gemfiles/active7.1.3.gemfile new file mode 100644 index 0000000..43f8f88 --- /dev/null +++ b/gemfiles/active7.1.3.gemfile @@ -0,0 +1,12 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "coveralls", :require => false +gem "rubocop", "~> 1.30.0", :require => false +gem "rubocop-performance", :require => false +gem "sqlite3" +gem "activesupport", "7.1.3" +gem "activerecord", "7.1.3" + +gemspec :path => "../" diff --git a/gemfiles/active5.2.5.gemfile.lock b/gemfiles/active7.1.3.gemfile.lock similarity index 53% rename from gemfiles/active5.2.5.gemfile.lock rename to gemfiles/active7.1.3.gemfile.lock index bfc0f66..21b0fe3 100644 --- a/gemfiles/active5.2.5.gemfile.lock +++ b/gemfiles/active7.1.3.gemfile.lock @@ -1,54 +1,67 @@ PATH remote: .. specs: - comma (4.7.0) + comma (4.8.0) activesupport (>= 4.2.0) GEM remote: https://rubygems.org/ specs: - activemodel (5.2.5) - activesupport (= 5.2.5) - activerecord (5.2.5) - activemodel (= 5.2.5) - activesupport (= 5.2.5) - arel (>= 9.0) - activesupport (5.2.5) + activemodel (7.1.3) + activesupport (= 7.1.3) + activerecord (7.1.3) + activemodel (= 7.1.3) + activesupport (= 7.1.3) + timeout (>= 0.4.0) + activesupport (7.1.3) + base64 + bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 0.7, < 2) - minitest (~> 5.1) - tzinfo (~> 1.1) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + minitest (>= 5.1) + mutex_m + tzinfo (~> 2.0) appraisal (1.0.3) bundler rake thor (>= 0.14.0) - arel (9.0.0) ast (2.4.2) - concurrent-ruby (1.1.9) + base64 (0.2.0) + bigdecimal (3.1.6) + concurrent-ruby (1.2.3) + connection_pool (2.4.1) coveralls (0.8.23) json (>= 1.8, < 3) simplecov (~> 0.16.1) term-ansicolor (~> 1.3) thor (>= 0.19.4, < 2.0) tins (~> 1.6) - diff-lcs (1.4.4) + diff-lcs (1.5.0) docile (1.4.0) - i18n (1.8.11) + drb (2.2.0) + ruby2_keywords + i18n (1.14.1) concurrent-ruby (~> 1.0) - json (2.6.1) + json (2.7.1) + mini_portile2 (2.8.5) minitest (5.14.4) - parallel (1.22.1) - parser (3.1.2.0) + mutex_m (0.2.0) + parallel (1.24.0) + parser (3.3.0.4) ast (~> 2.4.1) + racc + racc (1.7.3) rainbow (3.1.1) rake (13.0.6) - regexp_parser (2.5.0) - rexml (3.2.5) + regexp_parser (2.9.0) + rexml (3.2.6) rspec (3.5.0) rspec-core (~> 3.5.0) rspec-expectations (~> 3.5.0) rspec-mocks (~> 3.5.0) - rspec-activemodel-mocks (1.1.0) + rspec-activemodel-mocks (1.2.0) activemodel (>= 3.0) activesupport (>= 3.0) rspec-mocks (>= 2.99, < 4.0) @@ -64,44 +77,46 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.5.0) rspec-support (3.5.0) - rubocop (1.0.0) + rubocop (1.30.1) parallel (~> 1.10) - parser (>= 2.7.1.5) + parser (>= 3.1.0.0) rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8) - rexml - rubocop-ast (>= 0.6.0) + regexp_parser (>= 1.8, < 3.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.18.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 2.0) - rubocop-ast (1.17.0) - parser (>= 3.1.1.0) - rubocop-performance (1.10.2) - rubocop (>= 0.90.0, < 2.0) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.30.0) + parser (>= 3.2.1.0) + rubocop-performance (1.19.1) + rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) - ruby-progressbar (1.11.0) + ruby-progressbar (1.13.0) + ruby2_keywords (0.0.5) simplecov (0.16.1) docile (~> 1.1) json (>= 1.8, < 3) simplecov-html (~> 0.10.0) simplecov-html (0.10.2) - sqlite3 (1.4.2) + sqlite3 (1.7.0) + mini_portile2 (~> 2.8.0) sync (0.5.0) term-ansicolor (1.7.1) tins (~> 1.0) - thor (1.1.0) - thread_safe (0.3.6) - tins (1.29.1) + thor (1.3.0) + timeout (0.4.1) + tins (1.32.1) sync - tzinfo (1.2.9) - thread_safe (~> 0.1) - unicode-display_width (1.8.0) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicode-display_width (2.5.0) PLATFORMS ruby DEPENDENCIES - activerecord (= 5.2.5) - activesupport (= 5.2.5) + activerecord (= 7.1.3) + activesupport (= 7.1.3) appraisal (~> 1.0.0) comma! coveralls @@ -110,9 +125,9 @@ DEPENDENCIES rspec (~> 3.5.0) rspec-activemodel-mocks rspec-its - rubocop (~> 1.0.0) + rubocop (~> 1.30.0) rubocop-performance sqlite3 BUNDLED WITH - 2.1.4 + 2.5.5 diff --git a/gemfiles/rails5.2.5.gemfile b/gemfiles/rails5.2.5.gemfile deleted file mode 100644 index 8ef32ee..0000000 --- a/gemfiles/rails5.2.5.gemfile +++ /dev/null @@ -1,14 +0,0 @@ -# This file was generated by Appraisal - -source "https://rubygems.org" - -gem "coveralls", :require => false -gem "rubocop", "~> 1.0.0", :require => false -gem "rubocop-performance", :require => false -gem "sqlite3", "~> 1.3.11" -gem "rails", "5.2.5" -gem "rspec-rails" -gem "sprockets", "< 4" -gem "test-unit" - -gemspec :path => "../" diff --git a/gemfiles/rails5.2.5.gemfile.lock b/gemfiles/rails5.2.5.gemfile.lock deleted file mode 100644 index da6425b..0000000 --- a/gemfiles/rails5.2.5.gemfile.lock +++ /dev/null @@ -1,217 +0,0 @@ -PATH - remote: .. - specs: - comma (4.7.0) - activesupport (>= 4.2.0) - -GEM - remote: https://rubygems.org/ - specs: - actioncable (5.2.5) - actionpack (= 5.2.5) - nio4r (~> 2.0) - websocket-driver (>= 0.6.1) - actionmailer (5.2.5) - actionpack (= 5.2.5) - actionview (= 5.2.5) - activejob (= 5.2.5) - mail (~> 2.5, >= 2.5.4) - rails-dom-testing (~> 2.0) - actionpack (5.2.5) - actionview (= 5.2.5) - activesupport (= 5.2.5) - 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.5) - activesupport (= 5.2.5) - builder (~> 3.1) - erubi (~> 1.4) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.0, >= 1.0.3) - activejob (5.2.5) - activesupport (= 5.2.5) - globalid (>= 0.3.6) - activemodel (5.2.5) - activesupport (= 5.2.5) - activerecord (5.2.5) - activemodel (= 5.2.5) - activesupport (= 5.2.5) - arel (>= 9.0) - activestorage (5.2.5) - actionpack (= 5.2.5) - activerecord (= 5.2.5) - marcel (~> 1.0.0) - activesupport (5.2.5) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 0.7, < 2) - minitest (~> 5.1) - tzinfo (~> 1.1) - appraisal (1.0.3) - bundler - rake - thor (>= 0.14.0) - arel (9.0.0) - ast (2.4.2) - builder (3.2.4) - concurrent-ruby (1.1.9) - coveralls (0.8.23) - json (>= 1.8, < 3) - simplecov (~> 0.16.1) - term-ansicolor (~> 1.3) - thor (>= 0.19.4, < 2.0) - tins (~> 1.6) - crass (1.0.6) - diff-lcs (1.4.4) - docile (1.4.0) - erubi (1.10.0) - globalid (0.5.2) - activesupport (>= 5.0) - i18n (1.8.11) - concurrent-ruby (~> 1.0) - json (2.6.1) - loofah (2.12.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.6.1) - minitest (5.14.4) - nio4r (2.5.8) - nokogiri (1.12.5) - mini_portile2 (~> 2.6.1) - racc (~> 1.4) - parallel (1.22.1) - parser (3.1.2.0) - ast (~> 2.4.1) - power_assert (2.0.1) - racc (1.6.0) - rack (2.2.3) - rack-test (1.1.0) - rack (>= 1.0, < 3) - rails (5.2.5) - actioncable (= 5.2.5) - actionmailer (= 5.2.5) - actionpack (= 5.2.5) - actionview (= 5.2.5) - activejob (= 5.2.5) - activemodel (= 5.2.5) - activerecord (= 5.2.5) - activestorage (= 5.2.5) - activesupport (= 5.2.5) - bundler (>= 1.3.0) - railties (= 5.2.5) - sprockets-rails (>= 2.0.0) - rails-dom-testing (2.0.3) - activesupport (>= 4.2.0) - nokogiri (>= 1.6) - rails-html-sanitizer (1.4.2) - loofah (~> 2.3) - railties (5.2.5) - actionpack (= 5.2.5) - activesupport (= 5.2.5) - method_source - rake (>= 0.8.7) - thor (>= 0.19.0, < 2.0) - rainbow (3.1.1) - rake (13.0.6) - regexp_parser (2.5.0) - rexml (3.2.5) - rspec (3.5.0) - rspec-core (~> 3.5.0) - rspec-expectations (~> 3.5.0) - rspec-mocks (~> 3.5.0) - rspec-activemodel-mocks (1.1.0) - activemodel (>= 3.0) - activesupport (>= 3.0) - rspec-mocks (>= 2.99, < 4.0) - rspec-core (3.5.4) - rspec-support (~> 3.5.0) - rspec-expectations (3.5.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) - rspec-its (1.3.0) - rspec-core (>= 3.0.0) - rspec-expectations (>= 3.0.0) - rspec-mocks (3.5.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) - rspec-rails (3.5.2) - actionpack (>= 3.0) - activesupport (>= 3.0) - railties (>= 3.0) - rspec-core (~> 3.5.0) - rspec-expectations (~> 3.5.0) - rspec-mocks (~> 3.5.0) - rspec-support (~> 3.5.0) - rspec-support (3.5.0) - rubocop (1.0.0) - parallel (~> 1.10) - parser (>= 2.7.1.5) - rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8) - rexml - rubocop-ast (>= 0.6.0) - ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 2.0) - rubocop-ast (1.17.0) - parser (>= 3.1.1.0) - rubocop-performance (1.10.2) - rubocop (>= 0.90.0, < 2.0) - rubocop-ast (>= 0.4.0) - ruby-progressbar (1.11.0) - simplecov (0.16.1) - docile (~> 1.1) - json (>= 1.8, < 3) - simplecov-html (~> 0.10.0) - simplecov-html (0.10.2) - sprockets (3.7.2) - concurrent-ruby (~> 1.0) - rack (> 1, < 3) - sprockets-rails (3.2.2) - actionpack (>= 4.0) - activesupport (>= 4.0) - sprockets (>= 3.0.0) - sqlite3 (1.3.13) - sync (0.5.0) - term-ansicolor (1.7.1) - tins (~> 1.0) - test-unit (3.5.1) - power_assert - thor (1.1.0) - thread_safe (0.3.6) - tins (1.29.1) - sync - tzinfo (1.2.9) - thread_safe (~> 0.1) - unicode-display_width (1.8.0) - websocket-driver (0.7.5) - websocket-extensions (>= 0.1.0) - websocket-extensions (0.1.5) - -PLATFORMS - ruby - -DEPENDENCIES - appraisal (~> 1.0.0) - comma! - coveralls - minitest (= 5.14.4) - rails (= 5.2.5) - rake (~> 13.0.1) - rspec (~> 3.5.0) - rspec-activemodel-mocks - rspec-its - rspec-rails - rubocop (~> 1.0.0) - rubocop-performance - sprockets (< 4) - sqlite3 (~> 1.3.11) - test-unit - -BUNDLED WITH - 2.1.4 diff --git a/gemfiles/rails6.0.3.6.gemfile.lock b/gemfiles/rails6.0.3.6.gemfile.lock deleted file mode 100644 index fe1ca0f..0000000 --- a/gemfiles/rails6.0.3.6.gemfile.lock +++ /dev/null @@ -1,232 +0,0 @@ -PATH - remote: .. - specs: - comma (4.7.0) - activesupport (>= 4.2.0) - -GEM - remote: https://rubygems.org/ - specs: - actioncable (6.0.3.6) - actionpack (= 6.0.3.6) - nio4r (~> 2.0) - websocket-driver (>= 0.6.1) - actionmailbox (6.0.3.6) - actionpack (= 6.0.3.6) - activejob (= 6.0.3.6) - activerecord (= 6.0.3.6) - activestorage (= 6.0.3.6) - activesupport (= 6.0.3.6) - mail (>= 2.7.1) - actionmailer (6.0.3.6) - actionpack (= 6.0.3.6) - actionview (= 6.0.3.6) - activejob (= 6.0.3.6) - mail (~> 2.5, >= 2.5.4) - rails-dom-testing (~> 2.0) - actionpack (6.0.3.6) - actionview (= 6.0.3.6) - activesupport (= 6.0.3.6) - 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.6) - actionpack (= 6.0.3.6) - activerecord (= 6.0.3.6) - activestorage (= 6.0.3.6) - activesupport (= 6.0.3.6) - nokogiri (>= 1.8.5) - actionview (6.0.3.6) - activesupport (= 6.0.3.6) - builder (~> 3.1) - erubi (~> 1.4) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.1, >= 1.2.0) - activejob (6.0.3.6) - activesupport (= 6.0.3.6) - globalid (>= 0.3.6) - activemodel (6.0.3.6) - activesupport (= 6.0.3.6) - activerecord (6.0.3.6) - activemodel (= 6.0.3.6) - activesupport (= 6.0.3.6) - activestorage (6.0.3.6) - actionpack (= 6.0.3.6) - activejob (= 6.0.3.6) - activerecord (= 6.0.3.6) - marcel (~> 1.0.0) - activesupport (6.0.3.6) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 0.7, < 2) - minitest (~> 5.1) - tzinfo (~> 1.1) - zeitwerk (~> 2.2, >= 2.2.2) - appraisal (1.0.3) - bundler - rake - thor (>= 0.14.0) - ast (2.4.2) - builder (3.2.4) - concurrent-ruby (1.1.9) - coveralls (0.8.23) - json (>= 1.8, < 3) - simplecov (~> 0.16.1) - term-ansicolor (~> 1.3) - thor (>= 0.19.4, < 2.0) - tins (~> 1.6) - crass (1.0.6) - diff-lcs (1.4.4) - docile (1.4.0) - erubi (1.10.0) - globalid (0.5.2) - activesupport (>= 5.0) - i18n (1.8.11) - concurrent-ruby (~> 1.0) - json (2.6.1) - loofah (2.12.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.6.1) - minitest (5.14.4) - nio4r (2.5.8) - nokogiri (1.12.5) - mini_portile2 (~> 2.6.1) - racc (~> 1.4) - parallel (1.22.1) - parser (3.1.2.0) - ast (~> 2.4.1) - power_assert (2.0.1) - racc (1.6.0) - rack (2.2.3) - rack-test (1.1.0) - rack (>= 1.0, < 3) - rails (6.0.3.6) - actioncable (= 6.0.3.6) - actionmailbox (= 6.0.3.6) - actionmailer (= 6.0.3.6) - actionpack (= 6.0.3.6) - actiontext (= 6.0.3.6) - actionview (= 6.0.3.6) - activejob (= 6.0.3.6) - activemodel (= 6.0.3.6) - activerecord (= 6.0.3.6) - activestorage (= 6.0.3.6) - activesupport (= 6.0.3.6) - bundler (>= 1.3.0) - railties (= 6.0.3.6) - sprockets-rails (>= 2.0.0) - rails-dom-testing (2.0.3) - activesupport (>= 4.2.0) - nokogiri (>= 1.6) - rails-html-sanitizer (1.4.2) - loofah (~> 2.3) - railties (6.0.3.6) - actionpack (= 6.0.3.6) - activesupport (= 6.0.3.6) - method_source - rake (>= 0.8.7) - thor (>= 0.20.3, < 2.0) - rainbow (3.1.1) - rake (13.0.6) - regexp_parser (2.5.0) - rexml (3.2.5) - rspec (3.5.0) - rspec-core (~> 3.5.0) - rspec-expectations (~> 3.5.0) - rspec-mocks (~> 3.5.0) - rspec-activemodel-mocks (1.1.0) - activemodel (>= 3.0) - activesupport (>= 3.0) - rspec-mocks (>= 2.99, < 4.0) - rspec-core (3.5.4) - rspec-support (~> 3.5.0) - rspec-expectations (3.5.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) - rspec-its (1.3.0) - rspec-core (>= 3.0.0) - rspec-expectations (>= 3.0.0) - rspec-mocks (3.5.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) - rspec-rails (3.5.2) - actionpack (>= 3.0) - activesupport (>= 3.0) - railties (>= 3.0) - rspec-core (~> 3.5.0) - rspec-expectations (~> 3.5.0) - rspec-mocks (~> 3.5.0) - rspec-support (~> 3.5.0) - rspec-support (3.5.0) - rubocop (1.0.0) - parallel (~> 1.10) - parser (>= 2.7.1.5) - rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8) - rexml - rubocop-ast (>= 0.6.0) - ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 2.0) - rubocop-ast (1.17.0) - parser (>= 3.1.1.0) - rubocop-performance (1.10.2) - rubocop (>= 0.90.0, < 2.0) - rubocop-ast (>= 0.4.0) - ruby-progressbar (1.11.0) - simplecov (0.16.1) - docile (~> 1.1) - json (>= 1.8, < 3) - simplecov-html (~> 0.10.0) - simplecov-html (0.10.2) - 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) - sqlite3 (1.4.2) - sync (0.5.0) - term-ansicolor (1.7.1) - tins (~> 1.0) - test-unit (3.5.1) - power_assert - thor (1.1.0) - thread_safe (0.3.6) - tins (1.29.1) - sync - tzinfo (1.2.9) - thread_safe (~> 0.1) - unicode-display_width (1.8.0) - websocket-driver (0.7.5) - websocket-extensions (>= 0.1.0) - websocket-extensions (0.1.5) - zeitwerk (2.5.1) - -PLATFORMS - ruby - -DEPENDENCIES - appraisal (~> 1.0.0) - comma! - coveralls - minitest (= 5.14.4) - rails (= 6.0.3.6) - rake (~> 13.0.1) - rspec (~> 3.5.0) - rspec-activemodel-mocks - rspec-its - rspec-rails - rubocop (~> 1.0.0) - rubocop-performance - sqlite3 - test-unit - -BUNDLED WITH - 2.1.4 diff --git a/gemfiles/rails6.1.3.1.gemfile b/gemfiles/rails6.0.6.gemfile similarity index 76% rename from gemfiles/rails6.1.3.1.gemfile rename to gemfiles/rails6.0.6.gemfile index ffcaa79..f042fbe 100644 --- a/gemfiles/rails6.1.3.1.gemfile +++ b/gemfiles/rails6.0.6.gemfile @@ -3,10 +3,10 @@ source "https://rubygems.org" gem "coveralls", :require => false -gem "rubocop", "~> 1.0.0", :require => false +gem "rubocop", "~> 1.30.0", :require => false gem "rubocop-performance", :require => false gem "sqlite3" -gem "rails", "6.1.3.1" +gem "rails", "6.0.6" gem "rspec-rails" gem "test-unit" diff --git a/gemfiles/rails6.0.6.gemfile.lock b/gemfiles/rails6.0.6.gemfile.lock new file mode 100644 index 0000000..07ae1d3 --- /dev/null +++ b/gemfiles/rails6.0.6.gemfile.lock @@ -0,0 +1,270 @@ +PATH + remote: .. + specs: + comma (4.8.0) + activesupport (>= 4.2.0) + +GEM + remote: https://rubygems.org/ + specs: + actioncable (6.0.6) + actionpack (= 6.0.6) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + actionmailbox (6.0.6) + actionpack (= 6.0.6) + activejob (= 6.0.6) + activerecord (= 6.0.6) + activestorage (= 6.0.6) + activesupport (= 6.0.6) + mail (>= 2.7.1) + actionmailer (6.0.6) + actionpack (= 6.0.6) + actionview (= 6.0.6) + activejob (= 6.0.6) + mail (~> 2.5, >= 2.5.4) + rails-dom-testing (~> 2.0) + actionpack (6.0.6) + actionview (= 6.0.6) + activesupport (= 6.0.6) + 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.6) + actionpack (= 6.0.6) + activerecord (= 6.0.6) + activestorage (= 6.0.6) + activesupport (= 6.0.6) + nokogiri (>= 1.8.5) + actionview (6.0.6) + activesupport (= 6.0.6) + builder (~> 3.1) + erubi (~> 1.4) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.1, >= 1.2.0) + activejob (6.0.6) + activesupport (= 6.0.6) + globalid (>= 0.3.6) + activemodel (6.0.6) + activesupport (= 6.0.6) + activerecord (6.0.6) + activemodel (= 6.0.6) + activesupport (= 6.0.6) + activestorage (6.0.6) + actionpack (= 6.0.6) + activejob (= 6.0.6) + activerecord (= 6.0.6) + marcel (~> 1.0) + activesupport (6.0.6) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 0.7, < 2) + minitest (~> 5.1) + tzinfo (~> 1.1) + zeitwerk (~> 2.2, >= 2.2.2) + appraisal (1.0.3) + bundler + rake + thor (>= 0.14.0) + ast (2.4.2) + builder (3.2.4) + concurrent-ruby (1.2.3) + coveralls (0.8.23) + json (>= 1.8, < 3) + simplecov (~> 0.16.1) + term-ansicolor (~> 1.3) + thor (>= 0.19.4, < 2.0) + tins (~> 1.6) + crass (1.0.6) + date (3.3.4) + diff-lcs (1.5.0) + docile (1.4.0) + erubi (1.12.0) + globalid (1.1.0) + activesupport (>= 5.0) + i18n (1.14.1) + concurrent-ruby (~> 1.0) + json (2.7.1) + loofah (2.22.0) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + mail (2.8.1) + mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp + marcel (1.0.2) + method_source (1.0.0) + mini_mime (1.1.5) + mini_portile2 (2.8.5) + minitest (5.14.4) + net-imap (0.4.9.1) + date + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.2.2) + timeout + net-smtp (0.4.0.1) + net-protocol + nio4r (2.7.0) + nokogiri (1.16.0) + mini_portile2 (~> 2.8.2) + racc (~> 1.4) + nokogiri (1.16.0-aarch64-linux) + racc (~> 1.4) + nokogiri (1.16.0-arm-linux) + racc (~> 1.4) + nokogiri (1.16.0-arm64-darwin) + racc (~> 1.4) + nokogiri (1.16.0-x86-linux) + racc (~> 1.4) + nokogiri (1.16.0-x86_64-linux) + racc (~> 1.4) + parallel (1.24.0) + parser (3.3.0.4) + ast (~> 2.4.1) + racc + power_assert (2.0.3) + racc (1.7.3) + rack (2.2.8) + rack-test (2.1.0) + rack (>= 1.3) + rails (6.0.6) + actioncable (= 6.0.6) + actionmailbox (= 6.0.6) + actionmailer (= 6.0.6) + actionpack (= 6.0.6) + actiontext (= 6.0.6) + actionview (= 6.0.6) + activejob (= 6.0.6) + activemodel (= 6.0.6) + activerecord (= 6.0.6) + activestorage (= 6.0.6) + activesupport (= 6.0.6) + bundler (>= 1.3.0) + railties (= 6.0.6) + sprockets-rails (>= 2.0.0) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + railties (6.0.6) + actionpack (= 6.0.6) + activesupport (= 6.0.6) + method_source + rake (>= 0.8.7) + thor (>= 0.20.3, < 2.0) + rainbow (3.1.1) + rake (13.0.6) + regexp_parser (2.9.0) + rexml (3.2.6) + rspec (3.5.0) + rspec-core (~> 3.5.0) + rspec-expectations (~> 3.5.0) + rspec-mocks (~> 3.5.0) + rspec-activemodel-mocks (1.2.0) + activemodel (>= 3.0) + activesupport (>= 3.0) + rspec-mocks (>= 2.99, < 4.0) + rspec-core (3.5.4) + rspec-support (~> 3.5.0) + rspec-expectations (3.5.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.5.0) + rspec-its (1.3.0) + rspec-core (>= 3.0.0) + rspec-expectations (>= 3.0.0) + rspec-mocks (3.5.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.5.0) + rspec-rails (3.5.2) + actionpack (>= 3.0) + activesupport (>= 3.0) + railties (>= 3.0) + rspec-core (~> 3.5.0) + rspec-expectations (~> 3.5.0) + rspec-mocks (~> 3.5.0) + rspec-support (~> 3.5.0) + rspec-support (3.5.0) + rubocop (1.30.1) + parallel (~> 1.10) + parser (>= 3.1.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.18.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.30.0) + parser (>= 3.2.1.0) + rubocop-performance (1.19.1) + rubocop (>= 1.7.0, < 2.0) + rubocop-ast (>= 0.4.0) + ruby-progressbar (1.13.0) + simplecov (0.16.1) + docile (~> 1.1) + json (>= 1.8, < 3) + simplecov-html (~> 0.10.0) + simplecov-html (0.10.2) + sprockets (4.2.1) + concurrent-ruby (~> 1.0) + rack (>= 2.2.4, < 4) + sprockets-rails (3.4.2) + actionpack (>= 5.2) + activesupport (>= 5.2) + sprockets (>= 3.0.0) + sqlite3 (1.7.0) + mini_portile2 (~> 2.8.0) + sqlite3 (1.7.0-aarch64-linux) + sqlite3 (1.7.0-arm-linux) + sqlite3 (1.7.0-arm64-darwin) + sqlite3 (1.7.0-x86-linux) + sqlite3 (1.7.0-x86_64-linux) + sync (0.5.0) + term-ansicolor (1.7.1) + tins (~> 1.0) + test-unit (3.6.1) + power_assert + thor (1.3.0) + thread_safe (0.3.6) + timeout (0.4.1) + tins (1.32.1) + sync + tzinfo (1.2.11) + thread_safe (~> 0.1) + unicode-display_width (2.5.0) + websocket-driver (0.7.6) + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + zeitwerk (2.6.12) + +PLATFORMS + aarch64-linux + arm-linux + arm64-darwin + ruby + x86-linux + x86_64-linux + +DEPENDENCIES + appraisal (~> 1.0.0) + comma! + coveralls + minitest (= 5.14.4) + rails (= 6.0.6) + rake (~> 13.0.1) + rspec (~> 3.5.0) + rspec-activemodel-mocks + rspec-its + rspec-rails + rubocop (~> 1.30.0) + rubocop-performance + sqlite3 + test-unit + +BUNDLED WITH + 2.5.5 diff --git a/gemfiles/rails6.1.3.1.gemfile.lock b/gemfiles/rails6.1.3.1.gemfile.lock deleted file mode 100644 index 7ae9ae8..0000000 --- a/gemfiles/rails6.1.3.1.gemfile.lock +++ /dev/null @@ -1,235 +0,0 @@ -PATH - remote: .. - specs: - comma (4.7.0) - activesupport (>= 4.2.0) - -GEM - remote: https://rubygems.org/ - specs: - actioncable (6.1.3.1) - actionpack (= 6.1.3.1) - activesupport (= 6.1.3.1) - nio4r (~> 2.0) - websocket-driver (>= 0.6.1) - actionmailbox (6.1.3.1) - actionpack (= 6.1.3.1) - activejob (= 6.1.3.1) - activerecord (= 6.1.3.1) - activestorage (= 6.1.3.1) - activesupport (= 6.1.3.1) - mail (>= 2.7.1) - actionmailer (6.1.3.1) - actionpack (= 6.1.3.1) - actionview (= 6.1.3.1) - activejob (= 6.1.3.1) - activesupport (= 6.1.3.1) - mail (~> 2.5, >= 2.5.4) - rails-dom-testing (~> 2.0) - actionpack (6.1.3.1) - actionview (= 6.1.3.1) - activesupport (= 6.1.3.1) - 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.3.1) - actionpack (= 6.1.3.1) - activerecord (= 6.1.3.1) - activestorage (= 6.1.3.1) - activesupport (= 6.1.3.1) - nokogiri (>= 1.8.5) - actionview (6.1.3.1) - activesupport (= 6.1.3.1) - builder (~> 3.1) - erubi (~> 1.4) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.1, >= 1.2.0) - activejob (6.1.3.1) - activesupport (= 6.1.3.1) - globalid (>= 0.3.6) - activemodel (6.1.3.1) - activesupport (= 6.1.3.1) - activerecord (6.1.3.1) - activemodel (= 6.1.3.1) - activesupport (= 6.1.3.1) - activestorage (6.1.3.1) - actionpack (= 6.1.3.1) - activejob (= 6.1.3.1) - activerecord (= 6.1.3.1) - activesupport (= 6.1.3.1) - marcel (~> 1.0.0) - mini_mime (~> 1.0.2) - activesupport (6.1.3.1) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 1.6, < 2) - minitest (>= 5.1) - tzinfo (~> 2.0) - zeitwerk (~> 2.3) - appraisal (1.0.3) - bundler - rake - thor (>= 0.14.0) - ast (2.4.2) - builder (3.2.4) - concurrent-ruby (1.1.9) - coveralls (0.8.23) - json (>= 1.8, < 3) - simplecov (~> 0.16.1) - term-ansicolor (~> 1.3) - thor (>= 0.19.4, < 2.0) - tins (~> 1.6) - crass (1.0.6) - diff-lcs (1.4.4) - docile (1.4.0) - erubi (1.10.0) - globalid (0.5.2) - activesupport (>= 5.0) - i18n (1.8.11) - concurrent-ruby (~> 1.0) - json (2.6.1) - loofah (2.12.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.0.3) - mini_portile2 (2.6.1) - minitest (5.14.4) - nio4r (2.5.8) - nokogiri (1.12.5) - mini_portile2 (~> 2.6.1) - racc (~> 1.4) - parallel (1.22.1) - parser (3.1.2.0) - ast (~> 2.4.1) - power_assert (2.0.1) - racc (1.6.0) - rack (2.2.3) - rack-test (1.1.0) - rack (>= 1.0, < 3) - rails (6.1.3.1) - actioncable (= 6.1.3.1) - actionmailbox (= 6.1.3.1) - actionmailer (= 6.1.3.1) - actionpack (= 6.1.3.1) - actiontext (= 6.1.3.1) - actionview (= 6.1.3.1) - activejob (= 6.1.3.1) - activemodel (= 6.1.3.1) - activerecord (= 6.1.3.1) - activestorage (= 6.1.3.1) - activesupport (= 6.1.3.1) - bundler (>= 1.15.0) - railties (= 6.1.3.1) - sprockets-rails (>= 2.0.0) - rails-dom-testing (2.0.3) - activesupport (>= 4.2.0) - nokogiri (>= 1.6) - rails-html-sanitizer (1.4.2) - loofah (~> 2.3) - railties (6.1.3.1) - actionpack (= 6.1.3.1) - activesupport (= 6.1.3.1) - method_source - rake (>= 0.8.7) - thor (~> 1.0) - rainbow (3.1.1) - rake (13.0.6) - regexp_parser (2.5.0) - rexml (3.2.5) - rspec (3.5.0) - rspec-core (~> 3.5.0) - rspec-expectations (~> 3.5.0) - rspec-mocks (~> 3.5.0) - rspec-activemodel-mocks (1.1.0) - activemodel (>= 3.0) - activesupport (>= 3.0) - rspec-mocks (>= 2.99, < 4.0) - rspec-core (3.5.4) - rspec-support (~> 3.5.0) - rspec-expectations (3.5.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) - rspec-its (1.3.0) - rspec-core (>= 3.0.0) - rspec-expectations (>= 3.0.0) - rspec-mocks (3.5.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) - rspec-rails (3.5.2) - actionpack (>= 3.0) - activesupport (>= 3.0) - railties (>= 3.0) - rspec-core (~> 3.5.0) - rspec-expectations (~> 3.5.0) - rspec-mocks (~> 3.5.0) - rspec-support (~> 3.5.0) - rspec-support (3.5.0) - rubocop (1.0.0) - parallel (~> 1.10) - parser (>= 2.7.1.5) - rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8) - rexml - rubocop-ast (>= 0.6.0) - ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 2.0) - rubocop-ast (1.17.0) - parser (>= 3.1.1.0) - rubocop-performance (1.10.2) - rubocop (>= 0.90.0, < 2.0) - rubocop-ast (>= 0.4.0) - ruby-progressbar (1.11.0) - simplecov (0.16.1) - docile (~> 1.1) - json (>= 1.8, < 3) - simplecov-html (~> 0.10.0) - simplecov-html (0.10.2) - 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) - sqlite3 (1.4.2) - sync (0.5.0) - term-ansicolor (1.7.1) - tins (~> 1.0) - test-unit (3.5.1) - power_assert - thor (1.1.0) - tins (1.29.1) - sync - tzinfo (2.0.4) - concurrent-ruby (~> 1.0) - unicode-display_width (1.8.0) - websocket-driver (0.7.5) - websocket-extensions (>= 0.1.0) - websocket-extensions (0.1.5) - zeitwerk (2.5.1) - -PLATFORMS - ruby - -DEPENDENCIES - appraisal (~> 1.0.0) - comma! - coveralls - minitest (= 5.14.4) - rails (= 6.1.3.1) - rake (~> 13.0.1) - rspec (~> 3.5.0) - rspec-activemodel-mocks - rspec-its - rspec-rails - rubocop (~> 1.0.0) - rubocop-performance - sqlite3 - test-unit - -BUNDLED WITH - 2.1.4 diff --git a/gemfiles/rails6.0.3.6.gemfile b/gemfiles/rails6.1.7.6.gemfile similarity index 76% rename from gemfiles/rails6.0.3.6.gemfile rename to gemfiles/rails6.1.7.6.gemfile index ef48e23..75c47ab 100644 --- a/gemfiles/rails6.0.3.6.gemfile +++ b/gemfiles/rails6.1.7.6.gemfile @@ -3,10 +3,10 @@ source "https://rubygems.org" gem "coveralls", :require => false -gem "rubocop", "~> 1.0.0", :require => false +gem "rubocop", "~> 1.30.0", :require => false gem "rubocop-performance", :require => false gem "sqlite3" -gem "rails", "6.0.3.6" +gem "rails", "6.1.7.6" gem "rspec-rails" gem "test-unit" diff --git a/gemfiles/rails6.1.7.6.gemfile.lock b/gemfiles/rails6.1.7.6.gemfile.lock new file mode 100644 index 0000000..966d77e --- /dev/null +++ b/gemfiles/rails6.1.7.6.gemfile.lock @@ -0,0 +1,273 @@ +PATH + remote: .. + specs: + comma (4.8.0) + activesupport (>= 4.2.0) + +GEM + remote: https://rubygems.org/ + specs: + actioncable (6.1.7.6) + actionpack (= 6.1.7.6) + activesupport (= 6.1.7.6) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + actionmailbox (6.1.7.6) + actionpack (= 6.1.7.6) + activejob (= 6.1.7.6) + activerecord (= 6.1.7.6) + activestorage (= 6.1.7.6) + activesupport (= 6.1.7.6) + mail (>= 2.7.1) + actionmailer (6.1.7.6) + actionpack (= 6.1.7.6) + actionview (= 6.1.7.6) + activejob (= 6.1.7.6) + activesupport (= 6.1.7.6) + mail (~> 2.5, >= 2.5.4) + rails-dom-testing (~> 2.0) + actionpack (6.1.7.6) + actionview (= 6.1.7.6) + activesupport (= 6.1.7.6) + 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.7.6) + actionpack (= 6.1.7.6) + activerecord (= 6.1.7.6) + activestorage (= 6.1.7.6) + activesupport (= 6.1.7.6) + nokogiri (>= 1.8.5) + actionview (6.1.7.6) + activesupport (= 6.1.7.6) + builder (~> 3.1) + erubi (~> 1.4) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.1, >= 1.2.0) + activejob (6.1.7.6) + activesupport (= 6.1.7.6) + globalid (>= 0.3.6) + activemodel (6.1.7.6) + activesupport (= 6.1.7.6) + activerecord (6.1.7.6) + activemodel (= 6.1.7.6) + activesupport (= 6.1.7.6) + activestorage (6.1.7.6) + actionpack (= 6.1.7.6) + activejob (= 6.1.7.6) + activerecord (= 6.1.7.6) + activesupport (= 6.1.7.6) + marcel (~> 1.0) + mini_mime (>= 1.1.0) + activesupport (6.1.7.6) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 1.6, < 2) + minitest (>= 5.1) + tzinfo (~> 2.0) + zeitwerk (~> 2.3) + appraisal (1.0.3) + bundler + rake + thor (>= 0.14.0) + ast (2.4.2) + builder (3.2.4) + concurrent-ruby (1.2.3) + coveralls (0.8.23) + json (>= 1.8, < 3) + simplecov (~> 0.16.1) + term-ansicolor (~> 1.3) + thor (>= 0.19.4, < 2.0) + tins (~> 1.6) + crass (1.0.6) + date (3.3.4) + diff-lcs (1.5.0) + docile (1.4.0) + erubi (1.12.0) + globalid (1.2.1) + activesupport (>= 6.1) + i18n (1.14.1) + concurrent-ruby (~> 1.0) + json (2.7.1) + loofah (2.22.0) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + mail (2.8.1) + mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp + marcel (1.0.2) + method_source (1.0.0) + mini_mime (1.1.5) + mini_portile2 (2.8.5) + minitest (5.14.4) + net-imap (0.4.9.1) + date + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.2.2) + timeout + net-smtp (0.4.0.1) + net-protocol + nio4r (2.7.0) + nokogiri (1.16.0) + mini_portile2 (~> 2.8.2) + racc (~> 1.4) + nokogiri (1.16.0-aarch64-linux) + racc (~> 1.4) + nokogiri (1.16.0-arm-linux) + racc (~> 1.4) + nokogiri (1.16.0-arm64-darwin) + racc (~> 1.4) + nokogiri (1.16.0-x86-linux) + racc (~> 1.4) + nokogiri (1.16.0-x86_64-linux) + racc (~> 1.4) + parallel (1.24.0) + parser (3.3.0.4) + ast (~> 2.4.1) + racc + power_assert (2.0.3) + racc (1.7.3) + rack (2.2.8) + rack-test (2.1.0) + rack (>= 1.3) + rails (6.1.7.6) + actioncable (= 6.1.7.6) + actionmailbox (= 6.1.7.6) + actionmailer (= 6.1.7.6) + actionpack (= 6.1.7.6) + actiontext (= 6.1.7.6) + actionview (= 6.1.7.6) + activejob (= 6.1.7.6) + activemodel (= 6.1.7.6) + activerecord (= 6.1.7.6) + activestorage (= 6.1.7.6) + activesupport (= 6.1.7.6) + bundler (>= 1.15.0) + railties (= 6.1.7.6) + sprockets-rails (>= 2.0.0) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + railties (6.1.7.6) + actionpack (= 6.1.7.6) + activesupport (= 6.1.7.6) + method_source + rake (>= 12.2) + thor (~> 1.0) + rainbow (3.1.1) + rake (13.0.6) + regexp_parser (2.9.0) + rexml (3.2.6) + rspec (3.5.0) + rspec-core (~> 3.5.0) + rspec-expectations (~> 3.5.0) + rspec-mocks (~> 3.5.0) + rspec-activemodel-mocks (1.2.0) + activemodel (>= 3.0) + activesupport (>= 3.0) + rspec-mocks (>= 2.99, < 4.0) + rspec-core (3.5.4) + rspec-support (~> 3.5.0) + rspec-expectations (3.5.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.5.0) + rspec-its (1.3.0) + rspec-core (>= 3.0.0) + rspec-expectations (>= 3.0.0) + rspec-mocks (3.5.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.5.0) + rspec-rails (3.5.2) + actionpack (>= 3.0) + activesupport (>= 3.0) + railties (>= 3.0) + rspec-core (~> 3.5.0) + rspec-expectations (~> 3.5.0) + rspec-mocks (~> 3.5.0) + rspec-support (~> 3.5.0) + rspec-support (3.5.0) + rubocop (1.30.1) + parallel (~> 1.10) + parser (>= 3.1.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.18.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.30.0) + parser (>= 3.2.1.0) + rubocop-performance (1.19.1) + rubocop (>= 1.7.0, < 2.0) + rubocop-ast (>= 0.4.0) + ruby-progressbar (1.13.0) + simplecov (0.16.1) + docile (~> 1.1) + json (>= 1.8, < 3) + simplecov-html (~> 0.10.0) + simplecov-html (0.10.2) + sprockets (4.2.1) + concurrent-ruby (~> 1.0) + rack (>= 2.2.4, < 4) + sprockets-rails (3.4.2) + actionpack (>= 5.2) + activesupport (>= 5.2) + sprockets (>= 3.0.0) + sqlite3 (1.7.0) + mini_portile2 (~> 2.8.0) + sqlite3 (1.7.0-aarch64-linux) + sqlite3 (1.7.0-arm-linux) + sqlite3 (1.7.0-arm64-darwin) + sqlite3 (1.7.0-x86-linux) + sqlite3 (1.7.0-x86_64-linux) + sync (0.5.0) + term-ansicolor (1.7.1) + tins (~> 1.0) + test-unit (3.6.1) + power_assert + thor (1.3.0) + timeout (0.4.1) + tins (1.32.1) + sync + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicode-display_width (2.5.0) + websocket-driver (0.7.6) + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + zeitwerk (2.6.12) + +PLATFORMS + aarch64-linux + arm-linux + arm64-darwin + ruby + x86-linux + x86_64-linux + +DEPENDENCIES + appraisal (~> 1.0.0) + comma! + coveralls + minitest (= 5.14.4) + rails (= 6.1.7.6) + rake (~> 13.0.1) + rspec (~> 3.5.0) + rspec-activemodel-mocks + rspec-its + rspec-rails + rubocop (~> 1.30.0) + rubocop-performance + sqlite3 + test-unit + +BUNDLED WITH + 2.5.5 diff --git a/gemfiles/rails7.0.0.gemfile.lock b/gemfiles/rails7.0.0.gemfile.lock deleted file mode 100644 index 6a44346..0000000 --- a/gemfiles/rails7.0.0.gemfile.lock +++ /dev/null @@ -1,224 +0,0 @@ -PATH - remote: .. - specs: - comma (4.7.0) - activesupport (>= 4.2.0) - -GEM - remote: https://rubygems.org/ - specs: - actioncable (7.0.0) - actionpack (= 7.0.0) - activesupport (= 7.0.0) - nio4r (~> 2.0) - websocket-driver (>= 0.6.1) - actionmailbox (7.0.0) - actionpack (= 7.0.0) - activejob (= 7.0.0) - activerecord (= 7.0.0) - activestorage (= 7.0.0) - activesupport (= 7.0.0) - mail (>= 2.7.1) - actionmailer (7.0.0) - actionpack (= 7.0.0) - actionview (= 7.0.0) - activejob (= 7.0.0) - activesupport (= 7.0.0) - mail (~> 2.5, >= 2.5.4) - rails-dom-testing (~> 2.0) - actionpack (7.0.0) - actionview (= 7.0.0) - activesupport (= 7.0.0) - 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.0) - actionpack (= 7.0.0) - activerecord (= 7.0.0) - activestorage (= 7.0.0) - activesupport (= 7.0.0) - globalid (>= 0.6.0) - nokogiri (>= 1.8.5) - actionview (7.0.0) - activesupport (= 7.0.0) - builder (~> 3.1) - erubi (~> 1.4) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.1, >= 1.2.0) - activejob (7.0.0) - activesupport (= 7.0.0) - globalid (>= 0.3.6) - activemodel (7.0.0) - activesupport (= 7.0.0) - activerecord (7.0.0) - activemodel (= 7.0.0) - activesupport (= 7.0.0) - activestorage (7.0.0) - actionpack (= 7.0.0) - activejob (= 7.0.0) - activerecord (= 7.0.0) - activesupport (= 7.0.0) - marcel (~> 1.0) - mini_mime (>= 1.1.0) - activesupport (7.0.0) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 1.6, < 2) - minitest (>= 5.1) - tzinfo (~> 2.0) - appraisal (1.0.3) - bundler - rake - thor (>= 0.14.0) - ast (2.4.2) - builder (3.2.4) - concurrent-ruby (1.1.9) - coveralls (0.8.23) - json (>= 1.8, < 3) - simplecov (~> 0.16.1) - term-ansicolor (~> 1.3) - thor (>= 0.19.4, < 2.0) - tins (~> 1.6) - crass (1.0.6) - diff-lcs (1.4.4) - docile (1.4.0) - erubi (1.10.0) - globalid (1.0.0) - activesupport (>= 5.0) - i18n (1.8.11) - concurrent-ruby (~> 1.0) - json (2.6.1) - loofah (2.13.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.6.1) - minitest (5.14.4) - nio4r (2.5.8) - nokogiri (1.12.5) - mini_portile2 (~> 2.6.1) - racc (~> 1.4) - parallel (1.22.1) - parser (3.1.2.0) - ast (~> 2.4.1) - racc (1.6.0) - rack (2.2.3) - rack-test (1.1.0) - rack (>= 1.0, < 3) - rails (7.0.0) - actioncable (= 7.0.0) - actionmailbox (= 7.0.0) - actionmailer (= 7.0.0) - actionpack (= 7.0.0) - actiontext (= 7.0.0) - actionview (= 7.0.0) - activejob (= 7.0.0) - activemodel (= 7.0.0) - activerecord (= 7.0.0) - activestorage (= 7.0.0) - activesupport (= 7.0.0) - bundler (>= 1.15.0) - railties (= 7.0.0) - rails-dom-testing (2.0.3) - activesupport (>= 4.2.0) - nokogiri (>= 1.6) - rails-html-sanitizer (1.4.2) - loofah (~> 2.3) - railties (7.0.0) - actionpack (= 7.0.0) - activesupport (= 7.0.0) - method_source - rake (>= 12.2) - thor (~> 1.0) - zeitwerk (~> 2.5) - rainbow (3.1.1) - rake (13.0.6) - regexp_parser (2.5.0) - rexml (3.2.5) - rspec (3.5.0) - rspec-core (~> 3.5.0) - rspec-expectations (~> 3.5.0) - rspec-mocks (~> 3.5.0) - rspec-activemodel-mocks (1.1.0) - activemodel (>= 3.0) - activesupport (>= 3.0) - rspec-mocks (>= 2.99, < 4.0) - rspec-core (3.5.4) - rspec-support (~> 3.5.0) - rspec-expectations (3.5.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) - rspec-its (1.3.0) - rspec-core (>= 3.0.0) - rspec-expectations (>= 3.0.0) - rspec-mocks (3.5.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) - rspec-rails (3.5.2) - actionpack (>= 3.0) - activesupport (>= 3.0) - railties (>= 3.0) - rspec-core (~> 3.5.0) - rspec-expectations (~> 3.5.0) - rspec-mocks (~> 3.5.0) - rspec-support (~> 3.5.0) - rspec-support (3.5.0) - rubocop (1.0.0) - parallel (~> 1.10) - parser (>= 2.7.1.5) - rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8) - rexml - rubocop-ast (>= 0.6.0) - ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 2.0) - rubocop-ast (1.19.1) - parser (>= 3.1.1.0) - rubocop-performance (1.10.2) - rubocop (>= 0.90.0, < 2.0) - rubocop-ast (>= 0.4.0) - ruby-progressbar (1.11.0) - simplecov (0.16.1) - docile (~> 1.1) - json (>= 1.8, < 3) - simplecov-html (~> 0.10.0) - simplecov-html (0.10.2) - sqlite3 (1.4.2) - sync (0.5.0) - term-ansicolor (1.7.1) - tins (~> 1.0) - thor (1.1.0) - tins (1.29.1) - sync - tzinfo (2.0.4) - concurrent-ruby (~> 1.0) - unicode-display_width (1.8.0) - websocket-driver (0.7.5) - websocket-extensions (>= 0.1.0) - websocket-extensions (0.1.5) - zeitwerk (2.5.1) - -PLATFORMS - ruby - -DEPENDENCIES - appraisal (~> 1.0.0) - comma! - coveralls - minitest (= 5.14.4) - rails (= 7.0.0) - rake (~> 13.0.1) - rspec (~> 3.5.0) - rspec-activemodel-mocks - rspec-its - rspec-rails - rubocop (~> 1.0.0) - rubocop-performance - sqlite3 - -BUNDLED WITH - 2.1.4 diff --git a/gemfiles/rails7.0.0.gemfile b/gemfiles/rails7.0.8.gemfile similarity index 75% rename from gemfiles/rails7.0.0.gemfile rename to gemfiles/rails7.0.8.gemfile index 88749eb..ab2a65c 100644 --- a/gemfiles/rails7.0.0.gemfile +++ b/gemfiles/rails7.0.8.gemfile @@ -3,10 +3,10 @@ source "https://rubygems.org" gem "coveralls", :require => false -gem "rubocop", "~> 1.0.0", :require => false +gem "rubocop", "~> 1.30.0", :require => false gem "rubocop-performance", :require => false gem "sqlite3" -gem "rails", "7.0.0" +gem "rails", "7.0.8" gem "rspec-rails" gemspec :path => "../" diff --git a/gemfiles/rails7.0.8.gemfile.lock b/gemfiles/rails7.0.8.gemfile.lock new file mode 100644 index 0000000..23aab7b --- /dev/null +++ b/gemfiles/rails7.0.8.gemfile.lock @@ -0,0 +1,248 @@ +PATH + remote: .. + specs: + comma (4.8.0) + activesupport (>= 4.2.0) + +GEM + remote: https://rubygems.org/ + specs: + actioncable (7.0.8) + actionpack (= 7.0.8) + activesupport (= 7.0.8) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + actionmailbox (7.0.8) + actionpack (= 7.0.8) + activejob (= 7.0.8) + activerecord (= 7.0.8) + activestorage (= 7.0.8) + activesupport (= 7.0.8) + mail (>= 2.7.1) + net-imap + net-pop + net-smtp + actionmailer (7.0.8) + actionpack (= 7.0.8) + actionview (= 7.0.8) + activejob (= 7.0.8) + activesupport (= 7.0.8) + mail (~> 2.5, >= 2.5.4) + net-imap + net-pop + net-smtp + rails-dom-testing (~> 2.0) + actionpack (7.0.8) + actionview (= 7.0.8) + activesupport (= 7.0.8) + rack (~> 2.0, >= 2.2.4) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.0, >= 1.2.0) + actiontext (7.0.8) + actionpack (= 7.0.8) + activerecord (= 7.0.8) + activestorage (= 7.0.8) + activesupport (= 7.0.8) + globalid (>= 0.6.0) + nokogiri (>= 1.8.5) + actionview (7.0.8) + activesupport (= 7.0.8) + builder (~> 3.1) + erubi (~> 1.4) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.1, >= 1.2.0) + activejob (7.0.8) + activesupport (= 7.0.8) + globalid (>= 0.3.6) + activemodel (7.0.8) + activesupport (= 7.0.8) + activerecord (7.0.8) + activemodel (= 7.0.8) + activesupport (= 7.0.8) + activestorage (7.0.8) + actionpack (= 7.0.8) + activejob (= 7.0.8) + activerecord (= 7.0.8) + activesupport (= 7.0.8) + marcel (~> 1.0) + mini_mime (>= 1.1.0) + activesupport (7.0.8) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 1.6, < 2) + minitest (>= 5.1) + tzinfo (~> 2.0) + appraisal (1.0.3) + bundler + rake + thor (>= 0.14.0) + ast (2.4.2) + builder (3.2.4) + concurrent-ruby (1.2.3) + coveralls (0.8.23) + json (>= 1.8, < 3) + simplecov (~> 0.16.1) + term-ansicolor (~> 1.3) + thor (>= 0.19.4, < 2.0) + tins (~> 1.6) + crass (1.0.6) + date (3.3.4) + diff-lcs (1.5.0) + docile (1.4.0) + erubi (1.12.0) + globalid (1.2.1) + activesupport (>= 6.1) + i18n (1.14.1) + concurrent-ruby (~> 1.0) + json (2.7.1) + loofah (2.22.0) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + mail (2.8.1) + mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp + marcel (1.0.2) + method_source (1.0.0) + mini_mime (1.1.5) + mini_portile2 (2.8.5) + minitest (5.14.4) + net-imap (0.4.9.1) + date + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.2.2) + timeout + net-smtp (0.4.0.1) + net-protocol + nio4r (2.7.0) + nokogiri (1.16.0) + mini_portile2 (~> 2.8.2) + racc (~> 1.4) + parallel (1.24.0) + parser (3.3.0.4) + ast (~> 2.4.1) + racc + racc (1.7.3) + rack (2.2.8) + rack-test (2.1.0) + rack (>= 1.3) + rails (7.0.8) + actioncable (= 7.0.8) + actionmailbox (= 7.0.8) + actionmailer (= 7.0.8) + actionpack (= 7.0.8) + actiontext (= 7.0.8) + actionview (= 7.0.8) + activejob (= 7.0.8) + activemodel (= 7.0.8) + activerecord (= 7.0.8) + activestorage (= 7.0.8) + activesupport (= 7.0.8) + bundler (>= 1.15.0) + railties (= 7.0.8) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + railties (7.0.8) + actionpack (= 7.0.8) + activesupport (= 7.0.8) + method_source + rake (>= 12.2) + thor (~> 1.0) + zeitwerk (~> 2.5) + rainbow (3.1.1) + rake (13.0.6) + regexp_parser (2.9.0) + rexml (3.2.6) + rspec (3.5.0) + rspec-core (~> 3.5.0) + rspec-expectations (~> 3.5.0) + rspec-mocks (~> 3.5.0) + rspec-activemodel-mocks (1.2.0) + activemodel (>= 3.0) + activesupport (>= 3.0) + rspec-mocks (>= 2.99, < 4.0) + rspec-core (3.5.4) + rspec-support (~> 3.5.0) + rspec-expectations (3.5.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.5.0) + rspec-its (1.3.0) + rspec-core (>= 3.0.0) + rspec-expectations (>= 3.0.0) + rspec-mocks (3.5.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.5.0) + rspec-rails (3.5.2) + actionpack (>= 3.0) + activesupport (>= 3.0) + railties (>= 3.0) + rspec-core (~> 3.5.0) + rspec-expectations (~> 3.5.0) + rspec-mocks (~> 3.5.0) + rspec-support (~> 3.5.0) + rspec-support (3.5.0) + rubocop (1.30.1) + parallel (~> 1.10) + parser (>= 3.1.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.18.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.30.0) + parser (>= 3.2.1.0) + rubocop-performance (1.19.1) + rubocop (>= 1.7.0, < 2.0) + rubocop-ast (>= 0.4.0) + ruby-progressbar (1.13.0) + simplecov (0.16.1) + docile (~> 1.1) + json (>= 1.8, < 3) + simplecov-html (~> 0.10.0) + simplecov-html (0.10.2) + sqlite3 (1.7.0) + mini_portile2 (~> 2.8.0) + sync (0.5.0) + term-ansicolor (1.7.1) + tins (~> 1.0) + thor (1.3.0) + timeout (0.4.1) + tins (1.32.1) + sync + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicode-display_width (2.5.0) + websocket-driver (0.7.6) + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + zeitwerk (2.6.12) + +PLATFORMS + ruby + +DEPENDENCIES + appraisal (~> 1.0.0) + comma! + coveralls + minitest (= 5.14.4) + rails (= 7.0.8) + rake (~> 13.0.1) + rspec (~> 3.5.0) + rspec-activemodel-mocks + rspec-its + rspec-rails + rubocop (~> 1.30.0) + rubocop-performance + sqlite3 + +BUNDLED WITH + 2.5.5 diff --git a/gemfiles/active7.0.0.gemfile b/gemfiles/rails7.1.3.gemfile similarity index 64% rename from gemfiles/active7.0.0.gemfile rename to gemfiles/rails7.1.3.gemfile index bd17814..2811fb1 100644 --- a/gemfiles/active7.0.0.gemfile +++ b/gemfiles/rails7.1.3.gemfile @@ -3,10 +3,10 @@ source "https://rubygems.org" gem "coveralls", :require => false -gem "rubocop", "~> 1.0.0", :require => false +gem "rubocop", "~> 1.30.0", :require => false gem "rubocop-performance", :require => false gem "sqlite3" -gem "activesupport", "7.0.0" -gem "activerecord", "7.0.0" +gem "rails", "7.1.3" +gem "rspec-rails" gemspec :path => "../" diff --git a/gemfiles/rails7.1.3.gemfile.lock b/gemfiles/rails7.1.3.gemfile.lock new file mode 100644 index 0000000..850708a --- /dev/null +++ b/gemfiles/rails7.1.3.gemfile.lock @@ -0,0 +1,281 @@ +PATH + remote: .. + specs: + comma (4.8.0) + activesupport (>= 4.2.0) + +GEM + remote: https://rubygems.org/ + specs: + actioncable (7.1.3) + actionpack (= 7.1.3) + activesupport (= 7.1.3) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + zeitwerk (~> 2.6) + actionmailbox (7.1.3) + actionpack (= 7.1.3) + activejob (= 7.1.3) + activerecord (= 7.1.3) + activestorage (= 7.1.3) + activesupport (= 7.1.3) + mail (>= 2.7.1) + net-imap + net-pop + net-smtp + actionmailer (7.1.3) + actionpack (= 7.1.3) + actionview (= 7.1.3) + activejob (= 7.1.3) + activesupport (= 7.1.3) + mail (~> 2.5, >= 2.5.4) + net-imap + net-pop + net-smtp + rails-dom-testing (~> 2.2) + actionpack (7.1.3) + actionview (= 7.1.3) + activesupport (= 7.1.3) + nokogiri (>= 1.8.5) + racc + rack (>= 2.2.4) + rack-session (>= 1.0.1) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + actiontext (7.1.3) + actionpack (= 7.1.3) + activerecord (= 7.1.3) + activestorage (= 7.1.3) + activesupport (= 7.1.3) + globalid (>= 0.6.0) + nokogiri (>= 1.8.5) + actionview (7.1.3) + activesupport (= 7.1.3) + builder (~> 3.1) + erubi (~> 1.11) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + activejob (7.1.3) + activesupport (= 7.1.3) + globalid (>= 0.3.6) + activemodel (7.1.3) + activesupport (= 7.1.3) + activerecord (7.1.3) + activemodel (= 7.1.3) + activesupport (= 7.1.3) + timeout (>= 0.4.0) + activestorage (7.1.3) + actionpack (= 7.1.3) + activejob (= 7.1.3) + activerecord (= 7.1.3) + activesupport (= 7.1.3) + marcel (~> 1.0) + activesupport (7.1.3) + base64 + bigdecimal + concurrent-ruby (~> 1.0, >= 1.0.2) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + minitest (>= 5.1) + mutex_m + tzinfo (~> 2.0) + appraisal (1.0.3) + bundler + rake + thor (>= 0.14.0) + ast (2.4.2) + base64 (0.2.0) + bigdecimal (3.1.6) + builder (3.2.4) + concurrent-ruby (1.2.3) + connection_pool (2.4.1) + coveralls (0.8.23) + json (>= 1.8, < 3) + simplecov (~> 0.16.1) + term-ansicolor (~> 1.3) + thor (>= 0.19.4, < 2.0) + tins (~> 1.6) + crass (1.0.6) + date (3.3.4) + diff-lcs (1.5.0) + docile (1.4.0) + drb (2.2.0) + ruby2_keywords + erubi (1.12.0) + globalid (1.2.1) + activesupport (>= 6.1) + i18n (1.14.1) + concurrent-ruby (~> 1.0) + io-console (0.7.2) + irb (1.11.1) + rdoc + reline (>= 0.4.2) + json (2.7.1) + loofah (2.22.0) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + mail (2.8.1) + mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp + marcel (1.0.2) + mini_mime (1.1.5) + mini_portile2 (2.8.5) + minitest (5.14.4) + mutex_m (0.2.0) + net-imap (0.4.9.1) + date + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.2.2) + timeout + net-smtp (0.4.0.1) + net-protocol + nio4r (2.7.0) + nokogiri (1.16.0) + mini_portile2 (~> 2.8.2) + racc (~> 1.4) + parallel (1.24.0) + parser (3.3.0.4) + ast (~> 2.4.1) + racc + psych (5.1.2) + stringio + racc (1.7.3) + rack (3.0.8) + rack-session (2.0.0) + rack (>= 3.0.0) + rack-test (2.1.0) + rack (>= 1.3) + rackup (2.1.0) + rack (>= 3) + webrick (~> 1.8) + rails (7.1.3) + actioncable (= 7.1.3) + actionmailbox (= 7.1.3) + actionmailer (= 7.1.3) + actionpack (= 7.1.3) + actiontext (= 7.1.3) + actionview (= 7.1.3) + activejob (= 7.1.3) + activemodel (= 7.1.3) + activerecord (= 7.1.3) + activestorage (= 7.1.3) + activesupport (= 7.1.3) + bundler (>= 1.15.0) + railties (= 7.1.3) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + railties (7.1.3) + actionpack (= 7.1.3) + activesupport (= 7.1.3) + irb + rackup (>= 1.0.0) + rake (>= 12.2) + thor (~> 1.0, >= 1.2.2) + zeitwerk (~> 2.6) + rainbow (3.1.1) + rake (13.0.6) + rdoc (6.6.2) + psych (>= 4.0.0) + regexp_parser (2.9.0) + reline (0.4.2) + io-console (~> 0.5) + rexml (3.2.6) + rspec (3.5.0) + rspec-core (~> 3.5.0) + rspec-expectations (~> 3.5.0) + rspec-mocks (~> 3.5.0) + rspec-activemodel-mocks (1.2.0) + activemodel (>= 3.0) + activesupport (>= 3.0) + rspec-mocks (>= 2.99, < 4.0) + rspec-core (3.5.4) + rspec-support (~> 3.5.0) + rspec-expectations (3.5.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.5.0) + rspec-its (1.3.0) + rspec-core (>= 3.0.0) + rspec-expectations (>= 3.0.0) + rspec-mocks (3.5.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.5.0) + rspec-rails (3.5.2) + actionpack (>= 3.0) + activesupport (>= 3.0) + railties (>= 3.0) + rspec-core (~> 3.5.0) + rspec-expectations (~> 3.5.0) + rspec-mocks (~> 3.5.0) + rspec-support (~> 3.5.0) + rspec-support (3.5.0) + rubocop (1.30.1) + parallel (~> 1.10) + parser (>= 3.1.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.18.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.30.0) + parser (>= 3.2.1.0) + rubocop-performance (1.19.1) + rubocop (>= 1.7.0, < 2.0) + rubocop-ast (>= 0.4.0) + ruby-progressbar (1.13.0) + ruby2_keywords (0.0.5) + simplecov (0.16.1) + docile (~> 1.1) + json (>= 1.8, < 3) + simplecov-html (~> 0.10.0) + simplecov-html (0.10.2) + sqlite3 (1.7.0) + mini_portile2 (~> 2.8.0) + stringio (3.1.0) + sync (0.5.0) + term-ansicolor (1.7.1) + tins (~> 1.0) + thor (1.3.0) + timeout (0.4.1) + tins (1.32.1) + sync + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicode-display_width (2.5.0) + webrick (1.8.1) + websocket-driver (0.7.6) + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + zeitwerk (2.6.12) + +PLATFORMS + ruby + +DEPENDENCIES + appraisal (~> 1.0.0) + comma! + coveralls + minitest (= 5.14.4) + rails (= 7.1.3) + rake (~> 13.0.1) + rspec (~> 3.5.0) + rspec-activemodel-mocks + rspec-its + rspec-rails + rubocop (~> 1.30.0) + rubocop-performance + sqlite3 + +BUNDLED WITH + 2.5.5 diff --git a/lib/comma.rb b/lib/comma.rb index aea4f27..5203039 100644 --- a/lib/comma.rb +++ b/lib/comma.rb @@ -10,6 +10,7 @@ module Comma }.freeze end +require 'active_support' require 'active_support/lazy_load_hooks' ActiveSupport.on_load(:active_record) do require 'comma/relation' if defined?(ActiveRecord::Relation) diff --git a/lib/comma/header_extractor.rb b/lib/comma/header_extractor.rb index 9a5a03a..d474192 100644 --- a/lib/comma/header_extractor.rb +++ b/lib/comma/header_extractor.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true require 'comma/extractor' +require 'active_support' require 'active_support/core_ext/class/attribute' require 'active_support/core_ext/date_time/conversions' require 'active_support/core_ext/object/blank' diff --git a/lib/comma/version.rb b/lib/comma/version.rb index 0454da8..33d4026 100644 --- a/lib/comma/version.rb +++ b/lib/comma/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Comma - VERSION = '4.7.0' + VERSION = '4.8.0' end diff --git a/spec/comma/comma_spec.rb b/spec/comma/comma_spec.rb index 2a5d90d..5bf1acb 100644 --- a/spec/comma/comma_spec.rb +++ b/spec/comma/comma_spec.rb @@ -40,7 +40,7 @@ end it 'should extend Array to add a #to_comma method which will return CSV content for objects within the array' do - expected = "Title,Description,Issuer,ISBN-10,ISBN-13\nSmalltalk-80,Language and Implementation,ISBN,123123123,321321321\n" # rubocop:disable Metrics/LineLength + expected = "Title,Description,Issuer,ISBN-10,ISBN-13\nSmalltalk-80,Language and Implementation,ISBN,123123123,321321321\n" # rubocop:disable Layout/LineLength expect(@books.to_comma).to eq(expected) end @@ -57,25 +57,25 @@ it 'should write to the file' do @books.to_comma(filename: 'comma.csv') - expected = "Title,Description,Issuer,ISBN-10,ISBN-13\nSmalltalk-80,Language and Implementation,ISBN,123123123,321321321\n" # rubocop:disable Metrics/LineLength + expected = "Title,Description,Issuer,ISBN-10,ISBN-13\nSmalltalk-80,Language and Implementation,ISBN,123123123,321321321\n" # rubocop:disable Layout/LineLength expect(File.read('comma.csv')).to eq(expected) end it 'should accept FasterCSV options' do @books.to_comma(filename: 'comma.csv', col_sep: ';', force_quotes: true) - expected = "\"Title\";\"Description\";\"Issuer\";\"ISBN-10\";\"ISBN-13\"\n\"Smalltalk-80\";\"Language and Implementation\";\"ISBN\";\"123123123\";\"321321321\"\n" # rubocop:disable Metrics/LineLength + expected = "\"Title\";\"Description\";\"Issuer\";\"ISBN-10\";\"ISBN-13\"\n\"Smalltalk-80\";\"Language and Implementation\";\"ISBN\";\"123123123\";\"321321321\"\n" # rubocop:disable Layout/LineLength expect(File.read('comma.csv')).to eq(expected) end end describe 'with FasterCSV options' do it 'should not change when options are empty' do - expected = "Title,Description,Issuer,ISBN-10,ISBN-13\nSmalltalk-80,Language and Implementation,ISBN,123123123,321321321\n" # rubocop:disable Metrics/LineLength + expected = "Title,Description,Issuer,ISBN-10,ISBN-13\nSmalltalk-80,Language and Implementation,ISBN,123123123,321321321\n" # rubocop:disable Layout/LineLength expect(@books.to_comma({})).to eq(expected) end it 'should accept the options in #to_comma and generate the appropriate CSV' do - expected = "\"Title\";\"Description\";\"Issuer\";\"ISBN-10\";\"ISBN-13\"\n\"Smalltalk-80\";\"Language and Implementation\";\"ISBN\";\"123123123\";\"321321321\"\n" # rubocop:disable Metrics/LineLength + expected = "\"Title\";\"Description\";\"Issuer\";\"ISBN-10\";\"ISBN-13\"\n\"Smalltalk-80\";\"Language and Implementation\";\"ISBN\";\"123123123\";\"321321321\"\n" # rubocop:disable Layout/LineLength expect(@books.to_comma(col_sep: ';', force_quotes: true)).to eq(expected) end @@ -177,17 +177,17 @@ def initialize(content) end end - describe 'with block' do # rubocop:disable BlockLength + describe 'with block' do # rubocop:disable Metrics/BlockLength before do class Foo attr_accessor :content, :created_at, :updated_at comma do content content('Truncated Content') { |i| i && i.length > 10 ? i[0..10] : '---' } - created_at { |i| i&.to_s(:db) } - updated_at { |i| i&.to_s(:db) } - created_at 'Created Custom Label' do |i| i&.to_s(:short) end - updated_at 'Updated at Custom Label' do |i| i&.to_s(:short) end + created_at { |i| i&.to_formatted_s(:db) } + updated_at { |i| i&.to_formatted_s(:db) } + created_at 'Created Custom Label' do |i| i&.to_formatted_s(:short) end + updated_at 'Updated at Custom Label' do |i| i&.to_formatted_s(:short) end end def initialize(content, created_at = Time.now, updated_at = Time.now) @@ -207,10 +207,10 @@ def initialize(content, created_at = Time.now, updated_at = Time.now) expected = [ @content, @content[0..10], - @time.to_s(:db), - @time.to_s(:db), - @time.to_s(:short), - @time.to_s(:short) + @time.to_formatted_s(:db), + @time.to_formatted_s(:db), + @time.to_formatted_s(:short), + @time.to_formatted_s(:short) ].join(',') expect(foo).to eq(expected) end @@ -246,10 +246,10 @@ def initialize(content, created_at = Time.now, updated_at = Time.now) expected = [ @content, @content[0..10], - @time.to_s(:db), - @time.to_s(:db), - @time.to_s(:short), - @time.to_s(:short) + @time.to_formatted_s(:db), + @time.to_formatted_s(:db), + @time.to_formatted_s(:short), + @time.to_formatted_s(:short) ].join(',') expect(header).to eq(expected) end diff --git a/spec/comma/rails/active_record_spec.rb b/spec/comma/rails/active_record_spec.rb index fffd48c..c6dc967 100644 --- a/spec/comma/rails/active_record_spec.rb +++ b/spec/comma/rails/active_record_spec.rb @@ -79,7 +79,7 @@ def name end describe '#to_comma on scopes' do - it 'should extend ActiveRecord::NamedScope::Scope to add a #to_comma method which will return CSV content for objects within the scope' do # rubocop:disable Metrics/LineLength + it 'should extend ActiveRecord::NamedScope::Scope to add a #to_comma method which will return CSV content for objects within the scope' do # rubocop:disable Layout/LineLength expect(Person.teenagers.to_comma).to eq "Name,Age\nJunior,18\n" end diff --git a/spec/comma/rails/mongoid_spec.rb b/spec/comma/rails/mongoid_spec.rb index d321c50..147cc21 100644 --- a/spec/comma/rails/mongoid_spec.rb +++ b/spec/comma/rails/mongoid_spec.rb @@ -29,7 +29,7 @@ class Person @person.save end - it 'should extend ActiveRecord::NamedScope::Scope to add a #to_comma method which will return CSV content for objects within the scope' do # rubocop:disable Metrics/LineLength + it 'should extend ActiveRecord::NamedScope::Scope to add a #to_comma method which will return CSV content for objects within the scope' do # rubocop:disable Layout/LineLength Person.teenagers.to_comma.should == "Name,Age\nJunior,18\n" end