phony_rails 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -42,6 +42,9 @@ In your views use:
42
42
 
43
43
  ## Changelog
44
44
 
45
+ 0.0.10
46
+ * Same fix as 0.0.9 but for phony_formatted method.
47
+
45
48
  0.0.9
46
49
  * Fix for using same options Hash for all models.
47
50
 
@@ -5,8 +5,7 @@
5
5
  # "31612341234".phony_formatted # => '06 12341234'
6
6
  # "31612341234".phony_formatted(:spaces => '-') # => '06-12341234'
7
7
  def phony_formatted(options = {})
8
- options[:format] ||= :national
9
- Phony.formatted(self, options)
8
+ Phony.formatted(self, options.reverse_merge(:format => :national))
10
9
  end
11
10
 
12
11
  end
@@ -1,3 +1,3 @@
1
1
  module PhonyRails
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phony_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: