kindle 0.7.0.beta4 → 0.7.0.beta5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e64a9999470ffa1f6f2c273cfaeda18e9c82382
4
- data.tar.gz: 0c5d32439552adc59a278080ef5ca948674a33cb
3
+ metadata.gz: eaa0b6c50e175a1621348862cbcd48cf30d6dde4
4
+ data.tar.gz: 1ca54f241246f5b07e90fe2f4ded4fa602cfce91
5
5
  SHA512:
6
- metadata.gz: 1270f7661677fa773541a449a6b9e19c9cd1b325ec626f4217e1ab03ff30a80d32ddf65b978c021d958470f9567da0f73e9d4da21a2a6c9ca952168f5b7d488d
7
- data.tar.gz: 651897893f6f162a4f04a6394bb689b63fa92173a9acd89363a15b8760979331d0bb9d09f72528eece5e83f9b62cc352429fdea826d0cf8dd2556f5f84dcc524
6
+ metadata.gz: be9f071c6a82e7fb4dec9d8fd28e888a632fa6955daab234205102d28eff13e7528c28dcb9f773537d43d58a243192803bce9ad8c415c29aabbef9b101aaa187
7
+ data.tar.gz: 7e02ccbac24f4e39d0d9c86b531a8624b5fba92798fb3a1e9a9bf7ba0925202215af63848de40985890ab3752170ae8442ed790a3fe5bd8c16642b7dc885e71e
@@ -16,6 +16,6 @@ require_relative "kindle/exports/csv"
16
16
  ActiveRecord::Base.establish_connection(adapter: "sqlite3", database: Kindle::Settings::KINDLE_DATABASE_FILENAME)
17
17
 
18
18
  module Kindle
19
- VERSION = "0.7.0.beta4"
19
+ VERSION = "0.7.0.beta5"
20
20
  include Models
21
21
  end
@@ -119,10 +119,11 @@ module Kindle
119
119
  end
120
120
 
121
121
  def parse_highlight(hl, state)
122
- highlight_id = hl.xpath('//*[@id="annotation_id"]').first["value"]
122
+ # TODO: highlight_id
123
+ # highlight_id = hl.xpath('//*[@id="annotation_id"]').first["value"]
123
124
  highlight_text = (hl/".highlight").text
124
125
  asin = (hl/".asin").text
125
- highlight = Kindle::Remote::Highlight.new(amazon_id: highlight_id, highlight: highlight_text, asin: asin)
126
+ highlight = Kindle::Remote::Highlight.new(highlight: highlight_text, asin: asin)
126
127
  highlight
127
128
  end
128
129
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kindle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0.beta4
4
+ version: 0.7.0.beta5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Petty