aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-02-02 19:24:13 +0100
committerHarald Eilertsen <haraldei@anduin.net>2015-02-02 19:27:44 +0100
commit6aa9e49eb51f61c62a2c37a6c4226514a8d3e6c0 (patch)
tree7c487b69d31bfb3c79d05bc3c363e0da2c549337 /lib
parent9af117df2f9e26a151a24caf54b967f56c08d60a (diff)
downloadpostcodes-norway-6aa9e49eb51f61c62a2c37a6c4226514a8d3e6c0.tar.gz
postcodes-norway-6aa9e49eb51f61c62a2c37a6c4226514a8d3e6c0.tar.bz2
postcodes-norway-6aa9e49eb51f61c62a2c37a6c4226514a8d3e6c0.zip
Paths in the code still used old name...
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