comma 4.9.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: ebf4796fc5d10dd1af410b86168ed9bce3083bd8182606000062ef572771d0a8
4
- data.tar.gz: d3b8bfbe4556b3954e3d1205dcff81390b9491546581771d0cfb1862df3fc45b
3
+ metadata.gz: 4fae5c5a35ce2dcf1da69071e605198eb8ab6948a8f6debb662b7f9b14f79bb5
4
+ data.tar.gz: 4eb4ffc8b5002d19a9b8f6b426588bc560bb080354d5e086bfff304fd32d99da
5
5
  SHA512:
6
- metadata.gz: a365b5fa5f0e9ae46dfb0ac321fd1e4838589fd162ae16fb21e9262ac7e367c0d99031a52e5c8f02259bdf9e38f82ee72dd5b3e498c9ee90e8de4aed6073e6c6
7
- data.tar.gz: dd02d4b771ea4139820ba98b6f99d0d4fe2ff6626fade1d47e4190c5d6640d06079347195b4c224a499b2cc8c380a74261d1e0b292c59a98d50a1e3583927397
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.
@@ -5,12 +5,12 @@ jobs:
5
5
  strategy:
6
6
  fail-fast: false
7
7
  matrix:
8
- ruby: ['3.0', '3.1', '3.2', '3.3', '3.4']
8
+ ruby: ['3.1', '3.2', '3.3', '3.4', '4.0']
9
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']
10
10
  runs-on: ubuntu-latest
11
11
  env:
12
12
  BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
13
- BUNDLE_FORCE_RUBY_PLATFORM: ${{ matrix.ruby == '3.4' }}
13
+ BUNDLE_FORCE_RUBY_PLATFORM: ${{ matrix.ruby == '3.4' || matrix.ruby == '4.0' }}
14
14
  RUBY_OPT: --disable=did_you_mean
15
15
  services:
16
16
  mongodb:
data/Gemfile.lock CHANGED
@@ -1,33 +1,37 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- comma (4.9.0)
4
+ comma (5.0.0)
5
5
  activesupport (>= 4.2.0)
6
6
  csv (>= 3.3)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activemodel (7.1.3)
12
- activesupport (= 7.1.3)
13
- activesupport (7.1.3)
11
+ activemodel (7.2.3.1)
12
+ activesupport (= 7.2.3.1)
13
+ activesupport (7.2.3.1)
14
14
  base64
15
+ benchmark (>= 0.3)
15
16
  bigdecimal
16
- concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ concurrent-ruby (~> 1.0, >= 1.3.1)
17
18
  connection_pool (>= 2.2.5)
18
19
  drb
19
20
  i18n (>= 1.6, < 2)
20
- minitest (>= 5.1)
21
- mutex_m
22
- tzinfo (~> 2.0)
21
+ logger (>= 1.4.2)
22
+ minitest (>= 5.1, < 6)
23
+ securerandom (>= 0.3)
24
+ tzinfo (~> 2.0, >= 2.0.5)
23
25
  appraisal (1.0.3)
24
26
  bundler
25
27
  rake
26
28
  thor (>= 0.14.0)
27
29
  ast (2.4.2)
28
30
  base64 (0.3.0)
31
+ benchmark (0.5.0)
29
32
  bigdecimal (4.1.2)
30
- concurrent-ruby (1.3.6)
33
+ cgi (0.3.7)
34
+ concurrent-ruby (1.3.7)
31
35
  connection_pool (2.5.5)
32
36
  coveralls (0.8.23)
33
37
  json (>= 1.8, < 3)
@@ -42,9 +46,11 @@ GEM
42
46
  i18n (1.14.8)
43
47
  concurrent-ruby (~> 1.0)
44
48
  json (2.7.1)
45
- mini_portile2 (2.8.5)
46
- minitest (5.14.4)
49
+ logger (1.7.0)
50
+ mini_portile2 (2.8.9)
51
+ minitest (5.27.0)
47
52
  mutex_m (0.3.0)
53
+ ostruct (0.5.2)
48
54
  parallel (1.24.0)
49
55
  parser (3.3.0.4)
50
56
  ast (~> 2.4.1)
@@ -54,26 +60,26 @@ GEM
54
60
  rake (13.0.1)
55
61
  regexp_parser (2.9.0)
56
62
  rexml (3.4.2)
57
- rspec (3.5.0)
58
- rspec-core (~> 3.5.0)
59
- rspec-expectations (~> 3.5.0)
60
- rspec-mocks (~> 3.5.0)
63
+ rspec (3.13.0)
64
+ rspec-core (~> 3.13.0)
65
+ rspec-expectations (~> 3.13.0)
66
+ rspec-mocks (~> 3.13.0)
61
67
  rspec-activemodel-mocks (1.1.0)
62
68
  activemodel (>= 3.0)
63
69
  activesupport (>= 3.0)
64
70
  rspec-mocks (>= 2.99, < 4.0)
65
- rspec-core (3.5.2)
66
- rspec-support (~> 3.5.0)
67
- rspec-expectations (3.5.0)
71
+ rspec-core (3.13.1)
72
+ rspec-support (~> 3.13.0)
73
+ rspec-expectations (3.13.3)
68
74
  diff-lcs (>= 1.2.0, < 2.0)
69
- rspec-support (~> 3.5.0)
75
+ rspec-support (~> 3.13.0)
70
76
  rspec-its (1.2.0)
71
77
  rspec-core (>= 3.0.0)
72
78
  rspec-expectations (>= 3.0.0)
73
- rspec-mocks (3.5.0)
79
+ rspec-mocks (3.13.1)
74
80
  diff-lcs (>= 1.2.0, < 2.0)
75
- rspec-support (~> 3.5.0)
76
- rspec-support (3.5.0)
81
+ rspec-support (~> 3.13.0)
82
+ rspec-support (3.13.1)
77
83
  rubocop (1.30.1)
78
84
  parallel (~> 1.10)
79
85
  parser (>= 3.1.0.0)
@@ -89,12 +95,13 @@ GEM
89
95
  rubocop (>= 0.90.0, < 2.0)
90
96
  rubocop-ast (>= 0.4.0)
91
97
  ruby-progressbar (1.13.0)
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)
@@ -112,14 +119,18 @@ PLATFORMS
112
119
  DEPENDENCIES
113
120
  appraisal (~> 1.0.0)
114
121
  base64
122
+ benchmark
115
123
  bigdecimal
124
+ cgi
116
125
  comma!
117
126
  coveralls
118
127
  drb
119
- minitest (= 5.14.4)
128
+ logger
129
+ minitest (= 5.27.0)
120
130
  mutex_m
131
+ ostruct
121
132
  rake (~> 13.0.1)
122
- rspec (~> 3.5.0)
133
+ rspec (~> 3.13)
123
134
  rspec-activemodel-mocks
124
135
  rspec-its
125
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,6 +15,7 @@ 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
 
@@ -23,12 +24,16 @@ Gem::Specification.new do |s|
23
24
 
24
25
  s.add_development_dependency 'appraisal', ['~> 1.0.0']
25
26
  s.add_development_dependency 'base64'
27
+ s.add_development_dependency 'benchmark'
26
28
  s.add_development_dependency 'bigdecimal'
29
+ s.add_development_dependency 'cgi'
27
30
  s.add_development_dependency 'drb'
28
- s.add_development_dependency 'minitest', '5.14.4'
31
+ s.add_development_dependency 'logger'
32
+ s.add_development_dependency 'minitest', '5.27.0'
29
33
  s.add_development_dependency 'mutex_m'
34
+ s.add_development_dependency 'ostruct'
30
35
  s.add_development_dependency 'rake', '~> 13.0.1'
31
- s.add_development_dependency 'rspec', ['~> 3.5.0']
36
+ s.add_development_dependency 'rspec', ['~> 3.13']
32
37
  s.add_development_dependency 'rspec-activemodel-mocks'
33
38
  s.add_development_dependency 'rspec-its'
34
39
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.9.0)
4
+ comma (5.0.0)
5
5
  activesupport (>= 4.2.0)
6
6
  csv (>= 3.3)
7
7
 
@@ -25,7 +25,9 @@ GEM
25
25
  thor (>= 0.14.0)
26
26
  ast (2.4.2)
27
27
  base64 (0.3.0)
28
+ benchmark (0.5.0)
28
29
  bigdecimal (4.1.2)
30
+ cgi (0.3.6)
29
31
  concurrent-ruby (1.3.6)
30
32
  coveralls (0.8.23)
31
33
  json (>= 1.8, < 3)
@@ -40,9 +42,11 @@ GEM
40
42
  i18n (1.14.8)
41
43
  concurrent-ruby (~> 1.0)
42
44
  json (2.7.1)
45
+ logger (1.7.0)
43
46
  mini_portile2 (2.8.9)
44
- minitest (5.14.4)
47
+ minitest (5.27.0)
45
48
  mutex_m (0.3.0)
49
+ ostruct (0.5.2)
46
50
  parallel (1.24.0)
47
51
  parser (3.3.0.4)
48
52
  ast (~> 2.4.1)
@@ -52,26 +56,26 @@ GEM
52
56
  rake (13.0.6)
53
57
  regexp_parser (2.9.0)
54
58
  rexml (3.2.6)
55
- rspec (3.5.0)
56
- rspec-core (~> 3.5.0)
57
- rspec-expectations (~> 3.5.0)
58
- 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)
59
63
  rspec-activemodel-mocks (1.2.0)
60
64
  activemodel (>= 3.0)
61
65
  activesupport (>= 3.0)
62
66
  rspec-mocks (>= 2.99, < 4.0)
63
- rspec-core (3.5.4)
64
- rspec-support (~> 3.5.0)
65
- rspec-expectations (3.5.0)
67
+ rspec-core (3.13.1)
68
+ rspec-support (~> 3.13.0)
69
+ rspec-expectations (3.13.3)
66
70
  diff-lcs (>= 1.2.0, < 2.0)
67
- rspec-support (~> 3.5.0)
71
+ rspec-support (~> 3.13.0)
68
72
  rspec-its (1.3.0)
69
73
  rspec-core (>= 3.0.0)
70
74
  rspec-expectations (>= 3.0.0)
71
- rspec-mocks (3.5.0)
75
+ rspec-mocks (3.13.1)
72
76
  diff-lcs (>= 1.2.0, < 2.0)
73
- rspec-support (~> 3.5.0)
74
- rspec-support (3.5.0)
77
+ rspec-support (~> 3.13.0)
78
+ rspec-support (3.13.1)
75
79
  rubocop (1.30.1)
76
80
  parallel (~> 1.10)
77
81
  parser (>= 3.1.0.0)
@@ -118,14 +122,18 @@ DEPENDENCIES
118
122
  activesupport (= 6.0.6)
119
123
  appraisal (~> 1.0.0)
120
124
  base64
125
+ benchmark
121
126
  bigdecimal
127
+ cgi
122
128
  comma!
123
129
  coveralls
124
130
  drb
125
- minitest (= 5.14.4)
131
+ logger
132
+ minitest (= 5.27.0)
126
133
  mutex_m
134
+ ostruct
127
135
  rake (~> 13.0.1)
128
- rspec (~> 3.5.0)
136
+ rspec (~> 3.13)
129
137
  rspec-activemodel-mocks
130
138
  rspec-its
131
139
  rubocop (~> 1.30.0)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.9.0)
4
+ comma (5.0.0)
5
5
  activesupport (>= 4.2.0)
6
6
  csv (>= 3.3)
7
7
 
@@ -25,7 +25,9 @@ GEM
25
25
  thor (>= 0.14.0)
26
26
  ast (2.4.2)
27
27
  base64 (0.3.0)
28
+ benchmark (0.5.0)
28
29
  bigdecimal (4.1.2)
30
+ cgi (0.3.6)
29
31
  concurrent-ruby (1.3.6)
30
32
  coveralls (0.8.23)
31
33
  json (>= 1.8, < 3)
@@ -40,9 +42,11 @@ GEM
40
42
  i18n (1.14.8)
41
43
  concurrent-ruby (~> 1.0)
42
44
  json (2.7.1)
45
+ logger (1.7.0)
43
46
  mini_portile2 (2.8.9)
44
- minitest (5.14.4)
47
+ minitest (5.27.0)
45
48
  mutex_m (0.3.0)
49
+ ostruct (0.5.2)
46
50
  parallel (1.24.0)
47
51
  parser (3.3.0.4)
48
52
  ast (~> 2.4.1)
@@ -52,26 +56,26 @@ GEM
52
56
  rake (13.0.6)
53
57
  regexp_parser (2.9.0)
54
58
  rexml (3.2.6)
55
- rspec (3.5.0)
56
- rspec-core (~> 3.5.0)
57
- rspec-expectations (~> 3.5.0)
58
- 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)
59
63
  rspec-activemodel-mocks (1.2.0)
60
64
  activemodel (>= 3.0)
61
65
  activesupport (>= 3.0)
62
66
  rspec-mocks (>= 2.99, < 4.0)
63
- rspec-core (3.5.4)
64
- rspec-support (~> 3.5.0)
65
- rspec-expectations (3.5.0)
67
+ rspec-core (3.13.1)
68
+ rspec-support (~> 3.13.0)
69
+ rspec-expectations (3.13.3)
66
70
  diff-lcs (>= 1.2.0, < 2.0)
67
- rspec-support (~> 3.5.0)
71
+ rspec-support (~> 3.13.0)
68
72
  rspec-its (1.3.0)
69
73
  rspec-core (>= 3.0.0)
70
74
  rspec-expectations (>= 3.0.0)
71
- rspec-mocks (3.5.0)
75
+ rspec-mocks (3.13.1)
72
76
  diff-lcs (>= 1.2.0, < 2.0)
