restforce 4.2.1 → 4.2.2
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/restforce/mash.rb +1 -1
- data/lib/restforce/version.rb +1 -1
- data/spec/unit/mash_spec.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 414c3c4cb8ef46b5f943d190aa10d750c58c06d18ab280ba5dd34883cc684a80
|
|
4
|
+
data.tar.gz: fa27e1d169c51af87ef5a2a10c80ffe9619f01f34efc54778a92361147b37e2a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 227bb7793df6e71fda10d1c3d89b77c066525f0d5dee759a06900cec3bee8e7c2361cc395681a3cd0b0d547b16afb13bd19f707c750372357fd95da1697e4e12
|
|
7
|
+
data.tar.gz: bfe499dc745c3f32d624cad78dbafc1c5b3777b4381d6ead38eeaae026d489ec22aa2719c0607b8923f0889744b87bf5a35694f201fd22d9418a5aefcf1f0a4d
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
data/lib/restforce/mash.rb
CHANGED
data/lib/restforce/version.rb
CHANGED
data/spec/unit/mash_spec.rb
CHANGED
|
@@ -33,6 +33,11 @@ describe Restforce::Mash do
|
|
|
33
33
|
let(:input) { { 'attributes' => { 'type' => 'Document' } } }
|
|
34
34
|
it { should eq Restforce::Document }
|
|
35
35
|
end
|
|
36
|
+
|
|
37
|
+
context 'when the attributes value is nil' do
|
|
38
|
+
let(:input) { { 'attributes' => nil } }
|
|
39
|
+
it { should eq Restforce::SObject }
|
|
40
|
+
end
|
|
36
41
|
end
|
|
37
42
|
|
|
38
43
|
context 'else' do
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: restforce
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.2.
|
|
4
|
+
version: 4.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eric J. Holmes
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2020-01-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: faraday
|