ttc-gps 0.1.0 → 0.2.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.
Files changed (5) hide show
  1. data/Rakefile +1 -1
  2. data/VERSION +1 -1
  3. data/lib/ttc-gps.rb +1 -11
  4. data/ttc-gps.gemspec +2 -2
  5. metadata +4 -4
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ begin
9
9
  gem.description = %Q{Uses NextBus data.}
10
10
  gem.email = "scotty.hyndman@gmail.com"
11
11
  gem.homepage = "http://github.com/shyndman/ttc-gps"
12
- gem.authors = ["shyndman"]
12
+ gem.authors = ["Scott Hyndman"]
13
13
  gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
14
14
  gem.add_development_dependency "geokit", ">= 0"
15
15
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
data/lib/ttc-gps.rb CHANGED
@@ -3,14 +3,4 @@ require 'ttc-gps/constants'
3
3
  require 'ttc-gps/models'
4
4
  require 'ttc-gps/service'
5
5
  require 'rubygems'
6
- require 'geokit'
7
- require 'yaml'
8
-
9
- include TTC
10
-
11
- service = TTCService.new
12
- route = service.get_route(ROUTES[0])
13
-
14
- me = Geokit::LatLng.new 43.6038156, -79.4930397
15
- puts route.contains? me
16
- puts (route.get_closest_stops me, "westbound").to_yaml
6
+ require 'geokit'
data/ttc-gps.gemspec CHANGED
@@ -5,10 +5,10 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ttc-gps}
8
- s.version = "0.1.0"
8
+ s.version = "0.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["shyndman"]
11
+ s.authors = ["Scott Hyndman"]
12
12
  s.date = %q{2010-10-22}
13
13
  s.description = %q{Uses NextBus data.}
14
14
  s.email = %q{scotty.hyndman@gmail.com}
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ttc-gps
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 1
8
+ - 2
9
9
  - 0
10
- version: 0.1.0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
- - shyndman
13
+ - Scott Hyndman
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []