comma 4.6.0 → 4.7.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: 9a69656e8d0c5e3d0e4e5bc1e18af07ccd83fc6d2583fe8b24cf9cff600d83eb
4
- data.tar.gz: 560cccf510eecc28b4c2ce6cd3c70a6aec139f7ff1cbb197587f52874e50f21f
3
+ metadata.gz: 3cae4bf01d8d4519c1b4c8b99259f566312a9636cf0e22d94ff794354b96be8c
4
+ data.tar.gz: dc9e68fe88370b01c8c750f9aa0879b820a1667609e6939d63cbd33dd367cab4
5
5
  SHA512:
6
- metadata.gz: 8a5aa582534e5a0cc633d120748be479c4a45692cca9f0a5ba2383ae9a5af59b3a0da983f674f3ee6a6adadf7eeb844b0c51f0e374eb9b0d810561566cf02a0c
7
- data.tar.gz: c06497a6c9c1fa919037bffe81507037d0ca52d7b6e45b8634e6f6fa0f9aaec5a60304f2ba59f13e4e88f0f20d9fef47a068a37f6fdba666b52d58a5c083a02e
6
+ metadata.gz: 95c211057b6466b298ba52f35a0ab629f368c58b52e4a688cee131391d30e82db499511beceeb10b0a589c9872063794e7874f8730c50f000210d8f8be38b5ec
7
+ data.tar.gz: 66deaf828d3deae2d1475a93a59f3959c0675ca207b97521ce483c3efd4fbc40fd022a668bf275884a0912d892103e13dfd950c2f3b2b2cf6cfb70d8b5b45d33
@@ -7,36 +7,37 @@ jobs:
7
7
  ruby: ['2.5', '2.6', '2.7', '3.0']
8
8
  gemfile: ['active6.0.3.6', 'active6.1.3.1', 'rails6.0.3.6', 'rails6.1.3.1']
9
9
  include:
10
- - ruby: 2.5
10
+ - ruby: '2.5'
11
11
  gemfile: active5.2.5
12
- - ruby: 2.6
12
+ - ruby: '2.6'
13
13
  gemfile: active5.2.5
14
- - ruby: 2.7
14
+ - ruby: '2.7'
15
15
  gemfile: active5.2.5
16
- - ruby: 2.5
16
+ - ruby: '2.5'
17
17
  gemfile: rails5.2.5
18
- - ruby: 2.6
18
+ - ruby: '2.6'
19
19
  gemfile: rails5.2.5
20
- - ruby: 2.7
20
+ - ruby: '2.7'
21
21
  gemfile: rails5.2.5
22
- - ruby: 2.7
22
+ - ruby: '2.7'
23
23
  gemfile: active7.0.0
24
- - ruby: 3.0
24
+ - ruby: '3.0'
25
25
  gemfile: active7.0.0
26
- - ruby: 2.7
26
+ - ruby: '2.7'
27
27
  gemfile: rails7.0.0
28
- - ruby: 3.0
28
+ - ruby: '3.0'
29
29
  gemfile: rails7.0.0
30
30
  runs-on: ubuntu-latest
31
31
  env:
32
32
  BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
33
+ RUBY_OPT: --disable=did_you_mean
33
34
  services:
34
35
  mongodb:
35
36
  image: mongo:4.4.10
36
37
  ports:
37
38
  - 8081:8081
38
39
  steps:
39
- - uses: actions/checkout@v2
40
+ - uses: actions/checkout@v3
40
41
  - uses: ruby/setup-ruby@v1
41
42
  with:
42
43
  ruby-version: ${{ matrix.ruby }}
data/.rubocop.yml CHANGED
@@ -4,10 +4,11 @@ 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
13
  Metrics/LineLength:
13
14
  IgnoreCopDirectives: true
data/.rubocop_todo.yml CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  # Offense count: 2
10
10
  Metrics/AbcSize:
11
- Max: 21
11
+ Max: 22
12
12
 
13
13
  # Offense count: 3
14
14
  # Configuration parameters: CountComments.
@@ -43,10 +43,11 @@ Style/Documentation:
43
43
  - 'lib/comma/object.rb'
44
44
  - 'lib/comma/relation.rb'
45
45
 
46
- Style/MethodMissingSuper:
46
+ Lint/MissingSuper:
47
47
  Exclude:
48
48
  - 'lib/comma/data_extractor.rb'
49
49
  - 'lib/comma/header_extractor.rb'
50
+ - 'spec/comma/comma_spec.rb'
50
51
 
51
52
  Style/MissingRespondToMissing:
52
53
  Exclude:
@@ -59,3 +60,40 @@ Style/MissingRespondToMissing:
59
60
  Naming/VariableName:
60
61
  Exclude:
61
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
+
74
+ Style/RedundantBegin:
75
+ Exclude:
76
+ - 'spec/spec_helper.rb'
77
+
78
+ Layout/SpaceAroundMethodCallOperator:
79
+ Exclude:
80
+ - 'spec/controllers/users_controller_spec.rb'
81
+
82
+ Lint/ConstantDefinitionInBlock:
83
+ Exclude:
84
+ - 'spec/comma/comma_spec.rb'
85
+ - '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
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.0.0', require: false
9
9
  gem 'rubocop-performance', require: false
