springcm-sdk 1.0.0 → 1.0.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: bda471ab4007cc6a9f27e8be3fa16e9f4081520bcdf456413be1e45b202969b5
4
- data.tar.gz: 52b63c7b43d2a9f4256f2925d4b028c4c493a255315651b93ade97e2a63d2435
3
+ metadata.gz: 40e2f8ea23776b936fac832b0847e28d96e10914b0f1eecf8e24510c70229d24
4
+ data.tar.gz: 42361f4c723c5898692628ac5a472fbb05ccdfd4e4c0a7aacd615d1f42898734
5
5
  SHA512:
6
- metadata.gz: d7c365620c4b7c556c8f1eabf0c89800331bc47d40fd78650e0733c907d1462013d6d527cfb0fadf02df20acc2c922368ccb16c4c3639255fcd040f276fd5178
7
- data.tar.gz: 8ebe53f6ea3e116f90bdc6b6d153531ce21edaf55c012ab74e7c772ddbd82f72cfd933cbb951f42e1d2e2a4b1d7bcfaa6b57ba9598ce7e480f4b24516eb67253
6
+ metadata.gz: 7a049842b9d2ae0871d693d1acef6e8182f13b2e89a025c293d94ef4fcf316f7ae04e959d362a5146fcc5bee33a6baece0f55adf7fc79c9570abf0d8f7a76a75
7
+ data.tar.gz: b74ff429c3354b4130072fc290924087aaa9a06b296550d3b547445f48c6918f2d31a60161557544aeaa301409bec4afcf39e09aef8eecb2a354a56d8a8efb18
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to springcm-sdk will be documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [1.0.1] - 2020-02-14 ❤️
8
+ ### Fixed
9
+ * Bug with retrieving set fields
10
+
7
11
  ## [1.0.0] - 2020-02-14 ❤️
8
12
  ### Added
9
13
  * Setting object JSON properties
@@ -139,7 +143,7 @@ All notable changes to springcm-sdk will be documented in this file.
139
143
  ### Added
140
144
  * Initial release to reserve gem name
141
145
 
142
- [Unreleased]: https://github.com/paulholden2/springcm-sdk/compare/0.5.0...HEAD
146
+ [Unreleased]: https://github.com/paulholden2/springcm-sdk/compare/1.0.1...HEAD
143
147
  [0.1.0]: https://github.com/paulholden2/springcm-sdk/releases/tag/0.1.0
144
148
  [0.1.1]: https://github.com/paulholden2/springcm-sdk/releases/tag/0.1.1
145
149
  [0.1.2]: https://github.com/paulholden2/springcm-sdk/releases/tag/0.1.2
@@ -156,3 +160,4 @@ All notable changes to springcm-sdk will be documented in this file.
156
160
  [0.6.0]: https://github.com/paulholden2/springcm-sdk/releases/tag/0.6.0
157
161
  [0.6.1]: https://github.com/paulholden2/springcm-sdk/releases/tag/0.6.1
158
162
  [1.0.0]: https://github.com/paulholden2/springcm-sdk/releases/tag/1.0.0
163
+ [1.0.1]: https://github.com/paulholden2/springcm-sdk/releases/tag/1.0.1
@@ -26,10 +26,10 @@ module Springcm
26
26
  field_data = nil
27
27
  if set_config.nil?
28
28
  field_data = raw[field_name]
29
- elsif set_config.repeating_attribute?
29
+ elsif set_config["RepeatingAttribute"]
30
30
  raise RepeatableAttributeSetUsageError.new(group.name, name)
31
31
  else
32
- field_data = raw[set_config.name]["Attributes"][field_name]
32
+ field_data = raw[set_config["Name"]][field_name]
33
33
  end
34
34
  AppliedAttributeField.new(field_data, field_name, subject, self, nil, @client)
35
35
  end
@@ -1,3 +1,3 @@
1
1
  module Springcm
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: springcm-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Holden
@@ -192,7 +192,7 @@ metadata:
192
192
  allowed_push_host: https://rubygems.org
193
193
  homepage_uri: https://github.com/paulholden2/springcm-sdk
194
194
  source_code_uri: https://github.com/paulholden2/springcm-sdk
195
- documentation_uri: https://rubydoc.info/github/paulholden2/springcm-sdk/1.0.0
195
+ documentation_uri: https://rubydoc.info/github/paulholden2/springcm-sdk/1.0.1
196
196
  changelog_uri: https://github.com/paulholden2/springcm-sdk/blob/master/CHANGELOG.md
197
197
  post_install_message:
198
198
  rdoc_options: []