action_interceptor 0.5.2 → 0.5.3

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: 4f5d86ce3dd378be0befe5ceb3e6e1ab6b009139
4
- data.tar.gz: 41311fff3e17c4bbe781ae4af90f8f4b0e68e720
3
+ metadata.gz: 44ab9883cb1bb5fcebed393839f0e9c59922793a
4
+ data.tar.gz: d3837244011aaf89a4a280f116505bfe6ed503fa
5
5
  SHA512:
6
- metadata.gz: 76a553de8d6ebda922fce6825780400074fed091faf29d69a0a84585c28b1cf4aa9958220c8efa48ec94287d51ddb0dbe56841153c3933645f17961a873b8d97
7
- data.tar.gz: e5b45fee1c02c1430c583e590294e8c3a1dbe060a429a3be7621bec0275288be31c44fe63cfb1fae08713d6a4a7ac1b4ec1b756627f344e2e3b9bcda4a9cea9d
6
+ metadata.gz: b5701a304ec6e2782e31a0d1795b22ee335fa1b5bfe46ae9a518ed4d75979ed025e2d107380908519ec4698bc1322a2796d195d7ce6150e8a693d6eb4f05b495
7
+ data.tar.gz: ea4bed34a80eaa1def6bb9ce09f88df0539357b67dc1ba35ece2ed502856cec109c63e3db043988e3c2287f07e534ad07c743322b4f32a8011dc685d79f5433b
@@ -16,8 +16,9 @@ module ActionInterceptor
16
16
  current_url_hash
17
17
 
18
18
  uri = URI(url)
19
- new_query = Hash[URI.decode_www_form(uri.query || '')]
20
- .merge(@interceptor_url_for_hash)
19
+ new_query = HashWithIndifferentAccess[
20
+ URI.decode_www_form(uri.query || '')
21
+ ].merge(@interceptor_url_for_hash)
21
22
  uri.query = URI.encode_www_form(new_query)
22
23
  uri.to_s
23
24
  end
@@ -1,3 +1,3 @@
1
1
  module ActionInterceptor
2
- VERSION = '0.5.2'
2
+ VERSION = '0.5.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_interceptor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dante Soares