lingq 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of lingq might be problematic. Click here for more details.
- data/README.rdoc +12 -1
- data/VERSION +1 -1
- data/lingq.gemspec +1 -1
- metadata +3 -3
data/README.rdoc
CHANGED
@@ -20,10 +20,21 @@ You need the API key for your account. Usage is as follows:
|
|
20
20
|
|
21
21
|
#load only the flashcards for a single lesson
|
22
22
|
words = lessons.first.words
|
23
|
+
|
24
|
+
#update all updatable flashcard information
|
25
|
+
word = words.first
|
26
|
+
word.status = 2
|
27
|
+
word.hint = "A better definition of the word"
|
28
|
+
client.update_word!(word)
|
29
|
+
|
30
|
+
#update the 0-3 status of a word (updates the server)
|
31
|
+
word.increment_status!
|
23
32
|
|
24
33
|
== Current Status
|
25
34
|
|
26
|
-
Right now just data pulling is done
|
35
|
+
Right now just data pulling is done, and you can manually update flashcards through the client object. ()
|
36
|
+
|
37
|
+
BE WARNED! The update call for saving flashcard data is currently being done through a system("curl ...") because I'm having trouble getting httparty to do the PUT action I want correctly. If you are on windows, this will be a problem. I'm working on it. :)
|
27
38
|
|
28
39
|
== Note on Patches/Pull Requests
|
29
40
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
data/lingq.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lingq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 1
|
10
|
+
version: 0.3.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ethan Vizitei
|