locale_flash 1.1.0 → 1.2.0

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: bf654d1da5fa9ee31db5f9d6a249f3df0dc2390f
4
- data.tar.gz: 89342725271cac17d241eeb68e8f85ac438ef4a2
3
+ metadata.gz: 82f04460501ef0a8eea38230b5472a7c188c8d9f
4
+ data.tar.gz: e1fd932080a60deba99d527484e1869ec17d1167
5
5
  SHA512:
6
- metadata.gz: 9b35b93724d89ea025924c65645d4050648727c0d1aa94268445b9ea43074ae1b668e3ba3befeca4212b6e455d59a1aa89081de8371fa7d025715e5883ce90b2
7
- data.tar.gz: ada829e19c8581ee03bd83a9d3a3df1b3cc0edf9e162cd10960c09403dcecaf9175e10b5d0b81bc04a42c4e5b9d80202b3eb091f514f1d67ca834040481cc89f
6
+ metadata.gz: 91eb1e6b18e982f029390dfcfbdff49510d2acbbe26eb7556955f1aa16abd4da03356bc721e5d8dffb5348cf350ecd0a0ec0a9a995952fafa647f26a2fdd1e84
7
+ data.tar.gz: 3dc797308f81d0d3d51f768f36e9f50f5af28e45566587c745d248ad8ce0b98c2a650e39e1b5bc3d4f1fffd779a200d0903f816515e518da199f9e11bd9c6aab
@@ -25,7 +25,9 @@ module LocaleFlash
25
25
  :type => type,
26
26
  :controller => params["controller"],
27
27
  :action => params["action"],
28
- :options => params["options"]
28
+ :options => Hash[params["options"].map do |key, value|
29
+ [key.to_sym, value]
30
+ end]
29
31
  )
30
32
  end
31
33
 
@@ -1,3 +1,3 @@
1
1
  module LocaleFlash
2
- VERSION = "1.1.0"
3
- end
2
+ VERSION = "1.2.0"
3
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: locale_flash
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Dell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-07 00:00:00.000000000 Z
11
+ date: 2016-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n