atdis 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/atdis/feed.rb +1 -1
- data/lib/atdis/version.rb +1 -1
- data/spec/atdis/feed_spec.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff5e34131aa9ef946acbba27e88f82724b0e3a47
|
4
|
+
data.tar.gz: 50f07ec4c8266b1c38ccaad0464b371ed5bffb91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5bd3343519a9d365637feb7da90300024481a54300646cf9ed6f3c87eb0cf90e14ed53b82961f55f26176b5338675b68445955e0da764acf975d47b557c56f5
|
7
|
+
data.tar.gz: 264f166d23ca05825ea71fb381597c209ead1dc49661a5ab2dab60eae9860cdc5f7a83570ba44e66c6b757494ebb86ab36cab88e26f7abab82b07cac3b2c894b
|
data/lib/atdis/feed.rb
CHANGED
data/lib/atdis/version.rb
CHANGED
data/spec/atdis/feed_spec.rb
CHANGED
@@ -84,6 +84,10 @@ describe ATDIS::Feed do
|
|
84
84
|
it "should assume that any query parameters that are not recognised are part of the base_url" do
|
85
85
|
ATDIS::Feed.options_from_url("http://www.foo.nsw.gov.au/prefix/atdis/1.0/applications.json?postcode=2000&foo=bar").should == {postcode: "2000"}
|
86
86
|
end
|
87
|
+
|
88
|
+
it do
|
89
|
+
ATDIS::Feed.options_from_url("http://www.council.nsw.gov.au/atdis/1.0/applications.json?suburb=willow+tree,foo,bar").should == {suburb: "willow tree,foo,bar"}
|
90
|
+
end
|
87
91
|
end
|
88
92
|
|
89
93
|
describe "#application_url" do
|