lib/generators/geocoder/maxmind/geolite_city_generator.rb in geocoder-1.4.4 vs lib/generators/geocoder/maxmind/geolite_city_generator.rb in geocoder-1.4.5

- old
+ new

@@ -1,11 +1,13 @@ require 'rails/generators/migration' +require 'generators/geocoder/migration_version' module Geocoder module Generators module Maxmind class GeoliteCityGenerator < Rails::Generators::Base include Rails::Generators::Migration + include Generators::MigrationVersion source_root File.expand_path('../templates', __FILE__) def copy_migration_files migration_template "migration/geolite_city.rb", "db/migrate/geocoder_maxmind_geolite_city.rb"