active_recall 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1be7449fff68fa72825e50fd75ac16c5e66c289b8478aa6b5777492a6d15f84c
4
- data.tar.gz: 60a2523b2e4ea54a3cceebc442be03a36bfae90a8047d77bc96df17fe3f12e2c
3
+ metadata.gz: 8709001a31591b453227c504d7f96684f924ac267d6c380ab8c5e6b86913b24c
4
+ data.tar.gz: 5efe33c2262b0b4549ff9f59c24ce504f65a798f5b2af1068bb10a419a7c182a
5
5
  SHA512:
6
- metadata.gz: 04fc13601da77c775765ff7e465010a9227d367dcfe4e7dd2eac0b7faf92461d2377ce106b1b03b1c14538e36ce9ab3c63d906b46fa1885f6eec784547aa3231
7
- data.tar.gz: 3c663fbd9f5f5d14b040eefd4ad7dbe0c8ba58fcd2b5c90445658c3512c1c80a86da8bd91601ad219eb1043764cb5d221f9a35e2f45d5d7feb53398a20f1dc00
6
+ metadata.gz: f430431bf3ee4fd729c39a94915ad6b29750277631f5e85700684a464a71f633872033f69fcb763b01f3f2376afb0fbac7051b382ddc4843fe149502e2a9119a
7
+ data.tar.gz: '06837043f0e1290b99fea84f6ed317263f2155d10619e9ab08dac06bd6c9807703863848b1311216d08a23e3254176a03e76cc3c045fdd96f4e0de00db8d09bd'
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ test/tmp
15
15
  test/version_tmp
16
16
  tmp
17
17
  .idea/
18
+ .DS_Store
data/Appraisals CHANGED
@@ -1,15 +1,15 @@
1
- appraise 'rails-6-0' do
2
- gem 'rails', '~> 6.0'
1
+ appraise "rails-6-0" do
2
+ gem "rails", "~> 6.0"
3
3
  end
4
4
 
5
- appraise 'rails-6-1' do
6
- gem 'rails', '~> 6.1'
5
+ appraise "rails-6-1" do
6
+ gem "rails", "~> 6.1"
7
7
  end
8
8
 
9
- appraise 'rails-7-0' do
10
- gem 'rails', '~> 7.0'
9
+ appraise "rails-7-0" do
10
+ gem "rails", "~> 7.0"
11
11
  end
12
12
 
13
- appraise 'rails-7-1' do
14
- gem 'rails', '~> 7.1'
13
+ appraise "rails-7-1" do
14
+ gem "rails", "~> 7.1"
15
15
  end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_recall (2.0.1)
4
+ active_recall (2.0.2)
5
5
  activerecord (>= 6.0, <= 7.2)
6
6
  activesupport (>= 6.0, <= 7.2)
7
7
 
@@ -86,6 +86,7 @@ GEM
86
86
  bundler
87
87
  rake
88
88
  thor (>= 0.14.0)
89
+ ast (2.4.2)
89
90
  base64 (0.2.0)
90
91
  bigdecimal (3.1.6)
91
92
  builder (3.2.4)
@@ -105,6 +106,9 @@ GEM
105
106
  irb (1.11.1)
106
107
  rdoc
107
108
  reline (>= 0.4.2)
109
+ json (2.7.2)
110
+ language_server-protocol (3.17.0.3)
111
+ lint_roller (1.1.0)
108
112
  loofah (2.22.0)
109
113
  crass (~> 1.0.2)
110
114
  nokogiri (>= 1.12.0)
@@ -133,6 +137,10 @@ GEM
133
137
  racc (~> 1.4)
134
138
  nokogiri (1.16.0-x86_64-linux)
135
139
  racc (~> 1.4)
140
+ parallel (1.24.0)
141
+ parser (3.3.1.0)
142
+ ast (~> 2.4.1)
143
+ racc
136
144
  racc (1.7.3)
137
145
  rack (3.0.8)
138
146
  rack-session (2.0.0)
@@ -171,10 +179,13 @@ GEM
171
179
  rake (>= 12.2)
