comma 4.6.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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/build.yml +4 -24
  3. data/.rubocop.yml +3 -2
  4. data/.rubocop_todo.yml +101 -16
  5. data/Appraisals +25 -34
  6. data/Gemfile +1 -1
  7. data/Gemfile.lock +70 -65
  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} +43 -35
  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} +44 -34
  13. data/gemfiles/{active7.0.0.gemfile → active7.0.8.gemfile} +3 -3
  14. data/gemfiles/{active6.1.3.1.gemfile.lock → active7.0.8.gemfile.lock} +42 -36
  15. data/gemfiles/active7.1.3.gemfile +12 -0
  16. data/gemfiles/{active5.2.5.gemfile.lock → active7.1.3.gemfile.lock} +60 -41
  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/rails7.1.3.gemfile +12 -0
  24. data/gemfiles/rails7.1.3.gemfile.lock +281 -0
  25. data/lib/comma/header_extractor.rb +1 -0
  26. data/lib/comma/mongoid.rb +2 -1
  27. data/lib/comma/version.rb +1 -1
  28. data/lib/comma.rb +1 -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. metadata +22 -22
  33. data/gemfiles/active6.0.3.6.gemfile +0 -12
  34. data/gemfiles/rails5.2.5.gemfile +0 -14
  35. data/gemfiles/rails5.2.5.gemfile.lock +0 -213
  36. data/gemfiles/rails6.0.3.6.gemfile.lock +0 -228
  37. data/gemfiles/rails6.1.3.1.gemfile.lock +0 -231
  38. data/gemfiles/rails7.0.0.gemfile.lock +0 -220
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a69656e8d0c5e3d0e4e5bc1e18af07ccd83fc6d2583fe8b24cf9cff600d83eb
4
- data.tar.gz: 560cccf510eecc28b4c2ce6cd3c70a6aec139f7ff1cbb197587f52874e50f21f
3
+ metadata.gz: 4aa1aba48fd96f70ee3b0dd3e38a88a67008e345b07942b2b0eaf4e36aa92ca6
4
+ data.tar.gz: 5a8549374ef8bd4484df67cf54019ca557e8f32b47c3056a154c1fd7e3db19b7
5
5
  SHA512:
6
- metadata.gz: 8a5aa582534e5a0cc633d120748be479c4a45692cca9f0a5ba2383ae9a5af59b3a0da983f674f3ee6a6adadf7eeb844b0c51f0e374eb9b0d810561566cf02a0c
7
- data.tar.gz: c06497a6c9c1fa919037bffe81507037d0ca52d7b6e45b8634e6f6fa0f9aaec5a60304f2ba59f13e4e88f0f20d9fef47a068a37f6fdba666b52d58a5c083a02e
6
+ metadata.gz: e2ff178c4898ae77dbf29516e7a63688914fd0fef3bfb08de01b0c2e90d045b0d62cfe111c170712cce4da6b6855a4d041d7d786fee350660961159c6083dadf
7
+ data.tar.gz: d50dce0e783a0cea5c2f1ee653be1db60374c10f4c850416e4f4646411a16ea30567120a52e4d02412d580fa86e9411320ccdfbe97e5466af6982589557c67f3
@@ -4,39 +4,19 @@ 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
12
+ RUBY_OPT: --disable=did_you_mean
33
13
  services:
34
14
  mongodb:
35
15
  image: mongo:4.4.10
36
16
  ports:
37
17
  - 8081:8081
38
18
  steps:
39
- - uses: actions/checkout@v2
19
+ - uses: actions/checkout@v3
40
20
  - uses: ruby/setup-ruby@v1
41
21
  with:
42
22
  ruby-version: ${{ matrix.ruby }}
data/.rubocop.yml CHANGED
@@ -4,12 +4,13 @@ require: rubocop-performance
4
4
 
5
5
  AllCops:
6
6
  DisplayCopNames: true
7
- TargetRubyVersion: 2.3
8
7
  Exclude:
9
8
  - 'gemfiles/**/*'
10
9
  - 'vendor/**/*'
10
+ NewCops: enable
11
+ TargetRubyVersion: 2.5
11
12
 
12
- Metrics/LineLength:
13
+ Layout/LineLength:
13
14
  IgnoreCopDirectives: true
14
15
  Max: 120
15
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
- Max: 21
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
17
90
 
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
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'
97
+
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,19 +124,23 @@ Style/Documentation:
43
124
  - 'lib/comma/object.rb'
44
125
  - 'lib/comma/relation.rb'
45
126
 
46
- Style/MethodMissingSuper:
127
+ # Offense count: 3
128
+ Style/MissingRespondToMissing:
47
129
  Exclude:
48
130
  - 'lib/comma/data_extractor.rb'
49
131
  - 'lib/comma/header_extractor.rb'
50
132
 
51
- Style/MissingRespondToMissing:
133
+ # Offense count: 1
134
+ # This cop supports safe autocorrection (--autocorrect).
135
+ Style/RedundantBegin:
52
136
  Exclude:
53
- - 'lib/comma/data_extractor.rb'
54
- - 'lib/comma/header_extractor.rb'
137
+ - 'spec/spec_helper.rb'
55
138
 
56
- # Offense count: 2
57
- # Configuration parameters: EnforcedStyle, SupportedStyles.
58
- # SupportedStyles: snake_case, camelCase
59
- Naming/VariableName:
139
+ # Offense count: 6
140
+ # This cop supports unsafe autocorrection (--autocorrect-all).
141
+ # Configuration parameters: Mode.
142
+ Style/StringConcatenation:
60
143
  Exclude:
61
144
  - 'spec/comma/comma_spec.rb'
145
+ - 'spec/comma/rails/active_record_spec.rb'
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', '~> 0.67.2', 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,64 +1,63 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- comma (4.6.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.1)
11
- activesupport (= 6.0.3.1)
12
- activesupport (6.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)
14
- i18n (>= 0.7, < 2)
15
- minitest (~> 5.1)
16
- tzinfo (~> 1.1)
17
- zeitwerk (~> 2.2, >= 2.2.2)
16
+ connection_pool (>= 2.2.5)
17
+ drb
18
+ i18n (>= 1.6, < 2)
19
+ minitest (>= 5.1)
20
+ mutex_m
21
+ tzinfo (~> 2.0)
18
22
  appraisal (1.0.3)
19
23
  bundler
20
24
  rake
21
25
  thor (>= 0.14.0)
22
- ast (2.4.0)
23
- colorize (0.7.5)
24
- concurrent-ruby (1.1.6)
25
- coveralls (0.5.8)
26
- colorize
27
- json
28
- rest-client
29
- simplecov (>= 0.7)
30
- thor
26
+ 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)
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)
31
37
  diff-lcs (1.2.5)
32
- docile (1.1.5)
33
- domain_name (0.5.20190701)
34
- unf (>= 0.0.5, < 1.0.0)
35
- http-cookie (1.0.3)
36
- domain_name (~> 0.5)
37
- i18n (1.8.3)
38
+ docile (1.4.0)
39
+ drb (2.2.0)
40
+ ruby2_keywords
41
+ i18n (1.14.1)
38
42
  concurrent-ruby (~> 1.0)
39
- jaro_winkler (1.5.2)
40
- json (2.3.1)
41
- mime-types (3.2.2)
42
- mime-types-data (~> 3.2015)
43
- mime-types-data (3.2019.0331)
43
+ json (2.7.1)
44
+ mini_portile2 (2.8.5)
44
45
  minitest (5.14.4)
45
- multi_json (1.1.0)
46
- netrc (0.11.0)
47
- parallel (1.17.0)
48
- parser (2.6.2.1)
49
- ast (~> 2.4.0)
50
- psych (3.1.0)
51
- rainbow (3.0.0)
46
+ mutex_m (0.2.0)
47
+ parallel (1.24.0)
48
+ parser (3.3.0.4)
49
+ ast (~> 2.4.1)
50
+ racc
51
+ racc (1.7.3)
52
+ rainbow (3.1.1)
52
53
  rake (13.0.1)
53
- rest-client (2.0.2)
54
- http-cookie (>= 1.0.2, < 2.0)
55
- mime-types (>= 1.16, < 4.0)
56
- netrc (~> 0.8)
54
+ regexp_parser (2.9.0)
55
+ rexml (3.2.6)
57
56
  rspec (3.5.0)
58
57
  rspec-core (~> 3.5.0)
59
58
  rspec-expectations (~> 3.5.0)
60
59
  rspec-mocks (~> 3.5.0)
61
- rspec-activemodel-mocks (1.0.3)
60
+ rspec-activemodel-mocks (1.1.0)
62
61
  activemodel (>= 3.0)
63
62
  activesupport (>= 3.0)
64
63
  rspec-mocks (>= 2.99, < 4.0)
@@ -74,32 +73,38 @@ GEM
74
73
  diff-lcs (>= 1.2.0, < 2.0)
75
74
  rspec-support (~> 3.5.0)
76
75
  rspec-support (3.5.0)
77
- rubocop (0.67.2)
78
- jaro_winkler (~> 1.5.1)
76
+ rubocop (1.30.1)
79
77
  parallel (~> 1.10)
80
- parser (>= 2.5, != 2.5.1.1)
81
- psych (>= 3.1.0)
78
+ parser (>= 3.1.0.0)
82
79
  rainbow (>= 2.2.2, < 4.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, < 1.6)
85
- rubocop-performance (1.1.0)
86
- rubocop (>= 0.67.0)
87
- ruby-progressbar (1.10.0)
88
- simplecov (0.9.2)
89
- docile (~> 1.1.0)
90
- multi_json (~> 1.0)
91
- simplecov-html (~> 0.9.0)
92
- simplecov-html (0.9.0)
93
- sqlite3 (1.3.11)
94
- thor (0.19.1)
95
- thread_safe (0.3.6)
96
- tzinfo (1.2.7)
97
- thread_safe (~> 0.1)
98
- unf (0.1.4)
99
- unf_ext
100
- unf_ext (0.0.7.6)
101
- unicode-display_width (1.5.0)
102
- zeitwerk (2.3.0)
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)
106
+ concurrent-ruby (~> 1.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 (~> 0.67.2)
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", "~> 0.67.2", :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.6.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
- jaro_winkler (1.5.4)
38
- json (2.6.1)
37
+ json (2.7.1)
38
+ mini_portile2 (2.8.5)
39
39
  minitest (5.14.4)
40
- parallel (1.21.0)
41
- parser (3.0.2.0)
40
+ parallel (1.24.0)
41
+ parser (3.3.0.4)
42
42
  ast (~> 2.4.1)
43
- psych (3.3.0)
44
- rainbow (3.0.0)
43
+ racc
44
+ racc (1.7.3)
45
+ rainbow (3.1.1)
45
46
  rake (13.0.6)
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,41 +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 (0.67.2)
67
- jaro_winkler (~> 1.5.1)
69
+ rubocop (1.30.1)
68
70
  parallel (~> 1.10)
69
- parser (>= 2.5, != 2.5.1.1)
70
- psych (>= 3.1.0)
71
+ parser (>= 3.1.0.0)
71
72
  rainbow (>= 2.2.2, < 4.0)
73
+ regexp_parser (>= 1.8, < 3.0)
74
+ rexml (>= 3.2.5, < 4.0)
75
+ rubocop-ast (>= 1.18.0, < 2.0)
72
76
  ruby-progressbar (~> 1.7)
73
- unicode-display_width (>= 1.4.0, < 1.6)
74
- rubocop-performance (1.1.0)
75
- rubocop (>= 0.67.0)
76
- ruby-progressbar (1.11.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)
82
+ rubocop-ast (>= 0.4.0)
83
+ ruby-progressbar (1.13.0)
77
84
  simplecov (0.16.1)
78
85
  docile (~> 1.1)
79
86
  json (>= 1.8, < 3)
80
87
  simplecov-html (~> 0.10.0)
81
88
  simplecov-html (0.10.2)
82
- sqlite3 (1.4.2)
89
+ sqlite3 (1.7.0)
90
+ mini_portile2 (~> 2.8.0)
83
91
  sync (0.5.0)
84
92
  term-ansicolor (1.7.1)
85
93
  tins (~> 1.0)
86
- thor (1.1.0)
94
+ thor (1.3.0)
87
95
  thread_safe (0.3.6)
88
- tins (1.29.1)
96
+ tins (1.32.1)
89
97
  sync
90
- tzinfo (1.2.9)
98
+ tzinfo (1.2.11)
91
99
  thread_safe (~> 0.1)
92
- unicode-display_width (1.5.0)
93
- zeitwerk (2.5.1)
100
+ unicode-display_width (2.5.0)
101
+ zeitwerk (2.6.12)
94
102
 
95
103
  PLATFORMS
96
104
  ruby
97
105
 
98
106
  DEPENDENCIES
99
- activerecord (= 6.0.3.6)
100
- activesupport (= 6.0.3.6)
107
+ activerecord (= 6.0.6)
108
+ activesupport (= 6.0.6)
101
109
  appraisal (~> 1.0.0)
102
110
  comma!
103
111
  coveralls
@@ -106,9 +114,9 @@ DEPENDENCIES
106
114
  rspec (~> 3.5.0)
107
115
  rspec-activemodel-mocks
108
116
  rspec-its
109
- rubocop (~> 0.67.2)
117
+ rubocop (~> 1.30.0)
110
118
  rubocop-performance
111
119
  sqlite3
112
120
 
113
121
  BUNDLED WITH
114
- 2.1.4
122
+ 2.5.5