standup_md 0.3.0 → 0.3.1

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: 242a29dbf1c80aad455f52db138b1a8bae0f04d3d2fa7274800ec69d8b5b9b74
4
- data.tar.gz: dbe432dfa8b42deb98d03bd3131bfdd8a79df77fd162a6a04af4f0c99837524b
3
+ metadata.gz: ea914496579afb896f1251193f0d9787c172bb38fc2d4e7954954a07a3acde03
4
+ data.tar.gz: f2b5239e1e8445a782f56521c1e484d5acf4bb5570c960b6c8d1cfb81d84c36b
5
5
  SHA512:
6
- metadata.gz: 7d3014ead364eea9aa5584207fd1a3cf8ae099b18b0f7b0afef3642adb20565c4741d010b92d104d191405fc7b05a929f05d0af089d0a9544325f490b0f74277
7
- data.tar.gz: 63f257db8bd154170580ee1379dbe2942c412438fce6879b685cd3d236b9fee3edb6df985499284dd2000bc712ae81305712d20f9ec50dc1b8d1567e1698a2b6
6
+ metadata.gz: 6dccea1152f691f7d4a05a41a2a0eb84871e4e516e55d278e8cb8a4800c1cbeb675126bb70149ee45b5f277678cefa66b5b6567dd0e0f1187fde194db132ac25
7
+ data.tar.gz: df6d4257bad9e773292483cb5a8d31beabc3eb79ad3d0242b7d96720a81fb6bd926171cde460a0babc64fc735ddd2b79a89192a8bd995f8953562ecfffb46aa7
@@ -424,6 +424,7 @@
424
424
  <span class="ruby-identifier">entry_list</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">new_entry</span>(<span class="ruby-identifier">record</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">record</span>.<span class="ruby-identifier">empty?</span>
425
425
  <span class="ruby-ivar">@loaded</span> = <span class="ruby-keyword">true</span>
426
426
  <span class="ruby-ivar">@entries</span> = <span class="ruby-identifier">entry_list</span>.<span class="ruby-identifier">sort</span>
427
+ <span class="ruby-keyword">self</span>
427
428
  <span class="ruby-keyword">rescue</span> <span class="ruby-operator">=&gt;</span> <span class="ruby-identifier">e</span>
428
429
  <span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;File malformation: #{e}&quot;</span>
429
430
  <span class="ruby-keyword">end</span></pre>
@@ -530,7 +531,7 @@
530
531
 
531
532
 
532
533
  <div class="method-source-code" id="write-source">
533
- <pre><span class="ruby-comment"># File lib/standup_md/file.rb, line 153</span>
534
+ <pre><span class="ruby-comment"># File lib/standup_md/file.rb, line 154</span>
534
535
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">write</span>(<span class="ruby-identifier">dates</span> = {})
535
536
  <span class="ruby-identifier">sorted_entries</span> = <span class="ruby-identifier">entries</span>.<span class="ruby-identifier">sort</span>
536
537
  <span class="ruby-identifier">start_date</span> = <span class="ruby-identifier">dates</span>.<span class="ruby-identifier">fetch</span>(<span class="ruby-value">:start_date</span>, <span class="ruby-identifier">sorted_entries</span>.<span class="ruby-identifier">first</span>.<span class="ruby-identifier">date</span>)
@@ -1,15 +1,15 @@
1
- Wed, 10 Jun 2020 22:18:21 -0500
2
- README.md Wed, 10 Jun 2020 22:17:47 -0500
3
- lib/standup_md.rb Wed, 10 Jun 2020 22:14:30 -0500
4
- lib/standup_md/cli.rb Wed, 10 Jun 2020 22:14:30 -0500
5
- lib/standup_md/cli/helpers.rb Wed, 10 Jun 2020 22:14:30 -0500
6
- lib/standup_md/config.rb Wed, 10 Jun 2020 22:14:30 -0500
7
- lib/standup_md/config/cli.rb Wed, 10 Jun 2020 22:14:30 -0500
8
- lib/standup_md/config/entry.rb Wed, 10 Jun 2020 22:14:30 -0500
9
- lib/standup_md/config/entry_list.rb Wed, 10 Jun 2020 22:14:30 -0500
10
- lib/standup_md/config/file.rb Wed, 10 Jun 2020 22:14:30 -0500
11
- lib/standup_md/entry.rb Wed, 10 Jun 2020 22:14:30 -0500
12
- lib/standup_md/entry_list.rb Wed, 10 Jun 2020 22:14:30 -0500
13
- lib/standup_md/file.rb Wed, 10 Jun 2020 22:14:30 -0500
14
- lib/standup_md/file/helpers.rb Wed, 10 Jun 2020 22:14:30 -0500
15
- lib/standup_md/version.rb Wed, 10 Jun 2020 20:28:21 -0500
1
+ Wed, 10 Jun 2020 22:30:11 -0500
2
+ README.md Wed, 10 Jun 2020 22:23:37 -0500
3
+ lib/standup_md.rb Wed, 10 Jun 2020 22:23:37 -0500
4
+ lib/standup_md/cli.rb Wed, 10 Jun 2020 22:23:37 -0500
5
+ lib/standup_md/cli/helpers.rb Wed, 10 Jun 2020 22:23:37 -0500
6
+ lib/standup_md/config.rb Wed, 10 Jun 2020 22:23:37 -0500
7
+ lib/standup_md/config/cli.rb Wed, 10 Jun 2020 22:23:37 -0500
8
+ lib/standup_md/config/entry.rb Wed, 10 Jun 2020 22:23:37 -0500
9
+ lib/standup_md/config/entry_list.rb Wed, 10 Jun 2020 22:23:37 -0500
10
+ lib/standup_md/config/file.rb Wed, 10 Jun 2020 22:23:37 -0500
11
+ lib/standup_md/entry.rb Wed, 10 Jun 2020 22:23:37 -0500
12
+ lib/standup_md/entry_list.rb Wed, 10 Jun 2020 22:23:37 -0500
13
+ lib/standup_md/file.rb Wed, 10 Jun 2020 22:25:24 -0500
14
+ lib/standup_md/file/helpers.rb Wed, 10 Jun 2020 22:23:37 -0500
15
+ lib/standup_md/version.rb Wed, 10 Jun 2020 22:30:02 -0500
Binary file
@@ -138,6 +138,7 @@ module StandupMD
138
138
  entry_list << new_entry(record) unless record.empty?
139
139
  @loaded = true
140
140
  @entries = entry_list.sort
141
+ self
141
142
  rescue => e
142
143
  raise "File malformation: #{e}"
143
144
  end
@@ -7,5 +7,5 @@ module StandupMD
7
7
  # @example
8
8
  # StandupMD::VERSION
9
9
  # # => '0.3.0'
10
- VERSION = '0.3.0'
10
+ VERSION = '0.3.1'
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standup_md
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Gray