active_recall 2.0.0 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,258 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ active_recall (2.0.2)
5
+ activerecord (>= 6.0, <= 7.2)
6
+ activesupport (>= 6.0, <= 7.2)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (7.1.3)
12
+ actionpack (= 7.1.3)
13
+ activesupport (= 7.1.3)
14
+ nio4r (~> 2.0)
15
+ websocket-driver (>= 0.6.1)
16
+ zeitwerk (~> 2.6)
17
+ actionmailbox (7.1.3)
18
+ actionpack (= 7.1.3)
19
+ activejob (= 7.1.3)
20
+ activerecord (= 7.1.3)
21
+ activestorage (= 7.1.3)
22
+ activesupport (= 7.1.3)
23
+ mail (>= 2.7.1)
24
+ net-imap
25
+ net-pop
26
+ net-smtp
27
+ actionmailer (7.1.3)
28
+ actionpack (= 7.1.3)
29
+ actionview (= 7.1.3)
30
+ activejob (= 7.1.3)
31
+ activesupport (= 7.1.3)
32
+ mail (~> 2.5, >= 2.5.4)
33
+ net-imap
34
+ net-pop
35
+ net-smtp
36
+ rails-dom-testing (~> 2.2)
37
+ actionpack (7.1.3)
38
+ actionview (= 7.1.3)
39
+ activesupport (= 7.1.3)
40
+ nokogiri (>= 1.8.5)
41
+ racc
42
+ rack (>= 2.2.4)
43
+ rack-session (>= 1.0.1)
44
+ rack-test (>= 0.6.3)
45
+ rails-dom-testing (~> 2.2)
46
+ rails-html-sanitizer (~> 1.6)
47
+ actiontext (7.1.3)
48
+ actionpack (= 7.1.3)
49
+ activerecord (= 7.1.3)
50
+ activestorage (= 7.1.3)
51
+ activesupport (= 7.1.3)
52
+ globalid (>= 0.6.0)
53
+ nokogiri (>= 1.8.5)
54
+ actionview (7.1.3)
55
+ activesupport (= 7.1.3)
56
+ builder (~> 3.1)
57
+ erubi (~> 1.11)
58
+ rails-dom-testing (~> 2.2)
59
+ rails-html-sanitizer (~> 1.6)
60
+ activejob (7.1.3)
61
+ activesupport (= 7.1.3)
62
+ globalid (>= 0.3.6)
63
+ activemodel (7.1.3)
64
+ activesupport (= 7.1.3)
65
+ activerecord (7.1.3)
66
+ activemodel (= 7.1.3)
67
+ activesupport (= 7.1.3)
68
+ timeout (>= 0.4.0)
69
+ activestorage (7.1.3)
70
+ actionpack (= 7.1.3)
71
+ activejob (= 7.1.3)
72
+ activerecord (= 7.1.3)
73
+ activesupport (= 7.1.3)
74
+ marcel (~> 1.0)
75
+ activesupport (7.1.3)
76
+ base64
77
+ bigdecimal
78
+ concurrent-ruby (~> 1.0, >= 1.0.2)
79
+ connection_pool (>= 2.2.5)
80
+ drb
81
+ i18n (>= 1.6, < 2)
82
+ minitest (>= 5.1)
83
+ mutex_m
84
+ tzinfo (~> 2.0)
85
+ appraisal (2.5.0)
86
+ bundler
87
+ rake
88
+ thor (>= 0.14.0)
89
+ ast (2.4.2)
90
+ base64 (0.2.0)
91
+ bigdecimal (3.1.6)
92
+ builder (3.2.4)
93
+ concurrent-ruby (1.2.3)
94
+ connection_pool (2.4.1)
95
+ crass (1.0.6)
96
+ date (3.3.4)
97
+ diff-lcs (1.5.0)
98
+ drb (2.2.0)
99
+ ruby2_keywords
100
+ erubi (1.12.0)
101
+ globalid (1.2.1)
102
+ activesupport (>= 6.1)
103
+ i18n (1.14.1)
104
+ concurrent-ruby (~> 1.0)
105
+ io-console (0.7.2)
106
+ irb (1.11.1)
107
+ rdoc
108
+ reline (>= 0.4.2)
109
+ json (2.7.2)
110
+ language_server-protocol (3.17.0.3)
111
+ lint_roller (1.1.0)
112
+ loofah (2.22.0)
113
+ crass (~> 1.0.2)
114
+ nokogiri (>= 1.12.0)
115
+ mail (2.8.1)
116
+ mini_mime (>= 0.1.1)
117
+ net-imap
118
+ net-pop
119
+ net-smtp
120
+ marcel (1.0.2)
121
+ mini_mime (1.1.5)
122
+ minitest (5.21.2)
123
+ mutex_m (0.2.0)
124
+ net-imap (0.4.9.1)
125
+ date
126
+ net-protocol
127
+ net-pop (0.1.2)
128
+ net-protocol
129
+ net-protocol (0.2.2)
130
+ timeout
131
+ net-smtp (0.4.0.1)
132
+ net-protocol
133
+ nio4r (2.7.0)
134
+ nokogiri (1.16.0-arm64-darwin)
135
+ racc (~> 1.4)
136
+ parallel (1.24.0)
137
+ parser (3.3.1.0)
138
+ ast (~> 2.4.1)
139
+ racc
140
+ psych (5.1.2)
141
+ stringio
142
+ racc (1.7.3)
143
+ rack (3.0.8)
144
+ rack-session (2.0.0)
145
+ rack (>= 3.0.0)
146
+ rack-test (2.1.0)
147
+ rack (>= 1.3)
148
+ rackup (2.1.0)
149
+ rack (>= 3)
150
+ webrick (~> 1.8)
151
+ rails (7.1.3)
152
+ actioncable (= 7.1.3)
153
+ actionmailbox (= 7.1.3)
154
+ actionmailer (= 7.1.3)
155
+ actionpack (= 7.1.3)
156
+ actiontext (= 7.1.3)
157
+ actionview (= 7.1.3)
158
+ activejob (= 7.1.3)
159
+ activemodel (= 7.1.3)
160
+ activerecord (= 7.1.3)
161
+ activestorage (= 7.1.3)
162
+ activesupport (= 7.1.3)
163
+ bundler (>= 1.15.0)
164
+ railties (= 7.1.3)
165
+ rails-dom-testing (2.2.0)
166
+ activesupport (>= 5.0.0)
167
+ minitest
168
+ nokogiri (>= 1.6)
169
+ rails-html-sanitizer (1.6.0)
170
+ loofah (~> 2.21)
171
+ nokogiri (~> 1.14)
172
+ railties (7.1.3)
173
+ actionpack (= 7.1.3)
174
+ activesupport (= 7.1.3)
175
+ irb
176
+ rackup (>= 1.0.0)
177
+ rake (>= 12.2)
178
+ thor (~> 1.0, >= 1.2.2)
179
+ zeitwerk (~> 2.6)
180
+ rainbow (3.1.1)
181
+ rake (13.1.0)
182
+ rdoc (6.6.2)
183
+ psych (>= 4.0.0)
184
+ regexp_parser (2.9.0)
185
+ reline (0.4.2)
186
+ io-console (~> 0.5)
187
+ rexml (3.2.6)
188
+ rspec (3.12.0)
189
+ rspec-core (~> 3.12.0)
190
+ rspec-expectations (~> 3.12.0)
191
+ rspec-mocks (~> 3.12.0)
192
+ rspec-core (3.12.2)
193
+ rspec-support (~> 3.12.0)
194
+ rspec-expectations (3.12.3)
195
+ diff-lcs (>= 1.2.0, < 2.0)
196
+ rspec-support (~> 3.12.0)
197
+ rspec-mocks (3.12.6)
198
+ diff-lcs (>= 1.2.0, < 2.0)
199
+ rspec-support (~> 3.12.0)
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)
218
+ ruby2_keywords (0.0.5)
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)
232
+ stringio (3.1.0)
233
+ thor (1.3.0)
234
+ timeout (0.4.1)
235
+ tzinfo (2.0.6)
236
+ concurrent-ruby (~> 1.0)
237
+ unicode-display_width (2.5.0)
238
+ webrick (1.8.1)
239
+ websocket-driver (0.7.6)
240
+ websocket-extensions (>= 0.1.0)
241
+ websocket-extensions (0.1.5)
242
+ zeitwerk (2.6.12)
243
+
244
+ PLATFORMS
245
+ arm64-darwin-23
246
+
247
+ DEPENDENCIES
248
+ active_recall!
249
+ appraisal
250
+ rails (~> 7.1)
251
+ rake (>= 12.0)
252
+ rdoc
253
+ rspec (>= 3.0)
254
+ sqlite3
255
+ standard
256
+
257
+ BUNDLED WITH
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.0"
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.0
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Gravina
@@ -9,8 +9,42 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2024-01-14 00:00:00.000000000 Z
12
+ date: 2024-04-29 00:00:00.000000000 Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: appraisal
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: '0'
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rails
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '6.0'
35
+ - - "<="
36
+ - !ruby/object:Gem::Version
37
+ version: '7.2'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: '6.0'
45
+ - - "<="
46
+ - !ruby/object:Gem::Version
47
+ version: '7.2'
14
48
  - !ruby/object:Gem::Dependency
