forked from joho/geonames-rails
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
get everything in place... now just to fill the places with code
- Loading branch information
Showing
4 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
require 'geonames_rails' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# do some installing here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module GeonamesRails | ||
class Puller | ||
end | ||
|
||
class Loader | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
namespace :geonames_rails do | ||
desc 'pull down the geonames data from the server' | ||
task :pull_data do | ||
# do something here | ||
end | ||
|
||
desc 'load geonames data into db' | ||
task :load_data do | ||
# do something | ||
end | ||
|
||
desc 'cleanup geonames data pulled from the server' | ||
task :cleanup_data do | ||
# do something | ||
end | ||
|
||
desc 'pull geonames data and load into the database' | ||
task :pull_and_load => [:pull_data, :load_data, :cleanup_data] | ||
end |