acts_as_geocodable 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -0
- data/Gemfile.lock +23 -0
- data/VERSION +1 -1
- data/acts_as_geocodable.gemspec +5 -3
- data/lib/acts_as_geocodable.rb +1 -1
- metadata +23 -9
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
acts_as_geocodable (1.0.3)
|
5
|
+
graticule (>= 1.0.0.pre2)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: http://rubygems.org/
|
9
|
+
specs:
|
10
|
+
activesupport (3.0.0)
|
11
|
+
graticule (1.0.0.pre2)
|
12
|
+
activesupport
|
13
|
+
happymapper (>= 0.3.0)
|
14
|
+
happymapper (0.3.2)
|
15
|
+
libxml-ruby (~> 1.1.3)
|
16
|
+
libxml-ruby (1.1.4)
|
17
|
+
|
18
|
+
PLATFORMS
|
19
|
+
ruby
|
20
|
+
|
21
|
+
DEPENDENCIES
|
22
|
+
acts_as_geocodable!
|
23
|
+
graticule (>= 1.0.0.pre2)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.4
|
data/acts_as_geocodable.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{acts_as_geocodable}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Daniel Morrison", "Brandon Keepers"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-09-20}
|
13
13
|
s.description = %q{Simple geocoding for Rails ActiveRecord models. See the README for more details.}
|
14
14
|
s.email = %q{info@collectiveidea.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -18,6 +18,8 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.files = [
|
19
19
|
".gitignore",
|
20
20
|
"CHANGELOG",
|
21
|
+
"Gemfile",
|
22
|
+
"Gemfile.lock",
|
21
23
|
"MIT-LICENSE",
|
22
24
|
"README",
|
23
25
|
"Rakefile",
|
@@ -48,7 +50,7 @@ Gem::Specification.new do |s|
|
|
48
50
|
s.homepage = %q{http://github.com/collectiveidea/acts_as_geocodable}
|
49
51
|
s.rdoc_options = ["--charset=UTF-8"]
|
50
52
|
s.require_paths = ["lib"]
|
51
|
-
s.rubygems_version = %q{1.3.
|
53
|
+
s.rubygems_version = %q{1.3.6}
|
52
54
|
s.summary = %q{Simple geocoding for Rails ActiveRecord models}
|
53
55
|
s.test_files = [
|
54
56
|
"test/acts_as_geocodable_test.rb",
|
data/lib/acts_as_geocodable.rb
CHANGED
@@ -228,7 +228,7 @@ module CollectiveIdea #:nodoc:
|
|
228
228
|
|
229
229
|
# Create a Graticule::Location
|
230
230
|
def to_location
|
231
|
-
|
231
|
+
Graticule::Location.new.tap do |location|
|
232
232
|
[:street, :locality, :region, :postal_code, :country].each do |attr|
|
233
233
|
location.send "#{attr}=", geo_attribute(attr)
|
234
234
|
end
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_geocodable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 1
|
7
|
+
- 0
|
8
|
+
- 4
|
9
|
+
version: 1.0.4
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Daniel Morrison
|
@@ -10,19 +15,24 @@ autorequire:
|
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
17
|
|
13
|
-
date: 2010-
|
18
|
+
date: 2010-09-20 00:00:00 -04:00
|
14
19
|
default_executable:
|
15
20
|
dependencies:
|
16
21
|
- !ruby/object:Gem::Dependency
|
17
22
|
name: graticule
|
18
|
-
|
19
|
-
|
20
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
21
25
|
requirements:
|
22
26
|
- - ">="
|
23
27
|
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 1
|
30
|
+
- 0
|
31
|
+
- 0
|
32
|
+
- pre2
|
24
33
|
version: 1.0.0.pre2
|
25
|
-
|
34
|
+
type: :runtime
|
35
|
+
version_requirements: *id001
|
26
36
|
description: Simple geocoding for Rails ActiveRecord models. See the README for more details.
|
27
37
|
email: info@collectiveidea.com
|
28
38
|
executables: []
|
@@ -34,6 +44,8 @@ extra_rdoc_files:
|
|
34
44
|
files:
|
35
45
|
- .gitignore
|
36
46
|
- CHANGELOG
|
47
|
+
- Gemfile
|
48
|
+
- Gemfile.lock
|
37
49
|
- MIT-LICENSE
|
38
50
|
- README
|
39
51
|
- Rakefile
|
@@ -73,18 +85,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
73
85
|
requirements:
|
74
86
|
- - ">="
|
75
87
|
- !ruby/object:Gem::Version
|
88
|
+
segments:
|
89
|
+
- 0
|
76
90
|
version: "0"
|
77
|
-
version:
|
78
91
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
79
92
|
requirements:
|
80
93
|
- - ">="
|
81
94
|
- !ruby/object:Gem::Version
|
95
|
+
segments:
|
96
|
+
- 0
|
82
97
|
version: "0"
|
83
|
-
version:
|
84
98
|
requirements: []
|
85
99
|
|
86
100
|
rubyforge_project:
|
87
|
-
rubygems_version: 1.3.
|
101
|
+
rubygems_version: 1.3.6
|
88
102
|
signing_key:
|
89
103
|
specification_version: 3
|
90
104
|
summary: Simple geocoding for Rails ActiveRecord models
|