magic_locales 0.0.4 → 0.0.5

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: e2b6875e12413586b239ba24dd88963d63362f78
4
- data.tar.gz: c113317dc8faae018c48a23bb529d7132543003e
3
+ metadata.gz: e98b8041ba800a7c591b77567e31a41e79735f08
4
+ data.tar.gz: 369854c9316c039b5f63554939de2c993d9c3b7a
5
5
  SHA512:
6
- metadata.gz: 0700539476de1909c82913e27757bf32c43f5b3485d1006cf646b40b7d01aa228d3d4720d104378a4d6748c1e4d1c4f7766ff9d8f12655705995b2a07b70aa6d
7
- data.tar.gz: 76685646a7219e1fcfd92d14ee107bc1c0fb7fe11ae24c805d83acc56c2c1228f5472f154cd8a522ffa93e316d3da566eec14157df86c3ca4437e93d1a0f195a
6
+ metadata.gz: a9eadcad37d2434e7a5c8f86f9729017ffe42eee2dd1919ac76f413a09b2224762048e4802e70969954df535565a63d6b2a430fe10b85336f735b94f90b16a9a
7
+ data.tar.gz: 8710f5560a842bee7a53f2a7468ca71df191e106713ae3eded2e12aa15c0bec14869693609330784311695d7c241bacaade9af72b7457d48a8beb4b83ac20d61
@@ -30,10 +30,10 @@ module MagicLocales
30
30
  copy_file( "locale_seeds.rb", "db/seeds/locales.rb" )
31
31
  end
32
32
 
33
- # => desc "add magic_addresses initialitzer"
34
- # => def copy_mgca_initialitzer
35
- # => copy_file( "magic_initializer.rb", "config/initializers/magic_addresses.rb" )
36
- # => end
33
+ desc "add magic_logales initialitzer"
34
+ def copy_mgca_initialitzer
35
+ copy_file( "magic_initializer.rb", "config/initializers/magic_logales.rb" )
36
+ end
37
37
 
38
38
  desc "add magic_locales routes"
39
39
  def copy_mgca_routes
@@ -2,6 +2,7 @@
2
2
  ## Need authentication for locale admin routes use this:
3
3
  ##
4
4
  # => MagicLocales::BaseController.class_eval do
5
+ # => # layout proc { |controller| controller.request.xhr? ? false : "application" }
5
6
  # => private
6
7
  # => # overwrite authentication method
7
8
  # => def authenticate_visitor
@@ -1,3 +1,3 @@
1
1
  module MagicLocales
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic_locales
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Torsten Wetzel