actionset 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +3 -0
- data/lib/action_set/helpers/helper_methods.rb +2 -2
- data/lib/action_set/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13f320a8ab39830e34a159c10644f6dc7eb14333
|
4
|
+
data.tar.gz: 651152f72f6c17d7200f6ce2683d598e8ee3f393
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3729ed20f3c7bc3d48d5be28b83b6d13a8b1ee3fde12043fc85916e0a689f1f224b77fdcb737135155b4e4598f9a476abe0551118452b12b62297c3f73ca03e1
|
7
|
+
data.tar.gz: 4beb20763412838ed314be5e1a01cf286ed40a0bbfde17013cb3a587ef599db7513ee6c4774dfee00ab132a678f6dab76c92d9bbe75405f52d5211fafc7f8cbf
|
data/CHANGELOG
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
v 0.3.1
|
2
|
+
- Change the name of the view helper method from `sort_link` to `sort_link_for`
|
3
|
+
- Change the name of the view helper method from `paginate` to `pagination_links_for`
|
1
4
|
v 0.3.0
|
2
5
|
- Add a `paginate_set` method that is a part of the `process_set` chain now
|
3
6
|
- Add `paginate` view helper for rendering a pagination navigation
|
@@ -6,11 +6,11 @@ require_relative './paginator'
|
|
6
6
|
module ActionSet
|
7
7
|
module Helpers
|
8
8
|
module HelperMethods
|
9
|
-
def
|
9
|
+
def sort_link_for(column, title)
|
10
10
|
Helpers::SortLinker.new(self).render(column, title)
|
11
11
|
end
|
12
12
|
|
13
|
-
def
|
13
|
+
def pagination_links_for(set)
|
14
14
|
Helpers::Paginator.new(self).render(set)
|
15
15
|
end
|
16
16
|
end
|
data/lib/action_set/version.rb
CHANGED