atdis 0.3.6 → 0.3.7
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 +5 -1
- 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: 4c653cce18bfb433e1e323ad5980f11caac4f73f
|
4
|
+
data.tar.gz: 90fc39e50ba3a7459658260b6499ab3627e443a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7454c704f38b53e817f92375b2484629f2281a6e9fc6c20ee64a410c977474a3f40f96694fca73510f9a466890d0aaf25e9c8edb9f7303368aba1e2ea0af4e29
|
7
|
+
data.tar.gz: 91de8778c9f0fa6367a3d921331016aa5019f9e3571522b32c760aba7fb713ae123515ae6394d911e660b522fb18bb3fbb5bfce3840a0af9f631ce8a70e355fa
|
data/lib/atdis/feed.rb
CHANGED
data/lib/atdis/version.rb
CHANGED
data/spec/atdis/feed_spec.rb
CHANGED
@@ -86,7 +86,11 @@ describe ATDIS::Feed do
|
|
86
86
|
end
|
87
87
|
|
88
88
|
it do
|
89
|
-
|
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
|
91
|
+
|
92
|
+
it do
|
93
|
+
ATDIS::Feed.options_from_url("http://www.council.nsw.gov.au/atdis/1.0/applications.json?suburb=&postcode=2000").should == {postcode: "2000", suburb: nil}
|
90
94
|
end
|
91
95
|
end
|
92
96
|
|