172
180
  thor (~> 1.0, >= 1.2.2)
173
181
  zeitwerk (~> 2.6)
182
+ rainbow (3.1.1)
174
183
  rake (12.3.3)
175
184
  rdoc (6.2.0)
185
+ regexp_parser (2.9.0)
176
186
  reline (0.4.2)
177
187
  io-console (~> 0.5)
188
+ rexml (3.2.6)
178
189
  rspec (3.8.0)
179
190
  rspec-core (~> 3.8.0)
180
191
  rspec-expectations (~> 3.8.0)
@@ -188,12 +199,42 @@ GEM
188
199
  diff-lcs (>= 1.2.0, < 2.0)
189
200
  rspec-support (~> 3.8.0)
190
201
  rspec-support (3.8.2)
202
+ rubocop (1.62.1)
203
+ json (~> 2.3)
204
+ language_server-protocol (>= 3.17.0)
205
+ parallel (~> 1.10)
206
+ parser (>= 3.3.0.2)
207
+ rainbow (>= 2.2.2, < 4.0)
208
+ regexp_parser (>= 1.8, < 3.0)
209
+ rexml (>= 3.2.5, < 4.0)
210
+ rubocop-ast (>= 1.31.1, < 2.0)
211
+ ruby-progressbar (~> 1.7)
212
+ unicode-display_width (>= 2.4.0, < 3.0)
213
+ rubocop-ast (1.31.2)
214
+ parser (>= 3.3.0.4)
215
+ rubocop-performance (1.20.2)
216
+ rubocop (>= 1.48.1, < 2.0)
217
+ rubocop-ast (>= 1.30.0, < 2.0)
218
+ ruby-progressbar (1.13.0)
191
219
  ruby2_keywords (0.0.5)
192
220
  sqlite3 (1.4.2)
221
+ standard (1.35.1)
222
+ language_server-protocol (~> 3.17.0.2)
223
+ lint_roller (~> 1.0)
224
+ rubocop (~> 1.62.0)
225
+ standard-custom (~> 1.0.0)
226
+ standard-performance (~> 1.3)
227
+ standard-custom (1.0.2)
228
+ lint_roller (~> 1.0)
229
+ rubocop (~> 1.50)
230
+ standard-performance (1.3.1)
231
+ lint_roller (~> 1.1)
232
+ rubocop-performance (~> 1.20.2)
193
233
  thor (1.3.0)
194
234
  timeout (0.4.1)
195
235
  tzinfo (2.0.6)
196
236
  concurrent-ruby (~> 1.0)
237
+ unicode-display_width (2.5.0)
197
238
  webrick (1.8.1)
198
239
  websocket-driver (0.7.6)
199
240
  websocket-extensions (>= 0.1.0)
@@ -212,6 +253,7 @@ DEPENDENCIES
212
253
  rdoc
213
254
  rspec (>= 3.0)
214
255
  sqlite3
256
+ standard
215
257
 
216
258
  BUNDLED WITH
217
259
  2.4.14
@@ -32,12 +32,13 @@ Gem::Specification.new do |spec|
32
32
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
33
33
  spec.require_paths = ["lib"]
34
34
 
35
- spec.add_development_dependency 'appraisal'
35
+ spec.add_development_dependency "appraisal"
36
36
  spec.add_development_dependency "rails", ">= 6.0", "<= 7.2"
37
37
  spec.add_development_dependency "rake", ">= 12.0"
38
38
  spec.add_development_dependency "rdoc"
39
39
  spec.add_development_dependency "rspec", ">= 3.0"
40
40
  spec.add_development_dependency "sqlite3"
41
+ spec.add_development_dependency "standard"
41
42
  spec.add_runtime_dependency "activerecord", ">= 6.0", "<= 7.2"
42
43
  spec.add_runtime_dependency "activesupport", ">= 6.0", "<= 7.2"
43
44
  spec.required_ruby_version = ">= 3.0"
data/bin/lint ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ standardrb --fix
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- active_recall (2.0.1)
4
+ active_recall (2.0.2)
5
5
  activerecord (>= 6.0, <= 7.2)
