evertils 1.0.2 → 1.0.3

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: 4551493972d922f3eba9a4fb0c3c3d4a3bb8e1d37afbab5fcc4a1a478aa8f23c
4
- data.tar.gz: 70cc8fc5284fcfaec3d205e21e05218174f6ab31553996742b7a726393c2fe04
3
+ metadata.gz: 729ea1155bb91b28107d159632c23b56982bea2289cf3b0168b2096ece56bece
4
+ data.tar.gz: 5bd294f95c2a4f0cceec90ed896cf35db9d0b2cf4e16b5f508e7ff20d6d404e9
5
5
  SHA512:
6
- metadata.gz: 5ee59f111daefc822ef9301cf9f3b7c294fe5f3124cd320c2922aa4c19816b7881974aca6f9f27417c23164fb8f9134a6934c6b83ab721cbcba384417ed23780
7
- data.tar.gz: 4124c32c5626fe9da21c2d43e9d5677ea1b0ea0d3c2c48becb65cbfdd475abe4d1b5dff9ed9a8df1781ace405c0313099a1981379b9f4d0ff03f74b098835e78
6
+ metadata.gz: e567a59ae3f1bf91cd8fc092a3911bf83021ba627cdcb9bc4e6075c1631d0cc3ca43094abbb2dcd40f2677f5ef2136cc586b35db6d04bb5de8f86f35f05ba75b
7
+ data.tar.gz: 82f8443eb52b10133ca6d8fab20364a0ac9ac4c06fe4c83dd4b6bbeacbdbfb95d64ab744bedb3c50671cabd5611f5bfc1e350cda832d2c9531163657f854907a
@@ -10,7 +10,7 @@ module Evertils
10
10
 
11
11
  Notify.info 'Note not found, creating a new one'
12
12
 
13
- execute_action(@config[:action].to_sym || :create)
13
+ execute_action(@config[:action] || :create)
14
14
  end
15
15
 
16
16
  def note_exists?
@@ -22,7 +22,7 @@ module Evertils
22
22
  end
23
23
 
24
24
  def execute_action(action)
25
- case action
25
+ case action.to_sym
26
26
  when :duplicate_previous
27
27
  Action::DuplicatePrevious.new(@config)
28
28
  else
@@ -1,3 +1,3 @@
1
1
  module Evertils
2
- VERSION = '1.0.2'.freeze
2
+ VERSION = '1.0.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evertils
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Priebe