kaminari 0.15.1 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of kaminari might be problematic. Click here for more details.
- data/.travis.yml +17 -4
- data/CHANGELOG.rdoc +25 -0
- data/README.rdoc +23 -6
- data/Rakefile +2 -2
- data/gemfiles/active_record_30.gemfile +7 -3
- data/gemfiles/active_record_31.gemfile +7 -3
- data/gemfiles/active_record_32.gemfile +7 -3
- data/gemfiles/active_record_40.gemfile +9 -5
- data/gemfiles/active_record_41.gemfile +24 -0
- data/gemfiles/active_record_edge.gemfile +7 -3
- data/gemfiles/data_mapper_12.gemfile +7 -3
- data/gemfiles/mongo_mapper.gemfile +7 -2
- data/gemfiles/mongoid_24.gemfile +2 -2
- data/gemfiles/mongoid_30.gemfile +2 -1
- data/gemfiles/mongoid_31.gemfile +1 -1
- data/gemfiles/mongoid_40.gemfile +14 -0
- data/gemfiles/sinatra_13.gemfile +7 -4
- data/gemfiles/sinatra_14.gemfile +14 -6
- data/lib/generators/kaminari/views_generator.rb +3 -3
- data/lib/kaminari/helpers/action_view_extension.rb +5 -25
- data/lib/kaminari/helpers/paginator.rb +10 -3
- data/lib/kaminari/helpers/sinatra_helpers.rb +33 -2
- data/lib/kaminari/helpers/tags.rb +12 -2
- data/lib/kaminari/hooks.rb +0 -1
- data/lib/kaminari/models/active_record_extension.rb +2 -2
- data/lib/kaminari/models/active_record_relation_methods.rb +4 -0
- data/lib/kaminari/models/array_extension.rb +8 -4
- data/lib/kaminari/models/data_mapper_collection_methods.rb +4 -0
- data/lib/kaminari/models/mongoid_criteria_methods.rb +13 -1
- data/lib/kaminari/models/mongoid_extension.rb +0 -12
- data/lib/kaminari/models/plucky_criteria_methods.rb +4 -0
- data/lib/kaminari/version.rb +1 -1
- data/spec/fake_app/active_record/config.rb +1 -1
- data/spec/fake_app/mongoid/config.rb +3 -1
- data/spec/fake_app/mongoid/models.rb +4 -0
- data/spec/fake_app/views/alternative/kaminari/_first_page.html.erb +1 -0
- data/spec/fake_app/views/alternative/kaminari/_paginator.html.erb +3 -0
- data/spec/generators/views_generator_spec.rb +18 -0
- data/spec/helpers/action_view_extension_spec.rb +17 -10
- data/spec/helpers/helpers_spec.rb +9 -0
- data/spec/helpers/sinatra_helpers_spec.rb +53 -0
- data/spec/models/array_spec.rb +23 -4
- data/spec/models/mongoid/mongoid_spec.rb +72 -1
- data/spec/spec_helper.rb +1 -0
- metadata +62 -32
- checksums.yaml +0 -7
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 60097f892941d91ad613d645b3bd289a9680661f
|
4
|
-
data.tar.gz: 5126f2a954a41a37418f9d61fa35f653273b5bb7
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 4f56bf9bb35c7c7e17c8665acdb25c1bac2f91815b8ed771ec7eab8c90afc11aabeaca322269a934aa9dfac1196e92401da099e5282801d0544658c078f8ce37
|
7
|
-
data.tar.gz: 38a6c284647b832ef51cc2951925de53fb137bcde55810b33edbe5759a7fb4911ade9f2795dce1bf5255305b8cccc9afba7195c61273abf756a8228ab3f131de
|