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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0c42c8984e3515ca6f1a98e02e774cfbf30b28e9
4
- data.tar.gz: e3fd6b0fa426195259d1b392dda98f55d5f9c9b7
3
+ metadata.gz: 156b40028c933cc59a604386a05f8c893f79cf81
4
+ data.tar.gz: c53d84d1a1c21e40a782c758981070088a0031bd
5
5
  SHA512:
6
- metadata.gz: 6ebeaa70b6b9eb739cd47aa8c8b9bec5b8d15b71efb99b6263c1327cab6a2b84866a2b304959d65542b9a1a94580b55445bd417f8fe302ae2708c2c45d5d27f6
7
- data.tar.gz: 4d72b3a0621f1d40fbaf0cf517cf35b7f1d17817422ede3273d22d0f5de2ec008456612337131b649916b45872fe3afb0b97970eae2e72a9870ed17b86fb3b6f
6
+ metadata.gz: 861de4c29391b0ca955e65487197e4ba1590066d09fd2da8e10db4f98a1b3a00267b1c9dda21bdf4c9394c3141b69f3d1402a1a90d5bf697ef70114c2deb9899
7
+ data.tar.gz: ee2148c4ab7e514380056b133d3319beb2f09df8985e701a1edfcc83d0762a5acf2ca57d535669faa6d7df41abfa5e6b84562fd90ce5dec6a48ec80ffe451a9d
@@ -1,6 +1,2 @@
1
- language: ruby
2
- rvm:
3
- - "1.9.3"
4
- - "2.0.0"
5
1
  # uncomment this line if your project needs to run something other than `rake`:
6
2
  # script: bundle exec rspec spec
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Atdis
4
- VERSION = "0.4.0"
4
+ VERSION = "0.4.1"
5
5
  end
@@ -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.0
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-25 00:00:00.000000000 Z
11
+ date: 2019-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler