phony_rails 0.2.1 → 0.2.2

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.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- phony_rails (0.1.13)
4
+ phony_rails (0.2.2)
5
5
  activerecord (>= 3.0)
6
6
  countries (>= 0.8.2)
7
7
  phony (>= 1.7.7)
@@ -9,16 +9,16 @@ PATH
9
9
  GEM
10
10
  remote: http://rubygems.org/
11
11
  specs:
12
- activemodel (3.2.12)
13
- activesupport (= 3.2.12)
12
+ activemodel (3.2.13)
13
+ activesupport (= 3.2.13)
14
14
  builder (~> 3.0.0)
15
- activerecord (3.2.12)
16
- activemodel (= 3.2.12)
17
- activesupport (= 3.2.12)
15
+ activerecord (3.2.13)
16
+ activemodel (= 3.2.13)
17
+ activesupport (= 3.2.13)
18
18
  arel (~> 3.0.2)
19
19
  tzinfo (~> 0.3.29)
20
- activesupport (3.2.12)
21
- i18n (~> 0.6)
20
+ activesupport (3.2.13)
21
+ i18n (= 0.6.1)
22
22
  multi_json (~> 1.0)
23
23
  arel (3.0.2)
24
24
  builder (3.0.4)
@@ -41,8 +41,8 @@ GEM
41
41
  rb-fchange (~> 0.0.5)
42
42
  rb-fsevent (~> 0.9.1)
43
43
  rb-inotify (~> 0.8.8)
44
- multi_json (1.6.0)
45
- phony (1.8.6)
44
+ multi_json (1.7.2)
45
+ phony (1.9.0)
46
46
  rake (10.0.3)
47
47
  rb-fchange (0.0.5)
48
48
  ffi
@@ -59,7 +59,7 @@ GEM
59
59
  rspec-mocks (2.11.1)
60
60
  sqlite3 (1.3.6)
61
61
  thor (0.15.4)
62
- tzinfo (0.3.35)
62
+ tzinfo (0.3.37)
63
63
 
64
64
  PLATFORMS
65
65
  ruby
@@ -49,7 +49,7 @@ module PhonyRails
49
49
  options[:country_code] ||= self.country_code if self.respond_to?(:country_code)
50
50
  attributes.each do |attribute|
51
51
  attribute_name = options[:as] || attribute
52
- raise RuntimeError, "No attribute #{attribute_name} found on #{self.class.name} (PhonyRails)" if not self.attribute_method?(attribute_name)
52
+ raise RuntimeError, "No attribute #{attribute_name} found on #{self.class.name} (PhonyRails)" if not self.class.attribute_method?(attribute_name)
53
53
  write_attribute(attribute_name, PhonyRails.normalize_number(read_attribute(attribute), options))
54
54
  end
55
55
  end
@@ -1,3 +1,3 @@
1
1
  module PhonyRails
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
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.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: