ttc-gps 0.5.5 → 0.6.0

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.5
1
+ 0.6.0
@@ -128,7 +128,7 @@ module TTC
128
128
 
129
129
  # <stop lon='-79.5407149' title='Lake Shore Blvd W At 39th' tag='lake39th_e' dirTag='501_eastbound' stopId='6503' lat='43.5928211'/>
130
130
  class Stop
131
- attr_accessor :id, :title, :position, :dir, :tag
131
+ attr_accessor :id, :title, :position, :dir, :tag, :route_id
132
132
 
133
133
  def to_json *args
134
134
  {
@@ -136,7 +136,8 @@ module TTC
136
136
  'title' => @title,
137
137
  'position' => @position,
138
138
  'dir' => @dir,
139
- 'tag' => @tag
139
+ 'tag' => @tag,
140
+ 'routeId' => @route_id
140
141
  }.to_json(*args)
141
142
  end
142
143
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ttc-gps}
8
- s.version = "0.5.5"
8
+ s.version = "0.6.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Scott Hyndman"]
12
- s.date = %q{2010-11-25}
12
+ s.date = %q{2010-11-26}
13
13
  s.description = %q{Uses NextBus data.}
14
14
  s.email = %q{scotty.hyndman@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 5
8
- - 5
9
- version: 0.5.5
7
+ - 6
8
+ - 0
9
+ version: 0.6.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Scott Hyndman
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-25 00:00:00 -05:00
17
+ date: 2010-11-26 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency