phony_rails 0.8.0 → 0.8.1

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.
data/Gemfile.lock CHANGED
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- phony_rails (0.7.3)
4
+ phony_rails (0.8.1)
5
5
  activesupport (>= 3.0)
6
6
  countries (>= 0.8.2)
7
- phony (~> 2.7.1)
7
+ phony (~> 2.8.3)
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
@@ -61,7 +61,7 @@ GEM
61
61
  optionable (~> 0.2.0)
62
62
  optionable (0.2.0)
63
63
  origin (2.1.1)
64
- phony (2.7.1)
64
+ phony (2.8.3)
65
65
  rake (10.3.2)
66
66
  rb-fsevent (0.9.4)
67
67
  rb-inotify (0.9.5)
data/README.md CHANGED
@@ -9,7 +9,7 @@ It uses the super awesome Phony gem (https://github.com/floere/phony).
9
9
 
10
10
  Add this line to your application's Gemfile:
11
11
 
12
- gem 'phony_rails'
12
+ gem 'phony_rails' # Include phony_rails after mongoid (if you use mongoid, see issue #66 on github).
13
13
 
14
14
  And then execute:
15
15
 
@@ -13,7 +13,7 @@
13
13
  s = (normalize_country_code ? PhonyRails.normalize_number(self, :default_country_code => normalize_country_code.to_s) : self.gsub(/\D/, ''))
14
14
  return if s.blank?
15
15
  return if options[:strict] && !Phony.plausible?(s)
16
- Phony.formatted(s, options.reverse_merge(:format => :national))
16
+ Phony.format(s, options.reverse_merge(:format => :national))
17
17
  end
18
18
 
19
19
  # The bang method
@@ -1,3 +1,3 @@
1
1
  module PhonyRails
2
- VERSION = "0.8.0"
2
+ VERSION = "0.8.1"
3
3
  end
data/phony_rails.gemspec CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
16
16
  gem.require_paths = ["lib"]
17
17
  gem.version = PhonyRails::VERSION
18
18
 
19
- gem.add_dependency "phony", "~> 2.7.1"
19
+ gem.add_dependency "phony", "~> 2.8.3"
20
20
  gem.add_dependency "countries", ">= 0.8.2"
21
21
  gem.add_dependency "activesupport", ">= 3.0"
22
22
  gem.add_development_dependency "activerecord", ">= 3.0"
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.8.0
4
+ version: 0.8.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-11-07 00:00:00.000000000 Z
12
+ date: 2014-11-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: phony
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 2.7.1
21
+ version: 2.8.3
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 2.7.1
29
+ version: 2.8.3
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: countries
32
32
  requirement: !ruby/object:Gem::Requirement