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 +4 -4
- data/lib/evertils/controllers/render.rb +2 -2
- data/lib/evertils/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 729ea1155bb91b28107d159632c23b56982bea2289cf3b0168b2096ece56bece
|
4
|
+
data.tar.gz: 5bd294f95c2a4f0cceec90ed896cf35db9d0b2cf4e16b5f508e7ff20d6d404e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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]
|
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
|
data/lib/evertils/version.rb
CHANGED