10
10
  gem 'sqlite3'
data/Gemfile.lock CHANGED
@@ -1,27 +1,26 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- comma (4.6.0)
4
+ comma (4.7.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.0.3.1)
11
+ activesupport (= 7.0.3.1)
12
+ activesupport (7.0.3.1)
13
13
  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)
14
+ i18n (>= 1.6, < 2)
15
+ minitest (>= 5.1)
16
+ tzinfo (~> 2.0)
18
17
  appraisal (1.0.3)
19
18
  bundler
20
19
  rake
21
20
  thor (>= 0.14.0)
22
- ast (2.4.0)
21
+ ast (2.4.2)
23
22
  colorize (0.7.5)
24
- concurrent-ruby (1.1.6)
23
+ concurrent-ruby (1.1.10)
25
24
  coveralls (0.5.8)
26
25
  colorize
27
26
  json
@@ -34,9 +33,8 @@ GEM
34
33
  unf (>= 0.0.5, < 1.0.0)
35
34
  http-cookie (1.0.3)
36
35
  domain_name (~> 0.5)
37
- i18n (1.8.3)
36
+ i18n (1.12.0)
38
37
  concurrent-ruby (~> 1.0)
39
- jaro_winkler (1.5.2)
40
38
  json (2.3.1)
41
39
  mime-types (3.2.2)
42
40
  mime-types-data (~> 3.2015)
@@ -44,16 +42,17 @@ GEM
44
42
  minitest (5.14.4)
45
43
  multi_json (1.1.0)
46
44
  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)
45
+ parallel (1.22.1)
46
+ parser (3.1.2.0)
47
+ ast (~> 2.4.1)
48
+ rainbow (3.1.1)
52
49
  rake (13.0.1)
50
+ regexp_parser (2.5.0)
53
51
  rest-client (2.0.2)
54
52
  http-cookie (>= 1.0.2, < 2.0)
55
53
  mime-types (>= 1.16, < 4.0)
56
54
  netrc (~> 0.8)
55
+ rexml (3.2.5)
57
56
  rspec (3.5.0)
58
57
  rspec-core (~> 3.5.0)
59
58
  rspec-expectations (~> 3.5.0)
@@ -74,17 +73,20 @@ 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.0.0)
79
77
  parallel (~> 1.10)
80
- parser (>= 2.5, != 2.5.1.1)
81
- psych (>= 3.1.0)
78
+ parser (>= 2.7.1.5)
82
79
  rainbow (>= 2.2.2, < 4.0)
80
+ regexp_parser (>= 1.8)
81
+ rexml
82
+ rubocop-ast (>= 0.6.0)
83
83
  ruby-progressbar (~> 1.7)
84
- unicode-display_width (>= 1.4.0, < 1.6)
84
+ unicode-display_width (>= 1.4.0, < 2.0)
85
+ rubocop-ast (1.19.1)
86
+ parser (>= 3.1.1.0)
85
87
  rubocop-performance (1.1.0)
86
88
  rubocop (>= 0.67.0)
87
- ruby-progressbar (1.10.0)
89
+ ruby-progressbar (1.11.0)
88
90
  simplecov (0.9.2)
89
91
  docile (~> 1.1.0)
90
92
  multi_json (~> 1.0)
@@ -92,14 +94,12 @@ GEM
92
94
  simplecov-html (0.9.0)
93
95
  sqlite3 (1.3.11)
94
96
  thor (0.19.1)
95
- thread_safe (0.3.6)
96
- tzinfo (1.2.7)
97
- thread_safe (~> 0.1)
97
+ tzinfo (2.0.5)
98
+ concurrent-ruby (~> 1.0)
98
99
  unf (0.1.4)
99
100
  unf_ext
100
101
  unf_ext (0.0.7.6)
101
- unicode-display_width (1.5.0)
102
- zeitwerk (2.3.0)
102
+ unicode-display_width (1.8.0)
103
103
 
104
104
  PLATFORMS
105
105
  ruby
@@ -113,7 +113,7 @@ DEPENDENCIES
113
113
  rspec (~> 3.5.0)
114
114
  rspec-activemodel-mocks
115
115
  rspec-its
116
- rubocop (~> 0.67.2)
116
+ rubocop (~> 1.0.0)
117
117
  rubocop-performance
118
118
  sqlite3
119
119
 
@@ -3,7 +3,7 @@
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.0.0", :require => false
7
7
  gem "rubocop-performance", :require => false
8
8
  gem "sqlite3"
9
9
  gem "activesupport", "5.2.5"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.6.0)
4
+ comma (4.7.0)
5
5
  activesupport (>= 4.2.0)
6
6
 
7
7
  GEM
@@ -35,15 +35,15 @@ GEM
35
35
  docile (1.4.0)
36
36
  i18n (1.8.11)
37
37
  concurrent-ruby (~> 1.0)
38
- jaro_winkler (1.5.4)
39
38
  json (2.6.1)
40
39
  minitest (5.14.4)
41
- parallel (1.21.0)
42
- parser (3.0.2.0)
40
+ parallel (1.22.1)
41
+ parser (3.1.2.0)
43
42
  ast (~> 2.4.1)
44
- psych (3.3.0)
45
- rainbow (3.0.0)
43
+ rainbow (3.1.1)
46
44
  rake (13.0.6)
45
+ regexp_parser (2.5.0)
46
+ rexml (3.2.5)
47
47
  rspec (3.5.0)
48
48
  rspec-core (~> 3.5.0)
49
49
  rspec-expectations (~> 3.5.0)
@@ -64,16 +64,20 @@ GEM
64
64
  diff-lcs (>= 1.2.0, < 2.0)
65
65
  rspec-support (~> 3.5.0)
66
66
  rspec-support (3.5.0)
67
- rubocop (0.67.2)
68
- jaro_winkler (~> 1.5.1)
67
+ rubocop (1.0.0)
69
68
  parallel (~> 1.10)
70
- parser (>= 2.5, != 2.5.1.1)
71
- psych (>= 3.1.0)
69
+ parser (>= 2.7.1.5)
72
70
  rainbow (>= 2.2.2, < 4.0)
71
+ regexp_parser (>= 1.8)
72
+ rexml
73
+ rubocop-ast (>= 0.6.0)
73
74
  ruby-progressbar (~> 1.7)
74
- unicode-display_width (>= 1.4.0, < 1.6)
75
- rubocop-performance (1.1.0)
76
- rubocop (>= 0.67.0)
75
+ unicode-display_width (>= 1.4.0, < 2.0)
76
+ rubocop-ast (1.17.0)
77
+ parser (>= 3.1.1.0)
78
+ rubocop-performance (1.10.2)
79
+ rubocop (>= 0.90.0, < 2.0)
80
+ rubocop-ast (>= 0.4.0)
77
81
  ruby-progressbar (1.11.0)
78
82
  simplecov (0.16.1)
79
83
  docile (~> 1.1)
@@ -90,7 +94,7 @@ GEM
90
94
  sync
91
95
  tzinfo (1.2.9)
92
96
  thread_safe (~> 0.1)
93
- unicode-display_width (1.5.0)
97
+ unicode-display_width (1.8.0)
94
98
 
95
99
  PLATFORMS
96
100
  ruby
@@ -106,7 +110,7 @@ DEPENDENCIES
106
110
  rspec (~> 3.5.0)
107
111
  rspec-activemodel-mocks
108
112
  rspec-its
109
- rubocop (~> 0.67.2)
113
+ rubocop (~> 1.0.0)
110
114
  rubocop-performance
111
115
  sqlite3
112
116
 
@@ -3,7 +3,7 @@
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.0.0", :require => false
7
7
  gem "rubocop-performance", :require => false
8
8
  gem "sqlite3"
9
9
  gem "activesupport", "6.0.3.6"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.6.0)
4
+ comma (4.7.0)
5
5
  activesupport (>= 4.2.0)
6
6
 
7
7
  GEM
@@ -34,15 +34,15 @@ GEM
34
34
  docile (1.4.0)
35
35
  i18n (1.8.11)
36
36
  concurrent-ruby (~> 1.0)
37
- jaro_winkler (1.5.4)
38
37
  json (2.6.1)
39
38
  minitest (5.14.4)
40
- parallel (1.21.0)
41
- parser (3.0.2.0)
39
+ parallel (1.22.1)
40
+ parser (3.1.2.0)
42
41
  ast (~> 2.4.1)
43
- psych (3.3.0)
44
- rainbow (3.0.0)
42
+ rainbow (3.1.1)
45
43
  rake (13.0.6)
44
+ regexp_parser (2.5.0)
45
+ rexml (3.2.5)
46
46
  rspec (3.5.0)
47
47
  rspec-core (~> 3.5.0)
48
48
  rspec-expectations (~> 3.5.0)
@@ -63,16 +63,20 @@ GEM
63
63
  diff-lcs (>= 1.2.0, < 2.0)
64
64
  rspec-support (~> 3.5.0)
65
65
  rspec-support (3.5.0)
66
- rubocop (0.67.2)
67
- jaro_winkler (~> 1.5.1)
66
+ rubocop (1.0.0)
68
67
  parallel (~> 1.10)
69
- parser (>= 2.5, != 2.5.1.1)
70
- psych (>= 3.1.0)
68
+ parser (>= 2.7.1.5)
71
69
  rainbow (>= 2.2.2, < 4.0)
70
+ regexp_parser (>= 1.8)
71
+ rexml
72
+ rubocop-ast (>= 0.6.0)
72
73
  ruby-progressbar (~> 1.7)
73
- unicode-display_width (>= 1.4.0, < 1.6)
74
- rubocop-performance (1.1.0)
75
- rubocop (>= 0.67.0)
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)
79
+ rubocop-ast (>= 0.4.0)
76
80
  ruby-progressbar (1.11.0)
77
81
  simplecov (0.16.1)
78
82
  docile (~> 1.1)
@@ -89,7 +93,7 @@ GEM
89
93
  sync
90
94
  tzinfo (1.2.9)
91
95
  thread_safe (~> 0.1)
92
- unicode-display_width (1.5.0)
96
+ unicode-display_width (1.8.0)
93
97
  zeitwerk (2.5.1)
94
98
 
95
99
  PLATFORMS
@@ -106,7 +110,7 @@ DEPENDENCIES
106
110
  rspec (~> 3.5.0)
107
111
  rspec-activemodel-mocks
108
112
  rspec-its
109
- rubocop (~> 0.67.2)
113
+ rubocop (~> 1.0.0)
110
114
  rubocop-performance
111
115
  sqlite3
112
116
 
@@ -3,7 +3,7 @@
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.0.0", :require => false
7
7
  gem "rubocop-performance", :require => false
8
8
  gem "sqlite3"
9
9
  gem "activesupport", "6.1.3.1"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.6.0)
4
+ comma (4.7.0)
5
5
  activesupport (>= 4.2.0)
6
6
 
7
7
  GEM
@@ -34,15 +34,15 @@ GEM
34
34
  docile (1.4.0)
35
35
  i18n (1.8.11)
36
36
  concurrent-ruby (~> 1.0)
37
- jaro_winkler (1.5.4)
38
37
  json (2.6.1)
39
38
  minitest (5.14.4)
40
- parallel (1.21.0)
41
- parser (3.0.2.0)
39
+ parallel (1.22.1)
40
+ parser (3.1.2.0)
42
41
  ast (~> 2.4.1)
43
- psych (3.3.0)
44
- rainbow (3.0.0)
42
+ rainbow (3.1.1)
45
43
  rake (13.0.6)
44
+ regexp_parser (2.5.0)
45
+ rexml (3.2.5)
46
46
  rspec (3.5.0)
47
47
  rspec-core (~> 3.5.0)
48
48
  rspec-expectations (~> 3.5.0)
@@ -63,16 +63,20 @@ GEM
63
63
  diff-lcs (>= 1.2.0, < 2.0)
64
64
  rspec-support (~> 3.5.0)
65
65
  rspec-support (3.5.0)
66
- rubocop (0.67.2)
67
- jaro_winkler (~> 1.5.1)
66
+ rubocop (1.0.0)
68
67
  parallel (~> 1.10)
69
- parser (>= 2.5, != 2.5.1.1)
70
- psych (>= 3.1.0)
68
+ parser (>= 2.7.1.5)
71
69
  rainbow (>= 2.2.2, < 4.0)
70
+ regexp_parser (>= 1.8)
71
+ rexml
72
+ rubocop-ast (>= 0.6.0)
72
73
  ruby-progressbar (~> 1.7)
73
- unicode-display_width (>= 1.4.0, < 1.6)
74
- rubocop-performance (1.1.0)
75
- rubocop (>= 0.67.0)
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)
79
+ rubocop-ast (>= 0.4.0)
76
80
  ruby-progressbar (1.11.0)
77
81
  simplecov (0.16.1)
78
82
  docile (~> 1.1)
@@ -88,7 +92,7 @@ GEM
88
92
  sync
89
93
  tzinfo (2.0.4)
90
94
  concurrent-ruby (~> 1.0)
91
- unicode-display_width (1.5.0)
95
+ unicode-display_width (1.8.0)
92
96
  zeitwerk (2.5.1)
93
97
 
94
98
  PLATFORMS
@@ -105,7 +109,7 @@ DEPENDENCIES
105
109
  rspec (~> 3.5.0)
106
110
  rspec-activemodel-mocks
107
111
  rspec-its
108
- rubocop (~> 0.67.2)
112
+ rubocop (~> 1.0.0)
109
113
  rubocop-performance
110
114
  sqlite3
111
115
 
@@ -3,7 +3,7 @@
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.0.0", :require => false
7
7
  gem "rubocop-performance", :require => false
8
8
  gem "sqlite3"
9
9
  gem "activesupport", "7.0.0"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.6.0)
4
+ comma (4.7.0)
5
5
  activesupport (>= 4.2.0)
6
6
 
7
7
  GEM
@@ -33,15 +33,15 @@ GEM
33
33
  docile (1.4.0)
34
34
  i18n (1.8.11)
35
35
  concurrent-ruby (~> 1.0)
36
- jaro_winkler (1.5.4)
37
36
  json (2.6.1)
38
37
  minitest (5.14.4)
39
- parallel (1.21.0)
40
- parser (3.0.3.2)
38
+ parallel (1.22.1)
39
+ parser (3.1.2.0)
41
40
  ast (~> 2.4.1)
42
- psych (4.0.2)
43
- rainbow (3.0.0)
41
+ rainbow (3.1.1)
44
42
  rake (13.0.6)
