Skip to content

Commit

Permalink
prepare for releasing version 4.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eitoball committed Jan 20, 2024
1 parent 0d8650a commit bc4300f
Show file tree
Hide file tree
Showing 22 changed files with 698 additions and 574 deletions.
25 changes: 2 additions & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ['2.7', '3.0', '3.1', '3.2', '3.3']
gemfile: ['active6.0.3.6', 'active6.1.3.1', 'active7.0.8', 'active7.1.3', 'rails6.0.3.6', 'rails6.1.3.1', 'rails7.0.8', 'rails7.1.3']
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ AllCops:
NewCops: enable
TargetRubyVersion: 2.5

Metrics/LineLength:
Layout/LineLength:
IgnoreCopDirectives: true
Max: 120

Expand Down
39 changes: 15 additions & 24 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,24 +1,5 @@
# 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'
gem 'rspec-rails'
Expand All @@ -41,12 +22,22 @@ appraise 'active6.1.3.1' do
gem 'activerecord', '6.1.3.1'
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.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.0.0' do
gem 'activesupport', '7.0.0'
gem 'activerecord', '7.0.0'
appraise 'active7.1.3' do
gem 'activesupport', '7.1.3'
gem 'activerecord', '7.1.3'
end
29 changes: 17 additions & 12 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
comma (4.7.0)
comma (4.8.0)
activesupport (>= 4.2.0)

GEM
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -82,17 +85,19 @@ GEM
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.1.0)
rubocop (>= 0.67.0)
ruby-progressbar (1.11.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)
Expand All @@ -118,4 +123,4 @@ DEPENDENCIES
sqlite3

BUNDLED WITH
2.1.4
2.2.33
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 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 2.7 or later. If you generate CSV from ActiveRecord models, you need to have ActiveRecord 6.0 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.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:
Expand Down
42 changes: 23 additions & 19 deletions gemfiles/active6.0.3.6.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
comma (4.7.0)
comma (4.8.0)
activesupport (>= 4.2.0)

GEM
Expand All @@ -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)
Expand All @@ -72,29 +75,30 @@ GEM
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-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.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)
zeitwerk (2.6.12)

PLATFORMS
ruby
Expand All @@ -115,4 +119,4 @@ DEPENDENCIES
sqlite3

BUNDLED WITH
2.1.4
2.2.33
42 changes: 23 additions & 19 deletions gemfiles/active6.1.3.1.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
comma (4.7.0)
comma (4.8.0)
activesupport (>= 4.2.0)

GEM
Expand All @@ -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)
Expand All @@ -72,28 +75,29 @@ GEM
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-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.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)
zeitwerk (2.6.12)

PLATFORMS
ruby
Expand All @@ -114,4 +118,4 @@ DEPENDENCIES
sqlite3

BUNDLED WITH
2.1.4
2.2.33
4 changes: 2 additions & 2 deletions gemfiles/active5.2.5.gemfile → gemfiles/active7.0.8.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gem "coveralls", :require => false
gem "rubocop", "~> 1.0.0", :require => false
gem "rubocop-performance", :require => false
gem "sqlite3"
gem "activesupport", "5.2.5"
gem "activerecord", "5.2.5"
gem "activesupport", "7.0.8"
gem "activerecord", "7.0.8"

gemspec :path => "../"
Loading

0 comments on commit bc4300f

Please sign in to comment.