doing 1.0.12 → 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid.rb +8 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29fa30c0d5f0a4518c9f766ba5cf05e2f3eb8805d1fabd8e63aa98d175d1f98e
|
4
|
+
data.tar.gz: e404f3b6bd79f56edcafb54748eee35016f89844ad0dc6310f9e8bafba6fa21f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3aa358e80c84cd55b463cee561435f56cf78a2416dcc074e769742101ff556129fe9784ccdef2b2ab8cdff7e4e47d25afb2fae76c9aac979c91b6649169f0e5
|
7
|
+
data.tar.gz: 8e6b80d90fbc746558818ff8cbdecf935d459f4ef49c66a0865ac34910bfcb4de15ad9009f7e8b3d8c857122ee4e69b2e8583297355a5cc137ee8491a0e80349
|
data/lib/doing/version.rb
CHANGED
data/lib/doing/wwid.rb
CHANGED
@@ -592,7 +592,7 @@ class WWID
|
|
592
592
|
tag.sub!(/^@/,'')
|
593
593
|
|
594
594
|
found_items = 0
|
595
|
-
|
595
|
+
begin
|
596
596
|
@content[opt[:section]]['items'].each_with_index {|item, i|
|
597
597
|
if item['title'] =~ /@#{tag}/
|
598
598
|
title = item['title'].gsub(/(^| )@(#{tag}|done)(\([^\)]*\))?/,'')
|
@@ -619,9 +619,15 @@ class WWID
|
|
619
619
|
title, note = format_input(opt[:new_item])
|
620
620
|
note.push(opt[:note].gsub(/ *$/,'')) if opt[:note]
|
621
621
|
title += " @#{tag}"
|
622
|
-
add_item(title.cap_first, opt[:section], {:note => note.
|
622
|
+
add_item(title.cap_first, opt[:section], {:note => note.join(' ').rstrip, :back => opt[:back]})
|
623
623
|
end
|
624
624
|
|
625
|
+
rescue Exception=>e
|
626
|
+
puts e
|
627
|
+
puts e.backtrace
|
628
|
+
end
|
629
|
+
|
630
|
+
|
625
631
|
write(@doing_file)
|
626
632
|
end
|
627
633
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: doing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brett Terpstra
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|