globalize3 0.0.5 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -71,6 +71,7 @@ module Globalize
71
71
  end
72
72
 
73
73
  def with_given_locale(attributes, &block)
74
+ attributes.symbolize_keys! if attributes.respond_to?(:symbolize_keys!)
74
75
  if locale = attributes.try(:delete, :locale)
75
76
  Globalize.with_locale(locale, &block)
76
77
  else
@@ -1,3 +1,3 @@
1
1
  module Globalize
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: globalize3
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sven Fuchs
@@ -18,7 +18,7 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2010-08-15 00:00:00 +02:00
21
+ date: 2010-09-02 00:00:00 +02:00
22
22
  default_executable:
23
23
  dependencies:
24
24
  - !ruby/object:Gem::Dependency