active_recall 1.8.0 → 1.8.4

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: 06e8582ffde66de89e30751aa0f170dfd77d83f4d3e14e200aec66b3acb48683
4
- data.tar.gz: 80614546c9e7235846cd580bb76ab7aebea90945e35d484a4e50ab6f87a7bb4f
3
+ metadata.gz: d38e08a2f83ec8a0b36852b6d7e10ab4798debfaa8d51f5f4f7c29f7467a1e78
4
+ data.tar.gz: a41ee1c1b84ea9d8d5aa4c7fe51a0151bac1a54f7baea5e1b5f655b7daba304b
5
5
  SHA512:
6
- metadata.gz: e68952e966e9201f32ecc43ba64984273ba5bb0cf741eedf3b9c8625c9a55829bfe19f3fc0e3ea6b333354a38cc053d3ea89272b6f0e1ea340d7eb84e12bdc0d
7
- data.tar.gz: ed5fb58e109bc17333a7e4484b22f55e76eaf77c5f81513168613f834418c19bc9cc4d5de5e1a3889bc1fd1120a9c4c443c228ba727b060594a97fde0ac8e893
6
+ metadata.gz: e3afc2c4dbf422117dbdcaef6b38389f26553c4726513fc4785fafa7a07a3a79f9e01f7c2f0daca4564feba60098290cddf2e1d742a370b27ead1dd2b618f8be
7
+ data.tar.gz: 12808e551f259b31bfca025753855c764bd0a67dfe13a470122fe72e3f8544cac05a00d53d4c91a5f17aa4d4014a6e19eceb02f7c10b2e96adc6e37e7440ae8d
@@ -1,4 +1,4 @@
1
- name: Tests
1
+ name: Tests
2
2
 
3
3
  on:
4
4
  pull_request:
@@ -16,11 +16,13 @@ jobs:
16
16
  fail-fast: false
17
17
  matrix:
18
18
  os:
19
- - macos
19
+ - macos
20
20
  - ubuntu
21
21
  ruby:
22
22
  - 2.7
23
23
  - 3.0
24
+ - 3.1
25
+ - 3.2
24
26
  allow_failures:
25
27
  - false
26
28
  include:
@@ -41,4 +43,4 @@ jobs:
41
43
  ruby-version: ${{ matrix.ruby }}
42
44
  bundler-cache: true
43
45
  - name: Test
44
- run: bundle exec rake spec || $ALLOW_FAILURES
46
+ run: bundle exec rake spec || $ALLOW_FAILURES
data/.tool-versions CHANGED
@@ -1 +1 @@
1
- ruby 3.0.2
1
+ ruby 3.2.2
data/Gemfile.lock CHANGED
@@ -1,28 +1,28 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_recall (1.8.0)
4
+ active_recall (1.8.4)
5
5
  activerecord (>= 5.2.3, <= 7.1)
6
6
  activesupport (>= 5.2.3, <= 7.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activemodel (7.0.4.3)
12
- activesupport (= 7.0.4.3)
13
- activerecord (7.0.4.3)
14
- activemodel (= 7.0.4.3)
15
- activesupport (= 7.0.4.3)
16
- activesupport (7.0.4.3)
11
+ activemodel (7.0.5.1)
12
+ activesupport (= 7.0.5.1)
13
+ activerecord (7.0.5.1)
14
+ activemodel (= 7.0.5.1)
15
+ activesupport (= 7.0.5.1)
16
+ activesupport (7.0.5.1)
17
17
  concurrent-ruby (~> 1.0, >= 1.0.2)
18
18
  i18n (>= 1.6, < 2)
19
19
  minitest (>= 5.1)
20
20
  tzinfo (~> 2.0)
21
21
  concurrent-ruby (1.2.2)
22
22
  diff-lcs (1.3)
23
- i18n (1.12.0)
23
+ i18n (1.14.1)
24
24
  concurrent-ruby (~> 1.0)
25
- minitest (5.18.0)
25
+ minitest (5.18.1)
26
26
  rake (12.3.3)
27
27
  rdoc (6.2.0)
28
28
  rspec (3.8.0)
@@ -44,6 +44,7 @@ GEM
44
44
 
45
45
  PLATFORMS
46
46
  ruby
47
+ x86_64-linux
47
48
 
48
49
  DEPENDENCIES
49
50
  active_recall!
@@ -53,4 +54,4 @@ DEPENDENCIES
53
54
  sqlite3
54
55
 
55
56
  BUNDLED WITH
56
- 2.2.22
57
+ 2.4.14
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  **ActiveRecall** is a spaced-repetition system that allows you to treat arbitrary [ActiveRecord](https://github.com/rails/rails/tree/master/activerecord) models as if they were flashcards to be learned and reviewed.
4
4
  It it based on, and is intended to be backwards compatible with, the [okubo](https://github.com/rgravina/okubo) gem.
5
- The primary differentiating features are that it lets the user specify the scheduling algorithm and is fully compatible with Rails 6.0 (and 6.1) and Ruby 3.0.
5
+ The primary differentiating features are that it lets the user specify the scheduling algorithm and is fully compatible with Rails 6+ and Ruby 3+.
6
6
 
7
7
  ## Installation
8
8
 
@@ -39,7 +39,7 @@ module ActiveRecall
39
39
 
40
40
  def wrong
41
41
  {
42
- box: [0, box - 1].max,
42
+ box: 0,
43
43
  last_reviewed: current_time,
44
44
  next_review: nil,
45
45
  times_right: times_right,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveRecall
4
- VERSION = "1.8.0"
4
+ VERSION = "1.8.4"
5
5
  end
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: 1.8.0
4
+ version: 1.8.4
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: 2023-03-19 00:00:00.000000000 Z
12
+ date: 2023-06-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  - !ruby/object:Gem::Version
161
161
  version: '0'
162
162
  requirements: []
163
- rubygems_version: 3.3.5
163
+ rubygems_version: 3.4.10
164
164
  signing_key:
165
165
  specification_version: 4
166
166
  summary: A spaced-repetition system