table-for 3.6.0 → 3.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +6 -0
- data/lib/table_for/base.rb +3 -0
- data/lib/table_for/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a06e3f4c62b8e960ce23e069b5a9e988d0a36721
|
4
|
+
data.tar.gz: eaf4a354271a193e83a835036dacd42cf4bc696a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d4d10c87846a31dcd086dcf266dab6e28f171c08190f69fa0e8e551015053c909663ab389ec4f9921ec0e00e66433f08cb6453228db1840d3e0a52f20786245
|
7
|
+
data.tar.gz: 62dbeac5635056aeda4b3cf2dc33dbb0eda9f9b08491e19997588e6b1a900786981e5c2efdb638696315df04c93b7b903a73454f213a9c84afdbbfce153fbaf0
|
data/CHANGELOG.rdoc
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
3.6.1
|
2
|
+
* Fixed :sortable option for Rails 5 that was breaking when
|
3
|
+
ActionController::Parameters#to_query was being called without any arguments
|
4
|
+
as reported and fixed by @karwank here https://github.com/hunterae/table-for/pull/10.
|
5
|
+
Thanks @karwank.
|
6
|
+
|
1
7
|
3.6.0
|
2
8
|
* Generated td tags will collapse all whitespace per suggestion by @jlfy.
|
3
9
|
|
data/lib/table_for/base.rb
CHANGED
@@ -115,6 +115,9 @@ module TableFor
|
|
115
115
|
end
|
116
116
|
|
117
117
|
parameters = view.params.merge(:order => order, :sort_mode => next_sort_mode)
|
118
|
+
if parameters.respond_to?(:to_unsafe_h)
|
119
|
+
parameters = parameters.to_unsafe_h
|
120
|
+
end
|
118
121
|
parameters.delete(:action)
|
119
122
|
parameters.delete(:controller)
|
120
123
|
url = options[:sort_url] ? options[:sort_url] : ""
|
data/lib/table_for/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: table-for
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.6.
|
4
|
+
version: 3.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Hunter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|