magic_addresses 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 949edc8b5ca53118e79d375d3d4a2fc4716059d2
4
- data.tar.gz: d0271b3f87056b996f5b83f99676d64369c8608b
3
+ metadata.gz: 4674980fd601311e241904da2a2b8a9f2d82acd4
4
+ data.tar.gz: 95c0308f82651ac16168daeb3bc9c19e79d88df6
5
5
  SHA512:
6
- metadata.gz: 2d9d762f95aeb6defac7c961f894ed109217f466e76b10d0402a14fa39b6850fd69c0b1e0218a78bd9c0e9c21b18ac4d229d0961d9d4178be1bb2c6e33bc58ed
7
- data.tar.gz: 6373d2347204e22752ea7f1ebf74cf40c8eb511656e11910935a28196c0c83e2cc28c51693ed81674d15e10da081247abf6bbf10c6e0c39d882ad02610fe0b65
6
+ metadata.gz: a42873312b5f2df808650f412e5a9d98168231e3ed1ef8881f6c3910c2b953d5374f917df5e5b693a34759b7abe6235305d4a5b216004eb97d6b2eb5421a266b
7
+ data.tar.gz: f074307b59af48748cd92cf18bb34f3e82a5e8cfd3b67af5093364ae056a7d7b48f2b3d0936210327f416c8fe2189836a100759e200def10414f6c486cfc1531
@@ -1,3 +1,3 @@
1
1
  module MagicAddresses
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -56,10 +56,6 @@ module MagicAddresses
56
56
  yield(configuration)
57
57
  end
58
58
 
59
- def self.root
60
- File.expand_path '../..', __FILE__
61
- end
62
-
63
59
  end
64
60
 
65
61
  end
@@ -69,7 +65,7 @@ ActiveSupport.on_load(:active_record) do
69
65
  require 'geocoder'
70
66
  end
71
67
 
72
- ActionController::Base.prepend_view_path "#{MagicAddresses.root}/app/views"
68
+ ActionController::Base.prepend_view_path File.expand_path '../../app/views', __FILE__
73
69
  # => ActionController::Base.append_view_path File.dirname(__FILE__) + "app/views"
74
70
 
75
71
  #require 'geocoder'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic_addresses
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Torsten Wetzel