effective_resources 1.0.15 → 1.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a7f245345d56b2f1156d7893ef64420d3886ceeb
4
- data.tar.gz: 79ba04b4456309a2a3fefda39cd48a2f283813e6
3
+ metadata.gz: 8d4483d0e9717f055b021f463c045815b66d824f
4
+ data.tar.gz: e3635e2921d0006c265c29de50667f3c7975b0ae
5
5
  SHA512:
6
- metadata.gz: da328e8c107bc31b97653dfff3c2262c52e5ac5b293b497ef532ca98eb1c15ce9d5b39a57959df9bb5cf2eb7123989f15057d00a75929293baada22144804d82
7
- data.tar.gz: ee21b637796f82782d7e45748cab6aad26ee347c84f790b9ccaf3db48db7c8a3a7b04afcd328647498e73a28463e8174256d1226ccd47a673b6bc4d0cee36167
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.end_with?('e')
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
@@ -1,3 +1,3 @@
1
1
  module EffectiveResources
2
- VERSION = '1.0.15'.freeze
2
+ VERSION = '1.0.16'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.15
4
+ version: 1.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect