refinerycms-i18n 4.0.0 → 4.0.1

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: cc4cabe515e10b49ab000d371942adf2f950f473
4
- data.tar.gz: dba925f4bc3859768899838c2a20017f1ad1fce7
3
+ metadata.gz: 985a7f5d83484a91fa8277f88ad2e30bb5302fb3
4
+ data.tar.gz: 5e97eb8e393f3b3e068b65d0f2c019752fa9a5ed
5
5
  SHA512:
6
- metadata.gz: 128a6d8ee0ebaba2f2f1bc5d6adeff3bb7325399a6e38709041bfd8c8e72d8c097bfacca745d807fd55b3d3c0791c1f96e0241cd0bdd68a92b853610b03663b1
7
- data.tar.gz: fa3f991e56456fd68030dd186383f6eb5704659f554a53d4b3fe1b9c3b5c44acee4bcb805dcc83c0c58cd0e84b7224858641646aa1af1cab09f418f63ac138d5
6
+ metadata.gz: 1e5ed7f28ac84366a817ba60f46f64456b6ccff75f440e8cf952bfe1b8c6ab0d46531761453707e6693b8b56ff8425c4328fe525c75f42bb8584a6bf57e05905
7
+ data.tar.gz: 984345ab600a159ff5c7ea5790cb6dcbdad2d7b383ecffbaa041944e97eee096ef1151ba8d11a021add0ece2ea77edfd71019e80fa6efbe96e79cb0b1b787956
data/Gemfile CHANGED
@@ -10,6 +10,10 @@ git "https://github.com/refinery/refinerycms", branch: "master" do
10
10
  end
11
11
  end
12
12
 
13
+ group :development, :test do
14
+ gem "listen"
15
+ end
16
+
13
17
  # Database Configuration
14
18
  unless ENV["TRAVIS"]
15
19
  gem "activerecord-jdbcsqlite3-adapter", :platform => :jruby
@@ -15,7 +15,7 @@ module RoutingFilter
15
15
  end
16
16
 
17
17
  yield.tap do |params|
18
- params[:locale] = ::I18n.locale
18
+ params[:locale] = ::I18n.locale.to_s
19
19
  end
20
20
  end
21
21
 
@@ -28,7 +28,7 @@ module Refinery
28
28
  if ::Refinery::I18n.has_locale?(locale = params[:locale].try(:to_sym))
29
29
  ::I18n.locale = locale
30
30
  elsif locale.present? && locale != ::Refinery::I18n.default_frontend_locale
31
- params[:locale] = ::I18n.locale = ::Refinery::I18n.default_frontend_locale
31
+ params[:locale] = ::I18n.locale.to_s = ::Refinery::I18n.default_frontend_locale.to_s
32
32
  redirect_to(params, :notice => "The locale '#{locale}' is not supported.") and return
33
33
  else
34
34
  ::I18n.locale = ::Refinery::I18n.default_frontend_locale
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{refinerycms-i18n}
5
- s.version = %q{4.0.0}
5
+ s.version = %q{4.0.1}
6
6
  s.description = %q{i18n logic extracted from Refinery CMS, for Refinery CMS.}
7
7
  s.summary = %q{i18n logic for Refinery CMS.}
8
8
  s.email = %q{info@refinerycms.com}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Arndt
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-30 00:00:00.000000000 Z
12
+ date: 2017-09-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: routing-filter