comma 4.8.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4aa1aba48fd96f70ee3b0dd3e38a88a67008e345b07942b2b0eaf4e36aa92ca6
4
- data.tar.gz: 5a8549374ef8bd4484df67cf54019ca557e8f32b47c3056a154c1fd7e3db19b7
3
+ metadata.gz: 4fae5c5a35ce2dcf1da69071e605198eb8ab6948a8f6debb662b7f9b14f79bb5
4
+ data.tar.gz: 4eb4ffc8b5002d19a9b8f6b426588bc560bb080354d5e086bfff304fd32d99da
5
5
  SHA512:
6
- metadata.gz: e2ff178c4898ae77dbf29516e7a63688914fd0fef3bfb08de01b0c2e90d045b0d62cfe111c170712cce4da6b6855a4d041d7d786fee350660961159c6083dadf
7
- data.tar.gz: d50dce0e783a0cea5c2f1ee653be1db60374c10f4c850416e4f4646411a16ea30567120a52e4d02412d580fa86e9411320ccdfbe97e5466af6982589557c67f3
6
+ metadata.gz: 1a90a5ccb14581614771e38d752947fad6b9bb5e21bd1f91015c6992407ce723707712979ec079410da7549be75657131751add6ee7bc2f26403ac1e650a448e
7
+ data.tar.gz: 2f86f7c956a02754a5551ebd3402428eeaf8192cef254d4ec94eedbaa7d8adef4bcd0ed64fc3a86ddf5503e6a7df8ecc5869c0b1629b0af5238eead5792d9250
@@ -0,0 +1,56 @@
1
+ # Copilot instructions for `comma`
2
+
3
+ ## Build, test, and lint commands
4
+
5
+ This repository is a Ruby gem. Ruby 3.0+ is required, and the CI matrix exercises Ruby 3.0-3.4 against Rails/ActiveRecord appraisals from 6.0 through 7.1.
6
+
7
+ ```sh
8
+ # install dependencies for the base Gemfile
9
+ bundle install
10
+
11
+ # install all appraisal Gemfiles used by CI
12
+ bundle exec appraisal install
13
+
14
+ # build the gem
15
+ bundle exec rake build
16
+
17
+ # lint
18
+ bundle exec rubocop -P
19
+ # or
20
+ bundle exec rake rubocop
21
+
22
+ # base test suite (runs non-Rails specs when framework gems are absent)
23
+ bundle exec rspec spec
24
+ # or
25
+ bundle exec rake spec
26
+
27
+ # run one example from the base suite
28
+ bundle exec rspec spec/comma/comma_spec.rb:205
29
+
30
+ # run the full multi-gemfile matrix locally
31
+ bundle exec appraisal rake spec
32
+
33
+ # run a single spec file under a specific appraisal
34
+ bundle exec appraisal active7.1.3 bundle exec rspec spec/comma/rails/active_record_spec.rb
35
+
36
+ # CI equivalent for a single matrix entry
37
+ BUNDLE_GEMFILE=gemfiles/rails7.1.3.gemfile bundle exec rspec spec/controllers/users_controller_spec.rb
38
+ ```
39
+
40
+ ## High-level architecture
41
+
42
+ - `lib/comma/object.rb` adds the core DSL globally via `Object.comma`. Each class stores named format blocks in `comma_formats`, and subclasses inherit a shallow copy of those formats.
43
+ - `lib/comma/extractor.rb` is the shared execution engine. It `instance_eval`s a stored format block and collects stringified results. The two concrete extractors split responsibilities:
44
+ - `lib/comma/data_extractor.rb` resolves values from the instance or an associated object and applies optional block-based transformations.
45
+ - `lib/comma/header_extractor.rb` derives headers from the same DSL and can map association columns to the associated model class for humanized labels.
46
+ - `lib/comma/generator.rb` is the only place that turns object rows into CSV output. `Array`, `ActiveRecord::Relation`, `Mongoid::Criteria`, and `DataMapper::Collection` each delegate to it from their own extension files.
47
+ - `lib/comma.rb` wires framework integrations lazily with `ActiveSupport.on_load`. That file is also where the Rails `render csv:` renderer is registered, so controller behavior is part of the gem's load path rather than test-only glue.
48
+ - Integration specs use the miniature app under `spec/rails_app/` plus inline model definitions inside spec files. The base suite still runs without Rails, Mongoid, DataMapper, or ActiveRecord because integration examples are wrapped in `if defined?(...)` guards in the specs.
49
+
50
+ ## Key conventions
51
+
52
+ - The CSV DSL is method-call driven. Inside a `comma` block, a bare method adds one column, a string argument overrides the header label, and symbol/hash arguments traverse associations. The same block definition drives both headers and row data.
53
+ - Style composition uses `__use__ :style_name`, and computed/static columns use `__static_column__`. Preserve those internal DSL entry points when changing extractor behavior.
54
+ - Header labels default to `HeaderExtractor.value_humanizer`, which is mutable global state. Specs that override it reset it afterward; follow the same pattern for any future changes.
55
+ - `ActiveRecord::Relation#to_comma` intentionally uses `find_each` only for unordered, unlimited relations. If a relation has `limit` or `order`, it falls back to `each`; when Rails is loaded it also emits a warning instead of forcing batched iteration.
56
+ - Specs commonly define throwaway classes inline to document DSL behavior instead of introducing fixtures or helper classes. Prefer extending the existing focused examples in `spec/comma/*` unless a change genuinely needs the Rails test app.
@@ -3,12 +3,14 @@ on: [push, pull_request]
3
3
  jobs:
