Commit Graph

21 Commits

Author SHA1 Message Date
Akira Matsuda acbcbc8beb Format 2018-11-11 13:04:43 +09:00
Yuki Nishijima 62ec743dce Make sure #page_entries_info accepts a decorated object
fixes #939
2018-03-08 11:50:19 -05:00
Yuki Nishijima 38e95a262a Add url_to_next_page and url_to_prev_page helper methods
closes #861
2018-03-07 17:10:54 -05:00
Yuki Nishijima e32c61cf6e Fixed a bug where overriding `params` stopped working
closes #919
2017-10-17 15:08:25 -04:00
Yuki Nishijima de92f065e3 Move the fix for Rails 5's AC::Parameters out of the top-level Tag class 2017-09-25 17:48:41 +09:00
Hirofumi Wakasugi 686e27fbaf Fix URL generation when explicitly passing params to link helpers 2017-08-21 10:37:36 +09:00
Maria Khait 28f0c701fa move i18n translations into a setup do in test 2017-07-17 07:07:52 -04:00
Maria Khait 451c51dda8 add pluralisation based on locale setup for any language 2017-07-10 08:01:18 -04:00
Yuki Nishijima 5df6c42ec8 Revert "add option: entry name with case sensitive in I18n" 2017-01-21 10:03:56 -05:00
Kacper Tarchała 4c56712ed2 resolve kaminari/kaminari#850
resolve kaminari/kaminari#850
2017-01-20 12:02:57 +01:00
Akira Matsuda 0c63f756e9 Be sure to reset all inserted test data 2017-01-07 12:08:21 +09:00
Akira Matsuda 7692ec2407 Less RSpec-ism 2017-01-07 12:08:19 +09:00
Akira Matsuda ebb2821306 kaminari-sinatra currently depends on Action View but doesn't load Kaminiari::ActionView 2016-12-14 14:23:44 +09:00
Akira Matsuda d1f12423e1 This test depends on ActionView 2016-12-14 14:00:37 +09:00
Akira Matsuda 92e1604d5d Test which tags are actually rendered by the paginator
this includes a regression test for #310
2016-12-13 11:26:59 +09:00
Akira Matsuda 3ab161e8c3 Deprecate max_pages_per in favor of max_pages for configuring max_pages
Because "per" in the method name doesn't make sence to me.
This configuration is not about per_page value.
2016-12-02 09:48:23 +09:00
Akira Matsuda 6a1e5952db Tests for link_to_{previous,next}_page with block 2016-11-24 18:39:11 +09:00
Akira Matsuda 1353aa4978 Oops 2016-11-24 11:37:41 +09:00
Akira Matsuda fd542d6565 Let it be explicit that page_entries_info currently uses no other option than entry_name 2016-11-23 12:21:46 +09:00
Akira Matsuda 721654ca75 #️⃣ 🚀 🔞 2016-11-22 22:16:57 +09:00
Akira Matsuda f33e2566a6 RSpec => Test/Unit 2016-11-22 21:52:33 +09:00