comma 4.7.0 → 4.9.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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/build.yml +4 -23
  3. data/.rubocop.yml +1 -1
  4. data/.rubocop_todo.yml +96 -49
  5. data/Appraisals +25 -34
  6. data/Gemfile +1 -1
  7. data/Gemfile.lock +67 -58
  8. data/README.md +2 -2
  9. data/comma.gemspec +5 -0
  10. data/gemfiles/{active5.2.5.gemfile → active6.0.6.gemfile} +3 -3
  11. data/gemfiles/{active6.0.3.6.gemfile.lock → active6.0.6.gemfile.lock} +55 -37
  12. data/gemfiles/{active6.1.3.1.gemfile → active6.1.7.6.gemfile} +3 -3
  13. data/gemfiles/{active7.0.0.gemfile.lock → active6.1.7.6.gemfile.lock} +56 -36
  14. data/gemfiles/active7.0.8.gemfile +12 -0
  15. data/gemfiles/{active6.1.3.1.gemfile.lock → active7.0.8.gemfile.lock} +54 -38
  16. data/gemfiles/active7.1.3.gemfile +12 -0
  17. data/gemfiles/{active5.2.5.gemfile.lock → active7.1.3.gemfile.lock} +64 -43
  18. data/gemfiles/{rails6.1.3.1.gemfile → rails6.0.6.gemfile} +2 -2
  19. data/gemfiles/rails6.0.6.gemfile.lock +268 -0
  20. data/gemfiles/{rails6.0.3.6.gemfile → rails6.1.7.6.gemfile} +2 -2
  21. data/gemfiles/rails6.1.7.6.gemfile.lock +271 -0
  22. data/gemfiles/{rails7.0.0.gemfile → rails7.0.8.gemfile} +2 -2
  23. data/gemfiles/rails7.0.8.gemfile.lock +266 -0
  24. data/gemfiles/{active7.0.0.gemfile → rails7.1.3.gemfile} +3 -3
  25. data/gemfiles/rails7.1.3.gemfile.lock +289 -0
  26. data/lib/comma/header_extractor.rb +1 -0
  27. data/lib/comma/version.rb +1 -1
  28. data/lib/comma.rb +2 -0
  29. data/spec/comma/comma_spec.rb +18 -18
  30. data/spec/comma/rails/active_record_spec.rb +1 -1
  31. data/spec/comma/rails/mongoid_spec.rb +1 -1
  32. data/spec/spec_helper.rb +1 -0
  33. metadata +108 -23
  34. data/gemfiles/active6.0.3.6.gemfile +0 -12
  35. data/gemfiles/rails5.2.5.gemfile +0 -14
  36. data/gemfiles/rails5.2.5.gemfile.lock +0 -217
  37. data/gemfiles/rails6.0.3.6.gemfile.lock +0 -232
  38. data/gemfiles/rails6.1.3.1.gemfile.lock +0 -235
  39. data/gemfiles/rails7.0.0.gemfile.lock +0 -224
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3cae4bf01d8d4519c1b4c8b99259f566312a9636cf0e22d94ff794354b96be8c
4
- data.tar.gz: dc9e68fe88370b01c8c750f9aa0879b820a1667609e6939d63cbd33dd367cab4
3
+ metadata.gz: ebf4796fc5d10dd1af410b86168ed9bce3083bd8182606000062ef572771d0a8
4
+ data.tar.gz: d3b8bfbe4556b3954e3d1205dcff81390b9491546581771d0cfb1862df3fc45b
5
5
  SHA512:
6
- metadata.gz: 95c211057b6466b298ba52f35a0ab629f368c58b52e4a688cee131391d30e82db499511beceeb10b0a589c9872063794e7874f8730c50f000210d8f8be38b5ec
7
- data.tar.gz: 66deaf828d3deae2d1475a93a59f3959c0675ca207b97521ce483c3efd4fbc40fd022a668bf275884a0912d892103e13dfd950c2f3b2b2cf6cfb70d8b5b45d33
6
+ metadata.gz: a365b5fa5f0e9ae46dfb0ac321fd1e4838589fd162ae16fb21e9262ac7e367c0d99031a52e5c8f02259bdf9e38f82ee72dd5b3e498c9ee90e8de4aed6073e6c6
7
+ data.tar.gz: dd02d4b771ea4139820ba98b6f99d0d4fe2ff6626fade1d47e4190c5d6640d06079347195b4c224a499b2cc8c380a74261d1e0b292c59a98d50a1e3583927397
@@ -3,33 +3,14 @@ on: [push, pull_request]
3
3
  jobs:
4
4
  build:
5
5
  strategy:
6
+ fail-fast: false
6
7
  matrix:
7
- ruby: ['2.5', '2.6', '2.7', '3.0']
8
- gemfile: ['active6.0.3.6', 'active6.1.3.1', 'rails6.0.3.6', 'rails6.1.3.1']
9
- include:
10
- - ruby: '2.5'
11
- gemfile: active5.2.5
12
- - ruby: '2.6'
13
- gemfile: active5.2.5
14
- - ruby: '2.7'
15
- gemfile: active5.2.5
16
- - ruby: '2.5'
17
- gemfile: rails5.2.5
18
- - ruby: '2.6'
19
- gemfile: rails5.2.5
20
- - ruby: '2.7'
21
- gemfile: rails5.2.5
22
- - ruby: '2.7'
23
- gemfile: active7.0.0
24
- - ruby: '3.0'
25
- gemfile: active7.0.0
26
- - ruby: '2.7'
27
- gemfile: rails7.0.0
28
- - ruby: '3.0'
29
- gemfile: rails7.0.0
8
+ ruby: ['3.0', '3.1', '3.2', '3.3', '3.4']
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']
30
10
  runs-on: ubuntu-latest
31
11
  env:
32
12
  BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
13
+ BUNDLE_FORCE_RUBY_PLATFORM: ${{ matrix.ruby == '3.4' }}
33
14
  RUBY_OPT: --disable=did_you_mean
34
15
  services:
35
16
  mongodb:
data/.rubocop.yml CHANGED
@@ -10,7 +10,7 @@ AllCops:
10
10
  NewCops: enable
11
11
  TargetRubyVersion: 2.5
12
12
 
13
- Metrics/LineLength:
13
+ Layout/LineLength:
14
14
  IgnoreCopDirectives: true
15
15
  Max: 120
16
16
 
data/.rubocop_todo.yml CHANGED
@@ -1,24 +1,104 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2016-10-11 00:30:58 +0900 using RuboCop version 0.43.0.
3
+ # on 2024-01-20 09:02:51 UTC using RuboCop version 1.30.1.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
+ # Offense count: 1
10
+ # This cop supports safe autocorrection (--autocorrect).
11
+ # Configuration parameters: Include.
12
+ # Include: **/*.gemspec
13
+ Gemspec/DeprecatedAttributeAssignment:
14
+ Exclude:
15
+ - 'comma.gemspec'
16
+
17
+ # Offense count: 1
18
+ # This cop supports safe autocorrection (--autocorrect).
19
+ # Configuration parameters: Include.
20
+ # Include: **/*.gemspec
21
+ Gemspec/RequireMFA:
22
+ Exclude:
23
+ - 'comma.gemspec'
24
+
25
+ # Offense count: 1
26
+ # Configuration parameters: Include.
27
+ # Include: **/*.gemspec
28
+ Gemspec/RequiredRubyVersion:
29
+ Exclude:
30
+ - 'comma.gemspec'
31
+
32
+ # Offense count: 1
33
+ # This cop supports safe autocorrection (--autocorrect).
34
+ # Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, AllowAdjacentOneLineDefs, NumberOfEmptyLines.
35
+ Layout/EmptyLineBetweenDefs:
36
+ Exclude:
37
+ - 'spec/rails_app/rails_app.rb'
38
+
39
+ # Offense count: 4
40
+ # This cop supports safe autocorrection (--autocorrect).
41
+ # Configuration parameters: AllowAliasSyntax, AllowedMethods.
42
+ # AllowedMethods: alias_method, public, protected, private
43
+ Layout/EmptyLinesAroundAttributeAccessor:
44
+ Exclude:
45
+ - 'spec/comma/comma_spec.rb'
46
+
47
+ # Offense count: 1
48
+ # This cop supports safe autocorrection (--autocorrect).
49
+ Layout/SpaceAroundMethodCallOperator:
50
+ Exclude:
51
+ - 'spec/controllers/users_controller_spec.rb'
52
+
53
+ # Offense count: 17
54
+ # Configuration parameters: AllowedMethods.
55
+ # AllowedMethods: enums
56
+ Lint/ConstantDefinitionInBlock:
57
+ Exclude:
58
+ - 'spec/comma/comma_spec.rb'
59
+ - 'spec/comma/rails/active_record_spec.rb'
60
+ - 'spec/comma/rails/data_mapper_collection_spec.rb'
61
+ - 'spec/comma/rails/mongoid_spec.rb'
62
+
63
+ # Offense count: 4
64
+ # Configuration parameters: AllowComments, AllowEmptyLambdas.
65
+ Lint/EmptyBlock:
66
+ Exclude:
67
+ - 'spec/comma/comma_spec.rb'
68
+ - 'spec/comma/rails/data_mapper_collection_spec.rb'
69
+
70
+ # Offense count: 1
71
+ Lint/MissingSuper:
72
+ Exclude:
73
+ - 'spec/comma/comma_spec.rb'
74
+
75
+ # Offense count: 1
76
+ # This cop supports unsafe autocorrection (--autocorrect-all).
77
+ Lint/NonDeterministicRequireOrder:
78
+ Exclude:
79
+ - 'spec/spec_helper.rb'
80
+
9
81
  # Offense count: 2
82
+ # Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
10
83
  Metrics/AbcSize:
11
84
  Max: 22
12
85
 
13
86
  # Offense count: 3
14
- # Configuration parameters: CountComments.
87
+ # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
15
88
  Metrics/MethodLength:
16
- Max: 17
89
+ Max: 16
90
+
91
+ # Offense count: 2
92
+ # Configuration parameters: EnforcedStyle, AllowedIdentifiers, AllowedPatterns.
93
+ # SupportedStyles: snake_case, camelCase
94
+ Naming/VariableName:
95
+ Exclude:
96
+ - 'spec/comma/comma_spec.rb'
17
97
 
18
- # Offense count: 15
19
- # Cop supports --auto-correct.
20
- # Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods.
21
- # SupportedStyles: line_count_based, semantic, braces_for_chaining
98
+ # Offense count: 14
99
+ # This cop supports safe autocorrection (--autocorrect).
100
+ # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
101
+ # SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
22
102
  # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
23
103
  # FunctionalMethods: let, let!, subject, watch
24
104
  # IgnoredMethods: lambda, proc, it
@@ -29,6 +109,7 @@ Style/BlockDelimiters:
29
109
  - 'spec/comma/header_extractor_spec.rb'
30
110
 
31
111
  # Offense count: 11
112
+ # Configuration parameters: AllowedConstants.
32
113
  Style/Documentation:
33
114
  Exclude:
34
115
  - 'spec/**/*'
@@ -43,57 +124,23 @@ Style/Documentation:
43
124
  - 'lib/comma/object.rb'
44
125
  - 'lib/comma/relation.rb'
45
126
 
46
- Lint/MissingSuper:
47
- Exclude:
48
- - 'lib/comma/data_extractor.rb'
49
- - 'lib/comma/header_extractor.rb'
50
- - 'spec/comma/comma_spec.rb'
51
-
127
+ # Offense count: 3
52
128
  Style/MissingRespondToMissing:
53
129
  Exclude:
54
130
  - 'lib/comma/data_extractor.rb'
55
131
  - 'lib/comma/header_extractor.rb'
56
132
 
57
- # Offense count: 2
58
- # Configuration parameters: EnforcedStyle, SupportedStyles.
59
- # SupportedStyles: snake_case, camelCase
60
- Naming/VariableName:
61
- Exclude:
62
- - 'spec/comma/comma_spec.rb'
63
-
64
- Style/StringConcatenation:
65
- Exclude:
66
- - 'spec/comma/comma_spec.rb'
67
- - 'spec/comma/rails/active_record_spec.rb'
68
- - 'spec/spec_helper.rb'
69
-
70
- Lint/NonDeterministicRequireOrder:
71
- Exclude:
72
- - 'spec/spec_helper.rb'
73
-
133
+ # Offense count: 1
134
+ # This cop supports safe autocorrection (--autocorrect).
74
135
  Style/RedundantBegin:
75
136
  Exclude:
76
137
  - 'spec/spec_helper.rb'
77
138
 
78
- Layout/SpaceAroundMethodCallOperator:
79
- Exclude:
80
- - 'spec/controllers/users_controller_spec.rb'
81
-
82
- Lint/ConstantDefinitionInBlock:
139
+ # Offense count: 6
140
+ # This cop supports unsafe autocorrection (--autocorrect-all).
141
+ # Configuration parameters: Mode.
142
+ Style/StringConcatenation:
83
143
  Exclude:
