markdo 0.1.8 → 0.1.9

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: 7f01c7fa9361facf00e0de5d7e02a0e9a03d5ef8
4
- data.tar.gz: acc0d01bd6062f486ecc57bf1d5de7660832e124
3
+ metadata.gz: 32cbb59075eae7bbb90c849667f3a1c3a3d82ab9
4
+ data.tar.gz: 0a46793ef132bf33593917df30dfc65528c1724a
5
5
  SHA512:
6
- metadata.gz: 5c341a17f7c126a143549302d1fd3b1b86e1956887ae29f4619ecd5b951a27e2e79daa21913e28ce7b18dc6d787488e5c1bc5eff44064afab8677fa2c84bdbd9
7
- data.tar.gz: a4800eb2eaf0a83b54dde36e1dca63279dfa568ab658109f0f48c22081fcb36378728a9d2378709763d07799c00795986f96df72302ac59a4c26abd69f21f40a
6
+ metadata.gz: d8d032a6783aaba76bdcbe4036781ac2143957279269ebc90fe86b7d6922b875cf543673ef28068b3a99c90aa1e932c20f9c60fda266534b932c0ff4992bcd9c
7
+ data.tar.gz: 1783c1f79940a9eca86888a7292983316657f55d615a5556c97fe08f0995497d4c29915ba5d55a5609be9e87814b2f975f363e50cd76b29d7a827e3f151b8181
@@ -52,6 +52,7 @@ module Markdo
52
52
  line.
53
53
  sub(/\s*[-*] \[.\]\s+/, '').
54
54
  sub(date_regexp, '').
55
+ sub('@due()', '').
55
56
  strip
56
57
  end
57
58
 
@@ -1,3 +1,3 @@
1
1
  module Markdo
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
@@ -2,4 +2,6 @@
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
+ - [ ] @due(2016-04-01) Task with tag-style due date
5
6
  - [x] 2016-04-01 Completed task with due date
7
+ - [x] @due(2016-04-01) Completed task with tag-style due date
@@ -26,6 +26,11 @@ DTSTART;VALUE=DATE:20160401
26
26
  DTEND;VALUE=DATE:20160401
27
27
  SUMMARY:Task with due date
28
28
  END:VEVENT
29
+ BEGIN:VEVENT
30
+ DTSTART;VALUE=DATE:20160401
31
+ DTEND;VALUE=DATE:20160401
32
+ SUMMARY:Task with tag-style due date
33
+ END:VEVENT
29
34
  END:VCALENDAR
30
35
  ICS
31
36
  end
@@ -11,7 +11,7 @@ module Markdo
11
11
  SummaryCommand.new(out, err, env).run
12
12
 
13
13
  out.string.must_equal <<-XML
14
- Overdue: 2
14
+ Overdue: 3
15
15
  XML
16
16
  end
17
17
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Oakes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-11 00:00:00.000000000 Z
11
+ date: 2016-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler