comma 4.7.0 → 4.8.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 (37) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/build.yml +2 -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 +63 -58
  8. data/README.md +2 -2
  9. data/gemfiles/{active5.2.5.gemfile → active6.0.6.gemfile} +3 -3
  10. data/gemfiles/{active6.0.3.6.gemfile.lock → active6.0.6.gemfile.lock} +41 -37
  11. data/gemfiles/{active6.1.3.1.gemfile → active6.1.7.6.gemfile} +3 -3
  12. data/gemfiles/{active7.0.0.gemfile.lock → active6.1.7.6.gemfile.lock} +42 -36
  13. data/gemfiles/active7.0.8.gemfile +12 -0
  14. data/gemfiles/{active6.1.3.1.gemfile.lock → active7.0.8.gemfile.lock} +40 -38
  15. data/gemfiles/active7.1.3.gemfile +12 -0
  16. data/gemfiles/{active5.2.5.gemfile.lock → active7.1.3.gemfile.lock} +58 -43
  17. data/gemfiles/{rails6.1.3.1.gemfile → rails6.0.6.gemfile} +2 -2
  18. data/gemfiles/rails6.0.6.gemfile.lock +270 -0
  19. data/gemfiles/{rails6.0.3.6.gemfile → rails6.1.7.6.gemfile} +2 -2
  20. data/gemfiles/rails6.1.7.6.gemfile.lock +273 -0
  21. data/gemfiles/{rails7.0.0.gemfile → rails7.0.8.gemfile} +2 -2
  22. data/gemfiles/rails7.0.8.gemfile.lock +248 -0
  23. data/gemfiles/{active7.0.0.gemfile → rails7.1.3.gemfile} +3 -3
  24. data/gemfiles/rails7.1.3.gemfile.lock +281 -0
  25. data/lib/comma/header_extractor.rb +1 -0
  26. data/lib/comma/version.rb +1 -1
  27. data/lib/comma.rb +1 -0
  28. data/spec/comma/comma_spec.rb +18 -18
  29. data/spec/comma/rails/active_record_spec.rb +1 -1
  30. data/spec/comma/rails/mongoid_spec.rb +1 -1
  31. metadata +38 -23
  32. data/gemfiles/active6.0.3.6.gemfile +0 -12
  33. data/gemfiles/rails5.2.5.gemfile +0 -14
  34. data/gemfiles/rails5.2.5.gemfile.lock +0 -217
  35. data/gemfiles/rails6.0.3.6.gemfile.lock +0 -232
  36. data/gemfiles/rails6.1.3.1.gemfile.lock +0 -235
  37. 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: 4aa1aba48fd96f70ee3b0dd3e38a88a67008e345b07942b2b0eaf4e36aa92ca6
4
+ data.tar.gz: 5a8549374ef8bd4484df67cf54019ca557e8f32b47c3056a154c1fd7e3db19b7
5
5
  SHA512:
6
- metadata.gz: 95c211057b6466b298ba52f35a0ab629f368c58b52e4a688cee131391d30e82db499511beceeb10b0a589c9872063794e7874f8730c50f000210d8f8be38b5ec
7
- data.tar.gz: 66deaf828d3deae2d1475a93a59f3959c0675ca207b97521ce483c3efd4fbc40fd022a668bf275884a0912d892103e13dfd950c2f3b2b2cf6cfb70d8b5b45d33
6
+ metadata.gz: e2ff178c4898ae77dbf29516e7a63688914fd0fef3bfb08de01b0c2e90d045b0d62cfe111c170712cce4da6b6855a4d041d7d786fee350660961159c6083dadf
7
+ data.tar.gz: d50dce0e783a0cea5c2f1ee653be1db60374c10f4c850416e4f4646411a16ea30567120a52e4d02412d580fa86e9411320ccdfbe97e5466af6982589557c67f3
@@ -4,29 +4,8 @@ jobs:
4
4
  build:
5
5
  strategy:
6
6
  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
7
+ ruby: ['3.0', '3.1', '3.2', '3.3']
8
+ 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
9
  runs-on: ubuntu-latest
31
10
  env:
32
11
  BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
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,63 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- comma (4.7.0)
4
+ comma (4.8.0)
5
5
  activesupport (>= 4.2.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activemodel (7.0.3.1)
11
- activesupport (= 7.0.3.1)
12
- activesupport (7.0.3.1)
10
+ activemodel (7.1.3)
11
+ activesupport (= 7.1.3)
12
+ activesupport (7.1.3)
13
+ base64
14
+ bigdecimal
13
15
  concurrent-ruby (~> 1.0, >= 1.0.2)
16
+ connection_pool (>= 2.2.5)
17
+ drb
14
18
  i18n (>= 1.6, < 2)
15
19
  minitest (>= 5.1)
20
+ mutex_m
16
21
  tzinfo (~> 2.0)
17
22
  appraisal (1.0.3)
18
23
  bundler
19
24
  rake
20
25
  thor (>= 0.14.0)
21
26
  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
27
+ base64 (0.2.0)
28
+ bigdecimal (3.1.6)
29
+ concurrent-ruby (1.2.3)
30
+ connection_pool (2.4.1)
31
+ coveralls (0.8.23)
32
+ json (>= 1.8, < 3)
33
+ simplecov (~> 0.16.1)
34
+ term-ansicolor (~> 1.3)
35
+ thor (>= 0.19.4, < 2.0)
36
+ tins (~> 1.6)
30
37
  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)
38
+ docile (1.4.0)
39
+ drb (2.2.0)
40
+ ruby2_keywords
41
+ i18n (1.14.1)
37
42
  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)
43
+ json (2.7.1)
44
+ mini_portile2 (2.8.5)
42
45
  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)
46
+ mutex_m (0.2.0)
47
+ parallel (1.24.0)
48
+ parser (3.3.0.4)
47
49
  ast (~> 2.4.1)
50
+ racc
51
+ racc (1.7.3)
48
52
  rainbow (3.1.1)
49
53
  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)
54
+ regexp_parser (2.9.0)
55
+ rexml (3.2.6)
56
56
  rspec (3.5.0)
57
57
  rspec-core (~> 3.5.0)
58
58
  rspec-expectations (~> 3.5.0)
59
59
  rspec-mocks (~> 3.5.0)
60
- rspec-activemodel-mocks (1.0.3)
60
+ rspec-activemodel-mocks (1.1.0)
61
61
  activemodel (>= 3.0)
62
62
  activesupport (>= 3.0)
63
63
  rspec-mocks (>= 2.99, < 4.0)
@@ -73,33 +73,38 @@ GEM
73
73
  diff-lcs (>= 1.2.0, < 2.0)
74
74
  rspec-support (~> 3.5.0)
75
75
  rspec-support (3.5.0)
76
- rubocop (1.0.0)
76
+ rubocop (1.30.1)
77
77
  parallel (~> 1.10)
78
- parser (>= 2.7.1.5)
78
+ parser (>= 3.1.0.0)
79
79
  rainbow (>= 2.2.2, < 4.0)
80
- regexp_parser (>= 1.8)
81
- rexml
82
- rubocop-ast (>= 0.6.0)
80
+ regexp_parser (>= 1.8, < 3.0)
81
+ rexml (>= 3.2.5, < 4.0)
82
+ rubocop-ast (>= 1.18.0, < 2.0)
83
83
  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)
84
+ unicode-display_width (>= 1.4.0, < 3.0)
85
+ rubocop-ast (1.30.0)
86
+ parser (>= 3.2.1.0)
87
+ rubocop-performance (1.10.2)
88
+ rubocop (>= 0.90.0, < 2.0)
89
+ rubocop-ast (>= 0.4.0)
90
+ ruby-progressbar (1.13.0)
91
+ ruby2_keywords (0.0.5)
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
@@ -113,9 +118,9 @@ DEPENDENCIES
113
118
  rspec (~> 3.5.0)
114
119
  rspec-activemodel-mocks
115
120
  rspec-its
116
- rubocop (~> 1.0.0)
121
+ rubocop (~> 1.30.0)
117
122
  rubocop-performance
118
123
  sqlite3
119
124
 
120
125
  BUNDLED WITH
121
- 2.1.4
126
+ 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:
@@ -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 => "../"
@@ -1,18 +1,18 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.7.0)
4
+ comma (4.8.0)
5
5
  activesupport (>= 4.2.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activemodel (6.0.3.6)
11
- activesupport (= 6.0.3.6)
12
- activerecord (6.0.3.6)
13
- activemodel (= 6.0.3.6)
14
- activesupport (= 6.0.3.6)
15
- activesupport (6.0.3.6)
10
+ activemodel (6.0.6)
11
+ activesupport (= 6.0.6)
12
+ activerecord (6.0.6)
13
+ activemodel (= 6.0.6)
14
+ activesupport (= 6.0.6)
15
+ activesupport (6.0.6)
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
17
  i18n (>= 0.7, < 2)
18
18
  minitest (~> 5.1)
@@ -23,31 +23,34 @@ GEM
23
23
  rake
24
24
  thor (>= 0.14.0)
25
25
  ast (2.4.2)
26
- concurrent-ruby (1.1.9)
26
+ concurrent-ruby (1.2.3)
27
27
  coveralls (0.8.23)
28
28
  json (>= 1.8, < 3)
29
29
  simplecov (~> 0.16.1)
30
30
  term-ansicolor (~> 1.3)
31
31
  thor (>= 0.19.4, < 2.0)
32
32
  tins (~> 1.6)
33
- diff-lcs (1.4.4)
33
+ diff-lcs (1.5.0)
34
34
  docile (1.4.0)
35
- i18n (1.8.11)
35
+ i18n (1.14.1)
36
36
  concurrent-ruby (~> 1.0)
37
- json (2.6.1)
37
+ json (2.7.1)
38
+ mini_portile2 (2.8.5)
38
39
  minitest (5.14.4)
39
- parallel (1.22.1)
40
- parser (3.1.2.0)
40
+ parallel (1.24.0)
41
+ parser (3.3.0.4)
41
42
  ast (~> 2.4.1)
43
+ racc
44
+ racc (1.7.3)
42
45
  rainbow (3.1.1)
43
46
  rake (13.0.6)
44
- regexp_parser (2.5.0)
45
- rexml (3.2.5)
47
+ regexp_parser (2.9.0)
48
+ rexml (3.2.6)
46
49
  rspec (3.5.0)
47
50
  rspec-core (~> 3.5.0)
48
51
  rspec-expectations (~> 3.5.0)
49
52
  rspec-mocks (~> 3.5.0)
50
- rspec-activemodel-mocks (1.1.0)
53
+ rspec-activemodel-mocks (1.2.0)
51
54
  activemodel (>= 3.0)
52
55
  activesupport (>= 3.0)
53
56
  rspec-mocks (>= 2.99, < 4.0)
@@ -63,45 +66,46 @@ GEM
63
66
  diff-lcs (>= 1.2.0, < 2.0)
64
67
  rspec-support (~> 3.5.0)
65
68
  rspec-support (3.5.0)
66
- rubocop (1.0.0)
69
+ rubocop (1.30.1)
67
70
  parallel (~> 1.10)
68
- parser (>= 2.7.1.5)
71
+ parser (>= 3.1.0.0)
69
72
  rainbow (>= 2.2.2, < 4.0)
70
- regexp_parser (>= 1.8)
71
- rexml
72
- rubocop-ast (>= 0.6.0)
73
+ regexp_parser (>= 1.8, < 3.0)
74
+ rexml (>= 3.2.5, < 4.0)
75
+ rubocop-ast (>= 1.18.0, < 2.0)
73
76
  ruby-progressbar (~> 1.7)
74
- unicode-display_width (>= 1.4.0, < 2.0)
75
- rubocop-ast (1.17.0)
76
- parser (>= 3.1.1.0)
77
- rubocop-performance (1.10.2)
78
- rubocop (>= 0.90.0, < 2.0)
77
+ unicode-display_width (>= 1.4.0, < 3.0)
78
+ rubocop-ast (1.30.0)
79
+ parser (>= 3.2.1.0)
80
+ rubocop-performance (1.19.1)
81
+ rubocop (>= 1.7.0, < 2.0)
79
82
  rubocop-ast (>= 0.4.0)
80
- ruby-progressbar (1.11.0)
83
+ ruby-progressbar (1.13.0)
81
84
  simplecov (0.16.1)
82
85
  docile (~> 1.1)
83
86
  json (>= 1.8, < 3)
84
87
  simplecov-html (~> 0.10.0)
85
88
  simplecov-html (0.10.2)
86
- sqlite3 (1.4.2)
89
+ sqlite3 (1.7.0)
90
+ mini_portile2 (~> 2.8.0)
87
91
  sync (0.5.0)
88
92
  term-ansicolor (1.7.1)
89
93
  tins (~> 1.0)
90
- thor (1.1.0)
94
+ thor (1.3.0)
91
95
  thread_safe (0.3.6)
92
- tins (1.29.1)
96
+ tins (1.32.1)
93
97
  sync
94
- tzinfo (1.2.9)
98
+ tzinfo (1.2.11)
95
99
  thread_safe (~> 0.1)
96
- unicode-display_width (1.8.0)
97
- zeitwerk (2.5.1)
100
+ unicode-display_width (2.5.0)
101
+ zeitwerk (2.6.12)
98
102
 
99
103
  PLATFORMS
100
104
  ruby
101
105
 
102
106
  DEPENDENCIES
103
- activerecord (= 6.0.3.6)
104
- activesupport (= 6.0.3.6)
107
+ activerecord (= 6.0.6)
108
+ activesupport (= 6.0.6)
105
109
  appraisal (~> 1.0.0)
106
110
  comma!
107
111
  coveralls
@@ -110,9 +114,9 @@ DEPENDENCIES
110
114
  rspec (~> 3.5.0)
111
115
  rspec-activemodel-mocks
112
116
  rspec-its
113
- rubocop (~> 1.0.0)
117
+ rubocop (~> 1.30.0)
114
118
  rubocop-performance
115
119
  sqlite3
116
120
 
117
121
  BUNDLED WITH
118
- 2.1.4
122
+ 2.5.5