6
6
  activesupport (>= 6.0, <= 7.2)
7
7
 
@@ -71,6 +71,7 @@ GEM
71
71
  bundler
72
72
  rake
73
73
  thor (>= 0.14.0)
74
+ ast (2.4.2)
74
75
  builder (3.2.4)
75
76
  concurrent-ruby (1.2.3)
76
77
  crass (1.0.6)
@@ -81,6 +82,9 @@ GEM
81
82
  activesupport (>= 6.1)
82
83
  i18n (1.14.1)
83
84
  concurrent-ruby (~> 1.0)
85
+ json (2.7.2)
86
+ language_server-protocol (3.17.0.3)
87
+ lint_roller (1.1.0)
84
88
  loofah (2.22.0)
85
89
  crass (~> 1.0.2)
86
90
  nokogiri (>= 1.12.0)
@@ -105,6 +109,10 @@ GEM
105
109
  nio4r (2.7.0)
106
110
  nokogiri (1.16.0-arm64-darwin)
107
111
  racc (~> 1.4)
112
+ parallel (1.24.0)
113
+ parser (3.3.1.0)
114
+ ast (~> 2.4.1)
115
+ racc
108
116
  psych (5.1.2)
109
117
  stringio
110
118
  racc (1.7.3)
@@ -139,9 +147,12 @@ GEM
139
147
  method_source
140
148
  rake (>= 12.2)
141
149
  thor (~> 1.0)
150
+ rainbow (3.1.1)
142
151
  rake (13.1.0)
143
152
  rdoc (6.6.2)
144
153
  psych (>= 4.0.0)
154
+ regexp_parser (2.9.0)
155
+ rexml (3.2.6)
145
156
  rspec (3.12.0)
146
157
  rspec-core (~> 3.12.0)
147
158
  rspec-expectations (~> 3.12.0)
@@ -155,6 +166,23 @@ GEM
155
166
  diff-lcs (>= 1.2.0, < 2.0)
156
167
  rspec-support (~> 3.12.0)
157
168
  rspec-support (3.12.1)
169
+ rubocop (1.62.1)
170
+ json (~> 2.3)
171
+ language_server-protocol (>= 3.17.0)
172
+ parallel (~> 1.10)
173
+ parser (>= 3.3.0.2)
174
+ rainbow (>= 2.2.2, < 4.0)
175
+ regexp_parser (>= 1.8, < 3.0)
176
+ rexml (>= 3.2.5, < 4.0)
177
+ rubocop-ast (>= 1.31.1, < 2.0)
178
+ ruby-progressbar (~> 1.7)
179
+ unicode-display_width (>= 2.4.0, < 3.0)
180
+ rubocop-ast (1.31.2)
181
+ parser (>= 3.3.0.4)
182
+ rubocop-performance (1.20.2)
183
+ rubocop (>= 1.48.1, < 2.0)
184
+ rubocop-ast (>= 1.30.0, < 2.0)
185
+ ruby-progressbar (1.13.0)
158
186
  sprockets (4.2.1)
159
187
  concurrent-ruby (~> 1.0)
160
188
  rack (>= 2.2.4, < 4)
@@ -163,11 +191,24 @@ GEM
163
191
  activesupport (>= 5.2)
164
192
  sprockets (>= 3.0.0)
165
193
  sqlite3 (1.7.1-arm64-darwin)
194
+ standard (1.35.1)
195
+ language_server-protocol (~> 3.17.0.2)
196
+ lint_roller (~> 1.0)
197
+ rubocop (~> 1.62.0)
198
+ standard-custom (~> 1.0.0)
199
+ standard-performance (~> 1.3)
200
+ standard-custom (1.0.2)
201
+ lint_roller (~> 1.0)
202
+ rubocop (~> 1.50)
203
+ standard-performance (1.3.1)
204
+ lint_roller (~> 1.1)
205
+ rubocop-performance (~> 1.20.2)
166
206
  stringio (3.1.0)
167
207
  thor (1.3.0)
168
208
  timeout (0.4.1)
169
209
  tzinfo (2.0.6)
170
210
  concurrent-ruby (~> 1.0)
