lingq 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of lingq might be problematic. Click here for more details.

Files changed (4) hide show
  1. data/README.rdoc +12 -1
  2. data/VERSION +1 -1
  3. data/lingq.gemspec +1 -1
  4. metadata +3 -3
@@ -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. Will add soon the ability to update lingqs.
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.0
1
+ 0.3.1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{lingq}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ethan Vizitei"]
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: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ethan Vizitei