mass_highways 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e9e645e6088037a00b7149f009ff0666fed86fa
4
- data.tar.gz: 917f62025a5fae6c57bc6703124990a0b41d997f
3
+ metadata.gz: b41c4e0761da78098fe016dfdac8a8a5e3edda3d
4
+ data.tar.gz: 4cc637ee4a2c1364935b2c4cfd7fd5b6aae5797c
5
5
  SHA512:
6
- metadata.gz: 87246c023e71f5b693bf013191f83ce5d04da02e77b72d9ec9ebf186089de2a9eeba8955604c0787d4250b6d2178b0bbe15c96d98616a562831b2a14a46415d9
7
- data.tar.gz: b64d1bec56a49d93997fa9540e0afc6902b7699af7f1ec7aae83b540455295cbd160c0b136c85a771a5697184fe5ac8797825d0bce72563eebf941a55a715419
6
+ metadata.gz: 4b9eba01feaba3fc3c709d38ae83e9edfac8b20eac5dd1c7bf07f68d8e68c96b9b3c8aab9cf0b62f58f4e7d2f37ed754142f64bb01c55a391b4d9adde93c68c2
7
+ data.tar.gz: 95f576639d79bf67c02444e1034d012063f22443d3ed7d08633abf8fcb6ae40a0426ccbe37cc42528e1ce8dc6a73c4e8110c0478675cadebfece26c1bc177690
@@ -5,6 +5,7 @@ module MassHighways
5
5
  :roadway_name, :direction, :location_type, :primary_latitude, :primary_longitude,
6
6
  :secondary_latitude, :secondary_longitude, :location_description,
7
7
  :lane_blockage_description, :recurrence_description
8
+ alias :read_attribute_for_serialization :send
8
9
  def self.parse(node)
9
10
  event = self.new
10
11
  event.event_id = node.search('EventId').first.text.to_i
@@ -2,6 +2,7 @@ module MassHighways
2
2
  class Pair
3
3
  attr_accessor :title, :direction, :origin, :destination, :speed, :freeflow, :status, :route, :pair_id, :travel_time, :stale
4
4
 
5
+ alias :read_attribute_for_serialization :send
5
6
  def initialize
6
7
  @route = []
7
8
  end
@@ -1,3 +1,3 @@
1
1
  module MassHighways
2
- VERSION = "0.0.1"
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mass_highways
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan McClain
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-03 00:00:00.000000000 Z
11
+ date: 2014-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon