actionset 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 13f320a8ab39830e34a159c10644f6dc7eb14333
4
- data.tar.gz: 651152f72f6c17d7200f6ce2683d598e8ee3f393
3
+ metadata.gz: 70f401497fe08e53f4cc6f71fd85dc666c231472
4
+ data.tar.gz: 12ddc413392c8b1890e9618dd5ccd8aa02b983e2
5
5
  SHA512:
6
- metadata.gz: 3729ed20f3c7bc3d48d5be28b83b6d13a8b1ee3fde12043fc85916e0a689f1f224b77fdcb737135155b4e4598f9a476abe0551118452b12b62297c3f73ca03e1
7
- data.tar.gz: 4beb20763412838ed314be5e1a01cf286ed40a0bbfde17013cb3a587ef599db7513ee6c4774dfee00ab132a678f6dab76c92d9bbe75405f52d5211fafc7f8cbf
6
+ metadata.gz: aa4a4706d1145a0437d67f6cc1a8acff5b7eb1a38c0e3613c3845f11c48b1162079558293f988ecd62b1da8c45546e0b03d0b05bd597a3ea1794f3b74de0b4d2
7
+ data.tar.gz: 95c4204b4d5a8cd7f302792eb159226243f41dfbc6968163de327440449db92190e890032870a42306f0e857ba994a51d66d7695b71619cefe0f560f777087bb
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v 0.3.2
2
+ - Ensure that we always call ActiveSet#paginate so that even default pagination instructions are inserted into the ActiveSet instace
1
3
  v 0.3.1
2
4
  - Change the name of the view helper method from `sort_link` to `sort_link_for`
3
5
  - Change the name of the view helper method from `paginate` to `pagination_links_for`
@@ -48,7 +48,7 @@ module ActionSet
48
48
 
49
49
  def paginate_set(set)
50
50
  active_set = ensure_active_set(set)
51
- active_set = active_set.paginate(paginate_structure) if paginate_params.any?
51
+ active_set = active_set.paginate(paginate_structure)
52
52
  active_set
53
53
  end
54
54
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActionSet
4
- VERSION = '0.3.1'
4
+ VERSION = '0.3.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionset
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Margheim
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-26 00:00:00.000000000 Z
11
+ date: 2017-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeset