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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a09c4903fbee2fd37ef8486857c748ff30b19dee
4
- data.tar.gz: bf127a13f8c54d7465474b37455eaf81594b6369
3
+ metadata.gz: 232685ede90d127f96a7084a0c9624606867ca59
4
+ data.tar.gz: a8af08c0c12291442e8709085e182b805613616b
5
5
  SHA512:
6
- metadata.gz: 851d3dd30d1dfc6cc3730270d7f1ffc51b24979c26819513786339cdaed26d321cc184d72cc85482faee8e8e52cd4f74a458785ddcb9e2726290adec46aeeaba
7
- data.tar.gz: b62356b9d7baf2cd6170f231de0278f6328e070f79075b1f736b6ab3b2eca7db4b01dfaccfa357309d1814c4ed7ef1d533d6c2a4c79f51aecbcd5e28668c76f5
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.includeContentLength = true
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
- return if find_result.nil?
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
@@ -1,5 +1,5 @@
1
1
  module Evertils
2
2
  module Common
3
- VERSION = '0.3.4'.freeze
3
+ VERSION = '0.3.4.1-dev'.freeze
4
4
  end
5
5
  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: '0'
155
+ version: 1.3.1
156
156
  requirements: []
157
157
  rubyforge_project:
158
158
  rubygems_version: 2.6.12