cheap_ams 0.10.1 → 0.10.2

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
  SHA1:
3
- metadata.gz: e49ad43ef5a90eda0c99d271dee8d338d5ee6397
4
- data.tar.gz: 99060a68aa40eefbf2e0c3f0c8bfe68d40f8e20c
3
+ metadata.gz: 03e8dea90f9b9cab4cce4f800c910014b7579a93
4
+ data.tar.gz: f27cc9fc0450587b11d012b4752cb62da155a65b
5
5
  SHA512:
6
- metadata.gz: f3aacc1a7c75274d158fe1b9350bcd346c6ebc3a698337420775ba45db0741e15c45a54e7f3cd9d353705b40fcc8aaa96c1e0aad2b6d4882bd1df0bb12b4a223
7
- data.tar.gz: d97b638b13ad3e00802432c7a9ccd0b890dbd137db2f35ff565a96cb10863b5ad3275f320e8c952ea5b3a6ab116178c1ea84fae0267e0957a103616bd3e89630
6
+ metadata.gz: f76748de5d59b321659fa06515a069bf2563509236f2e80f0f3756624fea18670b5c0c4cff0acd48277f9dd9afa349cdcde0343eaf7613efda51537741634fa8
7
+ data.tar.gz: 96ffc4f94c58ffd3f2c32a97b011fd0faef25ef991b6bd6a34a3287bffe3bcc8d4e7b92c7196a470fd811153585889af2734352bd7cb8aac2e2b157bb2fcaa36
@@ -164,7 +164,7 @@ module ActiveModel
164
164
  def add_links(options)
165
165
  links = @hash.fetch(:links) { {} }
166
166
  resources = serializer.instance_variable_get(:@resource)
167
- @hash[:links] = add_pagination_links(links, resources, options) if is_paginated?(resources)
167
+ @hash[:meta] = add_pagination_links(links, resources, options) if is_paginated?(resources)
168
168
  end
169
169
 
170
170
  def add_pagination_links(links, resources, options)
@@ -1,5 +1,5 @@
1
1
  module ActiveModel
2
2
  class Serializer
3
- VERSION = "0.10.1"
3
+ VERSION = "0.10.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cheap_ams
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Klabnik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-02 00:00:00.000000000 Z
11
+ date: 2015-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel