contentdm_api 0.3.7 → 0.3.8

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: 5969f0e856fd75f191b5fec15165b4bce9ef8c8f
4
- data.tar.gz: 063212d41f7b85e4a07b3b095a515fdbee1f4939
3
+ metadata.gz: c360b8c161aa3aabb878d689e3003b115a9d7db8
4
+ data.tar.gz: c04c8ad9223156ba3f08b28a973e68a49e823104
5
5
  SHA512:
6
- metadata.gz: ef99ce6753044bd1a0c4db59d74ab8ffbc592de4bef104df3b57e9f7fe60bb7ad2846bfbb235f4664b7f1377ff921751c7f1393c336328a27d76500452869565
7
- data.tar.gz: a7f4597b213989e2af406e896ebec8e8d79798eb798f2129a71ef0444a8b93e4b270954a54b9020caf02a4287f535d645864b77f2ddeda837c6fe7e2e7bdb91d
6
+ metadata.gz: b357fffcbd6504ee7e7d798d68bab1283bcad0f9cff50bf09ed6696d4280c0d220118f95d2d1fd0469cb41aebf1983f636fb1b7f0eccc367dd73532cd681bf17
7
+ data.tar.gz: ed18f0abbb8afc1a49493b16c60bea5f0eca481366e7e910b284e7c0d49c24d2acc65dede6c0ddc3e9b1b6d8d34f4d9d01e0e1663800d85428554c5aa05cb1e8
@@ -54,7 +54,7 @@ module CONTENTdmAPI
54
54
  def result
55
55
  return if values.first == {} && values.last == {}
56
56
  if values.length > 1
57
- values.first.merge('page' => values.last['page'])
57
+ values.first.merge('page' => values.last.fetch('page', []))
58
58
  else
59
59
  values.first
60
60
  end
@@ -1,3 +1,3 @@
1
1
  module CONTENTdmAPI
2
- VERSION = '0.3.7'.freeze
2
+ VERSION = '0.3.8'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contentdm_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chad Fennell