contentdm_api 0.3.10 → 0.3.11

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: e404ef195d629d4b4033bb60cd07ee42f371600d
4
- data.tar.gz: a23b64b53391c519b4b708b286c14478382645f7
3
+ metadata.gz: 1091e4cac477eae6eb4b55d3ef21439e96bac753
4
+ data.tar.gz: 6f842e4a860ab125cb457533ca5379123b25eb7c
5
5
  SHA512:
6
- metadata.gz: c9a4e8a92d52aa85788123d472939868000f2108dc717457d365aad9965c1c6e4b49a24f2509f0e66ae375c5d983afd3e91fd55153c3baf08667c0c3686f8c24
7
- data.tar.gz: a905df0911346e74ef562fbe1fa897af3bfa59763c89267d1de2766680f93f87faf7a4d799a49e0f8438e6f9327ec924f6c180b84c5d9071684c0cbf9f5a3fda
6
+ metadata.gz: d5a3aed8e06a2123112c03ec2feb4e15d8e1efe02fb6e934c52ef99cf38f041189b4bd56c3cbebe4bd5211c8c76bc11721225a3e50fcbca561c34f95aff92190
7
+ data.tar.gz: d713927f824498d0702a51ede9c946e6b5ae2c956448c564146ceeebcc625574bd6970734b4828887a785b99851e04e5952f7a9796b45cabb95f3e63df204b1e
@@ -63,7 +63,7 @@ module CONTENTdmAPI
63
63
  end
64
64
 
65
65
  def compounds(page)
66
- page.map do |compound|
66
+ [page].flatten.map do |compound|
67
67
  # API gives inconsistent results
68
68
  return {} unless compound.is_a?(Hash)
69
69
  compound.merge(self.class.new(base_url: base_url,
@@ -1,3 +1,3 @@
1
1
  module CONTENTdmAPI
2
- VERSION = '0.3.10'.freeze
2
+ VERSION = '0.3.11'.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.10
4
+ version: 0.3.11
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-13 00:00:00.000000000 Z
11
+ date: 2017-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler