ncore 2.0.7 → 2.0.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: 9e8ddfadecbc44cc598f232dd1a01eb6971943e6
4
- data.tar.gz: 8fb58c11b5a129683a62e510f2cb4b24de754dbc
3
+ metadata.gz: 77f85d81de1f0ce86e1a09f076021fe12adc8d57
4
+ data.tar.gz: 9db4b0c8b58008e3c445e9290a41e040c40e6355
5
5
  SHA512:
6
- metadata.gz: e1ecef6f44ffac66086639f6fb1ba9d6742c241f9f2f11c505361562249a1701d8f80bf5f7dbb38f961d296a142d9b87180b08e274edd3324c5a3ef03535acbd
7
- data.tar.gz: 8009fa7beefffe6d43c55964580ceec6071e8f54f6d1f42d8f4441f24eddca82e419b678b96e1741908f7d70c2ec9fd24cf39ddbd15cfc4228dccc1df71a5e7f
6
+ metadata.gz: e2f49e2eaf63da42622eaf01fc31a8681c3d4809220a5a2be5fb2b9a85b5662357f3406d0ed2c88f4b1e14cce0dc693a616b7a031fd9398de7e96b87e1a4d630
7
+ data.tar.gz: eb3464245363c1b55a8c497ba7fd63b52cc4c3189abb0aeadc758c05ecba6332b6e0711648a30f322e5f237049f44200a649485ca12c449f2d49d187ba94a9e0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ #### 2.0.8
2
+
3
+ - Properly handle grandchild credentials objects
4
+
1
5
  #### 2.0.7
2
6
 
3
7
  - Accept ActionController::Parameters objects as attribute params
data/lib/ncore/util.rb CHANGED
@@ -27,7 +27,7 @@ module NCore
27
27
  case val_or_enum
28
28
  when Hash
29
29
  if key = val_or_enum[:object]
30
- discover_class(key).new val_or_enum, api_creds
30
+ discover_class(key).new({data: val_or_enum}, api_creds)
31
31
  else
32
32
  val_or_enum
33
33
  end
data/lib/ncore/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module NCore
2
- VERSION = '2.0.7'
2
+ VERSION = '2.0.8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ncore
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.7
4
+ version: 2.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Notioneer Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-25 00:00:00.000000000 Z
11
+ date: 2017-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  version: '0'
141
141
  requirements: []
142
142
  rubyforge_project:
143
- rubygems_version: 2.6.10
143
+ rubygems_version: 2.6.13
144
144
  signing_key:
145
145
  specification_version: 4
146
146
  summary: NCore - Gem for building REST API clients