cheap_ams 0.10.7 → 0.10.8

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: 45f1d5d54eeb6d04d577524cd588cf78ae4e9793
4
- data.tar.gz: d8b202d9e2a3dd870b9e83ca3a6d2dfd3790b01e
3
+ metadata.gz: c11a7633ccf053404efecf2697bfd9752aae2c9f
4
+ data.tar.gz: bd233c341599ef68b1675006e377f2c42c324d59
5
5
  SHA512:
6
- metadata.gz: fe78167707680e9a2da8fe8cc84d26ca4858b671444b1df648b11522839ec20bea241cd432df815d88aaf13fbab01661cd47f02b2437014713c74aa5f7a78507
7
- data.tar.gz: 96e5830115fcb6aa3e6605f260f67b0ba3036b90ab00434f34bc4a4aa85d55196394fce56a4bb1e39aa27685df3040e1a63f77af2f6f2cfe3e514f13b531dd69
6
+ metadata.gz: d0490358ba5efc8a4b511ed881e2a4e1b7eec74fe9718fdeaec1439715a934ed60e4131725a05fc5ce2b8486ebb0a4fad7899ea8c544cc32933d6f7f8eb09a16
7
+ data.tar.gz: 4ea5b8af5728285995945cdd8095f25ecadb444cd6919c0ad846865e1e44e849fa4216cd704b2880a404155839efbfdd185b8b901616a2c41f86b2363334a854
@@ -158,7 +158,7 @@ module ActiveModel
158
158
  def add_links(options)
159
159
  links = @hash.fetch(:meta) { {} }
160
160
  collection = serializer.object
161
- @hash[:meta] = add_pagination_links(links, collection, options) if is_paginated?(collection)
161
+ @hash[:meta] = add_pagination_links(links, collection, options) if paginated?(collection)
162
162
  end
163
163
 
164
164
  def add_pagination_links(links, collection, options)
@@ -1,5 +1,5 @@
1
1
  module ActiveModel
2
2
  class Serializer
3
- VERSION = "0.10.7"
3
+ VERSION = "0.10.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cheap_ams
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.7
4
+ version: 0.10.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Klabnik