Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
comma (4.9.0)
comma (5.0.0)
activesupport (>= 4.2.0)
csv (>= 3.3)

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ A library for generating comma-separated values (CSV) from Ruby objects, arrays,

### Prerequisites

You need Ruby 3.0 or later.
You need Ruby 3.1 or later.

For Rails / ActiveRecord integration, this repository is currently tested against ActiveRecord and Rails 6.0 through 7.1 on Ruby 3.0 through 3.4.
For Rails / ActiveRecord integration, this repository is currently tested against ActiveRecord and Rails 6.0 through 7.1 on Ruby 3.1 through 4.0.

### Installing

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

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

Or, if you want to live life on the edge, you can get master from the main comma repository:
Expand Down
1 change: 1 addition & 0 deletions comma.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Gem::Specification.new do |s|
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.require_paths = ['lib']
s.required_ruby_version = '>= 3.1'

s.licenses = ['MIT']

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/active6.0.6.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
comma (4.9.0)
comma (5.0.0)
activesupport (>= 4.2.0)
csv (>= 3.3)

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/active6.1.7.6.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
comma (4.9.0)
comma (5.0.0)
activesupport (>= 4.2.0)
csv (>= 3.3)

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/active7.0.8.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
comma (4.9.0)
comma (5.0.0)
activesupport (>= 4.2.0)
csv (>= 3.3)

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/active7.1.3.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
comma (4.9.0)
comma (5.0.0)
activesupport (>= 4.2.0)
csv (>= 3.3)

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails6.0.6.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
comma (4.9.0)
comma (5.0.0)
activesupport (>= 4.2.0)
csv (>= 3.3)

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails6.1.7.6.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
comma (4.9.0)
comma (5.0.0)
activesupport (>= 4.2.0)
csv (>= 3.3)

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails7.0.8.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
comma (4.9.0)
comma (5.0.0)
activesupport (>= 4.2.0)
csv (>= 3.3)

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails7.1.3.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
comma (4.9.0)
comma (5.0.0)
activesupport (>= 4.2.0)
csv (>= 3.3)

Expand Down
2 changes: 1 addition & 1 deletion lib/comma/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Comma
VERSION = '4.9.0'
VERSION = '5.0.0'
end
11 changes: 11 additions & 0 deletions spec/gemspec_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# frozen_string_literal: true

require_relative 'spec_helper'

RSpec.describe 'comma.gemspec' do
it 'requires Ruby 3.1 or later' do
specification = Gem::Specification.load(File.expand_path('../comma.gemspec', __dir__))

expect(specification.required_ruby_version.to_s).to eq('>= 3.1')
end
end
Loading