actionset 0.4.1 → 0.4.2

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: 5a6420257cd324299c5517e5e47ba01f2213ce66
4
- data.tar.gz: a505a2bb2c880fad25b8e1bfb4ec09627421fa25
3
+ metadata.gz: 8b171c6d0633fadbb7ed8a263d5fc5ab7ebfb5e6
4
+ data.tar.gz: c79bd79c80f9184c2b908c626aa3b364f2cdf44d
5
5
  SHA512:
6
- metadata.gz: 2e28535d83f7e8313ed211713c56338fb61c5f83e693092c55b22c99bea548d4f55b6f5dcf8d5d699a9d9bfd096b89b4c4e1f65582a980eb9fa0609c41ca0b6f
7
- data.tar.gz: bcabe55d13513680c032a23cb640644d291e766c1867404d37597547e52dbb402b07b089db8a31bbdc8e3cd983c8292fb990d39e70330497142a88f784170fec
6
+ metadata.gz: fb79688137902f9141f5943bbc306a4cba6f9a85b2c721a2e8a5e82f8f55e2268924d2dea789091fe150798f0af89a0aa3a36114b205e039dd7d322b7cafac8d
7
+ data.tar.gz: 97c17b2f681911aaf8d2a1c71993df5e684b6c426ce3305e0ce0b71cf52a8254d99197bdf3b5305455d5899fa6610c51fe6e0b71ea115f6fd06f9740a7eb47a4
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v 0.4.2
2
+ - Ensure that the sort_link_for helper method can work with symbol attributes
1
3
  v 0.4.1
2
4
  - Fix the helper methods to work properly with the new version of ActiveSet
3
5
  v 0.4.0
@@ -3,7 +3,7 @@
3
3
  module Sort
4
4
  module LinkForHelper
5
5
  def sort_link_for(attribute, name = nil)
6
- link_to(name || attribute.titleize,
6
+ link_to(name || attribute.to_s.titleize,
7
7
  sort_path_for(attribute),
8
8
  'aria-label': sort_description_for(attribute))
9
9
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActionSet
4
- VERSION = '0.4.1'
4
+ VERSION = '0.4.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionset
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Margheim