73
- rspec-support (~> 3.5.0)
74
- rspec-support (3.5.0)
77
+ rspec-support (~> 3.13.0)
78
+ rspec-support (3.13.1)
75
79
  rubocop (1.30.1)
76
80
  parallel (~> 1.10)
77
81
  parser (>= 3.1.0.0)
@@ -117,14 +121,18 @@ DEPENDENCIES
117
121
  activesupport (= 6.1.7.6)
118
122
  appraisal (~> 1.0.0)
119
123
  base64
124
+ benchmark
120
125
  bigdecimal
126
+ cgi
121
127
  comma!
122
128
  coveralls
123
129
  drb
124
- minitest (= 5.14.4)
130
+ logger
131
+ minitest (= 5.27.0)
125
132
  mutex_m
133
+ ostruct
126
134
  rake (~> 13.0.1)
127
- rspec (~> 3.5.0)
135
+ rspec (~> 3.13)
128
136
  rspec-activemodel-mocks
129
137
  rspec-its
130
138
  rubocop (~> 1.30.0)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.9.0)
4
+ comma (5.0.0)
5
5
  activesupport (>= 4.2.0)
6
6
  csv (>= 3.3)
7
7
 
@@ -24,7 +24,9 @@ GEM
24
24
  thor (>= 0.14.0)
25
25
  ast (2.4.2)
26
26
  base64 (0.3.0)
27
+ benchmark (0.5.0)
27
28
  bigdecimal (4.1.2)
29
+ cgi (0.3.6)
28
30
  concurrent-ruby (1.3.6)
29
31
  coveralls (0.8.23)
30
32
  json (>= 1.8, < 3)
@@ -39,9 +41,11 @@ GEM
39
41
  i18n (1.14.8)
40
42
  concurrent-ruby (~> 1.0)
41
43
  json (2.7.1)
44
+ logger (1.7.0)
42
45
  mini_portile2 (2.8.9)
43
- minitest (5.14.4)
46
+ minitest (5.27.0)
44
47
  mutex_m (0.3.0)
48
+ ostruct (0.5.2)
45
49
  parallel (1.24.0)
46
50
  parser (3.3.0.4)
47
51
  ast (~> 2.4.1)
@@ -51,26 +55,26 @@ GEM
51
55
  rake (13.0.6)
52
56
  regexp_parser (2.9.0)
53
57
  rexml (3.2.6)
54
- rspec (3.5.0)
55
- rspec-core (~> 3.5.0)
56
- rspec-expectations (~> 3.5.0)
57
- rspec-mocks (~> 3.5.0)
58
+ rspec (3.13.0)
59
+ rspec-core (~> 3.13.0)
60
+ rspec-expectations (~> 3.13.0)
61
+ rspec-mocks (~> 3.13.0)
58
62
  rspec-activemodel-mocks (1.2.0)
59
63
  activemodel (>= 3.0)
60
64
  activesupport (>= 3.0)
61
65
  rspec-mocks (>= 2.99, < 4.0)
62
- rspec-core (3.5.4)
63
- rspec-support (~> 3.5.0)
64
- rspec-expectations (3.5.0)
66
+ rspec-core (3.13.1)
67
+ rspec-support (~> 3.13.0)
68
+ rspec-expectations (3.13.3)
65
69
  diff-lcs (>= 1.2.0, < 2.0)
66
- rspec-support (~> 3.5.0)
70
+ rspec-support (~> 3.13.0)
67
71
  rspec-its (1.3.0)
68
72
  rspec-core (>= 3.0.0)
69
73
  rspec-expectations (>= 3.0.0)
70
- rspec-mocks (3.5.0)
74
+ rspec-mocks (3.13.1)
71
75
  diff-lcs (>= 1.2.0, < 2.0)
72
- rspec-support (~> 3.5.0)
73
- rspec-support (3.5.0)
76
+ rspec-support (~> 3.13.0)
77
+ rspec-support (3.13.1)
74
78
  rubocop (1.30.1)
75
79
  parallel (~> 1.10)
76
80
  parser (>= 3.1.0.0)
@@ -115,14 +119,18 @@ DEPENDENCIES
115
119
  activesupport (= 7.0.8)
116
120
  appraisal (~> 1.0.0)
117
121
  base64
122
+ benchmark
118
123
  bigdecimal
124
+ cgi
119
125
  comma!
120
126
  coveralls
121
127
  drb
122
- minitest (= 5.14.4)
128
+ logger
129
+ minitest (= 5.27.0)
123
130
  mutex_m
131
+ ostruct
124
132
  rake (~> 13.0.1)
125
- rspec (~> 3.5.0)
133
+ rspec (~> 3.13)
126
134
  rspec-activemodel-mocks
127
135
  rspec-its
128
136
  rubocop (~> 1.30.0)