doing 1.0.33 → 1.0.34

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
  SHA256:
3
- metadata.gz: 381d875c7e4b8f3782e081c3a4bd6f0551c420b02d7dad20be8e2217b2dc4d59
4
- data.tar.gz: dae9efcc7453831ff1c33e1d03a61986fed1540d33b0eb3a9990522b5e4452f1
3
+ metadata.gz: bc07b5fb8388f698785ffa70f0c12c208cd57dcc1716d07af252d93a7d427e09
4
+ data.tar.gz: 168816a713de9f7a4379fb094b4ec16b7ad8f301663dca5e950b552934488295
5
5
  SHA512:
6
- metadata.gz: 6420c68b41773a9d3c54a0185c26fd972df2f69ad11cd17bd30d5c83789ed5b405172170a30e8f483c6cd164ac13e6c851a583dfbf0e3ec9bfd273606849ca71
7
- data.tar.gz: eb0f1d56e64e731f341879840ca592d3c55402e3e6f2467567cb7f513811a172ac3d605f3358c75f75d0ed5d28126a50ffdfba1165510b5073745ccdf8c1948d
6
+ metadata.gz: e840428a46112abbec42ba184627935b73e7d2814362500d9d1410d309eec940f68c14a60a9aa0ee947088fc5f7ee5fd97892f3760a8a991e0084e763a46dfcc
7
+ data.tar.gz: e677b2f9434ac46b538e513038f0a16ef6d775321de5079dab9bff66f9065480bb5db15f0af4dc9ad01ad488d0e05ac8c6b896a95ab7f3988efc4dbc07594c9f
@@ -1,3 +1,3 @@
1
1
  module Doing
2
- VERSION = '1.0.33'
2
+ VERSION = '1.0.34'
3
3
  end
@@ -581,6 +581,8 @@ class WWID
581
581
  opt[:back] ||= Time.now
582
582
  opt[:timed] ||= false
583
583
 
584
+ opt[:note] = [opt[:note]] if opt[:note].class == String
585
+
584
586
  title = [title.strip.cap_first]
585
587
  title = title.join(' ')
586
588
 
@@ -602,7 +604,7 @@ class WWID
602
604
  title.gsub!(/ +/,' ')
603
605
  entry = {'title' => title.strip, 'date' => opt[:back]}
604
606
  unless opt[:note].join('').strip == ''
605
- entry['note'] = opt[:note].map {|n| n.gsub(/ *$/,'')}
607
+ entry['note'] = opt[:note].map {|n| n.chomp}
606
608
  end
607
609
  items = @content[section]['items']
608
610
  if opt[:timed]
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.33
4
+ version: 1.0.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-29 00:00:00.000000000 Z
11
+ date: 2020-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -90,20 +90,20 @@ dependencies:
90
90
  name: haml
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - ">="
93
+ - - "~>"
94
94
  - !ruby/object:Gem::Version
95
95
  version: 5.1.2
96
- - - "~>"
96
+ - - ">="
97
97
  - !ruby/object:Gem::Version
98
98
  version: 5.1.2
99
99
  type: :runtime
100
100
  prerelease: false
101
101
  version_requirements: !ruby/object:Gem::Requirement
102
102
  requirements:
103
- - - ">="
103
+ - - "~>"
104
104
  - !ruby/object:Gem::Version
105
105
  version: 5.1.2
106
- - - "~>"
106
+ - - ">="
107
107
  - !ruby/object:Gem::Version
108
108
  version: 5.1.2
109
109
  - !ruby/object:Gem::Dependency
@@ -150,22 +150,22 @@ dependencies:
150
150
  name: json
151
151
  requirement: !ruby/object:Gem::Requirement
152
152
  requirements:
153
- - - ">="
154
- - !ruby/object:Gem::Version
155
- version: 1.8.1
156
153
  - - "~>"
157
154
  - !ruby/object:Gem::Version
158
155
  version: 2.3.1
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: 1.8.1
159
159
  type: :runtime
160
160
  prerelease: false
161
161
  version_requirements: !ruby/object:Gem::Requirement
162
162
  requirements:
163
- - - ">="
164
- - !ruby/object:Gem::Version
165
- version: 1.8.1
166
163
  - - "~>"
167
164
  - !ruby/object:Gem::Version
168
165
  version: 2.3.1
166
+ - - ">="
167
+ - !ruby/object:Gem::Version
168
+ version: 1.8.1
169
169
  description: A tool for managing a TaskPaper-like file of recent activites. Perfect
170
170
  for the late-night hacker on too much caffeine to remember what they accomplished
171
171
  at 2 in the morning.
@@ -210,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
210
210
  - !ruby/object:Gem::Version
211
211
  version: '0'
212
212
  requirements: []
213
- rubygems_version: 3.0.8
213
+ rubygems_version: 3.1.4
214
214
  signing_key:
215
215
  specification_version: 4
216
216
  summary: A command line tool for managing What Was I Doing reminders