novowels 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/novowels.rb +1 -1
  2. metadata +1 -1
@@ -5,7 +5,7 @@
5
5
  class NoVowels
6
6
  def self.compact(s)
7
7
  s.gsub(/(\B)(\w+)(\B)/) do |x|
8
- "%s%s%s" % [$1,($2).gsub(/[aeiouAEIOU]/,''),$3]
8
+ "%s%s%s" % [$1,($2).gsub(/[aeiou]/i,''),$3]
9
9
  end
10
10
  end
11
11
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: novowels
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson