sane 0.24.1 → 0.24.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/sane/string.rb +1 -1
  3. data/spec/spec.sane.rb +1 -1
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.24.1
1
+ 0.24.2
@@ -1,7 +1,7 @@
1
1
  class String
2
2
  alias :blank? :empty?
3
3
 
4
- def replace_with! this_string
4
+ def replace_all! this_string
5
5
  gsub!(/^.*$/, this_string)
6
6
  end
7
7
 
@@ -182,7 +182,7 @@ describe Sane do
182
182
  end
183
183
 
184
184
  it "should have a string replace method" do
185
- "abc".replace_with!("def").should == "def"
185
+ "abc".replace_all!("def").should == "def"
186
186
  end
187
187
 
188
188
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sane
3
3
  version: !ruby/object:Gem::Version
4
- hash: 125
4
+ hash: 123
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 24
9
- - 1
10
- version: 0.24.1
9
+ - 2
10
+ version: 0.24.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Roger Pack