ttc-gps 0.7.0 → 0.7.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.
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009 shyndman
1
+ Copyright (c) 2011 Scott Hyndman
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.rdoc CHANGED
@@ -1,17 +1,10 @@
1
- = ttc-gps
1
+ = ttc-gps-gem
2
2
 
3
- Description goes here.
3
+ A service for consuming TTC streetcar GPS data.
4
4
 
5
- == Note on Patches/Pull Requests
6
-
7
- * Fork the project.
8
- * Make your feature addition or bug fix.
9
- * Add tests for it. This is important so I don't break it in a
10
- future version unintentionally.
11
- * Commit, do not mess with rakefile, version, or history.
12
- (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
13
- * Send me a pull request. Bonus points for topic branches.
5
+ The project is far from complete, and is lacking cohesiveness in a number of ways.
6
+ There are unused methods all over the place and no automated tests. This will change.
14
7
 
15
- == Copyright
8
+ === Copyright
16
9
 
17
- Copyright (c) 2010 shyndman. See LICENSE for details.
10
+ Copyright (c) 2011 Scott Hyndman. See LICENSE for details.
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ begin
8
8
  gem.summary = %Q{A service for consuming TTC streetcar GPS data.}
9
9
  gem.description = %Q{Uses NextBus data.}
10
10
  gem.email = "scotty.hyndman@gmail.com"
11
- gem.homepage = "http://github.com/shyndman/ttc-gps"
11
+ gem.homepage = "http://github.com/shyndman/ttc-gps-gem"
12
12
  gem.authors = ["Scott Hyndman"]
13
13
  gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
14
14
  gem.add_development_dependency "geokit", ">= 0"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.0
1
+ 0.7.1
@@ -34,12 +34,12 @@ end
34
34
  module TTC
35
35
  # <vehicle lon='-79.3582' secsSinceReport='7' predictable='true' speedKmHr='0.0' dirTag='504_westbound' id='4142' heading='54' lat='43.677082' routeTag='504'/>
36
36
  class Vehicle
37
- attr_accessor :id, :route, :position, :heading, :dir, :secs_since_report, :ts, :predictable
37
+ attr_accessor :id, :route, :routeId, :position, :heading, :dir, :secs_since_report, :ts, :predictable
38
38
 
39
39
  def to_json *args
40
40
  {
41
41
  'id' => @id,
42
- 'route' => @route,
42
+ 'routeId' => @routeId,
43
43
  'position' => @position,
44
44
  'heading' => @heading,
45
45
  'dir' => @dir,
data/ttc-gps.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ttc-gps}
8
- s.version = "0.7.0"
8
+ s.version = "0.7.1"
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{2011-01-02}
12
+ s.date = %q{2011-01-03}
13
13
  s.description = %q{Uses NextBus data.}
14
14
  s.email = %q{scotty.hyndman@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -31,7 +31,7 @@ Gem::Specification.new do |s|
31
31
  "test/test_ttc-gps.rb",
32
32
  "ttc-gps.gemspec"
33
33
  ]
34
- s.homepage = %q{http://github.com/shyndman/ttc-gps}
34
+ s.homepage = %q{http://github.com/shyndman/ttc-gps-gem}
35
35
  s.require_paths = ["lib"]
36
36
  s.rubygems_version = %q{1.3.7}
37
37
  s.summary = %q{A service for consuming TTC streetcar GPS data.}
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 0
9
- version: 0.7.0
8
+ - 1
9
+ version: 0.7.1
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: 2011-01-02 00:00:00 -05:00
17
+ date: 2011-01-03 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -80,7 +80,7 @@ files:
80
80
  - test/test_ttc-gps.rb
81
81
  - ttc-gps.gemspec
82
82
  has_rdoc: true
83
- homepage: http://github.com/shyndman/ttc-gps
83
+ homepage: http://github.com/shyndman/ttc-gps-gem
84
84
  licenses: []
85
85
 
86
86
  post_install_message: