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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 11398053e95da7ddd262275d8df76965fdf1eadce26a7854a1b1c1b63ab04f43
4
- data.tar.gz: a3fb3c6ccb1ff57f9597ac2ac7b42031284fb3e17e6d229248c8bdf7270d7afc
2
+ SHA1:
3
+ metadata.gz: 60187b3467d34318e7222c4ada48b85db1a7ab51
4
+ data.tar.gz: c60ce02e0e0309da2cc5e473d2c36d5918f2e10f
5
5
  SHA512:
6
- metadata.gz: 94d7ca6109f744ecc6e7042a78a154a79bbd6dd5e4fe209b09ca5e5911628644cc417f7e6066c6b3abaf2ba945178ef83f1cb0f79987dbed12352f63871974ed
7
- data.tar.gz: f18458c73cfbcf5d5838d7e9fdaa0d3bc39cd6b102abe80c4c61e34a62473a39d18ea334d76df684a258f5a0f099736c1011a63756c59f950b0f830d8a0b9f9c
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.filter { |t| t.start_with?('x]') || t.start_with?('X]') }
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
- .filter { |s| (s != '') && (s != "\n\n") }
167
+ .select { |s| (s != '') && (s != "\n\n") }
168
168
  .map(&:strip)
169
169
  end
170
170
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WorkMd
4
- VERSION = '0.3.1'
4
+ VERSION = '0.3.2'
5
5
  end
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.1
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-16 00:00:00.000000000 Z
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
- rubygems_version: 3.2.15
84
- signing_key:
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!