evertils-common 0.3.4 → 0.3.4.1.pre.dev
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/evertils/common/entity/note.rb +2 -6
- data/lib/evertils/common/entity/notes.rb +0 -3
- data/lib/evertils/common/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 232685ede90d127f96a7084a0c9624606867ca59
|
4
|
+
data.tar.gz: a8af08c0c12291442e8709085e182b805613616b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b78377601878573d07098c892d40c432de84eed21f57c917419ca9007fcf8b50d8bd3d0a1977626d447ae369ebd89b9e7ff7efc6a4a9bfa8ad05ba4d771cfe7
|
7
|
+
data.tar.gz: 716dbce8a3c43e055c05e5c37d39d6b70a955b59231c39b4e318510308154661aa4d0d9ded5483addbc27810724ff9b34400d3f3e946104660807747cb534eed
|
@@ -99,9 +99,7 @@ module Evertils
|
|
99
99
|
spec = ::Evernote::EDAM::NoteStore::NotesMetadataResultSpec.new
|
100
100
|
spec.includeTitle = true
|
101
101
|
spec.includeTagGuids = true
|
102
|
-
spec.
|
103
|
-
spec.includeCreated = true
|
104
|
-
spec.includeUpdated = true
|
102
|
+
spec.includeContent = true if include_note_content
|
105
103
|
|
106
104
|
result = @evernote.call(:findNotesMetadata, filter, 0, 10, spec)
|
107
105
|
|
@@ -114,11 +112,9 @@ module Evertils
|
|
114
112
|
#
|
115
113
|
# @since 0.2.0
|
116
114
|
def find_with_contents(name)
|
117
|
-
raise 'ERROR: Evernote API is incomplete, cannot pull full note content'
|
118
|
-
|
119
115
|
find_result = find(name)
|
120
116
|
|
121
|
-
|
117
|
+
raise "Note not found: #{name}" if find_result.entity.nil?
|
122
118
|
|
123
119
|
@entity = find_result.entity
|
124
120
|
|
@@ -131,9 +131,6 @@ module Evertils
|
|
131
131
|
def find_spec(include_note_body)
|
132
132
|
spec = ::Evernote::EDAM::NoteStore::NotesMetadataResultSpec.new
|
133
133
|
spec.includeTitle = true
|
134
|
-
spec.includeContentLength = true
|
135
|
-
spec.includeCreated = true
|
136
|
-
spec.includeUpdated = true
|
137
134
|
spec
|
138
135
|
end
|
139
136
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evertils-common
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.4
|
4
|
+
version: 0.3.4.1.pre.dev
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Priebe
|
@@ -150,9 +150,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
150
150
|
version: '0'
|
151
151
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
152
152
|
requirements:
|
153
|
-
- - "
|
153
|
+
- - ">"
|
154
154
|
- !ruby/object:Gem::Version
|
155
|
-
version:
|
155
|
+
version: 1.3.1
|
156
156
|
requirements: []
|
157
157
|
rubyforge_project:
|
158
158
|
rubygems_version: 2.6.12
|