spark_api 1.4.4 → 1.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/VERSION +1 -1
- data/lib/spark_api/models/defaultable.rb +2 -1
- data/spec/unit/spark_api/models/defaultable_spec.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MTEyOThiZGRiYTUwYzRiYTNhOTA1YWUxM2Y3N2RjMDdjZjU2OGUyOA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NWQ1MTJjYjUyODU0ZjJiNjczNzE5MGQ3YzBmYTMzODBjZTIxODU4MA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NmI2NmZhMjRhOTI1ZDZhMTc5N2NiMmY2YjE2ZDEyYmNkOGM4MDhhOGE2MmM4
|
10
|
+
NWYwZTYyYzA1YjlmOGViYzBkMTM2Mjc2Mzc4OGE4MWI0ZjAyMDdiZmI5MTI5
|
11
|
+
ZDkxYjMyZDFjODFhODE1M2RlZjVjZjQzYzlhMjMxYmEyMDhiZmE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDNhYTg3NmVjYjUzNjhmM2VlMzE4YjNiNTQwOGI5NWFiZDAwZWFmN2FiYjE0
|
14
|
+
NWM3NDVkZjgyNmZmOTk3NzE3ZmY5NGRmMGQ3ZTlkMWUwMzNlMTc2ZDhiMzhm
|
15
|
+
NjE0MDMyZTNiOTUxZDA5MjRlN2JiNDI3MjI3ZDFlMDI5MGE1MmE=
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.5
|
@@ -43,6 +43,11 @@ describe Defaultable do
|
|
43
43
|
TestClass.find(TestClass::DEFAULT_ID)
|
44
44
|
end
|
45
45
|
|
46
|
+
it "passes options to 'default'" do
|
47
|
+
expect(TestClass).to receive(:default).with(foo: true)
|
48
|
+
TestClass.find(TestClass::DEFAULT_ID, foo: true)
|
49
|
+
end
|
50
|
+
|
46
51
|
it "calls Finders.find when given a normal id" do
|
47
52
|
connection = double
|
48
53
|
expect(connection).to receive(:get).with("/testclass/5", {foo: true}).and_return([{}])
|
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.4.
|
4
|
+
version: 1.4.5
|
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: 2016-
|
12
|
+
date: 2016-07-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|