intent 0.2.1 → 0.2.2

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: 7de7b5632cc18123f0985112dbdf524683320e42
4
- data.tar.gz: c413cb7fd467fe14fa36a7f68fc7ddbbc9a26545
3
+ metadata.gz: 3798ac4056f227df4fcae33bfe219eba0f85a3b0
4
+ data.tar.gz: 159718e32cc7dd63917d871c3561ef08af37b061
5
5
  SHA512:
6
- metadata.gz: 6128a1ff6ce70a77544370328cf4bcc1c4987dd54a45d2f79ce81c486ab902cff11dd4d5bef20e4d0ffcb04fb6dff1d1048d710d5b3c0db68d994bf25f93b6dd
7
- data.tar.gz: cb37914b9f4151efde8bbf6d7af129aee56e79d86631635a510f7dfedf9dd92fd91d11730a98c485646fe460d92b95da298b897d0d6204647642ae12ebb06b70
6
+ metadata.gz: 825ad27ce91a639ca12c3b22f3546171ca988c9de575d7607e5aaa4f5f941b73d9e62a0f49ef9f40830163f34d781a429a7806fdfda2d776bd3a6d5bab788250
7
+ data.tar.gz: 7bf4b9a0093704c3f05f4fee17a9e31f5f8c02499de7ddb3425ce8bc33089c6e313084061dcc24c8ca0424ff4118ebc642e526598541d4cea7b535ac791aaf97
@@ -58,9 +58,9 @@ module Intent
58
58
  end
59
59
  end
60
60
  when :projects
61
- output.puts list.inject([]) { |p, t| p.concat t.projects }.uniq
61
+ output.puts list.by_not_done.inject([]) { |p, t| p.concat t.projects }.uniq
62
62
  when :contexts
63
- output.puts list.inject([]) { |c, t| c.concat t.contexts }.uniq
63
+ output.puts list.by_not_done.inject([]) { |c, t| c.concat t.contexts }.uniq
64
64
  when :archive
65
65
  archive_path = File.dirname(ENV['TODO_TXT'])
66
66
  done_file = "#{archive_path}/__done__.txt"
@@ -1,3 +1,3 @@
1
1
  module Intent
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Rickerby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-03 00:00:00.000000000 Z
11
+ date: 2016-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: todo-txt