dragoman 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: c50f0ba55cd1b168ff9e181f96432d0a958a1fe5
4
- data.tar.gz: ac628c72a7880a938596ed4239d7af3a6adebd66
3
+ metadata.gz: a9d284280585fe102dc101b978b9eb3194ba4e72
4
+ data.tar.gz: 8f885d7a7852916080ae9983b5a0d861bb7e66eb
5
5
  SHA512:
6
- metadata.gz: 1abbc1032a4f4a01d0cc41cdb8db0819d60bdb86b094b6c807796be7bfc674c76c1cef4e5b87b539394acc14a90329ce178ef6e70b7af39cc015c0a4d795f05e
7
- data.tar.gz: 3d7683e61754b51c76424d92fec15cd96ec952b3345db3fe30b1f731ad317db5cbdcd29bb48f65423bc384f0df077f1387828c9b1cbf37ba365f3c8b86b6b949
6
+ metadata.gz: 61f5f7db87f1b6d1d35ad7a443a72798772125cbd46b8a7c16dc0f8a2d2e6e6d9e040ebac4ecfdd56d6de507ae6a266080a50c40ef94d96039e2faf04fe025ce
7
+ data.tar.gz: e55e7db55755babacabcf2d44f53b265ef0e3e5838088a997ec403ab0c46d452b448b3b07a0a07fc6af4d2f77d1158c476f7ab53f6dbcfa8120019c1dffb843f
@@ -18,7 +18,7 @@ module Dragoman
18
18
  @current_locale = nil
19
19
  locales = I18n.available_locales
20
20
  locales.each do |locale|
21
- @current_locale = locale
21
+ @current_locale = locale.to_s
22
22
  yield
23
23
  end
24
24
  @current_locale = nil
@@ -1,3 +1,3 @@
1
1
  module Dragoman
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -41,8 +41,8 @@ describe 'routes' do
41
41
  end
42
42
 
43
43
  it 'sets the correct locale' do
44
- assert_routing '/producten', :controller => 'products', :action => 'index', :locale => :nl
45
- assert_routing '/products', :controller => 'products', :action => 'index', :locale => :en
44
+ assert_routing '/producten', :controller => 'products', :action => 'index', :locale => 'nl'
45
+ assert_routing '/products', :controller => 'products', :action => 'index', :locale => 'en'
46
46
  end
47
47
 
48
48
  it 'skips empty paths' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dragoman
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
  - Pieter Visser