aboutsummaryrefslogtreecommitdiffstats
path: root/lib/postcodes-norway
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-02-02 18:59:12 +0100
committerHarald Eilertsen <haraldei@anduin.net>2015-02-02 18:59:53 +0100
commit9af117df2f9e26a151a24caf54b967f56c08d60a (patch)
treee70ed92ba61b64044339b8b4dd163b3eb30c36ce /lib/postcodes-norway
parent743dadd3f7cfabd9d0dbaebff3b4f07d32c5f1ef (diff)
downloadpostcodes-norway-9af117df2f9e26a151a24caf54b967f56c08d60a.tar.gz
postcodes-norway-9af117df2f9e26a151a24caf54b967f56c08d60a.tar.bz2
postcodes-norway-9af117df2f9e26a151a24caf54b967f56c08d60a.zip
Rename files and prepare for release.v0.1.0
Diffstat (limited to 'lib/postcodes-norway')
-rw-r--r--lib/postcodes-norway/railtie.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/postcodes-norway/railtie.rb b/lib/postcodes-norway/railtie.rb
new file mode 100644
index 0000000..19cd3e7
--- /dev/null
+++ b/lib/postcodes-norway/railtie.rb
@@ -0,0 +1,11 @@
+require 'norwegian-postcodes'
+require 'rails'
+
+module PostCodes
+ class Railtie < Rails::Railtie
+ railtie_name :norwegian_postcodes
+ rake_tasks do
+ load 'tasks/norwegian-postcodes.rake'
+ end
+ end
+end \ No newline at end of file