43
+ regexp_parser (2.5.0)
44
+ rexml (3.2.5)
45
45
  rspec (3.5.0)
46
46
  rspec-core (~> 3.5.0)
47
47
  rspec-expectations (~> 3.5.0)
@@ -62,16 +62,20 @@ GEM
62
62
  diff-lcs (>= 1.2.0, < 2.0)
63
63
  rspec-support (~> 3.5.0)
64
64
  rspec-support (3.5.0)
65
- rubocop (0.67.2)
66
- jaro_winkler (~> 1.5.1)
65
+ rubocop (1.0.0)
67
66
  parallel (~> 1.10)
68
- parser (>= 2.5, != 2.5.1.1)
69
- psych (>= 3.1.0)
67
+ parser (>= 2.7.1.5)
70
68
  rainbow (>= 2.2.2, < 4.0)
69
+ regexp_parser (>= 1.8)
70
+ rexml
71
+ rubocop-ast (>= 0.6.0)
71
72
  ruby-progressbar (~> 1.7)
72
- unicode-display_width (>= 1.4.0, < 1.6)
73
- rubocop-performance (1.1.0)
74
- rubocop (>= 0.67.0)
73
+ unicode-display_width (>= 1.4.0, < 2.0)
74
+ rubocop-ast (1.19.1)
75
+ parser (>= 3.1.1.0)
76
+ rubocop-performance (1.10.2)
77
+ rubocop (>= 0.90.0, < 2.0)
78
+ rubocop-ast (>= 0.4.0)
75
79
  ruby-progressbar (1.11.0)
76
80
  simplecov (0.16.1)
77
81
  docile (~> 1.1)
@@ -87,7 +91,7 @@ GEM
87
91
  sync
88
92
  tzinfo (2.0.4)
89
93
  concurrent-ruby (~> 1.0)
90
- unicode-display_width (1.5.0)
94
+ unicode-display_width (1.8.0)
91
95
 
92
96
  PLATFORMS
93
97
  ruby
@@ -103,7 +107,7 @@ DEPENDENCIES
103
107
  rspec (~> 3.5.0)
104
108
  rspec-activemodel-mocks
105
109
  rspec-its
106
- rubocop (~> 0.67.2)
110
+ rubocop (~> 1.0.0)
107
111
  rubocop-performance
108
112
  sqlite3
109
113
 
@@ -3,7 +3,7 @@
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.0.0", :require => false
7
7
  gem "rubocop-performance", :require => false
8
8
  gem "sqlite3", "~> 1.3.11"
9
9
  gem "rails", "5.2.5"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.6.0)
4
+ comma (4.7.0)
5
5
  activesupport (>= 4.2.0)
6
6
 
7
7
  GEM
@@ -70,7 +70,6 @@ GEM
70
70
  activesupport (>= 5.0)
71
71
  i18n (1.8.11)
72
72
  concurrent-ruby (~> 1.0)
73
- jaro_winkler (1.5.4)
74
73
  json (2.6.1)
75
74
  loofah (2.12.0)
76
75
  crass (~> 1.0.2)
@@ -86,11 +85,10 @@ GEM
86
85
  nokogiri (1.12.5)
87
86
  mini_portile2 (~> 2.6.1)
88
87
  racc (~> 1.4)
89
- parallel (1.21.0)
90
- parser (3.0.2.0)
88
+ parallel (1.22.1)
89
+ parser (3.1.2.0)
91
90
  ast (~> 2.4.1)
92
91
  power_assert (2.0.1)
93
- psych (3.3.0)
94
92
  racc (1.6.0)
95
93
  rack (2.2.3)
96
94
  rack-test (1.1.0)
@@ -119,8 +117,10 @@ GEM
119
117
  method_source
120
118
  rake (>= 0.8.7)
121
119
  thor (>= 0.19.0, < 2.0)
122
- rainbow (3.0.0)
120
+ rainbow (3.1.1)
123
121
  rake (13.0.6)
122
+ regexp_parser (2.5.0)
123
+ rexml (3.2.5)
124
124
  rspec (3.5.0)
125
125
  rspec-core (~> 3.5.0)
126
126
  rspec-expectations (~> 3.5.0)
@@ -149,16 +149,20 @@ GEM
149
149
  rspec-mocks (~> 3.5.0)
150
150
  rspec-support (~> 3.5.0)
151
151
  rspec-support (3.5.0)
152
- rubocop (0.67.2)
153
- jaro_winkler (~> 1.5.1)
152
+ rubocop (1.0.0)
154
153
  parallel (~> 1.10)
155
- parser (>= 2.5, != 2.5.1.1)
156
- psych (>= 3.1.0)
154
+ parser (>= 2.7.1.5)
157
155
  rainbow (>= 2.2.2, < 4.0)
156
+ regexp_parser (>= 1.8)
157
+ rexml
158
+ rubocop-ast (>= 0.6.0)
158
159
  ruby-progressbar (~> 1.7)
159
- unicode-display_width (>= 1.4.0, < 1.6)
160
- rubocop-performance (1.1.0)
161
- rubocop (>= 0.67.0)
160
+ unicode-display_width (>= 1.4.0, < 2.0)
161
+ rubocop-ast (1.17.0)
162
+ parser (>= 3.1.1.0)
163
+ rubocop-performance (1.10.2)
164
+ rubocop (>= 0.90.0, < 2.0)
165
+ rubocop-ast (>= 0.4.0)
162
166
  ruby-progressbar (1.11.0)
163
167
  simplecov (0.16.1)
164
168
  docile (~> 1.1)
@@ -184,7 +188,7 @@ GEM
184
188
  sync
185
189
  tzinfo (1.2.9)
186
190
  thread_safe (~> 0.1)
187
- unicode-display_width (1.5.0)
191
+ unicode-display_width (1.8.0)
188
192
  websocket-driver (0.7.5)
189
193
  websocket-extensions (>= 0.1.0)
190
194
  websocket-extensions (0.1.5)
@@ -203,7 +207,7 @@ DEPENDENCIES
203
207
  rspec-activemodel-mocks
204
208
  rspec-its
205
209
  rspec-rails
206
- rubocop (~> 0.67.2)
210
+ rubocop (~> 1.0.0)
207
211
  rubocop-performance
208
212
  sprockets (< 4)
209
213
  sqlite3 (~> 1.3.11)
@@ -3,7 +3,7 @@
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.0.0", :require => false
7
7
  gem "rubocop-performance", :require => false
8
8
  gem "sqlite3"
9
9
  gem "rails", "6.0.3.6"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.6.0)
4
+ comma (4.7.0)
5
5
  activesupport (>= 4.2.0)
6
6
 
7
7
  GEM
@@ -83,7 +83,6 @@ GEM
83
83
  activesupport (>= 5.0)
84
84
  i18n (1.8.11)
85
85
  concurrent-ruby (~> 1.0)
86
- jaro_winkler (1.5.4)
87
86
  json (2.6.1)
88
87
  loofah (2.12.0)
89
88
  crass (~> 1.0.2)
@@ -99,11 +98,10 @@ GEM
99
98
  nokogiri (1.12.5)
100
99
  mini_portile2 (~> 2.6.1)
101
100
  racc (~> 1.4)
102
- parallel (1.21.0)
103
- parser (3.0.2.0)
101
+ parallel (1.22.1)
102
+ parser (3.1.2.0)
104
103
  ast (~> 2.4.1)
105
104
  power_assert (2.0.1)
106
- psych (3.3.0)
107
105
  racc (1.6.0)
108
106
  rack (2.2.3)
109
107
  rack-test (1.1.0)
@@ -134,8 +132,10 @@ GEM
134
132
  method_source
135
133
  rake (>= 0.8.7)
136
134
  thor (>= 0.20.3, < 2.0)
137
- rainbow (3.0.0)
135
+ rainbow (3.1.1)
138
136
  rake (13.0.6)
137
+ regexp_parser (2.5.0)
138
+ rexml (3.2.5)
139
139
  rspec (3.5.0)
140
140
  rspec-core (~> 3.5.0)
141
141
  rspec-expectations (~> 3.5.0)
@@ -164,16 +164,20 @@ GEM
164
164
  rspec-mocks (~> 3.5.0)
165
165
  rspec-support (~> 3.5.0)
166
166
  rspec-support (3.5.0)
167
- rubocop (0.67.2)
168
- jaro_winkler (~> 1.5.1)
167
+ rubocop (1.0.0)
169
168
  parallel (~> 1.10)
170
- parser (>= 2.5, != 2.5.1.1)
171
- psych (>= 3.1.0)
169
+ parser (>= 2.7.1.5)
172
170
  rainbow (>= 2.2.2, < 4.0)
171
+ regexp_parser (>= 1.8)
172
+ rexml
173
+ rubocop-ast (>= 0.6.0)
173
174
  ruby-progressbar (~> 1.7)
174
- unicode-display_width (>= 1.4.0, < 1.6)
175
- rubocop-performance (1.1.0)
176
- rubocop (>= 0.67.0)
175
+ unicode-display_width (>= 1.4.0, < 2.0)
176
+ rubocop-ast (1.17.0)
177
+ parser (>= 3.1.1.0)
178
+ rubocop-performance (1.10.2)
179
+ rubocop (>= 0.90.0, < 2.0)
180
+ rubocop-ast (>= 0.4.0)
177
181
  ruby-progressbar (1.11.0)
178
182
  simplecov (0.16.1)
179
183
  docile (~> 1.1)
@@ -199,7 +203,7 @@ GEM
199
203
  sync
200
204
  tzinfo (1.2.9)
201
205
  thread_safe (~> 0.1)
202
- unicode-display_width (1.5.0)
206
+ unicode-display_width (1.8.0)
203
207
  websocket-driver (0.7.5)
204
208
  websocket-extensions (>= 0.1.0)
