markdo 0.1.6 → 0.1.7

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: 53b089603aa6d5bc67bda378314d362f370c134c
4
- data.tar.gz: 0215346718f3778c01dba8e749e622e404441247
3
+ metadata.gz: 2b3775cdadd82ba88f3ca92750b7a081e4362ac9
4
+ data.tar.gz: 5f6068f43fa78660fdd2455729fcd62b0ecba744
5
5
  SHA512:
6
- metadata.gz: 02285bc8b492562617706511a3e005db58de6e1d20275630cce021734fd846f1cfbd7f4ddbec408a18051d0e74d8bb4ed1ea961e4df23e3706736c790bb870a7
7
- data.tar.gz: 213285fd5030d8fa3b2a1440dcacfdab07479d1738e2e90b7610210a25687cbaa98ffef9092f1326005fe70fafd66bb9eeb25d7ce3b34e9b0611e78aa3b4b485
6
+ metadata.gz: 5998abd2cd3388336d635e73ddedcac2eed39510a5e2197ffcae9ca1b889b8ddbed87376fc647c8c2a8c3abb13cd2c050f35295acc815be937b356593826d600
7
+ data.tar.gz: f757c1887e68055df0b25894f54b79d1c2518a8cd004157f33921c0081a85c1335db5532ad00520fcf1b6a6becebcc2479b918f259de7edf0c63a6e12eaa09c9
data/configure CHANGED
@@ -1,2 +1,2 @@
1
- gem install bundler
1
+ gem install --no-ri --no-rdoc bundler
2
2
  bundle
@@ -10,6 +10,7 @@ module Markdo
10
10
  map { |path| File.readlines(path, encoding: 'UTF-8') }.
11
11
  flatten.
12
12
  grep(date_regexp).
13
+ reject { |line| line.match(/[-*] \[x\]/) }.
13
14
  map { |line|
14
15
  begin
15
16
  raw_due_date = line.match(date_regexp)
@@ -9,7 +9,8 @@ module Markdo
9
9
  glob(markdown_glob).
10
10
  map { |path| File.readlines(path, encoding: 'UTF-8') }.
11
11
  flatten.
12
- grep(regexp)
12
+ grep(regexp).
13
+ reject { |line| line.match(/[-*] \[x\]/) }
13
14
 
14
15
  @stdout.puts(matches)
15
16
  end
@@ -1,3 +1,3 @@
1
1
  module Markdo
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
@@ -2,3 +2,4 @@
2
2
  - [ ] 2016-06-31 Task with invalid date
3
3
  - [ ] 2014-04-01 Task with long-past due date
4
4
  - [ ] 2016-04-01 Task with due date
5
+ - [x] 2016-04-01 Completed task with due date
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Oakes