4
4
  build:
5
5
  strategy:
6
+ fail-fast: false
6
7
  matrix:
7
- ruby: ['3.0', '3.1', '3.2', '3.3']
8
+ ruby: ['3.1', '3.2', '3.3', '3.4', '4.0']
8
9
  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']
9
10
  runs-on: ubuntu-latest
10
11
  env:
11
12
  BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
13
+ BUNDLE_FORCE_RUBY_PLATFORM: ${{ matrix.ruby == '3.4' || matrix.ruby == '4.0' }}
12
14
  RUBY_OPT: --disable=did_you_mean
13
15
  services:
14
16
  mongodb:
data/Gemfile.lock CHANGED
@@ -1,49 +1,56 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- comma (4.8.0)
4
+ comma (5.0.0)
5
5
  activesupport (>= 4.2.0)
6
+ csv (>= 3.3)
6
7
 
7
8
  GEM
8
9
  remote: https://rubygems.org/
9
10
  specs:
10
- activemodel (7.1.3)
11
- activesupport (= 7.1.3)
12
- activesupport (7.1.3)
11
+ activemodel (7.2.3.1)
12
+ activesupport (= 7.2.3.1)
13
+ activesupport (7.2.3.1)
13
14
  base64
15
+ benchmark (>= 0.3)
14
16
  bigdecimal
15
- concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ concurrent-ruby (~> 1.0, >= 1.3.1)
16
18
  connection_pool (>= 2.2.5)
17
19
  drb
18
20
  i18n (>= 1.6, < 2)
19
- minitest (>= 5.1)
20
- mutex_m
21
- tzinfo (~> 2.0)
21
+ logger (>= 1.4.2)
22
+ minitest (>= 5.1, < 6)
23
+ securerandom (>= 0.3)
24
+ tzinfo (~> 2.0, >= 2.0.5)
22
25
  appraisal (1.0.3)
23
26
  bundler
24
27
  rake
25
28
  thor (>= 0.14.0)
26
29
  ast (2.4.2)
27
- base64 (0.2.0)
28
- bigdecimal (3.1.6)
29
- concurrent-ruby (1.2.3)
30
- connection_pool (2.4.1)
30
+ base64 (0.3.0)
31
+ benchmark (0.5.0)
32
+ bigdecimal (4.1.2)
33
+ cgi (0.3.7)
34
+ concurrent-ruby (1.3.7)
35
+ connection_pool (2.5.5)
31
36
  coveralls (0.8.23)
32
37
  json (>= 1.8, < 3)
33
38
  simplecov (~> 0.16.1)
34
39
  term-ansicolor (~> 1.3)
35
40
  thor (>= 0.19.4, < 2.0)
36
41
  tins (~> 1.6)
42
+ csv (3.3.5)
37
43
  diff-lcs (1.2.5)
38
44
  docile (1.4.0)
39
- drb (2.2.0)
40
- ruby2_keywords
41
- i18n (1.14.1)
45
+ drb (2.2.3)
46
+ i18n (1.14.8)
42
47
  concurrent-ruby (~> 1.0)
