effective_resources 1.0.15 → 1.0.16
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d4483d0e9717f055b021f463c045815b66d824f
|
4
|
+
data.tar.gz: e3635e2921d0006c265c29de50667f3c7975b0ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f4beac57dd66b1da23a96ce84292d702e6c99a7bbb628f90d680e26ee3aba20090db659d1f6d079488d0104f099055ff687d44255b5fd45a847caf38b3f38b0
|
7
|
+
data.tar.gz: ccb710446b4e59b56b6b54ef6de7b6286dd26008c9c394cd59292e12efc6acd914b2bb0adc08d7b093708c0ce1ac450ead1a71b8c8d8a0bf0630d24946061622
|
@@ -49,7 +49,9 @@ module Effective
|
|
49
49
|
action = action.to_s.gsub('_', ' ')
|
50
50
|
word = action.split(' ').first.to_s
|
51
51
|
|
52
|
-
if word
|
52
|
+
if word == 'undo'
|
53
|
+
'undid'
|
54
|
+
elsif word.end_with?('e')
|
53
55
|
action.sub(word, word + 'd')
|
54
56
|
elsif ['a', 'i', 'o', 'u', 'y'].include?(word[-1])
|
55
57
|
action
|