cheap_ams 0.10.2 → 0.10.3

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: 03e8dea90f9b9cab4cce4f800c910014b7579a93
4
- data.tar.gz: f27cc9fc0450587b11d012b4752cb62da155a65b
3
+ metadata.gz: ca061de19714fd3610caebaf8bba44151ee29b1a
4
+ data.tar.gz: 026a16914892dfc0671e524bd1e4072ce5de9111
5
5
  SHA512:
6
- metadata.gz: f76748de5d59b321659fa06515a069bf2563509236f2e80f0f3756624fea18670b5c0c4cff0acd48277f9dd9afa349cdcde0343eaf7613efda51537741634fa8
7
- data.tar.gz: 96ffc4f94c58ffd3f2c32a97b011fd0faef25ef991b6bd6a34a3287bffe3bcc8d4e7b92c7196a470fd811153585889af2734352bd7cb8aac2e2b157bb2fcaa36
6
+ metadata.gz: 95ca53dd0fbba8cc2347c005fc777bb7186f3c65ed4bb176aa2cbdff4998a6e317ca5dc99a6f649d9c4edcef3529970c47c44cff7584f5fb9ab86107c095654b
7
+ data.tar.gz: 6d1851ace815bdf473f25aa6ad66d47fa9a21776232449c5683ff4e0e5fea79ac30ba0d301881bb6532115684b4d2ab468f106311f416f2260507dc42863ecd5
@@ -162,7 +162,7 @@ module ActiveModel
162
162
  end
163
163
 
164
164
  def add_links(options)
165
- links = @hash.fetch(:links) { {} }
165
+ links = @hash.fetch(:meta) { {} }
166
166
  resources = serializer.instance_variable_get(:@resource)
167
167
  @hash[:meta] = add_pagination_links(links, resources, options) if is_paginated?(resources)
168
168
  end
@@ -1,5 +1,5 @@
1
1
  module ActiveModel
2
2
  class Serializer
3
- VERSION = "0.10.2"
3
+ VERSION = "0.10.3"
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.2
4
+ version: 0.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Klabnik