evernote-editor 0.1.4 → 0.1.5

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.
data/README.md CHANGED
@@ -25,6 +25,4 @@ You can modify both values later by editing `~/.enved`
25
25
  -e, --edit Search for and edit an existing note by title
26
26
  -h, --help Display this screen
27
27
 
28
- ## TODO
29
-
30
- * Store tags on creation
28
+ Title is optional on note creation. Tags are ignored when a note is edited.
@@ -40,6 +40,7 @@ module EvernoteEditor
40
40
  note_store = evn_client.note_store
41
41
  note = Evernote::EDAM::Type::Note.new
42
42
  note.title = @title.empty? ? "Untitled note" : @title
43
+ note.tagNames = @tags unless @tags.empty?
43
44
  note.content = note_markup(markdown)
44
45
  created_note = note_store.createNote(@configuration[:token], note)
45
46
  say "Successfully created new note '#{created_note.title}'"
@@ -1,3 +1,3 @@
1
1
  module EvernoteEditor
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evernote-editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-23 00:00:00.000000000 Z
12
+ date: 2013-02-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: evernote_oauth