bolter 0.3.5 → 0.3.6

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: 43fa0d127dc6b6e16cda2a3e22db976da485a68b
4
- data.tar.gz: 42f9c4a24ee34baa223556a24067985ea09f2dc8
3
+ metadata.gz: b76b1689058572beb35ed7d7d429a505d276592c
4
+ data.tar.gz: 5157b60b85ab601d8e8b7eb34317de3bc1c94e5c
5
5
  SHA512:
6
- metadata.gz: eae0e0cce04ea02fafee80ba751ea6c687edeaf87e5ada3b6a4bfe61e6d8ddf179586e4ac1d37d0b51032ef17dea73abff9dc460f3d8aa45c421c5228b099d56
7
- data.tar.gz: 073d3e314f83566298c86226ec56a8e85022385da20abff1fdecc82b8221e6d1642a7b0c15e10ef64bbb01a7dc00bd1f48ebe58028a75aae8128da236849ed95
6
+ metadata.gz: f985bc0fdd139950083dc77f482e6233ead0d305e99bc1bf5df38486f4ed409eda3191fb33fe461445a84aa149a982e78a2e82317022180a105ec3899c1b875a
7
+ data.tar.gz: 1042e730317fd5fbfc648dfa5c0b97438e9ccbe76ced2a3a73a50e36ca75653d501b690bf4e682b9ebd4b3c6d425c83c45eb6cd35d24899946afad1a1025606d
@@ -7,7 +7,7 @@ module Bolter
7
7
  direction = direction == 'asc' ? 'desc' : 'asc'
8
8
  title = text || scope
9
9
  title = title + "#{direction == 'asc' ? '▲' : '▼'}" if scope_name.to_s == current_field and params[as].present?
10
- link_to title.html_safe, url_for(params.merge(Hash[as, "#{scope_name}:#{direction}"])), options
10
+ link_to title.html_safe, url_for(params.permit(:sorting).merge(Hash[as, "#{scope_name}:#{direction}"])), options
11
11
  end
12
12
  end
13
13
  module FormHelper
@@ -1,3 +1,3 @@
1
1
  module Bolter
2
- VERSION = '0.3.5'
2
+ VERSION = '0.3.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bolter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evgeniy Shurmin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-05 00:00:00.000000000 Z
11
+ date: 2016-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler