spark_api 1.3.25 → 1.3.26
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 +8 -8
- data/VERSION +1 -1
- data/lib/spark_api/models/concerns/savable.rb +2 -2
- data/spec/unit/spark_api/models/concerns/savable_spec.rb +10 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZmZlZWJkMzM5MDNjZjk3OTk1NTMxOGQwNmRiMTgyYjAyMmI5MjkwNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NWUzZjlmOGJkOWYwZjgyMWQzODZjNGE5OTgyNzYxNjc5ZTk4MzRkOA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MjM3MjdhOGMyZjUzMWE4NjY2MGE1MjBlNWQxYjQxZjM3YWNkYTAzMTlkMjUz
|
10
|
+
NjNhYjRkNjAyNzgxMDZkNzM0OWE1Y2MxZGU2NjBhZDk4MWMzOTEwZTFlN2U4
|
11
|
+
ZjExNjdlZTBhMDQxNTQ4ZGIxZTA2NWRjNDQxNzIzZjc5MTcyM2U=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OWZkMzAwNmY1ZDQ1MGQ2MWFjZDg0NjU1MDdhNTUxZjE1NmY2NDVhZTE4YWE4
|
14
|
+
YThmZjMwYjY2Y2YwMmI2NWY2ODMyOTZmMzI5ZWRmMGU5YTYzODZkMzJkNWQ2
|
15
|
+
MWQxZDA4YWU5ZGYzYjdiMzA0ZjVlYjRmMDU0YmIyZDVkMGNhZTU=
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.26
|
@@ -74,4 +74,14 @@ describe Concerns::Savable, "Model" do
|
|
74
74
|
s.should have_been_requested
|
75
75
|
end
|
76
76
|
|
77
|
+
describe "update_attributes" do
|
78
|
+
it "loads the attributes" do
|
79
|
+
model = MyExampleModel.new
|
80
|
+
new_attributes = {Name: "My Name"}
|
81
|
+
expect(model).to receive(:load).with(new_attributes, {})
|
82
|
+
expect(model).to receive(:save!)
|
83
|
+
model.update_attributes(new_attributes)
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
77
87
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spark_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Hornseth
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-10-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|