aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/postcodes-norway.rb2
-rw-r--r--lib/postcodes-norway/railtie.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/postcodes-norway.rb b/lib/postcodes-norway.rb
index 6aefc98..86d0ab4 100644
--- a/lib/postcodes-norway.rb
+++ b/lib/postcodes-norway.rb
@@ -1,6 +1,6 @@
module PostCodes
- require 'norwegian-postcodes/railtie' if defined?(Rails)
+ require 'postcodes-norway/railtie' if defined?(Rails)
# Correspond to the Norwegian 'Fylke'
Counties = [
diff --git a/lib/postcodes-norway/railtie.rb b/lib/postcodes-norway/railtie.rb
index 19cd3e7..896eff9 100644
--- a/lib/postcodes-norway/railtie.rb
+++ b/lib/postcodes-norway/railtie.rb
@@ -1,11 +1,11 @@
-require 'norwegian-postcodes'
+require 'postcodes-norway'
require 'rails'
module PostCodes
class Railtie < Rails::Railtie
railtie_name :norwegian_postcodes
rake_tasks do
- load 'tasks/norwegian-postcodes.rake'
+ load 'tasks/postcodes-norway.rake'
end
end
end \ No newline at end of file