43
48
  json (2.7.1)
44
- mini_portile2 (2.8.5)
45
- minitest (5.14.4)
46
- mutex_m (0.2.0)
49
+ logger (1.7.0)
50
+ mini_portile2 (2.8.9)
51
+ minitest (5.27.0)
52
+ mutex_m (0.3.0)
53
+ ostruct (0.5.2)
47
54
  parallel (1.24.0)
48
55
  parser (3.3.0.4)
49
56
  ast (~> 2.4.1)
@@ -52,27 +59,27 @@ GEM
52
59
  rainbow (3.1.1)
53
60
  rake (13.0.1)
54
61
  regexp_parser (2.9.0)
55
- rexml (3.2.6)
56
- rspec (3.5.0)
57
- rspec-core (~> 3.5.0)
58
- rspec-expectations (~> 3.5.0)
59
- rspec-mocks (~> 3.5.0)
62
+ rexml (3.4.2)
63
+ rspec (3.13.0)
64
+ rspec-core (~> 3.13.0)
65
+ rspec-expectations (~> 3.13.0)
66
+ rspec-mocks (~> 3.13.0)
60
67
  rspec-activemodel-mocks (1.1.0)
61
68
  activemodel (>= 3.0)
62
69
  activesupport (>= 3.0)
63
70
  rspec-mocks (>= 2.99, < 4.0)
64
- rspec-core (3.5.2)
65
- rspec-support (~> 3.5.0)
66
- rspec-expectations (3.5.0)
71
+ rspec-core (3.13.1)
72
+ rspec-support (~> 3.13.0)
73
+ rspec-expectations (3.13.3)
67
74
  diff-lcs (>= 1.2.0, < 2.0)
68
- rspec-support (~> 3.5.0)
75
+ rspec-support (~> 3.13.0)
69
76
  rspec-its (1.2.0)
70
77
  rspec-core (>= 3.0.0)
71
78
  rspec-expectations (>= 3.0.0)
72
- rspec-mocks (3.5.0)
79
+ rspec-mocks (3.13.1)
73
80
  diff-lcs (>= 1.2.0, < 2.0)
74
- rspec-support (~> 3.5.0)
75
- rspec-support (3.5.0)
81
+ rspec-support (~> 3.13.0)
82
+ rspec-support (3.13.1)
76
83
  rubocop (1.30.1)
77
84
  parallel (~> 1.10)
78
85
  parser (>= 3.1.0.0)
@@ -88,13 +95,13 @@ GEM
88
95
  rubocop (>= 0.90.0, < 2.0)
89
96
  rubocop-ast (>= 0.4.0)
90
97
  ruby-progressbar (1.13.0)
91
- ruby2_keywords (0.0.5)
98
+ securerandom (0.4.1)
92
99
  simplecov (0.16.1)
93
100
  docile (~> 1.1)
94
101
  json (>= 1.8, < 3)
95
102
  simplecov-html (~> 0.10.0)
96
103
  simplecov-html (0.10.2)
97
- sqlite3 (1.7.0)
104
+ sqlite3 (2.8.1)
98
105
  mini_portile2 (~> 2.8.0)
99
106
  sync (0.5.0)
100
107
  term-ansicolor (1.7.1)
@@ -111,11 +118,19 @@ PLATFORMS
111
118
 
112
119
  DEPENDENCIES
113
120
  appraisal (~> 1.0.0)
121
+ base64
122
+ benchmark
123
+ bigdecimal
124
+ cgi
114
125
  comma!
115
126
  coveralls
116
- minitest (= 5.14.4)
127
+ drb
128
+ logger
129
+ minitest (= 5.27.0)
130
+ mutex_m
131
+ ostruct
117
132
  rake (~> 13.0.1)
118
- rspec (~> 3.5.0)
133
+ rspec (~> 3.13)
119
134
  rspec-activemodel-mocks
120
135
  rspec-its
121
136
  rubocop (~> 1.30.0)
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Comma
2
2
 
3
- A library to generate comma seperated value (CSV) for Ruby objects like ActiveRecord and Array
3
+ A library for generating comma-separated values (CSV) from Ruby objects, arrays, and supported ORM collections.
4
4
 
5
5
  [![Gem Version](https://badge.fury.io/rb/comma.svg)](http://badge.fury.io/rb/comma) [![Build Status](https://github.com/comma-csv/comma/actions/workflows/build.yml/badge.svg)](https://github.com/comma-csv/comma/actions/workflows/build.yml) [![Code Climate](https://codeclimate.com/github/comma-csv/comma.svg)](https://codeclimate.com/github/comma-csv/comma)
6
6
 
@@ -8,7 +8,9 @@ A library to generate comma seperated value (CSV) for Ruby objects like ActiveRe
8
8
 
9
9
  ### Prerequisites
10
10
 
11
- 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.
11
+ You need Ruby 3.1 or later.
12
+
13
+ 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.
12
14
 
13
15
  ### Installing
14
16
 
@@ -17,33 +19,111 @@ Comma is distributed as a gem, best installed via Bundler.
17
19
  Include the gem in your Gemfile:
18
20
 
19
21
  ```ruby
20
- gem 'comma', '~> 4.8.0'
22
+ gem 'comma', '~> 5.0.0'
21
23
  ```
22
24
 
23
25
  Or, if you want to live life on the edge, you can get master from the main comma repository:
24
26
 
25
27
  ```ruby
26
- gem 'comma', git: 'git://github.com/comma-csv/comma.git'
28
+ gem 'comma', git: 'https://github.com/comma-csv/comma.git'
27
29
  ```
28
30
 
29
31
  Then, run `bundle install`.
30
32
 
31
33
  ### Usage
32
34
 
33
- See [this page](https://github.com/comma-csv/comma/wiki) for usages.
35
+ Define a CSV format on your object with `comma`. Calling `to_comma` on a single object returns the row values, while calling it on an array or supported collection generates CSV output:
36
+
37
+ ```ruby
38
+ class User
39
+ attr_reader :first_name, :last_name
40
+
41
+ def initialize(first_name, last_name)
42
+ @first_name = first_name
43
+ @last_name = last_name
44
+ end
45
+
46
+ comma do
47
+ first_name
48
+ last_name
49
+ full_name 'Name'
50
+ end
51
+
52
+ def full_name
53
+ "#{first_name} #{last_name}".strip
54
+ end
55
+ end
56
+
57
+ user = User.new('Ada', 'Lovelace')
58
+ user.to_comma
59
+ # => ["Ada", "Lovelace", "Ada Lovelace"]
60
+
61
+ users = [User.new('Ada', 'Lovelace'), User.new('Grace', 'Hopper')]
62
+ users.to_comma
63
+ # => "First name,Last name,Name\nAda,Lovelace,Ada Lovelace\nGrace,Hopper,Grace Hopper\n"
64
+ ```
65
+
66
+ You can also define named styles and select them when generating CSV:
67
+
68
+ ```ruby
69
+ class User
70
+ comma :short do
71
+ first_name
72
+ last_name
73
+ end
74
+ end
75
+
76
+ users.to_comma(:short)
77
+ ```
78
+
79
+ In Rails controllers, requiring the gem registers `render csv:` support:
80
+
81
+ ```ruby
82
+ def index
83
+ render csv: User.all
84
+ end
85
+ ```
86
+
87
+ See the [wiki](https://github.com/comma-csv/comma/wiki) for more usage examples.
34
88
 
35
89
  ## Running the tests
36
90
 
37
- To run the test suite across multiple gem file sets, we're using [Appraisal](https://github.com/thoughtbot/appraisal), use the following commands:
91
+ Install dependencies:
38
92
 
39
93
  ```sh
40
- $ bundle exec appraisal install
41
- $ bundle exec appraisal rake spec
94
+ bundle install
95
+ bundle exec appraisal install
96
+ ```
97
+
98
+ Run the default test suite and linter:
42
99
 
100
+ ```sh
101
+ bundle exec rspec spec
102
+ bundle exec rubocop -P
103
+ ```
104
+
105
+ Run a single example:
106
+
107
+ ```sh
108
+ bundle exec rspec spec/comma/comma_spec.rb:205
109
+ ```
110
+
111
+ To run the test suite across the Rails / ActiveRecord gemfile matrix, this repository uses [Appraisal](https://github.com/thoughtbot/appraisal):
112
+
113
+ ```sh
114
+ bundle exec appraisal rake spec
115
+ ```
116
+
117
+ You can also run a specific spec under one appraisal:
118
+
119
+ ```sh
120
+ bundle exec appraisal rails7.1.3 bundle exec rspec spec/controllers/users_controller_spec.rb
43
121
  ```
44
122
 
45
123
  ## Contributing
46
124
 
125
+ Please make sure `bundle exec rspec spec`, `bundle exec rubocop -P`, and any relevant `bundle exec appraisal ...` commands pass before opening a pull request.
126
+
47
127
  ## Versioning
48
128
 
49
129
  We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/comma-csv/comma/tags).
@@ -56,4 +136,4 @@ We use [SemVer](http://semver.org/) for versioning. For the versions available,
56
136
 
57
137
  ## License
58
138
 
59
- This project is licensed under the MIT License - see the [MIT-LICENSE](https://github.com/comma-csv/comma/blob/master/MIT-LICENSE) file fore details.
139
+ This project is licensed under the MIT License - see the [MIT-LICENSE](https://github.com/comma-csv/comma/blob/master/MIT-LICENSE) file for details.
data/comma.gemspec CHANGED
@@ -15,15 +15,25 @@ Gem::Specification.new do |s|
15
15
  s.files = `git ls-files`.split("\n")
16
16
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
17
  s.require_paths = ['lib']
18
+ s.required_ruby_version = '>= 3.1'
18
19
 
19
20
  s.licenses = ['MIT']
20
21
 
21
22
  s.add_dependency 'activesupport', '>= 4.2.0'
23
+ s.add_dependency 'csv', '>= 3.3'
22
24
 
23
25
  s.add_development_dependency 'appraisal', ['~> 1.0.0']
24
- s.add_development_dependency 'minitest', '5.14.4'
26
+ s.add_development_dependency 'base64'
27
+ s.add_development_dependency 'benchmark'
28
+ s.add_development_dependency 'bigdecimal'
29
+ s.add_development_dependency 'cgi'
30
+ s.add_development_dependency 'drb'
31
+ s.add_development_dependency 'logger'
32
+ s.add_development_dependency 'minitest', '5.27.0'
33
+ s.add_development_dependency 'mutex_m'
34
+ s.add_development_dependency 'ostruct'
25
35
  s.add_development_dependency 'rake', '~> 13.0.1'
26
- s.add_development_dependency 'rspec', ['~> 3.5.0']
36
+ s.add_development_dependency 'rspec', ['~> 3.13']
27
37
  s.add_development_dependency 'rspec-activemodel-mocks'
28
38
  s.add_development_dependency 'rspec-its'
29
39
  end
@@ -1,8 +1,9 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.8.0)
4
+ comma (5.0.0)
5
5
  activesupport (>= 4.2.0)
6
+ csv (>= 3.3)
6
7
 
7
8
  GEM
8
9
  remote: https://rubygems.org/
@@ -23,20 +24,29 @@ GEM
23
24
  rake
24
25
  thor (>= 0.14.0)
25
26
  ast (2.4.2)
26
- concurrent-ruby (1.2.3)
27
+ base64 (0.3.0)
28
+ benchmark (0.5.0)
29
+ bigdecimal (4.1.2)
30
+ cgi (0.3.6)
31
+ concurrent-ruby (1.3.6)
27
32
  coveralls (0.8.23)
28
33
  json (>= 1.8, < 3)
29
34
  simplecov (~> 0.16.1)
30
35
  term-ansicolor (~> 1.3)
31
36
  thor (>= 0.19.4, < 2.0)
32
37
  tins (~> 1.6)
38
+ csv (3.3.5)
33
39
  diff-lcs (1.5.0)
34
40
  docile (1.4.0)
35
- i18n (1.14.1)
41
+ drb (2.2.3)
42
+ i18n (1.14.8)
36
43
  concurrent-ruby (~> 1.0)
37
44
  json (2.7.1)
38
- mini_portile2 (2.8.5)
39
- minitest (5.14.4)
45
+ logger (1.7.0)
46
+ mini_portile2 (2.8.9)
47
+ minitest (5.27.0)
48
+ mutex_m (0.3.0)
49
+ ostruct (0.5.2)
40
50
  parallel (1.24.0)
41
51
  parser (3.3.0.4)
42
52
  ast (~> 2.4.1)
@@ -46,26 +56,26 @@ GEM
46
56
  rake (13.0.6)
47
57
  regexp_parser (2.9.0)
48
58
  rexml (3.2.6)
49
- rspec (3.5.0)
50
- rspec-core (~> 3.5.0)
51
- rspec-expectations (~> 3.5.0)
52
- rspec-mocks (~> 3.5.0)
59
+ rspec (3.13.0)
60
+ rspec-core (~> 3.13.0)
61
+ rspec-expectations (~> 3.13.0)
62
+ rspec-mocks (~> 3.13.0)
53
63
  rspec-activemodel-mocks (1.2.0)
54
64
  activemodel (>= 3.0)
55
65
  activesupport (>= 3.0)
56
66
  rspec-mocks (>= 2.99, < 4.0)
57
- rspec-core (3.5.4)
58
- rspec-support (~> 3.5.0)
59
- rspec-expectations (3.5.0)
67
+ rspec-core (3.13.1)
68
+ rspec-support (~> 3.13.0)
69
+ rspec-expectations (3.13.3)
60
70
  diff-lcs (>= 1.2.0, < 2.0)
61
- rspec-support (~> 3.5.0)
71
+ rspec-support (~> 3.13.0)
62
72
  rspec-its (1.3.0)
63
73
  rspec-core (>= 3.0.0)
64
74
  rspec-expectations (>= 3.0.0)
65
- rspec-mocks (3.5.0)
75
+ rspec-mocks (3.13.1)
66
76
  diff-lcs (>= 1.2.0, < 2.0)
67
- rspec-support (~> 3.5.0)
68
- rspec-support (3.5.0)
77
+ rspec-support (~> 3.13.0)
78
+ rspec-support (3.13.1)
69
79
  rubocop (1.30.1)
70
80
  parallel (~> 1.10)
71
81
  parser (>= 3.1.0.0)
@@ -88,6 +98,8 @@ GEM
88
98
  simplecov-html (0.10.2)
89
99
  sqlite3 (1.7.0)
90
100
  mini_portile2 (~> 2.8.0)
101
+ sqlite3 (1.7.0-x86_64-darwin)
102
+ sqlite3 (1.7.0-x86_64-linux)
91
103
  sync (0.5.0)
92
104
  term-ansicolor (1.7.1)
93
105
  tins (~> 1.0)
@@ -98,20 +110,30 @@ GEM
98
110
  tzinfo (1.2.11)
99
111
  thread_safe (~> 0.1)
100
112
  unicode-display_width (2.5.0)
101
- zeitwerk (2.6.12)
113
+ zeitwerk (2.6.18)
102
114
 
103
115
  PLATFORMS
104
116
  ruby
117
+ x86_64-darwin-23
118
+ x86_64-linux
105
119
 
106
120
  DEPENDENCIES
107
121
  activerecord (= 6.0.6)
108
122
  activesupport (= 6.0.6)
109
123
  appraisal (~> 1.0.0)
124
+ base64
125
+ benchmark
126
+ bigdecimal
127
+ cgi
110
128
  comma!
111
129
  coveralls
112
- minitest (= 5.14.4)
130
+ drb
131
+ logger
132
+ minitest (= 5.27.0)
133
+ mutex_m
134
+ ostruct
113
135
  rake (~> 13.0.1)
114
- rspec (~> 3.5.0)
136
+ rspec (~> 3.13)
115
137
  rspec-activemodel-mocks
116
138
  rspec-its
117
139
  rubocop (~> 1.30.0)
@@ -1,8 +1,9 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.8.0)
4
+ comma (5.0.0)
5
5
  activesupport (>= 4.2.0)
6
+ csv (>= 3.3)
6
7
 
7
8
  GEM
8
9
  remote: https://rubygems.org/
@@ -23,20 +24,29 @@ GEM
23
24
  rake
24
25
  thor (>= 0.14.0)
25
26
  ast (2.4.2)
26
- concurrent-ruby (1.2.3)
27
+ base64 (0.3.0)
28
+ benchmark (0.5.0)
29
+ bigdecimal (4.1.2)
30
+ cgi (0.3.6)
31
+ concurrent-ruby (1.3.6)
27
32
  coveralls (0.8.23)
28
33
  json (>= 1.8, < 3)
29
34
  simplecov (~> 0.16.1)
30
35
  term-ansicolor (~> 1.3)
31
36
  thor (>= 0.19.4, < 2.0)
32
37
  tins (~> 1.6)
38
+ csv (3.3.5)
33
39
  diff-lcs (1.5.0)
34
40
  docile (1.4.0)
35
- i18n (1.14.1)
41
+ drb (2.2.3)
42
+ i18n (1.14.8)
36
43
  concurrent-ruby (~> 1.0)
37
44
  json (2.7.1)
38
- mini_portile2 (2.8.5)
39
- minitest (5.14.4)
45
+ logger (1.7.0)
46
+ mini_portile2 (2.8.9)
47
+ minitest (5.27.0)
48
+ mutex_m (0.3.0)
49
+ ostruct (0.5.2)
40
50
  parallel (1.24.0)
41
51
  parser (3.3.0.4)
42
52
  ast (~> 2.4.1)
@@ -46,26 +56,26 @@ GEM
46
56
  rake (13.0.6)
47
57
  regexp_parser (2.9.0)
48
58
  rexml (3.2.6)
49
- rspec (3.5.0)
50
- rspec-core (~> 3.5.0)
51
- rspec-expectations (~> 3.5.0)
52
- rspec-mocks (~> 3.5.0)
59
+ rspec (3.13.0)
60
+ rspec-core (~> 3.13.0)
61
+ rspec-expectations (~> 3.13.0)
62
+ rspec-mocks (~> 3.13.0)
53
63
  rspec-activemodel-mocks (1.2.0)
54
64
  activemodel (>= 3.0)
55
65
  activesupport (>= 3.0)
56
66
  rspec-mocks (>= 2.99, < 4.0)
57
- rspec-core (3.5.4)
58
- rspec-support (~> 3.5.0)
59
- rspec-expectations (3.5.0)
67
+ rspec-core (3.13.1)
68
+ rspec-support (~> 3.13.0)
69
+ rspec-expectations (3.13.3)
60
70
  diff-lcs (>= 1.2.0, < 2.0)
61
- rspec-support (~> 3.5.0)
71
+ rspec-support (~> 3.13.0)
62
72
  rspec-its (1.3.0)
63
73
  rspec-core (>= 3.0.0)
64
74
  rspec-expectations (>= 3.0.0)
65
- rspec-mocks (3.5.0)
75
+ rspec-mocks (3.13.1)
66
76
  diff-lcs (>= 1.2.0, < 2.0)
67
- rspec-support (~> 3.5.0)
68
- rspec-support (3.5.0)
77
+ rspec-support (~> 3.13.0)
78
+ rspec-support (3.13.1)
69
79
  rubocop (1.30.1)
70
80
  parallel (~> 1.10)
71
81
  parser (>= 3.1.0.0)
@@ -88,6 +98,8 @@ GEM
88
98
  simplecov-html (0.10.2)
89
99
  sqlite3 (1.7.0)
90
100
  mini_portile2 (~> 2.8.0)
101
+ sqlite3 (1.7.0-x86_64-darwin)
102
+ sqlite3 (1.7.0-x86_64-linux)
91
103
  sync (0.5.0)
92
104
  term-ansicolor (1.7.1)
93
105
  tins (~> 1.0)
@@ -97,20 +109,30 @@ GEM
97
109
  tzinfo (2.0.6)
98
110
  concurrent-ruby (~> 1.0)
99
111
  unicode-display_width (2.5.0)
100
- zeitwerk (2.6.12)
112
+ zeitwerk (2.6.18)
101
113
 
102
114
  PLATFORMS
103
115
  ruby
116
+ x86_64-darwin-23
117
+ x86_64-linux
104
118
 
105
119
  DEPENDENCIES
106
120
  activerecord (= 6.1.7.6)
107
121
  activesupport (= 6.1.7.6)
108
122
  appraisal (~> 1.0.0)
123
+ base64
124
+ benchmark
125
+ bigdecimal
126
+ cgi
109
127
  comma!
110
128
  coveralls
111
- minitest (= 5.14.4)
129
+ drb
130
+ logger
131
+ minitest (= 5.27.0)
132
+ mutex_m
133
+ ostruct
112
134
  rake (~> 13.0.1)
113
- rspec (~> 3.5.0)
135
+ rspec (~> 3.13)
114
136
  rspec-activemodel-mocks
115
137
  rspec-its
116
138
  rubocop (~> 1.30.0)