contentdm_api 0.3.3 → 0.3.4

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: 5c73455ad34520f79f10ffb03a5327f400f97279
4
- data.tar.gz: 91c9065b5d657d1f9bcc5b53b73fabcbaa3845c1
3
+ metadata.gz: cdaadc48837d0b67408665c633df70bb5daabc1d
4
+ data.tar.gz: 85706c81861c1b37aa945fc6acabc92df0d42b58
5
5
  SHA512:
6
- metadata.gz: a9708c79a18e3e0281e1bf744164accfedba2685d5271c5e57b8624f18778f6ecb7aa13ac1e98b436bd65e788e7883169309e442e27cb84dae9b0b71a0094de8
7
- data.tar.gz: 76291e09cce716aa7558d3b861a7cf4685d0eb33904c69831d57f33d0efd0621e64df90e63074661f9486cfc3fb2d7c017533a017574d45cc8e97f0f084d4d50
6
+ metadata.gz: 84e6bd566564656a1f99deb1d9962e52344f140e2c4dda79834489c2f1d2983f266f1a5c7d8fc9b511edccceca694681e91443c1c68c1faf0309e4000b494363
7
+ data.tar.gz: d4448598954cbd8918cd2d7f91bd314dbf05ff99f0f5985ec1236b8d8c51e12fdb3f4018989999d5f8a7af03e7d5a0e76876950d44af7bf099073781b7a8a13f
@@ -58,6 +58,7 @@ module CONTENTdmAPI
58
58
  def compounds(page)
59
59
  return [] unless with_compound
60
60
  page.map do |compound|
61
+ return {} unless compound.is_a?(Hash)
61
62
  compound.merge(self.class.new(base_url: base_url,
62
63
  collection: collection,
63
64
  id: compound['pageptr'],
@@ -1,3 +1,3 @@
1
1
  module CONTENTdmAPI
2
- VERSION = '0.3.3'.freeze
2
+ VERSION = '0.3.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contentdm_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chad Fennell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-01 00:00:00.000000000 Z
11
+ date: 2016-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler