table_saw 3.2.0 → 3.3.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: 134b095f48e6e54143d285ff2d59cd760e538b0f5a78db2bac4729110b678075
4
- data.tar.gz: a68f17b155840a9f9351787aa783bf5f22326a9228a350c0dd72f5d428de7e50
3
+ metadata.gz: 22239851807e1ad5dadfdfabb9f78ae4ff1d5951209ffe626c2989d7368e0fe2
4
+ data.tar.gz: 78eb40b85de4b2a3a05c5c43d65f03d66c2fe9d6285de426418bc26250648325
5
5
  SHA512:
6
- metadata.gz: 435d2a488bdf003114963379e93c4f23e370588263a1bfda623e2cbe3b96eab9054150ed6f2dbdf4e7582fa06bf896fe472e43962fe0624b74d9997c8453d132
7
- data.tar.gz: 6b856e4a37e79393563b3bd62086e3bbe1e6ce02b6390575d93494c910c7d4863ecf96c6f482d40bf5990bb09c0215c05d5263e7900cfd43c65bbdf42bbe083c
6
+ metadata.gz: 42bba4bf487e401bc56ab03c5ae1f451c85f7067fcaa5df98dc52e437b2805b06903d4fd8f4a6c8f1eb96c3973c5b88b89511c6a46245053425ca6e9680ad01f
7
+ data.tar.gz: b767525b7232bd54347b7e27c8e3befac5c0c1c2384bc6d342d3d42aa0569a49ae68d2d3e2678274fd12885881b337dcb555a21f4db3a09f8a3756f76a583760
@@ -10,14 +10,13 @@ jobs:
10
10
  strategy:
11
11
  matrix:
12
12
  ruby:
13
- - '3.1.4'
14
- - '3.2.2'
15
- - '3.3.0'
13
+ - '3.2'
14
+ - '3.3'
15
+ - '3.4'
16
16
  activerecord:
17
- - '6.1.0'
18
- - '7.0.0'
19
- - '7.1.0'
20
17
  - '7.2.0'
18
+ - '8.0.0'
19
+ - '8.1.0'
21
20
 
22
21
  env:
23
22
  BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/activerecord_${{ matrix.activerecord }}.gemfile
@@ -48,9 +47,5 @@ jobs:
48
47
  sudo apt-get -yqq install libpq-dev
49
48
 
50
49
  - name: Run tests with RSpec
51
- uses: paambaati/codeclimate-action@v2.7.5
52
- env:
53
- CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
54
- with:
55
- coverageCommand: bundle exec rspec
56
- debug: false
50
+ run: |
51
+ bundle exec rspec
data/.rubocop.yml CHANGED
@@ -1,8 +1,8 @@
1
- require: rubocop-rspec
1
+ plugins: rubocop-rspec
2
2
 
3
3
  AllCops:
4
4
  NewCops: enable
5
- TargetRubyVersion: 3.1
5
+ TargetRubyVersion: 3.2
6
6
  Exclude:
7
7
  - gemfiles/*
8
8
 
@@ -21,7 +21,7 @@ Lint/RaiseException:
21
21
  Lint/StructNewOverride:
22
22
  Enabled: true
23
23
 
24
- Naming/PredicateName:
24
+ Naming/PredicatePrefix:
25
25
  AllowedMethods:
26
26
  - has_many
27
27
 
data/.tool-versions CHANGED
@@ -1 +1 @@
1
- ruby 3.3.4
1
+ ruby 3.4.7
data/Appraisals CHANGED
@@ -1,23 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- appraise 'activerecord-6.1.0' do
4
- gem 'activerecord', '~> 6.1', '< 6.2'
5
- gem 'base64'
6
- gem 'bigdecimal'
7
- gem 'mutex_m'
8
- end
9
-
10
- appraise 'activerecord-7.0.0' do
11
- gem 'activerecord', '~> 7.0', '< 7.1'
12
- gem 'base64'
13
- gem 'bigdecimal'
14
- gem 'mutex_m'
3
+ appraise 'activerecord_7.2.0' do
4
+ gem 'activerecord', '~> 7.2.0', '< 7.3'
15
5
  end
16
6
 
17
- appraise 'activerecord-7.1.0' do
18
- gem 'activerecord', '~> 7.1', '< 7.2'
7
+ appraise 'activerecord_8.0.0' do
8
+ gem 'activerecord', '~> 8.0.0', '< 8.1'
19
9
  end
20
10
 
21
- appraise 'activerecord-7.2.0' do
22
- gem 'activerecord', '~> 7.2.0', '< 7.3'
11
+ appraise 'activerecord_8.1.0' do
12
+ gem 'activerecord', '~> 8.1.0', '< 8.2'
23
13
  end
data/Gemfile CHANGED
@@ -9,9 +9,12 @@ gem 'appraisal'
9
9
  gem 'bundler', '~> 2.0'
10
10
  gem 'combustion', '~> 1.4'
11
11
  gem 'database_cleaner-active_record', '~> 2.2'
12
+ gem 'ostruct'
12
13
  gem 'pry'
13
14
  gem 'rake', '13.0.3'
14
- gem 'rspec', '~> 3.0'
15
- gem 'rubocop-rspec', '~> 2.3'
15
+ gem 'rspec', '~> 3.13'
16
+ gem 'rubocop-rspec', '~> 3.5'
16
17
  gem 'scenic', '~> 1.5'
17
18
  gem 'simplecov', '~> 0.16'
19
+ # The following version lock is necessary to support Ruby 3.1
20
+ gem 'zeitwerk', '~> 2.6.0'
data/Gemfile.lock CHANGED
@@ -1,191 +1,198 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- table_saw (3.2.0)
5
- activerecord (>= 6.1)
4
+ table_saw (3.3.0)
5
+ activerecord (>= 7.1)
6
6
  pg
7
7
  thor
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actionpack (7.2.0)
13
- actionview (= 7.2.0)
14
- activesupport (= 7.2.0)
12
+ actionpack (8.1.1)
13
+ actionview (= 8.1.1)
14
+ activesupport (= 8.1.1)
15
15
  nokogiri (>= 1.8.5)
16
- racc
17
- rack (>= 2.2.4, < 3.2)
16
+ rack (>= 2.2.4)
18
17
  rack-session (>= 1.0.1)
19
18
  rack-test (>= 0.6.3)
20
19
  rails-dom-testing (~> 2.2)
21
20
  rails-html-sanitizer (~> 1.6)
22
21
  useragent (~> 0.16)
23
- actionview (7.2.0)
24
- activesupport (= 7.2.0)
22
+ actionview (8.1.1)
23
+ activesupport (= 8.1.1)
25
24
  builder (~> 3.1)
26
25
  erubi (~> 1.11)
27
26
  rails-dom-testing (~> 2.2)
28
27
  rails-html-sanitizer (~> 1.6)
29
- activemodel (7.2.0)
30
- activesupport (= 7.2.0)
31
- activerecord (7.2.0)
32
- activemodel (= 7.2.0)
33
- activesupport (= 7.2.0)
28
+ activemodel (8.1.1)
29
+ activesupport (= 8.1.1)
30
+ activerecord (8.1.1)
31
+ activemodel (= 8.1.1)
32
+ activesupport (= 8.1.1)
34
33
  timeout (>= 0.4.0)
35
- activesupport (7.2.0)
34
+ activesupport (8.1.1)
36
35
  base64
37
36
  bigdecimal
38
37
  concurrent-ruby (~> 1.0, >= 1.3.1)
39
38
  connection_pool (>= 2.2.5)
40
39
  drb
41
40
  i18n (>= 1.6, < 2)
41
+ json
42
42
  logger (>= 1.4.2)
43
43
  minitest (>= 5.1)
44
44
  securerandom (>= 0.3)
45
45
  tzinfo (~> 2.0, >= 2.0.5)
46
+ uri (>= 0.13.1)
46
47
  appraisal (2.5.0)
47
48
  bundler
48
49
  rake
49
50
  thor (>= 0.14.0)
50
- ast (2.4.2)
51
- base64 (0.2.0)
52
- bigdecimal (3.1.8)
51
+ ast (2.4.3)
52
+ base64 (0.3.0)
53
+ bigdecimal (3.3.1)
53
54
  builder (3.3.0)
54
55
  coderay (1.1.3)
55
56
  combustion (1.5.0)
56
57
  activesupport (>= 3.0.0)
57
58
  railties (>= 3.0.0)
58
59
  thor (>= 0.14.6)
59
- concurrent-ruby (1.3.4)
60
- connection_pool (2.4.1)
60
+ concurrent-ruby (1.3.5)
61
+ connection_pool (2.5.4)
61
62
  crass (1.0.6)
62
- database_cleaner-active_record (2.2.0)
63
+ database_cleaner-active_record (2.2.2)
63
64
  activerecord (>= 5.a)
64
- database_cleaner-core (~> 2.0.0)
65
+ database_cleaner-core (~> 2.0)
65
66
  database_cleaner-core (2.0.1)
66
- diff-lcs (1.5.1)
67
+ date (3.5.0)
68
+ diff-lcs (1.6.2)
67
69
  docile (1.4.1)
68
- drb (2.2.1)
69
- erubi (1.13.0)
70
- i18n (1.14.5)
70
+ drb (2.2.3)
71
+ erb (5.1.3)
72
+ erubi (1.13.1)
73
+ i18n (1.14.7)
71
74
  concurrent-ruby (~> 1.0)
72
- io-console (0.7.2)
73
- irb (1.14.0)
75
+ io-console (0.8.1)
76
+ irb (1.15.3)
77
+ pp (>= 0.6.0)
74
78
  rdoc (>= 4.0.0)
75
79
  reline (>= 0.4.2)
76
- json (2.7.2)
77
- language_server-protocol (3.17.0.3)
78
- logger (1.6.0)
79
- loofah (2.22.0)
80
+ json (2.15.2)
81
+ language_server-protocol (3.17.0.5)
82
+ lint_roller (1.1.0)
83
+ logger (1.7.0)
84
+ loofah (2.24.1)
80
85
  crass (~> 1.0.2)
81
86
  nokogiri (>= 1.12.0)
82
87
  method_source (1.1.0)
83
- mini_portile2 (2.8.7)
84
- minitest (5.24.1)
85
- nokogiri (1.16.7)
88
+ mini_portile2 (2.8.9)
89
+ minitest (5.26.0)
90
+ nokogiri (1.18.10)
86
91
  mini_portile2 (~> 2.8.2)
87
92
  racc (~> 1.4)
88
- parallel (1.26.1)
89
- parser (3.3.4.2)
93
+ ostruct (0.6.3)
94
+ parallel (1.27.0)
95
+ parser (3.3.10.0)
90
96
  ast (~> 2.4.1)
91
97
  racc
92
- pg (1.5.7)
93
- pry (0.14.2)
98
+ pg (1.6.2)
99
+ pp (0.6.3)
100
+ prettyprint
101
+ prettyprint (0.2.0)
102
+ prism (1.6.0)
103
+ pry (0.15.2)
94
104
  coderay (~> 1.1)
95
105
  method_source (~> 1.0)
96
- psych (5.1.2)
106
+ psych (5.2.6)
107
+ date
97
108
  stringio
98
109
  racc (1.8.1)
99
- rack (3.1.7)
100
- rack-session (2.0.0)
110
+ rack (3.2.3)
111
+ rack-session (2.1.1)
112
+ base64 (>= 0.1.0)
101
113
  rack (>= 3.0.0)
102
- rack-test (2.1.0)
114
+ rack-test (2.2.0)
103
115
  rack (>= 1.3)
104
- rackup (2.1.0)
116
+ rackup (2.2.1)
105
117
  rack (>= 3)
106
- webrick (~> 1.8)
107
- rails-dom-testing (2.2.0)
118
+ rails-dom-testing (2.3.0)
108
119
  activesupport (>= 5.0.0)
109
120
  minitest
110
121
  nokogiri (>= 1.6)
111
- rails-html-sanitizer (1.6.0)
122
+ rails-html-sanitizer (1.6.2)
112
123
  loofah (~> 2.21)
113
- nokogiri (~> 1.14)
114
- railties (7.2.0)
115
- actionpack (= 7.2.0)
116
- activesupport (= 7.2.0)
124
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
125
+ railties (8.1.1)
126
+ actionpack (= 8.1.1)
127
+ activesupport (= 8.1.1)
117
128
  irb (~> 1.13)
118
129
  rackup (>= 1.0.0)
119
130
  rake (>= 12.2)
120
131
  thor (~> 1.0, >= 1.2.2)
132
+ tsort (>= 0.2)
121
133
  zeitwerk (~> 2.6)
122
134
  rainbow (3.1.1)
123
135
  rake (13.0.3)
124
- rdoc (6.7.0)
136
+ rdoc (6.15.1)
137
+ erb
125
138
  psych (>= 4.0.0)
126
- regexp_parser (2.9.2)
127
- reline (0.5.9)
139
+ tsort
140
+ regexp_parser (2.11.3)
141
+ reline (0.6.2)
128
142
  io-console (~> 0.5)
129
- rexml (3.3.4)
130
- strscan
131
- rspec (3.13.0)
143
+ rspec (3.13.2)
132
144
  rspec-core (~> 3.13.0)
133
145
  rspec-expectations (~> 3.13.0)
134
146
  rspec-mocks (~> 3.13.0)
135
- rspec-core (3.13.0)
147
+ rspec-core (3.13.6)
136
148
  rspec-support (~> 3.13.0)
137
- rspec-expectations (3.13.1)
149
+ rspec-expectations (3.13.5)
138
150
  diff-lcs (>= 1.2.0, < 2.0)
139
151
  rspec-support (~> 3.13.0)
140
- rspec-mocks (3.13.1)
152
+ rspec-mocks (3.13.7)
141
153
  diff-lcs (>= 1.2.0, < 2.0)
142
154
  rspec-support (~> 3.13.0)
143
- rspec-support (3.13.1)
144
- rubocop (1.65.1)
155
+ rspec-support (3.13.6)
156
+ rubocop (1.81.7)
145
157
  json (~> 2.3)
146
- language_server-protocol (>= 3.17.0)
158
+ language_server-protocol (~> 3.17.0.2)
159
+ lint_roller (~> 1.1.0)
147
160
  parallel (~> 1.10)
148
161
  parser (>= 3.3.0.2)
149
162
  rainbow (>= 2.2.2, < 4.0)
150
- regexp_parser (>= 2.4, < 3.0)
151
- rexml (>= 3.2.5, < 4.0)
152
- rubocop-ast (>= 1.31.1, < 2.0)
163
+ regexp_parser (>= 2.9.3, < 3.0)
164
+ rubocop-ast (>= 1.47.1, < 2.0)
153
165
  ruby-progressbar (~> 1.7)
154
- unicode-display_width (>= 2.4.0, < 3.0)
155
- rubocop-ast (1.32.0)
156
- parser (>= 3.3.1.0)
157
- rubocop-capybara (2.21.0)
158
- rubocop (~> 1.41)
159
- rubocop-factory_bot (2.26.1)
160
- rubocop (~> 1.61)
161
- rubocop-rspec (2.31.0)
162
- rubocop (~> 1.40)
163
- rubocop-capybara (~> 2.17)
164
- rubocop-factory_bot (~> 2.22)
165
- rubocop-rspec_rails (~> 2.28)
166
- rubocop-rspec_rails (2.29.1)
167
- rubocop (~> 1.61)
166
+ unicode-display_width (>= 2.4.0, < 4.0)
167
+ rubocop-ast (1.47.1)
168
+ parser (>= 3.3.7.2)
169
+ prism (~> 1.4)
170
+ rubocop-rspec (3.7.0)
171
+ lint_roller (~> 1.1)
172
+ rubocop (~> 1.72, >= 1.72.1)
168
173
  ruby-progressbar (1.13.0)
169
- scenic (1.8.0)
174
+ scenic (1.9.0)
170
175
  activerecord (>= 4.0.0)
171
176
  railties (>= 4.0.0)
172
- securerandom (0.3.1)
177
+ securerandom (0.4.1)
173
178
  simplecov (0.22.0)
174
179
  docile (~> 1.1)
175
180
  simplecov-html (~> 0.11)
176
181
  simplecov_json_formatter (~> 0.1)
177
- simplecov-html (0.12.3)
182
+ simplecov-html (0.13.2)
178
183
  simplecov_json_formatter (0.1.4)
179
- stringio (3.1.1)
180
- strscan (3.1.0)
181
- thor (1.3.1)
182
- timeout (0.4.1)
184
+ stringio (3.1.7)
185
+ thor (1.4.0)
186
+ timeout (0.4.4)
187
+ tsort (0.2.0)
183
188
  tzinfo (2.0.6)
184
189
  concurrent-ruby (~> 1.0)
185
- unicode-display_width (2.5.0)
186
- useragent (0.16.10)
187
- webrick (1.8.1)
188
- zeitwerk (2.6.17)
190
+ unicode-display_width (3.2.0)
191
+ unicode-emoji (~> 4.1)
192
+ unicode-emoji (4.1.0)
193
+ uri (1.1.0)
194
+ useragent (0.16.11)
195
+ zeitwerk (2.6.18)
189
196
 
190
197
  PLATFORMS
191
198
  ruby
@@ -195,13 +202,15 @@ DEPENDENCIES
195
202
  bundler (~> 2.0)
196
203
  combustion (~> 1.4)
197
204
  database_cleaner-active_record (~> 2.2)
205
+ ostruct
198
206
  pry
199
207
  rake (= 13.0.3)
200
- rspec (~> 3.0)
201
- rubocop-rspec (~> 2.3)
208
+ rspec (~> 3.13)
209
+ rubocop-rspec (~> 3.5)
202
210
  scenic (~> 1.5)
203
211
  simplecov (~> 0.16)
204
212
  table_saw!
213
+ zeitwerk (~> 2.6.0)
205
214
 
206
215
  BUNDLED WITH
207
- 2.5.9
216
+ 2.7.2
data/README.md CHANGED
@@ -1,6 +1,4 @@
1
1
  ![](https://github.com/hasghari/table_saw/workflows/Ruby/badge.svg)
2
- [![Maintainability](https://api.codeclimate.com/v1/badges/abd5b5451c764d3249f1/maintainability)](https://codeclimate.com/github/hasghari/table_saw/maintainability)
3
- [![Test Coverage](https://api.codeclimate.com/v1/badges/abd5b5451c764d3249f1/test_coverage)](https://codeclimate.com/github/hasghari/table_saw/test_coverage)
4
2
 
5
3
  # table-saw
6
4
 
@@ -6,12 +6,14 @@ gem "appraisal"
6
6
  gem "bundler", "~> 2.0"
7
7
  gem "combustion", "~> 1.4"
8
8
  gem "database_cleaner-active_record", "~> 2.2"
9
+ gem "ostruct"
9
10
  gem "pry"
10
11
  gem "rake", "13.0.3"
11
- gem "rspec", "~> 3.0"
12
- gem "rubocop-rspec", "~> 2.3"
12
+ gem "rspec", "~> 3.13"
13
+ gem "rubocop-rspec", "~> 3.5"
13
14
  gem "scenic", "~> 1.5"
14
15
  gem "simplecov", "~> 0.16"
16
+ gem "zeitwerk", "~> 2.6.0"
15
17
  gem "activerecord", "~> 7.2.0", "< 7.3"
16
18
 
17
19
  gemspec path: "../"