diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index a8d7e8e..a920264 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ["2.7", "3.0", "3.1"] + ruby-version: ["2.7", "3.0", "3.1", "3.2"] steps: - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 diff --git a/Gemfile b/Gemfile index d65e2a6..d120de4 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,8 @@ source 'http://rubygems.org' gemspec + +gem 'rake' +gem 'rspec' +gem 'rubocop-bsm' +gem 'sqlite3' diff --git a/Gemfile.lock b/Gemfile.lock index 0483e18..26195a0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,78 +1,83 @@ PATH remote: . specs: - attribute-defaults (0.9.2) + attribute-defaults (0.9.3) activerecord (>= 5.0.0, < 8.0.0) GEM remote: http://rubygems.org/ specs: - activemodel (7.0.3.1) - activesupport (= 7.0.3.1) - activerecord (7.0.3.1) - activemodel (= 7.0.3.1) - activesupport (= 7.0.3.1) - activesupport (7.0.3.1) + activemodel (7.0.4.2) + activesupport (= 7.0.4.2) + activerecord (7.0.4.2) + activemodel (= 7.0.4.2) + activesupport (= 7.0.4.2) + activesupport (7.0.4.2) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) ast (2.4.2) - concurrent-ruby (1.1.10) + concurrent-ruby (1.2.0) diff-lcs (1.5.0) - i18n (1.11.0) + i18n (1.12.0) concurrent-ruby (~> 1.0) - json (2.6.2) - minitest (5.16.2) + json (2.6.3) + mini_portile2 (2.8.1) + minitest (5.17.0) parallel (1.22.1) - parser (3.1.2.0) + parser (3.2.0.0) ast (~> 2.4.1) rainbow (3.1.1) rake (13.0.6) - regexp_parser (2.5.0) + regexp_parser (2.6.2) rexml (3.2.5) - rspec (3.11.0) - rspec-core (~> 3.11.0) - rspec-expectations (~> 3.11.0) - rspec-mocks (~> 3.11.0) - rspec-core (3.11.0) - rspec-support (~> 3.11.0) - rspec-expectations (3.11.0) + rspec (3.12.0) + rspec-core (~> 3.12.0) + rspec-expectations (~> 3.12.0) + rspec-mocks (~> 3.12.0) + rspec-core (3.12.0) + rspec-support (~> 3.12.0) + rspec-expectations (3.12.2) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.11.0) - rspec-mocks (3.11.1) + rspec-support (~> 3.12.0) + rspec-mocks (3.12.3) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.11.0) - rspec-support (3.11.0) - rubocop (1.31.2) + rspec-support (~> 3.12.0) + rspec-support (3.12.0) + rubocop (1.44.1) json (~> 2.3) parallel (~> 1.10) - parser (>= 3.1.0.0) + parser (>= 3.2.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) + rubocop-ast (>= 1.24.1, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.19.1) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.24.1) parser (>= 3.1.1.0) - rubocop-bsm (0.6.0) + rubocop-bsm (0.6.1) rubocop (~> 1.0) rubocop-performance rubocop-rake rubocop-rspec - rubocop-performance (1.14.2) + rubocop-capybara (2.17.0) + rubocop (~> 1.41) + rubocop-performance (1.15.2) rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) rubocop-rake (0.6.0) rubocop (~> 1.0) - rubocop-rspec (2.12.1) - rubocop (~> 1.31) + rubocop-rspec (2.18.1) + rubocop (~> 1.33) + rubocop-capybara (~> 2.17) ruby-progressbar (1.11.0) - sqlite3 (1.4.4) - tzinfo (2.0.4) + sqlite3 (1.6.0) + mini_portile2 (~> 2.8.0) + tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unicode-display_width (2.2.0) + unicode-display_width (2.4.2) PLATFORMS ruby diff --git a/attribute-defaults.gemspec b/attribute-defaults.gemspec index b38b6ec..79ae9fe 100644 --- a/attribute-defaults.gemspec +++ b/attribute-defaults.gemspec @@ -5,7 +5,7 @@ Gem::Specification.new do |s| s.name = 'attribute-defaults' s.summary = 'Specify default values for ActiveRecord attributes' s.description = 'ActiveRecord plugin that allows to specify default values for attributes' - s.version = '0.9.2' + s.version = '0.9.3' s.authors = ['Dimitrij Denissenko'] s.email = 'dimitrij@blacksquaremedia.com' @@ -15,9 +15,5 @@ Gem::Specification.new do |s| s.files = Dir['LICENSE', 'README.rdoc', 'lib/**/*'] s.add_dependency 'activerecord', '>= 5.0.0', '< 8.0.0' - s.add_development_dependency 'rake' - s.add_development_dependency 'rspec' - s.add_development_dependency 'rubocop-bsm' - s.add_development_dependency 'sqlite3' s.metadata['rubygems_mfa_required'] = 'true' end