atdis 0.4.0 → 0.4.1
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 +4 -4
- data/.travis.yml +0 -4
- data/lib/atdis/models/page.rb +2 -2
- data/lib/atdis/version.rb +1 -1
- data/spec/atdis/models/page_spec.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 156b40028c933cc59a604386a05f8c893f79cf81
|
|
4
|
+
data.tar.gz: c53d84d1a1c21e40a782c758981070088a0031bd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 861de4c29391b0ca955e65487197e4ba1590066d09fd2da8e10db4f98a1b3a00267b1c9dda21bdf4c9394c3141b69f3d1402a1a90d5bf697ef70114c2deb9899
|
|
7
|
+
data.tar.gz: ee2148c4ab7e514380056b133d3319beb2f09df8985e701a1edfcc83d0762a5acf2ca57d535669faa6d7df41abfa5e6b84562fd90ce5dec6a48ec80ffe451a9d
|
data/.travis.yml
CHANGED
data/lib/atdis/models/page.rb
CHANGED
|
@@ -64,11 +64,11 @@ module ATDIS
|
|
|
64
64
|
end
|
|
65
65
|
|
|
66
66
|
def previous_page
|
|
67
|
-
Page.read_url(previous_url) if previous_url
|
|
67
|
+
Page.read_url(previous_url, timezone) if previous_url
|
|
68
68
|
end
|
|
69
69
|
|
|
70
70
|
def next_page
|
|
71
|
-
Page.read_url(next_url) if next_url
|
|
71
|
+
Page.read_url(next_url, timezone) if next_url
|
|
72
72
|
end
|
|
73
73
|
end
|
|
74
74
|
end
|
data/lib/atdis/version.rb
CHANGED
|
@@ -409,7 +409,8 @@ describe ATDIS::Models::Page do
|
|
|
409
409
|
n = double("Page")
|
|
410
410
|
applications_results
|
|
411
411
|
expect(ATDIS::Models::Page).to receive(:read_url).with(
|
|
412
|
-
"http://www.council.nsw.gov.au/atdis/1.0/applications.json?page=3"
|
|
412
|
+
"http://www.council.nsw.gov.au/atdis/1.0/applications.json?page=3",
|
|
413
|
+
"UTC"
|
|
413
414
|
).and_return(n)
|
|
414
415
|
expect(applications_results.next_page).to eq n
|
|
415
416
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: atdis
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthew Landauer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-05-
|
|
11
|
+
date: 2019-05-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|