Skip to content
Browse files

Add in spec / gem fixes

  • Loading branch information...
1 parent a6dee63 commit 7b35b00920ca72b303888c9721726a4eca515e37 @Sutto committed Sep 27, 2012
Showing with 5 additions and 14 deletions.
  1. +0 −2 Gemfile
  2. +0 −7 Gemfile.lock
  3. +5 −4 config/routes.rb
  4. +0 −1 lib/transperth_client.rb
View
2 Gemfile
@@ -16,8 +16,6 @@ gem 'geocoder'
gem "slugged"
gem "thin"
-gem "persistent_httparty"
-
gem "emmett"
group :test, :development do
View
7 Gemfile.lock
@@ -65,7 +65,6 @@ GEM
hashie
ruby-hmac
yajl-ruby
- gene_pool (1.3.0)
geocoder (1.1.3)
github-markdown (0.5.1)
github-markup (0.7.4)
@@ -95,11 +94,6 @@ GEM
net-http-persistent (2.7)
nokogiri (1.5.5)
oj (1.3.4)
- persistent_http (1.0.4)
- gene_pool (>= 1.3)
- persistent_httparty (0.1.0)
- httparty (~> 0.9.0)
- persistent_http
pg (0.14.1)
polyglot (0.3.3)
pygments.rb (0.2.13)
@@ -201,7 +195,6 @@ DEPENDENCIES
gcoder
geocoder
nokogiri
- persistent_httparty
pg
rails (~> 3.2.0)
rocket_pants
View
9 config/routes.rb
@@ -1,9 +1,10 @@
Transperth::Application.routes.draw do
api version: 1 do
- get 'train_stations', :to => 'train_stations#index'
- get 'train_stations/:id', :to => 'train_stations#show', :as => :train_station
- get 'bus_stops/:id', :to => 'bus_stops#show', :as => :bus_stop
+ get 'train_stations', :to => 'train_stations#index', :as => :train_stations
+ get 'train_stations/:id', :to => 'train_stations#show', :as => :train_station
+ get 'bus_stops/:id', :to => 'bus_stops#show', :as => :bus_stop
get 'bus_stops', :to => 'bus_stops#index', :as => :bus_stops
- get 'smart_riders/:id', :to => 'smart_riders#show', :as => :smart_rider
+ get 'smart_riders/:id', :to => 'smart_riders#show', :as => :smart_rider
end
+ root to: 'site#index'
end
View
1 lib/transperth_client.rb
@@ -6,7 +6,6 @@ class TransperthClient
class Client
include HTTParty
- # persistent_connection_adapter
end
URL_SCHEME = "http://www.transperth.wa.gov.au/TimetablesMaps/LiveTrainTimes/tabid/436/stationname/%s/Default.aspx"

0 comments on commit 7b35b00

Please sign in to comment.
Something went wrong with that request. Please try again.