211
+ unicode-display_width (2.5.0)
171
212
  websocket-driver (0.7.6)
172
213
  websocket-extensions (>= 0.1.0)
173
214
  websocket-extensions (0.1.5)
@@ -184,6 +225,7 @@ DEPENDENCIES
184
225
  rdoc
185
226
  rspec (>= 3.0)
186
227
  sqlite3
228
+ standard
187
229
 
188
230
  BUNDLED WITH
189
231
  2.4.14
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- active_recall (2.0.1)
4
+ active_recall (2.0.2)
5
5
  activerecord (>= 6.0, <= 7.2)
6
6
  activesupport (>= 6.0, <= 7.2)
7
7
 
@@ -71,6 +71,7 @@ GEM
71
71
  bundler
72
72
  rake
73
73
  thor (>= 0.14.0)
74
+ ast (2.4.2)
74
75
  builder (3.2.4)
75
76
  concurrent-ruby (1.2.3)
76
77
  crass (1.0.6)
@@ -81,6 +82,9 @@ GEM
81
82
  activesupport (>= 6.1)
82
83
  i18n (1.14.1)
83
84
  concurrent-ruby (~> 1.0)
85
+ json (2.7.2)
86
+ language_server-protocol (3.17.0.3)
87
+ lint_roller (1.1.0)
84
88
  loofah (2.22.0)
85
89
  crass (~> 1.0.2)
86
90
  nokogiri (>= 1.12.0)
@@ -105,6 +109,10 @@ GEM
105
109
  nio4r (2.7.0)
106
110
  nokogiri (1.16.0-arm64-darwin)
107
111
  racc (~> 1.4)
112
+ parallel (1.24.0)
113
+ parser (3.3.1.0)
114
+ ast (~> 2.4.1)
115
+ racc
108
116
  psych (5.1.2)
109
117
  stringio
110
118
  racc (1.7.3)
@@ -139,9 +147,12 @@ GEM
139
147
  method_source
140
148
  rake (>= 12.2)
141
149
  thor (~> 1.0)
150
+ rainbow (3.1.1)
142
151
  rake (13.1.0)
143
152
  rdoc (6.6.2)
144
153
  psych (>= 4.0.0)
154
+ regexp_parser (2.9.0)
155
+ rexml (3.2.6)
145
156
  rspec (3.12.0)
146
157
  rspec-core (~> 3.12.0)
147
158
  rspec-expectations (~> 3.12.0)
@@ -155,6 +166,23 @@ GEM
155
166
  diff-lcs (>= 1.2.0, < 2.0)
156
167
  rspec-support (~> 3.12.0)
157
168
  rspec-support (3.12.1)
169
+ rubocop (1.62.1)
170
+ json (~> 2.3)
171
+ language_server-protocol (>= 3.17.0)
172
+ parallel (~> 1.10)
173
+ parser (>= 3.3.0.2)
174
+ rainbow (>= 2.2.2, < 4.0)
175
+ regexp_parser (>= 1.8, < 3.0)
176
+ rexml (>= 3.2.5, < 4.0)
177
+ rubocop-ast (>= 1.31.1, < 2.0)
178
+ ruby-progressbar (~> 1.7)
179
+ unicode-display_width (>= 2.4.0, < 3.0)
180
+ rubocop-ast (1.31.2)
181
+ parser (>= 3.3.0.4)
182
+ rubocop-performance (1.20.2)
183
+ rubocop (>= 1.48.1, < 2.0)
184
+ rubocop-ast (>= 1.30.0, < 2.0)
185
+ ruby-progressbar (1.13.0)
158
186
  sprockets (4.2.1)
159
187
  concurrent-ruby (~> 1.0)
160
188
  rack (>= 2.2.4, < 4)
@@ -163,11 +191,24 @@ GEM
163
191
  activesupport (>= 5.2)
164
192
  sprockets (>= 3.0.0)
165
193
  sqlite3 (1.7.1-arm64-darwin)
194
+ standard (1.35.1)
195
+ language_server-protocol (~> 3.17.0.2)
196
+ lint_roller (~> 1.0)
197
+ rubocop (~> 1.62.0)
198
+ standard-custom (~> 1.0.0)
199
+ standard-performance (~> 1.3)
200
+ standard-custom (1.0.2)
201
+ lint_roller (~> 1.0)
202
+ rubocop (~> 1.50)
203
+ standard-performance (1.3.1)
204
+ lint_roller (~> 1.1)
205
+ rubocop-performance (~> 1.20.2)
166
206
  stringio (3.1.0)
167
207
  thor (1.3.0)
168
208
  timeout (0.4.1)
169
209
  tzinfo (2.0.6)
170
210
  concurrent-ruby (~> 1.0)
211
+ unicode-display_width (2.5.0)
171
212
  websocket-driver (0.7.6)
172
213
  websocket-extensions (>= 0.1.0)
173
214
  websocket-extensions (0.1.5)
@@ -184,6 +225,7 @@ DEPENDENCIES
184
225
  rdoc
185
226
  rspec (>= 3.0)
186
227
  sqlite3
228
+ standard
187
229
 
188
230
  BUNDLED WITH
189
231
  2.4.14
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- active_recall (2.0.1)
4
+ active_recall (2.0.2)
5
5
  activerecord (>= 6.0, <= 7.2)
6
6
  activesupport (>= 6.0, <= 7.2)
7
7
 
@@ -86,6 +86,7 @@ GEM
86
86
  bundler
87
87
  rake
88
88
  thor (>= 0.14.0)
89
+ ast (2.4.2)
89
90
  base64 (0.2.0)
90
91
  bigdecimal (3.1.6)
91
92
  builder (3.2.4)
@@ -105,6 +106,9 @@ GEM
105
106
  irb (1.11.1)
106
107
  rdoc
107
108
  reline (>= 0.4.2)
109
+ json (2.7.2)
110
+ language_server-protocol (3.17.0.3)
111
+ lint_roller (1.1.0)
108
112
  loofah (2.22.0)
109
113
  crass (~> 1.0.2)
110
114
  nokogiri (>= 1.12.0)
@@ -129,6 +133,10 @@ GEM
129
133
  nio4r (2.7.0)
130
134
  nokogiri (1.16.0-arm64-darwin)
131
135
  racc (~> 1.4)
136
+ parallel (1.24.0)
137
+ parser (3.3.1.0)
138
+ ast (~> 2.4.1)
139
+ racc
132
140
  psych (5.1.2)
133
141
  stringio
134
142
  racc (1.7.3)
@@ -169,11 +177,14 @@ GEM
169
177
  rake (>= 12.2)
170
178
  thor (~> 1.0, >= 1.2.2)
171
179
  zeitwerk (~> 2.6)
180
+ rainbow (3.1.1)
172
181
  rake (13.1.0)
173
182
  rdoc (6.6.2)
174
183
  psych (>= 4.0.0)
184
+ regexp_parser (2.9.0)
175
185
  reline (0.4.2)
176
186
  io-console (~> 0.5)
187
+ rexml (3.2.6)
177
188
  rspec (3.12.0)
178
189
  rspec-core (~> 3.12.0)
179
190
  rspec-expectations (~> 3.12.0)
@@ -187,13 +198,43 @@ GEM
187
198
  diff-lcs (>= 1.2.0, < 2.0)
188
199
  rspec-support (~> 3.12.0)
189
200
  rspec-support (3.12.1)
201
+ rubocop (1.62.1)
202
+ json (~> 2.3)
203
+ language_server-protocol (>= 3.17.0)
204
+ parallel (~> 1.10)
205
+ parser (>= 3.3.0.2)
206
+ rainbow (>= 2.2.2, < 4.0)
207
+ regexp_parser (>= 1.8, < 3.0)
208
+ rexml (>= 3.2.5, < 4.0)
209
+ rubocop-ast (>= 1.31.1, < 2.0)
210
+ ruby-progressbar (~> 1.7)
211
+ unicode-display_width (>= 2.4.0, < 3.0)
212
+ rubocop-ast (1.31.2)
213
+ parser (>= 3.3.0.4)
214
+ rubocop-performance (1.20.2)
215
+ rubocop (>= 1.48.1, < 2.0)
216
+ rubocop-ast (>= 1.30.0, < 2.0)
217
+ ruby-progressbar (1.13.0)
190
218
  ruby2_keywords (0.0.5)
191
219
  sqlite3 (1.7.1-arm64-darwin)
220
+ standard (1.35.1)
221
+ language_server-protocol (~> 3.17.0.2)
222
+ lint_roller (~> 1.0)
223
+ rubocop (~> 1.62.0)
224
+ standard-custom (~> 1.0.0)
225
+ standard-performance (~> 1.3)
226
+ standard-custom (1.0.2)
227
+ lint_roller (~> 1.0)
228
+ rubocop (~> 1.50)
229
+ standard-performance (1.3.1)
230
+ lint_roller (~> 1.1)
231
+ rubocop-performance (~> 1.20.2)
192
232
  stringio (3.1.0)
193
233
  thor (1.3.0)
194
234
  timeout (0.4.1)
195
235
  tzinfo (2.0.6)
196
236
  concurrent-ruby (~> 1.0)
237
+ unicode-display_width (2.5.0)
197
238
  webrick (1.8.1)
198
239
  websocket-driver (0.7.6)
199
240
  websocket-extensions (>= 0.1.0)
@@ -211,6 +252,7 @@ DEPENDENCIES
211
252
  rdoc
212
253
  rspec (>= 3.0)
213
254
  sqlite3
255
+ standard
214
256
 
215
257
  BUNDLED WITH
216
258
  2.4.14
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- active_recall (2.0.1)
4
+ active_recall (2.0.2)
5
5
  activerecord (>= 6.0, <= 7.2)
6
6
  activesupport (>= 6.0, <= 7.2)
7
7
 
@@ -86,6 +86,7 @@ GEM
86
86
  bundler
87
87
  rake
88
88
  thor (>= 0.14.0)
89
+ ast (2.4.2)
89
90
  base64 (0.2.0)
90
91
  bigdecimal (3.1.6)
91
92
  builder (3.2.4)
@@ -105,6 +106,9 @@ GEM
105
106
  irb (1.11.1)
106
107
  rdoc
107
108
  reline (>= 0.4.2)
109
+ json (2.7.2)
110
+ language_server-protocol (3.17.0.3)
111
+ lint_roller (1.1.0)
108
112
  loofah (2.22.0)
109
113
  crass (~> 1.0.2)
110
114
  nokogiri (>= 1.12.0)
@@ -129,6 +133,10 @@ GEM
129
133
  nio4r (2.7.0)
130
134
  nokogiri (1.16.0-arm64-darwin)
131
135
  racc (~> 1.4)
136
+ parallel (1.24.0)
137
+ parser (3.3.1.0)
138
+ ast (~> 2.4.1)
139
+ racc
132
140
  psych (5.1.2)
133
141
  stringio
134
142
  racc (1.7.3)
@@ -169,11 +177,14 @@ GEM
169
177
  rake (>= 12.2)
170
178
  thor (~> 1.0, >= 1.2.2)
171
179
  zeitwerk (~> 2.6)
180
+ rainbow (3.1.1)
172
181
  rake (13.1.0)
173
182
  rdoc (6.6.2)
174
183
  psych (>= 4.0.0)
184
+ regexp_parser (2.9.0)
175
185
  reline (0.4.2)
176
186
  io-console (~> 0.5)
187
+ rexml (3.2.6)
177
188
  rspec (3.12.0)
178
189
  rspec-core (~> 3.12.0)
179
190
  rspec-expectations (~> 3.12.0)
@@ -187,13 +198,43 @@ GEM
187
198
  diff-lcs (>= 1.2.0, < 2.0)
188
199
  rspec-support (~> 3.12.0)
189
200
  rspec-support (3.12.1)