205
209
  websocket-extensions (0.1.5)
@@ -219,7 +223,7 @@ DEPENDENCIES
219
223
  rspec-activemodel-mocks
220
224
  rspec-its
221
225
  rspec-rails
222
- rubocop (~> 0.67.2)
226
+ rubocop (~> 1.0.0)
223
227
  rubocop-performance
224
228
  sqlite3
225
229
  test-unit
@@ -3,7 +3,7 @@
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.0.0", :require => false
7
7
  gem "rubocop-performance", :require => false
8
8
  gem "sqlite3"
9
9
  gem "rails", "6.1.3.1"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.6.0)
4
+ comma (4.7.0)
5
5
  activesupport (>= 4.2.0)
6
6
 
7
7
  GEM
@@ -87,7 +87,6 @@ GEM
87
87
  activesupport (>= 5.0)
88
88
  i18n (1.8.11)
89
89
  concurrent-ruby (~> 1.0)
90
- jaro_winkler (1.5.4)
91
90
  json (2.6.1)
92
91
  loofah (2.12.0)
93
92
  crass (~> 1.0.2)
@@ -103,11 +102,10 @@ GEM
103
102
  nokogiri (1.12.5)
104
103
  mini_portile2 (~> 2.6.1)
105
104
  racc (~> 1.4)
106
- parallel (1.21.0)
107
- parser (3.0.2.0)
105
+ parallel (1.22.1)
106
+ parser (3.1.2.0)
108
107
  ast (~> 2.4.1)
109
108
  power_assert (2.0.1)
110
- psych (3.3.0)
111
109
  racc (1.6.0)
112
110
  rack (2.2.3)
113
111
  rack-test (1.1.0)
@@ -138,8 +136,10 @@ GEM
138
136
  method_source
139
137
  rake (>= 0.8.7)
140
138
  thor (~> 1.0)
141
- rainbow (3.0.0)
139
+ rainbow (3.1.1)
142
140
  rake (13.0.6)
141
+ regexp_parser (2.5.0)
142
+ rexml (3.2.5)
143
143
  rspec (3.5.0)
144
144
  rspec-core (~> 3.5.0)
145
145
  rspec-expectations (~> 3.5.0)
@@ -168,16 +168,20 @@ GEM
168
168
  rspec-mocks (~> 3.5.0)
169
169
  rspec-support (~> 3.5.0)
170
170
  rspec-support (3.5.0)
171
- rubocop (0.67.2)
172
- jaro_winkler (~> 1.5.1)
171
+ rubocop (1.0.0)
173
172
  parallel (~> 1.10)
174
- parser (>= 2.5, != 2.5.1.1)
175
- psych (>= 3.1.0)
173
+ parser (>= 2.7.1.5)
176
174
  rainbow (>= 2.2.2, < 4.0)
175
+ regexp_parser (>= 1.8)
176
+ rexml
177
+ rubocop-ast (>= 0.6.0)
177
178
  ruby-progressbar (~> 1.7)
178
- unicode-display_width (>= 1.4.0, < 1.6)
179
- rubocop-performance (1.1.0)
180
- rubocop (>= 0.67.0)
179
+ unicode-display_width (>= 1.4.0, < 2.0)
180
+ rubocop-ast (1.17.0)
181
+ parser (>= 3.1.1.0)
182
+ rubocop-performance (1.10.2)
183
+ rubocop (>= 0.90.0, < 2.0)
184
+ rubocop-ast (>= 0.4.0)
181
185
  ruby-progressbar (1.11.0)
182
186
  simplecov (0.16.1)
183
187
  docile (~> 1.1)
@@ -202,7 +206,7 @@ GEM
202
206
  sync
203
207
  tzinfo (2.0.4)
204
208
  concurrent-ruby (~> 1.0)
205
- unicode-display_width (1.5.0)
209
+ unicode-display_width (1.8.0)
206
210
  websocket-driver (0.7.5)
207
211
  websocket-extensions (>= 0.1.0)
208
212
  websocket-extensions (0.1.5)
@@ -222,7 +226,7 @@ DEPENDENCIES
222
226
  rspec-activemodel-mocks
223
227
  rspec-its
224
228
  rspec-rails
225
- rubocop (~> 0.67.2)
229
+ rubocop (~> 1.0.0)
226
230
  rubocop-performance
227
231
  sqlite3
228
232
  test-unit
@@ -3,7 +3,7 @@
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.0.0", :require => false
7
7
  gem "rubocop-performance", :require => false
8
8
  gem "sqlite3"
9
9
  gem "rails", "7.0.0"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.6.0)
4
+ comma (4.7.0)
5
5
  activesupport (>= 4.2.0)
6
6
 
7
7
  GEM
@@ -87,7 +87,6 @@ GEM
87
87
  activesupport (>= 5.0)
88
88
  i18n (1.8.11)
89
89
  concurrent-ruby (~> 1.0)
90
- jaro_winkler (1.5.4)
91
90
  json (2.6.1)
92
91
  loofah (2.13.0)
93
92
  crass (~> 1.0.2)
@@ -103,10 +102,9 @@ GEM
103
102
  nokogiri (1.12.5)
104
103
  mini_portile2 (~> 2.6.1)
105
104
  racc (~> 1.4)
106
- parallel (1.21.0)
107
- parser (3.0.3.2)
105
+ parallel (1.22.1)
106
+ parser (3.1.2.0)
108
107
  ast (~> 2.4.1)
109
- psych (4.0.2)
110
108
  racc (1.6.0)
111
109
  rack (2.2.3)
112
110
  rack-test (1.1.0)
@@ -137,8 +135,10 @@ GEM
137
135
  rake (>= 12.2)
138
136
  thor (~> 1.0)
139
137
  zeitwerk (~> 2.5)
140
- rainbow (3.0.0)
138
+ rainbow (3.1.1)
141
139
  rake (13.0.6)
140
+ regexp_parser (2.5.0)
141
+ rexml (3.2.5)
142
142
  rspec (3.5.0)
143
143
  rspec-core (~> 3.5.0)
144
144
  rspec-expectations (~> 3.5.0)
@@ -167,16 +167,20 @@ GEM
167
167
  rspec-mocks (~> 3.5.0)
168
168
  rspec-support (~> 3.5.0)
169
169
  rspec-support (3.5.0)
170
- rubocop (0.67.2)
171
- jaro_winkler (~> 1.5.1)
170
+ rubocop (1.0.0)
172
171
  parallel (~> 1.10)
173
- parser (>= 2.5, != 2.5.1.1)
174
- psych (>= 3.1.0)
172
+ parser (>= 2.7.1.5)
175
173
  rainbow (>= 2.2.2, < 4.0)
174
+ regexp_parser (>= 1.8)
175
+ rexml
176
+ rubocop-ast (>= 0.6.0)
176
177
  ruby-progressbar (~> 1.7)
177
- unicode-display_width (>= 1.4.0, < 1.6)
178
- rubocop-performance (1.1.0)
179
- rubocop (>= 0.67.0)
178
+ unicode-display_width (>= 1.4.0, < 2.0)
179
+ rubocop-ast (1.19.1)
180
+ parser (>= 3.1.1.0)
181
+ rubocop-performance (1.10.2)
182
+ rubocop (>= 0.90.0, < 2.0)
183
+ rubocop-ast (>= 0.4.0)
180
184
  ruby-progressbar (1.11.0)
181
185
  simplecov (0.16.1)
182
186
  docile (~> 1.1)
@@ -192,7 +196,7 @@ GEM
192
196
  sync
193
197
  tzinfo (2.0.4)
194
198
  concurrent-ruby (~> 1.0)
195
- unicode-display_width (1.5.0)
199
+ unicode-display_width (1.8.0)
196
200
  websocket-driver (0.7.5)
197
201
  websocket-extensions (>= 0.1.0)
198
202
  websocket-extensions (0.1.5)
@@ -212,7 +216,7 @@ DEPENDENCIES
212
216
  rspec-activemodel-mocks
213
217
  rspec-its
214
218
  rspec-rails
215
- rubocop (~> 0.67.2)
219
+ rubocop (~> 1.0.0)
216
220
  rubocop-performance
217
221
  sqlite3
218
222
 
data/lib/comma/mongoid.rb CHANGED
@@ -11,5 +11,6 @@ begin
11
11
  end
12
12
  end
13
13
  end
14
- rescue LoadError # rubocop:disable Lint/HandleExceptions
14
+ rescue LoadError => e
15
+ warn e.inspect
15
16
  end
data/lib/comma/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Comma
4
- VERSION = '4.6.0'
4
+ VERSION = '4.7.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comma
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.0
4
+ version: 4.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcus Crafter
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-12-19 00:00:00.000000000 Z
12
+ date: 2022-07-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -193,23 +193,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
195
  requirements: []
196
- rubygems_version: 3.1.4
196
+ rubygems_version: 3.1.6
197
197
  signing_key:
198
198
  specification_version: 4
199
199
  summary: Ruby Comma Seperated Values generation library
200
- test_files:
201
- - spec/comma/comma_spec.rb
202
- - spec/comma/data_extractor_spec.rb
203
- - spec/comma/header_extractor_spec.rb
204
- - spec/comma/rails/active_record_spec.rb
205
- - spec/comma/rails/data_mapper_collection_spec.rb
206
- - spec/comma/rails/mongoid_spec.rb
207
- - spec/controllers/users_controller_spec.rb
208
- - spec/non_rails_app/ruby_classes.rb
209
- - spec/rails_app/active_record/config.rb
210
- - spec/rails_app/active_record/models.rb
211
- - spec/rails_app/data_mapper/config.rb
212
- - spec/rails_app/mongoid/config.rb
213
- - spec/rails_app/rails_app.rb
214
- - spec/rails_app/tmp/.gitkeep
215
- - spec/spec_helper.rb
200
+ test_files: []