intent 0.2.6 → 0.3.0

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: 77f9c7b0c49b1343be9f279b68a088ea5edd2b63
4
- data.tar.gz: 8d7e2cd488dc2a76d155866396fdbafc7ea9cf03
3
+ metadata.gz: f4db85118ec3aacff4a59f373a8c81e0e5391ae8
4
+ data.tar.gz: 2c74e9221795891871b69b3cff47b9aef26d32e7
5
5
  SHA512:
6
- metadata.gz: 1b9f61f2e6124023883c62d60083e1840aa484607ea22e28ef8589ac66168cce8f16bb8e5636b28b95e96021b66697519504e1feeefc8af7de4e986a15326d99
7
- data.tar.gz: 0c222e94fc02a8d1ded89509a9c92f993dc29ac25a46b9cdb9b788746de72f79e700295109332e9f5d696b7ccb8466729e7b9c6cb2ce67f2b8a7ebf196021146
6
+ metadata.gz: c86b868141b26d2f68655fb783a146c0385d86c16ce490d2558d744c87296e7b0f7ad6ef0779807d92d01fbf43a80ef78c7fb8119281b5e210a49aa839ff07f8
7
+ data.tar.gz: f80f0f25fd2e86a15b3248aa08f43e8d812c804ac087be8a312329443dd3310b46a2c5d044428f82fc7f6a67c3b8faa655669fbc7e6c07f390305c1e55348aa0
@@ -145,6 +145,13 @@ module Intent
145
145
  priority_ratio.floor.times { print pastel.red("█") }
146
146
  print "\n"
147
147
  end
148
+ when :collect
149
+ output = `chrome-cli list links`
150
+ output.lines.each do |line|
151
+ input = line.split(" ").last
152
+ list.unshift(Task.new("#{Date.today} #{input} @reading")) if input
153
+ list.save!
154
+ end
148
155
  end
149
156
  end
150
157
  end
@@ -1,3 +1,3 @@
1
1
  module Intent
2
- VERSION = '0.2.6'
2
+ VERSION = '0.3.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Rickerby