201
+ rubocop (1.62.1)
202
+ json (~> 2.3)
203
+ language_server-protocol (>= 3.17.0)
204
+ parallel (~> 1.10)
205
+ parser (>= 3.3.0.2)
206
+ rainbow (>= 2.2.2, < 4.0)
207
+ regexp_parser (>= 1.8, < 3.0)
208
+ rexml (>= 3.2.5, < 4.0)
209
+ rubocop-ast (>= 1.31.1, < 2.0)
210
+ ruby-progressbar (~> 1.7)
211
+ unicode-display_width (>= 2.4.0, < 3.0)
212
+ rubocop-ast (1.31.2)
213
+ parser (>= 3.3.0.4)
214
+ rubocop-performance (1.20.2)
215
+ rubocop (>= 1.48.1, < 2.0)
216
+ rubocop-ast (>= 1.30.0, < 2.0)
217
+ ruby-progressbar (1.13.0)
190
218
  ruby2_keywords (0.0.5)
191
219
  sqlite3 (1.7.1-arm64-darwin)
220
+ standard (1.35.1)
221
+ language_server-protocol (~> 3.17.0.2)
222
+ lint_roller (~> 1.0)
223
+ rubocop (~> 1.62.0)
224
+ standard-custom (~> 1.0.0)
225
+ standard-performance (~> 1.3)
226
+ standard-custom (1.0.2)
227
+ lint_roller (~> 1.0)
228
+ rubocop (~> 1.50)
229
+ standard-performance (1.3.1)
230
+ lint_roller (~> 1.1)
231
+ rubocop-performance (~> 1.20.2)
192
232
  stringio (3.1.0)
193
233
  thor (1.3.0)
194
234
  timeout (0.4.1)
195
235
  tzinfo (2.0.6)
196
236
  concurrent-ruby (~> 1.0)
237
+ unicode-display_width (2.5.0)
197
238
  webrick (1.8.1)
198
239
  websocket-driver (0.7.6)
199
240
  websocket-extensions (>= 0.1.0)
@@ -211,6 +252,7 @@ DEPENDENCIES
211
252
  rdoc
212
253
  rspec (>= 3.0)
213
254
  sqlite3
255
+ standard
214
256
 
215
257
  BUNDLED WITH
216
258
  2.4.14
@@ -21,7 +21,7 @@ module ActiveRecall
21
21
  if algorithm_class.type == :gradable
22
22
  update!(
23
23
  algorithm_class.score(**scoring_attributes.merge(grade: grade))
24
- ).score
24
+ )
25
25
  else
26
26
  raise IncompatibleAlgorithmError, "#{algorithm_class.name} is a not an gradable algorithm, so is not compatible with the #score! method"
27
27
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveRecall
4
- VERSION = "2.0.1"
4
+ VERSION = "2.0.2"
5
5
  end
data/standard.yml ADDED
@@ -0,0 +1,3 @@
1
+ fix: true
2
+ parallel: true
3
+ ruby_version: 3.0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_recall
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Gravina
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2024-01-29 00:00:00.000000000 Z
12
+ date: 2024-04-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: appraisal
@@ -101,6 +101,20 @@ dependencies:
101
101
  - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
+ - !ruby/object:Gem::Dependency
105
+ name: standard
106
+ requirement: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ type: :development
112
+ prerelease: false
113
+ version_requirements: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
104
118
  - !ruby/object:Gem::Dependency
105
119
  name: activerecord
106
120
  requirement: !ruby/object:Gem::Requirement
@@ -161,6 +175,7 @@ files:
161
175
  - Rakefile
162
176
  - active_recall.gemspec
163
177
  - bin/console
178
+ - bin/lint
164
179
  - bin/setup
165
180
  - bin/spec
166
181
  - gemfiles/rails_6_0.gemfile
@@ -188,6 +203,7 @@ files:
188
203
  - lib/generators/active_recall/templates/add_active_recall_item_easiness_factor.rb
189
204
  - lib/generators/active_recall/templates/create_active_recall_tables.rb
190
205
  - lib/generators/active_recall/templates/migrate_okubo_to_active_recall.rb
206
+ - standard.yml
191
207
  homepage: https://github.com/jaysonvirissimo/active_recall
192
208
  licenses:
193
209
  - MIT