spark_api 1.4.23 → 1.4.24
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/property_types.rb +5 -0
- data/spec/unit/spark_api/models/property_types_spec.rb +12 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NjU2ZTQ1NGNmOTEyYmMzNmY2MWMzMjg2ZmI4YTc3NGNmNTg3NzkzYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZGY1YjFkNjBjYTBiOGExZWUwZDIzNzk5ZTMzMGFiMmIzMDg2YzYyNg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDAxMzg0ZmI0ZjYyMzYxOWMzYTcwYTBiMmNlNzJjNWM2ZTkyMWNjNzYxYWU0
|
10
|
+
YzEyNjA4NTM2NGJjY2FiNzIxNzFmZWIyZmNiZTM4MWVkMjg0NjIxNjAyYWRm
|
11
|
+
MDgxN2VhYjU5OWM0NjJjNWU5MGQ1MGViZTUwMzY0OGQ2ODYzNzQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MWExMjNiZGRiOTJhMTU1NTg5ZDI0MjNkNmU5NmMyYjc2ZjcwMWU0MGU3MGIz
|
14
|
+
NTA1MzIzMTY3YjcxZDBlMGQ2YzdlMTg3OTVjMzMzMTQwMTMxZjIwZDViMDAz
|
15
|
+
MDVjMDZhOGI0MjNkNTA5ZjdjYjUxNzllM2M1ZTBlNzc4NDFlNGU=
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.24
|
@@ -1,12 +1,6 @@
|
|
1
1
|
require './spec/spec_helper'
|
2
2
|
|
3
3
|
describe PropertyTypes do
|
4
|
-
before(:each) do
|
5
|
-
@proptypes = PropertyTypes.new({
|
6
|
-
"MlsName"=>"Residential",
|
7
|
-
"MlsCode"=>"A"
|
8
|
-
})
|
9
|
-
end
|
10
4
|
|
11
5
|
it "should respond to get" do
|
12
6
|
PropertyTypes.should respond_to(:get)
|
@@ -26,8 +20,18 @@ describe PropertyTypes do
|
|
26
20
|
end
|
27
21
|
end
|
28
22
|
|
29
|
-
|
30
|
-
|
23
|
+
describe "/propertytypes/all", :support do
|
24
|
+
before(:each) do
|
25
|
+
stub_auth_request
|
26
|
+
end
|
27
|
+
|
28
|
+
on_get_it "should return a list of all property types" do
|
29
|
+
stub_api_get("/propertytypes/all", "property_types/property_types.json")
|
30
|
+
|
31
|
+
types = PropertyTypes.all
|
32
|
+
types.should be_an(Array)
|
33
|
+
types.count.should be(6)
|
34
|
+
end
|
31
35
|
end
|
32
36
|
|
33
37
|
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.4.
|
4
|
+
version: 1.4.24
|
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: 2018-06-
|
12
|
+
date: 2018-06-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|