paginate-responder 1.8.0 → 2.0.0

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
  SHA256:
3
- metadata.gz: 2f44ce9f98a85e03ae656db512564e7d9ce3263c1af1e4ec4d7c484a7f3a29f2
4
- data.tar.gz: 7c66f7d57534805c6ed6109072e55e5e42ac816e5c4e2454e5c4788c0d22002b
3
+ metadata.gz: 3c0dad22bf8721f6e89e65e97553f7f7609b751851f657934943f29048065ff9
4
+ data.tar.gz: 21505e8c7bb089eada2e3bb2845a0bfac72ee48c145efb9039c8825635d99314
5
5
  SHA512:
6
- metadata.gz: 3288c6abccc463b074bcf01066ea71b1a3e80351a396002bd60d23f8e30f3cd184038ebc0d63d809ddd782617719d7f1a720142ce3338f1d0e166a8295b03d79
7
- data.tar.gz: a8a9f0672d0a1bff70dc16809d20c1f8f3566d2859dc9222b17def372eff1f4a3e13614232569244b1ceeafed19bbcee2f5bea59d62d5f5265cbb5d36aa57f54
6
+ metadata.gz: cf23527d28554dceb5d8ec790b1f3a7baff54d63541703c205c9de69acf8f0cd0037b63829df7985a500aa9a590f2a477a80d89b39c55e82acb4294f117bda4e
7
+ data.tar.gz: ba948de0df39c1514a4ac6fdcae03ef616d0006a5e4337df6003ed8a02a74dd34a848dcdb6e1caa68c35b3bc623d740bada615bf798144ee1e3a4a40c2a9f409
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## 2.0.0 - 2019-02-19
10
+ ### Changed
11
+ * Override respond, not to_format for compatibility with decorate-responder 2.0 (#17)
12
+
9
13
  ## 1.8.0 - 2019-02-19
10
14
  ### Added
11
15
  * Support for pagination using `pagy` gem (#14)
@@ -1,7 +1,7 @@
1
1
  module PaginateResponder
2
2
  module VERSION
3
- MAJOR = 1
4
- MINOR = 8
3
+ MAJOR = 2
4
+ MINOR = 0
5
5
  PATCH = 0
6
6
  STAGE = nil
7
7
 
@@ -1,6 +1,6 @@
1
1
  module Responders
2
2
  module PaginateResponder
3
- def to_format
3
+ def respond
4
4
  paginate! if get?
5
5
 
6
6
  super
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paginate-responder
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Graichen