whereabouts 0.5.2 → 0.5.3
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/VERSION +1 -1
- data/lib/whereabouts_methods.rb +1 -1
- data/whereabouts.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.3
|
data/lib/whereabouts_methods.rb
CHANGED
|
@@ -55,7 +55,7 @@ module Yrgoldteeth
|
|
|
55
55
|
# type of Address. Defaults to the parent class.
|
|
56
56
|
def has_whereabouts klass=:address, options={}
|
|
57
57
|
# extend Address with class name if not defined.
|
|
58
|
-
unless Object.const_defined?(klass.to_s.camelize)
|
|
58
|
+
unless Object.const_defined?(klass.to_s.camelize) || klass == :address
|
|
59
59
|
create_address_class(klass.to_s.camelize)
|
|
60
60
|
end
|
|
61
61
|
|
data/whereabouts.gemspec
CHANGED
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: whereabouts
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.5.
|
|
5
|
+
version: 0.5.3
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Nicholas Fine
|
|
@@ -118,7 +118,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
118
118
|
requirements:
|
|
119
119
|
- - ">="
|
|
120
120
|
- !ruby/object:Gem::Version
|
|
121
|
-
hash:
|
|
121
|
+
hash: 245214195
|
|
122
122
|
segments:
|
|
123
123
|
- 0
|
|
124
124
|
version: "0"
|