geonames_rails 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
data/README.md
CHANGED
@@ -8,11 +8,17 @@ Copy this into your application's Rakefile:
|
|
8
8
|
|
9
9
|
Dir["#{Gem.searcher.find('geonames_rails').full_gem_path}/lib/tasks/*.rake"].each { |ext| load ext }
|
10
10
|
|
11
|
-
|
11
|
+
To generate the migration and models, use
|
12
12
|
|
13
13
|
rails generate geonames_rails:migration
|
14
14
|
rails generate geonames_rails:models
|
15
15
|
|
16
|
+
And do do the magic, run
|
17
|
+
|
18
|
+
rake geonames_rails:pull # to download the data
|
19
|
+
rake geonames_rails:load # to load it
|
20
|
+
rake geonames_rails:run # to do both at once (use for heroku)
|
21
|
+
|
16
22
|
Thanks to Garrett Davis for converting it into Rails 3 and John Barton for making the thing in the first place.
|
17
23
|
|
18
24
|
|
metadata
CHANGED
@@ -1,59 +1,46 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: geonames_rails
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 2
|
8
|
-
- 1
|
9
|
-
version: 0.2.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.2
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Marius Andra
|
13
9
|
- Garrett Davis
|
14
10
|
- John Barton
|
15
11
|
autorequire:
|
16
12
|
bindir: bin
|
17
13
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
dependencies:
|
22
|
-
- !ruby/object:Gem::Dependency
|
14
|
+
date: 2012-07-03 00:00:00.000000000 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
23
17
|
name: rubyzip
|
24
|
-
|
25
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
18
|
+
requirement: &24758440 !ruby/object:Gem::Requirement
|
26
19
|
none: false
|
27
|
-
requirements:
|
28
|
-
- -
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
|
31
|
-
- 0
|
32
|
-
version: "0"
|
20
|
+
requirements:
|
21
|
+
- - ! '>='
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '0'
|
33
24
|
type: :runtime
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: rubyzip
|
37
25
|
prerelease: false
|
38
|
-
|
26
|
+
version_requirements: *24758440
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rubyzip
|
29
|
+
requirement: &24758000 !ruby/object:Gem::Requirement
|
39
30
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
44
|
-
- 0
|
45
|
-
version: "0"
|
31
|
+
requirements:
|
32
|
+
- - ! '>='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
46
35
|
type: :development
|
47
|
-
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: *24758000
|
48
38
|
description: Fetch data from geonames.org and make the required models
|
49
39
|
email: marius.andra@gmail.com
|
50
40
|
executables: []
|
51
|
-
|
52
41
|
extensions: []
|
53
|
-
|
54
42
|
extra_rdoc_files: []
|
55
|
-
|
56
|
-
files:
|
43
|
+
files:
|
57
44
|
- lib/geonames_rails/writers/active_record.rb
|
58
45
|
- lib/geonames_rails/writers/dry_run.rb
|
59
46
|
- lib/geonames_rails/mappings/city.rb
|
@@ -71,37 +58,28 @@ files:
|
|
71
58
|
- lib/generators/geonames_rails/models_generator.rb
|
72
59
|
- lib/tasks/geonames_rails.rake
|
73
60
|
- README.md
|
74
|
-
has_rdoc: true
|
75
61
|
homepage: http://rubygems.org/gems/geonames-rails
|
76
62
|
licenses: []
|
77
|
-
|
78
63
|
post_install_message:
|
79
64
|
rdoc_options: []
|
80
|
-
|
81
|
-
require_paths:
|
65
|
+
require_paths:
|
82
66
|
- lib
|
83
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
67
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
84
68
|
none: false
|
85
|
-
requirements:
|
86
|
-
- -
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
|
89
|
-
|
90
|
-
version: "0"
|
91
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - ! '>='
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '0'
|
73
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
74
|
none: false
|
93
|
-
requirements:
|
94
|
-
- -
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
|
97
|
-
- 0
|
98
|
-
version: "0"
|
75
|
+
requirements:
|
76
|
+
- - ! '>='
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '0'
|
99
79
|
requirements: []
|
100
|
-
|
101
80
|
rubyforge_project:
|
102
|
-
rubygems_version: 1.
|
81
|
+
rubygems_version: 1.8.11
|
103
82
|
signing_key:
|
104
83
|
specification_version: 3
|
105
84
|
summary: Geonames.org support for Rails applications
|
106
85
|
test_files: []
|
107
|
-
|