pick-pocket 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/pickpocket/articles/library.rb +1 -1
- data/lib/pickpocket/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f0d28bbc652b326fb0a1e541e1419d9ee213a7d
|
4
|
+
data.tar.gz: e511b4dec5f40a7d948b3260df701e36458271e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 207b503f624872655f1dd632c515161d1937a2e35fc91310fc7c56c668672a82e1e0e3668ef9af1ec420c74bd707d4de07905ef94d82df81719254efbfa7e7eb
|
7
|
+
data.tar.gz: 393ade72c26c3a0306670073c0590e33f5ed5ef8126c50e87c935d6cb9350a51142236566fd38b296c6e4a5d916109d551c638c8de96f5eef558e75f788716ec
|
data/README.md
CHANGED
@@ -28,6 +28,9 @@ To use Pickpocket, you first need to go through Pocket's OAuth authentication pr
|
|
28
28
|
|
29
29
|
- `pickpocket pick`
|
30
30
|
- Selects a random article from your list, and open your browser with its resolved URL
|
31
|
+
- Options: `--quantity, -q`: quantity of articles to open. Examples:
|
32
|
+
- `pickpocket pick --quantity 5` (open 5 articles)
|
33
|
+
- `pickpocket pick -q 10` (open 10 articles)
|
31
34
|
- `pickpocket renew`
|
32
35
|
- This will synchronize your local library with your remote. Keep in mind: any article marked as read locally **WILL DELETED** from your remote library
|
33
36
|
- `pickpocket stats`
|
@@ -36,7 +36,7 @@ module Pickpocket
|
|
36
36
|
|
37
37
|
if (random_article = unread.delete(random_key))
|
38
38
|
store[:read].update({ random_key => random_article })
|
39
|
-
Launchy.open(random_article['
|
39
|
+
Launchy.open(random_article['given_url'])
|
40
40
|
else
|
41
41
|
logger.info 'You have read all articles!'
|
42
42
|
end
|
data/lib/pickpocket/version.rb
CHANGED