echelon 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,7 +16,7 @@ module Echelon
16
16
  # fetch the json feed
17
17
  url = "http://dparks.uiemedia.net/dmm_v2/jsondata/JsonUpdateData?version=14&p=80007823"
18
18
  resp = Net::HTTP.get_response(URI.parse(url))
19
- data = resp.body[2..-1]
19
+ data = resp.body
20
20
 
21
21
  # were only interested in the ride data, throw everything else away
22
22
  json_data = JSON.parse(data)
@@ -16,7 +16,7 @@ module Echelon
16
16
  # fetch the json feed
17
17
  url = "http://dparks.uiemedia.net/dmm_v2/jsondata/JsonUpdateData?version=14&p=80007838"
18
18
  resp = Net::HTTP.get_response(URI.parse(url))
19
- data = resp.body[2..-1]
19
+ data = resp.body
20
20
 
21
21
  # were only interested in the ride data, throw everything else away
22
22
  json_data = JSON.parse(data)
@@ -16,7 +16,7 @@ module Echelon
16
16
  # fetch the json feed
17
17
  url = "http://dparks.uiemedia.net/dmm_v2/jsondata/JsonUpdateData?version=14&p=80007998"
18
18
  resp = Net::HTTP.get_response(URI.parse(url))
19
- data = resp.body[2..-1]
19
+ data = resp.body
20
20
 
21
21
  # were only interested in the ride data, throw everything else away
22
22
  json_data = JSON.parse(data)
@@ -16,7 +16,7 @@ module Echelon
16
16
  # fetch the json feed
17
17
  url = "http://dparks.uiemedia.net/dmm_v2/jsondata/JsonUpdateData?version=14&p=80007944"
18
18
  resp = Net::HTTP.get_response(URI.parse(url))
19
- data = resp.body[2..-1]
19
+ data = resp.body
20
20
 
21
21
  # were only interested in the ride data, throw everything else away
22
22
  json_data = JSON.parse(data)
@@ -16,7 +16,7 @@ module Echelon
16
16
  # fetch the json feed
17
17
  url = "http://dparks.uiemedia.net/dmm_v2/jsondata/JsonUpdateData?version=14&p=336894"
18
18
  resp = Net::HTTP.get_response(URI.parse(url))
19
- data = resp.body[2..-1]
19
+ data = resp.body
20
20
 
21
21
  # were only interested in the ride data, throw everything else away
22
22
  json_data = JSON.parse(data)
@@ -16,7 +16,7 @@ module Echelon
16
16
  # fetch the json feed
17
17
  url = "http://dparks.uiemedia.net/dmm_v2/jsondata/JsonUpdateData?version=14&p=330339"
18
18
  resp = Net::HTTP.get_response(URI.parse(url))
19
- data = resp.body[2..-1]
19
+ data = resp.body
20
20
 
21
21
  # were only interested in the ride data, throw everything else away
22
22
  json_data = JSON.parse(data)
@@ -1,3 +1,3 @@
1
1
  module Echelon
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: echelon
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Lloyd Pick
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-06-08 00:00:00 Z
18
+ date: 2012-08-21 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: bundler