magic_addresses 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 362b20492a6f3db15faf931e03a3fcedebbe45c3
4
- data.tar.gz: db59e11b32dc81a1e775df5cb39e7bc77f94de3f
3
+ metadata.gz: 04946620634d33d918a6375503baf2894d92b4dd
4
+ data.tar.gz: 2e05fa7e9bdb2d805e9b43969dd9de3f90c881bb
5
5
  SHA512:
6
- metadata.gz: 2467ca34556f4d5b69e65b91a7864f60b0a31fc5fc84c5729518843c6e34fd7974085ec3158aa84f51143dd7717dad7a89e9a985b7ebceb0609bd58c94eae60e
7
- data.tar.gz: ddc8d63e84e8519cd2c36cb7c07cfd0a53d2a2f45d5c39aaf537ddd0586b2f4c0cc43f633a24d257a8908ed89dc6ee9dd2abd854fb1f53b70b30e019dc6d6afe
6
+ metadata.gz: b918635d6fcc6bdbee94451837e7f6d5fac4a97efee99095932b01a6cbf26cff2329a4b0e1dbaf7986176a6faaadbd9eec4a1a61063380ba3af9fd8e76c5dcc1
7
+ data.tar.gz: 8c61777fa3f04599b8541c322653c6198dce76bbc4160659eee7895c4e4167f5b5fa8f4d7464faae4e3351ac3822b090078e16aa7a31ea2aa0e20c014a09842d
@@ -3,7 +3,7 @@ MagicAddresses.configure do |config|
3
3
  config.active_locales = [:en, :de]
4
4
  # what is the default language (should be :en, except you don't need english at all)
5
5
  config.default_locale = :en
6
- # what is the default language (should be :en, except you don't need english at all)
6
+ # what is the default country (for lookup)
7
7
  config.default_country = "Germany"
8
8
  # use a background-process for the lookups
9
9
  config.job_backend = :none
@@ -1,3 +1,3 @@
1
1
  module MagicAddresses
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -72,8 +72,8 @@ ActiveSupport.on_load(:active_record) do
72
72
  require 'geocoder'
73
73
  end
74
74
 
75
- # => ActionController::Base.prepend_view_path File.dirname(__FILE__) + "app/views"
76
- ActionController::Base.append_view_path File.dirname(__FILE__) + "app/views"
75
+ ActionController::Base.prepend_view_path "#{root}/app/views"
76
+ # => ActionController::Base.append_view_path File.dirname(__FILE__) + "app/views"
77
77
 
78
78
  #require 'geocoder'
79
79
 
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.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Torsten Wetzel
@@ -116,6 +116,14 @@ executables: []
116
116
  extensions: []
117
117
  extra_rdoc_files: []
118
118
  files:
119
+ - app/views/magic_addresses/addresses/_address_fields.html.erb
120
+ - app/views/magic_addresses/addresses/_addresses_fields.html.erb
121
+ - app/views/magic_addresses/addresses/fields/_address.html.erb
122
+ - app/views/magic_addresses/cities/index.html.erb
123
+ - app/views/magic_addresses/countries/index.html.erb
124
+ - app/views/magic_addresses/districts/index.html.erb
125
+ - app/views/magic_addresses/states/index.html.erb
126
+ - app/views/magic_addresses/subdistricts/index.html.erb
119
127
  - config/locales/mgca.de.yml
120
128
  - config/locales/mgca.en.yml
121
129
  - lib/app/controllers/magic_addresses/base_controller.rb
@@ -134,14 +142,6 @@ files:
134
142
  - lib/app/models/magic_addresses/subdistrict.rb
135
143
  - lib/app/models/magic_addresses/translator.rb
136
144
  - lib/app/models/magic_addresses.rb
137
- - lib/app/views/magic_addresses/addresses/_address_fields.html.erb
138
- - lib/app/views/magic_addresses/addresses/_addresses_fields.html.erb
139
- - lib/app/views/magic_addresses/addresses/fields/_address.html.erb
140
- - lib/app/views/magic_addresses/cities/index.html.erb
141
- - lib/app/views/magic_addresses/countries/index.html.erb
142
- - lib/app/views/magic_addresses/districts/index.html.erb
143
- - lib/app/views/magic_addresses/states/index.html.erb
144
- - lib/app/views/magic_addresses/subdistricts/index.html.erb
145
145
  - lib/app/workers/address_worker.rb
146
146
  - lib/generators/magic_addresses/install_generator.rb
147
147
  - lib/generators/magic_addresses/templates/country_seeds.rb