84
144
  - 'spec/comma/comma_spec.rb'
85
145
  - 'spec/comma/rails/active_record_spec.rb'
86
- - 'spec/comma/rails/data_mapper_collection_spec.rb'
87
- - 'spec/comma/rails/mongoid_spec.rb'
88
-
89
- Layout/EmptyLinesAroundAttributeAccessor:
90
- Exclude:
91
- - 'spec/comma/comma_spec.rb'
92
-
93
- Migration/DepartmentName:
94
- Exclude:
95
- - spec/comma/comma_spec.rb
96
-
97
- Gemspec/RequiredRubyVersion:
98
- Exclude:
99
- - comma.gemspec
146
+ - 'spec/spec_helper.rb'
data/Appraisals CHANGED
@@ -1,52 +1,43 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- [
4
- '5.2.5'
5
- ].each do |version_number|
6
- clean_number = version_number.gsub(/[<>~=]*/, '')
7
-
8
- appraise "rails#{clean_number}" do
9
- gem 'rails', version_number
10
- gem 'rspec-rails'
11
- gem 'sprockets', '< 4'
12
- gem 'sqlite3', '~> 1.3.11'
13
- gem 'test-unit'
14
- end
15
-
16
- appraise "active#{clean_number}" do
17
- gem 'activesupport', version_number
18
- gem 'activerecord', version_number
19
- end
20
- end
21
-
22
- appraise 'rails6.0.3.6' do
23
- gem 'rails', '6.0.3.6'
3
+ appraise 'rails6.0.6' do
4
+ gem 'rails', '6.0.6'
24
5
  gem 'rspec-rails'
25
6
  gem 'test-unit'
26
7
  end
27
8
 
28
- appraise 'active6.0.3.6' do
29
- gem 'activesupport', '6.0.3.6'
30
- gem 'activerecord', '6.0.3.6'
9
+ appraise 'active6.0.6' do
10
+ gem 'activesupport', '6.0.6'
11
+ gem 'activerecord', '6.0.6'
31
12
  end
32
13
 
33
- appraise 'rails6.1.3.1' do
34
- gem 'rails', '6.1.3.1'
14
+ appraise 'rails6.1.7.6' do
15
+ gem 'rails', '6.1.7.6'
35
16
  gem 'rspec-rails'
36
17
  gem 'test-unit'
37
18
  end
38
19
 
39
- appraise 'active6.1.3.1' do
40
- gem 'activesupport', '6.1.3.1'
41
- gem 'activerecord', '6.1.3.1'
20
+ appraise 'active6.1.7.6' do
21
+ gem 'activesupport', '6.1.7.6'
22
+ gem 'activerecord', '6.1.7.6'
42
23
  end
43
24
 
44
- appraise 'rails7.0.0' do
45
- gem 'rails', '7.0.0'
25
+ appraise 'rails7.0.8' do
26
+ gem 'rails', '7.0.8'
46
27
  gem 'rspec-rails'
47
28
  end
48
29
 
49
- appraise 'active7.0.0' do
50
- gem 'activesupport', '7.0.0'
51
- gem 'activerecord', '7.0.0'
30
+ appraise 'active7.0.8' do
31
+ gem 'activesupport', '7.0.8'
32
+ gem 'activerecord', '7.0.8'
33
+ end
34
+
35
+ appraise 'rails7.1.3' do
36
+ gem 'rails', '7.1.3'
37
+ gem 'rspec-rails'
38
+ end
39
+
40
+ appraise 'active7.1.3' do
41
+ gem 'activesupport', '7.1.3'
42
+ gem 'activerecord', '7.1.3'
52
43
  end
data/Gemfile CHANGED
@@ -5,6 +5,6 @@ source 'https://rubygems.org'
5
5
  gemspec
6
6
 
7
7
  gem 'coveralls', require: false
8
- gem 'rubocop', '~> 1.0.0', require: false
8
+ gem 'rubocop', '~> 1.30.0', require: false
9
9
  gem 'rubocop-performance', require: false
10
10
  gem 'sqlite3'
data/Gemfile.lock CHANGED
@@ -1,63 +1,64 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- comma (4.7.0)
4
+ comma (4.9.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.0.3.1)
11
- activesupport (= 7.0.3.1)
12
- activesupport (7.0.3.1)
11
+ activemodel (7.1.3)
12
+ activesupport (= 7.1.3)
13
+ activesupport (7.1.3)
14
+ base64
15
+ bigdecimal
13
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ connection_pool (>= 2.2.5)
18
+ drb
14
19
  i18n (>= 1.6, < 2)
