Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
eitoball committed Jul 15, 2024
1 parent 0f63946 commit d83767c
Show file tree
Hide file tree
Showing 25 changed files with 1,193 additions and 1,072 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,20 @@ jobs:
strategy:
matrix:
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']
gemfile: ['active6.1.7.8', 'active7.0.8.4', 'active7.1.3.4', 'rails6.1.7.8', 'rails7.0.8.4', 'rails7.1.3.4']
include:
- ruby: 3.1
gemfile: active7.2.0.beta3
- ruby: 3.2
gemfile: active7.2.0.beta3
- ruby: 3.3
gemfile: active7.2.0.beta3
- ruby: 3.1
gemfile: rails7.2.0.beta3
- ruby: 3.2
gemfile: rails7.2.0.beta3
- ruby: 3.3
gemfile: rails7.2.0.beta3
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
Expand All @@ -19,9 +32,9 @@ jobs:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
cache-version: 1
- run: bundle install --jobs 2 --retry 3
ruby-version: ${{ matrix.ruby }}
rubygems: 3.3.22
- run: bundle exec rubocop -P
- run: bundle exec rspec -f d spec
47 changes: 26 additions & 21 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,43 +1,48 @@
# frozen_string_literal: true

appraise 'rails6.0.6' do
gem 'rails', '6.0.6'
appraise 'rails6.1.7.8' do
gem 'rails', '6.1.7.8'
gem 'rspec-rails'
gem 'test-unit'
gem 'sqlite3', '< 2'
end

appraise 'active6.0.6' do
gem 'activesupport', '6.0.6'
gem 'activerecord', '6.0.6'
appraise 'active6.1.7.8' do
gem 'activesupport', '6.1.7.8'
gem 'activerecord', '6.1.7.8'
gem 'sqlite3', '< 2'
end

appraise 'rails6.1.7.6' do
gem 'rails', '6.1.7.6'
appraise 'rails7.0.8.4' do
gem 'rails', '7.0.8.4'
gem 'rspec-rails'
gem 'test-unit'
gem 'sqlite3', '< 2'
end

appraise 'active6.1.7.6' do
gem 'activesupport', '6.1.7.6'
gem 'activerecord', '6.1.7.6'
appraise 'active7.0.8.4' do
gem 'activesupport', '7.0.8.4'
gem 'activerecord', '7.0.8.4'
gem 'sqlite3', '< 2'
end

appraise 'rails7.0.8' do
gem 'rails', '7.0.8'
appraise 'rails7.1.3.4' do
gem 'rails', '7.1.3.4'
gem 'rspec-rails'
gem 'sqlite3', '< 2'
end

appraise 'active7.0.8' do
gem 'activesupport', '7.0.8'
gem 'activerecord', '7.0.8'
appraise 'active7.1.3.4' do
gem 'activesupport', '7.1.3.4'
gem 'activerecord', '7.1.3.4'
gem 'sqlite3', '< 2'
end

appraise 'rails7.1.3' do
gem 'rails', '7.1.3'
appraise 'rails7.2.0.beta3' do
gem 'rails', '7.2.0.beta3'
gem 'rspec-rails'
end

appraise 'active7.1.3' do
gem 'activesupport', '7.1.3'
gem 'activerecord', '7.1.3'
appraise 'active7.2.0.beta3' do
gem 'activesupport', '7.2.0.beta3'
gem 'activerecord', '7.2.0.beta3'
end
32 changes: 16 additions & 16 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PATH
remote: .
specs:
comma (4.8.0)
activesupport (>= 4.2.0)
comma (4.9.0)
activesupport (>= 6.1)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -34,7 +34,7 @@ GEM
term-ansicolor (~> 1.3)
thor (>= 0.19.4, < 2.0)
tins (~> 1.6)
diff-lcs (1.2.5)
diff-lcs (1.5.1)
docile (1.4.0)
drb (2.2.0)
ruby2_keywords
Expand All @@ -54,26 +54,26 @@ GEM
regexp_parser (2.9.0)
rexml (3.2.8)
strscan (>= 3.0.9)
rspec (3.5.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-activemodel-mocks (1.1.0)
activemodel (>= 3.0)
activesupport (>= 3.0)
rspec-mocks (>= 2.99, < 4.0)
rspec-core (3.5.2)
rspec-support (~> 3.5.0)
rspec-expectations (3.5.0)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-its (1.2.0)
rspec-support (~> 3.13.0)
rspec-its (1.3.0)
rspec-core (>= 3.0.0)
rspec-expectations (>= 3.0.0)
rspec-mocks (3.5.0)
rspec-mocks (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-support (3.5.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
rubocop (1.30.1)
parallel (~> 1.10)
parser (>= 3.1.0.0)
Expand Down Expand Up @@ -117,7 +117,7 @@ DEPENDENCIES
coveralls
minitest (= 5.14.4)
rake (~> 13.0.1)
rspec (~> 3.5.0)
rspec (~> 3.13.0)
rspec-activemodel-mocks
rspec-its
rubocop (~> 1.30.0)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A library to generate comma seperated value (CSV) for Ruby objects like ActiveRe

### Prerequisites

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.
You need to use ruby 3.0 or later. If you generate CSV from ActiveRecord models, you need to have ActiveRecord 6.1 or later.

### Installing

Expand All @@ -17,7 +17,7 @@ Comma is distributed as a gem, best installed via Bundler.
Include the gem in your Gemfile:

```ruby
gem 'comma', '~> 4.8.0'
gem 'comma', '~> 4.9.0'
```

Or, if you want to live life on the edge, you can get master from the main comma repository:
Expand Down
4 changes: 2 additions & 2 deletions comma.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ Gem::Specification.new do |s|

s.licenses = ['MIT']

s.add_dependency 'activesupport', '>= 4.2.0'
s.add_dependency 'activesupport', '>= 6.1'

s.add_development_dependency 'appraisal', ['~> 1.0.0']
s.add_development_dependency 'minitest', '5.14.4'
s.add_development_dependency 'rake', '~> 13.0.1'
s.add_development_dependency 'rspec', ['~> 3.5.0']
s.add_development_dependency 'rspec', ['~> 3.13.0']
s.add_development_dependency 'rspec-activemodel-mocks'
s.add_development_dependency 'rspec-its'
end
122 changes: 0 additions & 122 deletions gemfiles/active6.0.6.gemfile.lock

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ 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"
gem "sqlite3", "< 2"
gem "activesupport", "6.1.7.8"
gem "activerecord", "6.1.7.8"

gemspec :path => "../"
Loading

0 comments on commit d83767c

Please sign in to comment.