15
49
  name: rake
16
50
  requirement: !ruby/object:Gem::Requirement
@@ -67,6 +101,20 @@ dependencies:
67
101
  - - ">="
68
102
  - !ruby/object:Gem::Version
69
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'
70
118
  - !ruby/object:Gem::Dependency
71
119
  name: activerecord
72
120
  requirement: !ruby/object:Gem::Requirement
@@ -119,6 +167,7 @@ files:
119
167
  - ".gitignore"
120
168
  - ".rspec"
121
169
  - ".tool-versions"
170
+ - Appraisals
122
171
  - Gemfile
123
172
  - Gemfile.lock
124
173
  - LICENSE
@@ -126,7 +175,17 @@ files:
126
175
  - Rakefile
127
176
  - active_recall.gemspec
128
177
  - bin/console
178
+ - bin/lint
129
179
  - bin/setup
180
+ - bin/spec
181
+ - gemfiles/rails_6_0.gemfile
182
+ - gemfiles/rails_6_0.gemfile.lock
183
+ - gemfiles/rails_6_1.gemfile
184
+ - gemfiles/rails_6_1.gemfile.lock
185
+ - gemfiles/rails_7_0.gemfile
186
+ - gemfiles/rails_7_0.gemfile.lock
187
+ - gemfiles/rails_7_1.gemfile
188
+ - gemfiles/rails_7_1.gemfile.lock
130
189
  - lib/active_recall.rb
131
190
  - lib/active_recall/algorithms/fibonacci_sequence.rb
132
191
  - lib/active_recall/algorithms/leitner_system.rb
@@ -144,6 +203,7 @@ files:
144
203
  - lib/generators/active_recall/templates/add_active_recall_item_easiness_factor.rb
145
204
  - lib/generators/active_recall/templates/create_active_recall_tables.rb
146
205
  - lib/generators/active_recall/templates/migrate_okubo_to_active_recall.rb
206
+ - standard.yml
147
207
  homepage: https://github.com/jaysonvirissimo/active_recall
148
208
  licenses:
149
209
  - MIT