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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 47da4d86e70428b9f6b6b2e5fb3e33a3f46f2ae8
4
- data.tar.gz: 936ef80f55449d4a17548908f6161d5fefe40a8a
3
+ metadata.gz: 1f0d28bbc652b326fb0a1e541e1419d9ee213a7d
4
+ data.tar.gz: e511b4dec5f40a7d948b3260df701e36458271e3
5
5
  SHA512:
6
- metadata.gz: 22571a063d59d6d834eb6cc38b264050e0b1aafdfe1b13868eb92217dc07de913bda6c0e8170b923b41bc25ad67eaa2bdd16ecee4e4f38845acba3842dcdd1f5
7
- data.tar.gz: c4208564d467b7ce8ea31196a3573085a086027750f8be2432e254c6dd19b52709fda0998f124d22756c41491c642881b45fa17e9f24eb2b332d3d8ce21b17b7
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['resolved_url'])
39
+ Launchy.open(random_article['given_url'])
40
40
  else
41
41
  logger.info 'You have read all articles!'
42
42
  end
@@ -1,3 +1,3 @@
1
1
  module Pickpocket
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pick-pocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiago Amaro