sraas 0.2.3 → 0.2.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
  SHA1:
3
- metadata.gz: bb03f58651fdf3061f82991e8a9b63fe153df002
4
- data.tar.gz: 960f4fad513c0d59eeb558de8b2eae1ac8ac587b
3
+ metadata.gz: 976687dbc60a097bdeb24f7c1c68bd8b92492d25
4
+ data.tar.gz: 6a22d1b74c7a15624569aecd11af24d9548ffeff
5
5
  SHA512:
6
- metadata.gz: 19ae79ca9b779f86c14ab7242d5e004b40fba2005217f65f0e68257e037f75ccbf1b971bdcd63c39663ab118e6400365b654e9ad53b2d31b9336527d461ae17d
7
- data.tar.gz: fcb3521e82b61314923ebcb27b5b01ef3595fe16c77004fe0749e354b0560a94e5d17f622c7667a4243fb8c23be2f7c7d91dd407f3644c66ede1a958b287c06f
6
+ metadata.gz: a4c95e2e38ff5a4aed083a1500ebdc3164c32e1114fa64e9beb7f4013ea7460d9d5caeaa90938043502eb2aa7ab14d255249fa63ac593d5e67bc66a598d3212d
7
+ data.tar.gz: e110e7f96c4335f1c41f528917bfed62f916594ade52c0304027f667a349af49c09123ee256f178bdd542feda9e30711017b97a60d613646a6045fc8465976a3
@@ -34,8 +34,21 @@ module Sraas
34
34
  info['learned_everything']
35
35
  end
36
36
 
37
+ def first_learn_at
38
+ info['first_learn_at']
39
+ end
40
+
41
+ def first_review_at
42
+ info['first_review_at']
43
+ end
44
+
45
+ # Nicer accessors for binary
37
46
  def learned_anything?
38
- info['learned_anything']
47
+ info['first_learn_at']
48
+ end
49
+
50
+ def reviewed_anything?
51
+ info['first_review_at']
39
52
  end
40
53
 
41
54
  def next_review_at
data/lib/sraas/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sraas
2
- VERSION = '0.2.3'
2
+ VERSION = '0.2.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sraas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Siegel
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  version: '0'
162
162
  requirements: []
163
163
  rubyforge_project:
164
- rubygems_version: 2.6.12
164
+ rubygems_version: 2.6.14
165
165
  signing_key:
166
166
  specification_version: 4
167
167
  summary: SRAAS.io API Gem