15
20
  minitest (>= 5.1)
21
+ mutex_m
16
22
  tzinfo (~> 2.0)
17
23
  appraisal (1.0.3)
18
24
  bundler
19
25
  rake
20
26
  thor (>= 0.14.0)
21
27
  ast (2.4.2)
22
- colorize (0.7.5)
23
- concurrent-ruby (1.1.10)
24
- coveralls (0.5.8)
25
- colorize
26
- json
27
- rest-client
28
- simplecov (>= 0.7)
29
- thor
28
+ base64 (0.3.0)
29
+ bigdecimal (4.1.2)
30
+ concurrent-ruby (1.3.6)
31
+ connection_pool (2.5.5)
32
+ coveralls (0.8.23)
33
+ json (>= 1.8, < 3)
34
+ simplecov (~> 0.16.1)
35
+ term-ansicolor (~> 1.3)
36
+ thor (>= 0.19.4, < 2.0)
37
+ tins (~> 1.6)
38
+ csv (3.3.5)
30
39
  diff-lcs (1.2.5)
31
- docile (1.1.5)
32
- domain_name (0.5.20190701)
33
- unf (>= 0.0.5, < 1.0.0)
34
- http-cookie (1.0.3)
35
- domain_name (~> 0.5)
36
- i18n (1.12.0)
40
+ docile (1.4.0)
41
+ drb (2.2.3)
42
+ i18n (1.14.8)
37
43
  concurrent-ruby (~> 1.0)
38
- json (2.3.1)
39
- mime-types (3.2.2)
40
- mime-types-data (~> 3.2015)
41
- mime-types-data (3.2019.0331)
44
+ json (2.7.1)
45
+ mini_portile2 (2.8.5)
42
46
  minitest (5.14.4)
43
- multi_json (1.1.0)
44
- netrc (0.11.0)
45
- parallel (1.22.1)
46
- parser (3.1.2.0)
47
+ mutex_m (0.3.0)
48
+ parallel (1.24.0)
49
+ parser (3.3.0.4)
47
50
  ast (~> 2.4.1)
51
+ racc
52
+ racc (1.7.3)
48
53
  rainbow (3.1.1)
49
54
  rake (13.0.1)
50
- regexp_parser (2.5.0)
51
- rest-client (2.0.2)
52
- http-cookie (>= 1.0.2, < 2.0)
53
- mime-types (>= 1.16, < 4.0)
54
- netrc (~> 0.8)
55
- rexml (3.2.5)
55
+ regexp_parser (2.9.0)
56
+ rexml (3.4.2)
56
57
  rspec (3.5.0)
57
58
  rspec-core (~> 3.5.0)
58
59
  rspec-expectations (~> 3.5.0)
59
60
  rspec-mocks (~> 3.5.0)
60
- rspec-activemodel-mocks (1.0.3)
61
+ rspec-activemodel-mocks (1.1.0)
61
62
  activemodel (>= 3.0)
62
63
  activesupport (>= 3.0)
63
64
  rspec-mocks (>= 2.99, < 4.0)
@@ -73,49 +74,57 @@ GEM
73
74
  diff-lcs (>= 1.2.0, < 2.0)
74
75
  rspec-support (~> 3.5.0)
75
76
  rspec-support (3.5.0)
76
- rubocop (1.0.0)
77
+ rubocop (1.30.1)
77
78
  parallel (~> 1.10)
78
- parser (>= 2.7.1.5)
79
+ parser (>= 3.1.0.0)
79
80
  rainbow (>= 2.2.2, < 4.0)
80
- regexp_parser (>= 1.8)
81
- rexml
82
- rubocop-ast (>= 0.6.0)
81
+ regexp_parser (>= 1.8, < 3.0)
82
+ rexml (>= 3.2.5, < 4.0)
83
+ rubocop-ast (>= 1.18.0, < 2.0)
83
84
  ruby-progressbar (~> 1.7)
