fyodor 0.2.8 → 0.2.9

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
  SHA256:
3
- metadata.gz: a9df8b69482e73f4b9111105c9c9e02b5d36ada90536b393d322000e99e9bc7e
4
- data.tar.gz: 0070bfc112a33cea32020dfda7e7e033292f4083bc60e3487b854d66f857e206
3
+ metadata.gz: 7caa2b3d167d90c4c640b4069520a102ef82a2745dd133a9c83a24e6c1578eac
4
+ data.tar.gz: 57f2e8c8353cfd6bae7849bfb031c9a2a1fc24ffae0e4f4aed594c6284c4b8b0
5
5
  SHA512:
6
- metadata.gz: d35a3946e8c78f57c1a742a9e6ab35c5fa0948cccc88e479147b83f91956844b31afe7475c2a7a53a5856a90eab26c04a8c5a197f085f88f19bde774aa934407
7
- data.tar.gz: 4cbba9cd18529bc8e3a5d17a6236fa3ad30965655aca6387df759a11926bd578f373920bfb046751be757028989e39d330b19ab61d3909735dbf969a1693b633
6
+ metadata.gz: 656d7f91ef1091443bd11ad054c0bd638cbc9369205852e9beedf981c836284dd9089898cc738cdd7680cc5c62b7943444252457bac687f43dbc38a1bb3c7026
7
+ data.tar.gz: 42014ee99f11b258b81987419e7c7529c7514f270c36e76a739997451df3cf0209a0fd2e4746d668b083ff3c8b206228c893db5e93850f7ea53c853fa17a5c3a
data/README.md CHANGED
@@ -22,6 +22,13 @@ To read more about the motivation and what problem it tries to solve, [check thi
22
22
 
23
23
  This program is based on the clippings file generated by Kindle 2019, but should work with other models.
24
24
 
25
+ ## Limitations
26
+
27
+ We are limited by the data Kindle makes available through `My Clippings.txt`. This means:
28
+
29
+ - We don't have chapter information.
30
+ - We can’t guess all entries that were deleted.
31
+
25
32
  ## Installation
26
33
 
27
34
  Install Ruby and run:
@@ -46,10 +53,10 @@ Fyodor has an optional configuration file, which is used for the following.
46
53
 
47
54
  If your Kindle is not in English, you should tell Fyodor how some things are called by your `My Clippings.txt` (e.g. highlights, pages, etc). _Fyodor should still work without configuration, but you won't take advantage of many features, resulting in a dirtier output._
48
55
 
49
- 1. Download the sample config to `~/.config/fyodor.toml` or `$XDG_CONFIG_HOME/fyodor.toml`:
56
+ 1. Download the sample config to `~/.config/fyodor/fyodor.toml` or `$XDG_CONFIG_HOME/fyodor/fyodor.toml`:
50
57
 
51
- ```
52
- $ wget https://raw.githubusercontent.com/rccavalcanti/fyodor/master/docs/fyodor.toml.sample -O ~/.config/fyodor.toml
58
+ ```sh
59
+ $ curl https://raw.githubusercontent.com/rccavalcanti/fyodor/master/docs/fyodor.toml.sample --create-dirs -o ~/.config/fyodor/fyodor.toml
53
60
  ```
54
61
 
55
62
  2. Open both the configuration and your `My Clippings.txt` in your preferred editor. Change the values in the `[parser]` section to mirror what you get in `My Clippings.txt`.
@@ -42,8 +42,8 @@ module Fyodor
42
42
  return @paths unless @paths.nil?
43
43
 
44
44
  @paths = []
45
- @paths << Pathname.new(ENV["XDG_CONFIG_HOME"]) + "fyodor.toml" unless ENV["XDG_CONFIG_HOME"].nil?
46
- @paths << Pathname.new("~/.config/fyodor.toml").expand_path
45
+ @paths << Pathname.new(ENV["XDG_CONFIG_HOME"]) + "fyodor/fyodor.toml" unless ENV["XDG_CONFIG_HOME"].nil?
46
+ @paths << Pathname.new("~/.config/fyodor/fyodor.toml").expand_path
47
47
  end
48
48
 
49
49
  def print_path
@@ -1,3 +1,3 @@
1
1
  module Fyodor
2
- VERSION = "0.2.8".freeze
2
+ VERSION = "0.2.9".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fyodor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafael Cavalcanti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-22 00:00:00.000000000 Z
11
+ date: 2021-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: toml