work_md 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/work_md/parser/engine.rb +2 -2
- data/lib/work_md/version.rb +1 -1
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 60187b3467d34318e7222c4ada48b85db1a7ab51
|
4
|
+
data.tar.gz: c60ce02e0e0309da2cc5e473d2c36d5918f2e10f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54c2f36629245e0d8e3f0d7f386cdb71fc90aa456afe50aaca7d0e05cd30841e7cff59a017bf13035f36fc853c59db61f2463cfff002190432394e39b749e708
|
7
|
+
data.tar.gz: 38e263f05ad79d7423af18912cb677a444742422f46d439026b51d53a922ae5e10b71f7e94e4430ec7fe5b58808f3b01b0847fac5807f6079f9788e45ba61adc
|
@@ -41,7 +41,7 @@ module WorkMd
|
|
41
41
|
raise IS_NOT_FROZEN_ERROR_MESSAGE unless @frozen
|
42
42
|
|
43
43
|
@done_tasks ||=
|
44
|
-
tasks.
|
44
|
+
tasks.select { |t| t.start_with?('x]') || t.start_with?('X]') }
|
45
45
|
end
|
46
46
|
|
47
47
|
def tasks
|
@@ -164,7 +164,7 @@ module WorkMd
|
|
164
164
|
|
165
165
|
list
|
166
166
|
.map { |s| s.gsub('---', '') unless s.nil? }
|
167
|
-
.
|
167
|
+
.select { |s| (s != '') && (s != "\n\n") }
|
168
168
|
.map(&:strip)
|
169
169
|
end
|
170
170
|
end
|
data/lib/work_md/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: work_md
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henrique Fernandez Teixeira
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08-
|
11
|
+
date: 2021-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tty-box
|
@@ -38,7 +38,7 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.7.0
|
41
|
-
description:
|
41
|
+
description:
|
42
42
|
email:
|
43
43
|
- hriqueft@gmail.com
|
44
44
|
executables:
|
@@ -60,12 +60,12 @@ files:
|
|
60
60
|
- lib/work_md/file.rb
|
61
61
|
- lib/work_md/parser/engine.rb
|
62
62
|
- lib/work_md/version.rb
|
63
|
-
homepage:
|
63
|
+
homepage:
|
64
64
|
licenses:
|
65
65
|
- MIT
|
66
66
|
metadata:
|
67
67
|
source_code_uri: https://github.com/henriquefernandez/work_md
|
68
|
-
post_install_message:
|
68
|
+
post_install_message:
|
69
69
|
rdoc_options: []
|
70
70
|
require_paths:
|
71
71
|
- lib
|
@@ -80,8 +80,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
|
-
|
84
|
-
|
83
|
+
rubyforge_project:
|
84
|
+
rubygems_version: 2.6.14.4
|
85
|
+
signing_key:
|
85
86
|
specification_version: 4
|
86
87
|
summary: Track your work activities, write annotations, recap what you did for a week,
|
87
88
|
month or specific days... and much more!
|