84
- unicode-display_width (>= 1.4.0, < 2.0)
85
- rubocop-ast (1.19.1)
86
- parser (>= 3.1.1.0)
87
- rubocop-performance (1.1.0)
88
- rubocop (>= 0.67.0)
89
- ruby-progressbar (1.11.0)
90
- simplecov (0.9.2)
91
- docile (~> 1.1.0)
92
- multi_json (~> 1.0)
93
- simplecov-html (~> 0.9.0)
94
- simplecov-html (0.9.0)
95
- sqlite3 (1.3.11)
96
- thor (0.19.1)
97
- tzinfo (2.0.5)
85
+ unicode-display_width (>= 1.4.0, < 3.0)
86
+ rubocop-ast (1.30.0)
87
+ parser (>= 3.2.1.0)
88
+ rubocop-performance (1.10.2)
89
+ rubocop (>= 0.90.0, < 2.0)
90
+ rubocop-ast (>= 0.4.0)
91
+ ruby-progressbar (1.13.0)
92
+ simplecov (0.16.1)
93
+ docile (~> 1.1)
94
+ json (>= 1.8, < 3)
95
+ simplecov-html (~> 0.10.0)
96
+ simplecov-html (0.10.2)
97
+ sqlite3 (1.7.0)
98
+ mini_portile2 (~> 2.8.0)
99
+ sync (0.5.0)
100
+ term-ansicolor (1.7.1)
101
+ tins (~> 1.0)
102
+ thor (1.3.0)
103
+ tins (1.32.1)
104
+ sync
105
+ tzinfo (2.0.6)
98
106
  concurrent-ruby (~> 1.0)
99
- unf (0.1.4)
100
- unf_ext
101
- unf_ext (0.0.7.6)
102
- unicode-display_width (1.8.0)
107
+ unicode-display_width (2.5.0)
103
108
 
104
109
  PLATFORMS
105
110
  ruby
106
111
 
107
112
  DEPENDENCIES
108
113
  appraisal (~> 1.0.0)
114
+ base64
115
+ bigdecimal
109
116
  comma!
110
117
  coveralls
118
+ drb
111
119
  minitest (= 5.14.4)
120
+ mutex_m
112
121
  rake (~> 13.0.1)
113
122
  rspec (~> 3.5.0)
114
123
  rspec-activemodel-mocks
115
124
  rspec-its
116
- rubocop (~> 1.0.0)
125
+ rubocop (~> 1.30.0)
117
126
  rubocop-performance
118
127
  sqlite3
119
128
 
120
129
  BUNDLED WITH
121
- 2.1.4
130
+ 2.5.5
data/README.md CHANGED
@@ -8,7 +8,7 @@ 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 2.4 or later. If you generate CSV from ActiveRecord models, you need to have ActiveRecord 5.0 or later.
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.
12
12
 
13
13
  ### Installing
14
14
 
@@ -17,7 +17,7 @@ Comma is distributed as a gem, best installed via Bundler.
17
17
  Include the gem in your Gemfile:
18
18
 
19
19
  ```ruby
20
- gem 'comma', '~> 4.5.0'
20
+ gem 'comma', '~> 4.8.0'
21
21
  ```
22
22
 
23
23
  Or, if you want to live life on the edge, you can get master from the main comma repository:
data/comma.gemspec CHANGED
@@ -19,9 +19,14 @@ Gem::Specification.new do |s|
19
19
  s.licenses = ['MIT']
20
20
 
21
21
  s.add_dependency 'activesupport', '>= 4.2.0'
22
+ s.add_dependency 'csv', '>= 3.3'
22
23
 
23
24
  s.add_development_dependency 'appraisal', ['~> 1.0.0']
25
+ s.add_development_dependency 'base64'
26
+ s.add_development_dependency 'bigdecimal'
27
+ s.add_development_dependency 'drb'
24
28
  s.add_development_dependency 'minitest', '5.14.4'
29
+ s.add_development_dependency 'mutex_m'
25
30
  s.add_development_dependency 'rake', '~> 13.0.1'
26
31
  s.add_development_dependency 'rspec', ['~> 3.5.0']
27
32
  s.add_development_dependency 'rspec-activemodel-mocks'
@@ -3,10 +3,10 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "coveralls", :require => false
6
- gem "rubocop", "~> 1.0.0", :require => false
6
+ gem "rubocop", "~> 1.30.0", :require => false
7
7
  gem "rubocop-performance", :require => false
8
8
  gem "sqlite3"
9
- gem "activesupport", "5.2.5"
10
- gem "activerecord", "5.2.5"
9
+ gem "activesupport", "6.0.6"
10
+ gem "activerecord", "6.0.6"
11
11
 
12
12
  gemspec :path => "../"