springcm-sdk 0.3.0 → 0.3.1

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
  SHA256:
3
- metadata.gz: 70227f140ad8a68e84bd32aec03aeb899633107045e5c851e40f8b7d73068ede
4
- data.tar.gz: bdc7c10bea0a4d8325816b55252d585a3d1898b53a040978023498e6f19cfb93
3
+ metadata.gz: a546bb4cea9225bbb56d6de872e9e867b0c1b6b2d1f4ca23b1f818f36208f0ca
4
+ data.tar.gz: c96ad3300b765899a2fbf334bdb5dd8ac815dc054977abc13c9896ed28ea7092
5
5
  SHA512:
6
- metadata.gz: 43a96d2cebb32bd566e90336517e0826bb21bf261a8c7b29e8c990ab087146fa530011d6086ef580691d01e3c065a0f5c85b52ad2d60e5ee0d66ebfbae836e6b
7
- data.tar.gz: cc362d457fd602088481a9f4de399f670f1ffc6f50992447be13084470c6d081eab94dbd4834b45429520743edd406b7d50ae215ae0c28bce0392129fbb45a0c
6
+ metadata.gz: fac21971b5cccb67c70837221cc025e64d9152da9b571ec4502a5bfb3f0a5d769e72ce2cfe2ad83e169f5b0aa5ec398b32ad1aeebc1131e7d4f162a29325dda7
7
+ data.tar.gz: 4bd8a20b8b3e811a23c592993157be5e9bfbe7cb9056780ae2f6de8443c87ff4774bf4e3b3f904934c9e1626f2576437f0caa9775d28d430e4aee7d9e461389e
data/CHANGELOG.md CHANGED
@@ -3,11 +3,33 @@
3
3
  All notable changes to springcm-sdk will be documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
+
7
+ ## [0.3.1]
8
+ ### Changed
9
+ * Folder#documents now properly returns a ResourceList
10
+
11
+ ## [0.3.0]
12
+ ### Added
13
+ * ResourceList class, for managing paged lists of e.g. Folders and Documents
14
+
15
+ ### Changed
16
+ * Folder#folders and Folder#documents now return a ResourceList
17
+
18
+ ## [0.2.0]
19
+ ### Changed
20
+ * Restructure code to match gem name
21
+
22
+ ## [0.1.2]
6
23
  ### Added
7
- * Folder object and API
24
+ * Account info retrieval
25
+ * CLI tool (not yet functional)
26
+ * Folder#folders method
27
+ * Document API
28
+ * Ability to test against live SpringCM, with provided credentials
8
29
 
9
30
  ### Changed
10
31
  * Client no longer accepts credentials with keyword arguments
32
+ * Improvements to Folder object
11
33
 
12
34
  ## [0.1.1] - 2019-07-17
13
35
  ### Added
@@ -22,6 +44,10 @@ All notable changes to springcm-sdk will be documented in this file.
22
44
  ### Added
23
45
  * Initial release to reserve gem name
24
46
 
25
- [Unreleased]: https://github.com/paulholden2/springcm-sdk/compare/0.1.1...HEAD
47
+ [Unreleased]: https://github.com/paulholden2/springcm-sdk/compare/0.3.1...HEAD
26
48
  [0.1.0]: https://github.com/paulholden2/springcm-sdk/releases/tag/0.1.0
27
49
  [0.1.1]: https://github.com/paulholden2/springcm-sdk/releases/tag/0.1.1
50
+ [0.1.2]: https://github.com/paulholden2/springcm-sdk/releases/tag/0.1.2
51
+ [0.2.0]: https://github.com/paulholden2/springcm-sdk/releases/tag/0.2.0
52
+ [0.3.0]: https://github.com/paulholden2/springcm-sdk/releases/tag/0.3.0
53
+ [0.3.1]: https://github.com/paulholden2/springcm-sdk/releases/tag/0.3.1
@@ -54,10 +54,7 @@ module Springcm
54
54
  end
55
55
  if res.success?
56
56
  data = JSON.parse(res.body)
57
- items = data["Items"].map { |item|
58
- Document.new(item, @client)
59
- }
60
- items
57
+ ResourceList.new(data, self, Document, @client)
61
58
  else
62
59
  nil
63
60
  end
@@ -1,3 +1,3 @@
1
1
  module Springcm
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: springcm-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Holden
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-11-07 00:00:00.000000000 Z
11
+ date: 2019-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -179,7 +179,7 @@ metadata:
179
179
  allowed_push_host: https://rubygems.org
180
180
  homepage_uri: https://github.com/paulholden2/springcm-sdk
181
181
  source_code_uri: https://github.com/paulholden2/springcm-sdk
182
- documentation_uri: https://rubydoc.info/github/paulholden2/springcm-sdk/0.3.0
182
+ documentation_uri: https://rubydoc.info/github/paulholden2/springcm-sdk/0.3.1
183
183
  changelog_uri: https://github.com/paulholden2/springcm-sdk/blob/master/CHANGELOG.md
184
184
  post_install_message:
185
185
  rdoc_options: []