Skip to content

Commit

Permalink
Remove old and unused data and code
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul B committed May 3, 2015
1 parent 983ef65 commit adb1a40
Show file tree
Hide file tree
Showing 16 changed files with 10 additions and 8,287 deletions.
4 changes: 2 additions & 2 deletions gares.gemspec
Expand Up @@ -9,8 +9,8 @@ Gem::Specification.new do |s|
s.authors = ['Paul Bonaud']
s.email = ['paul+gh@bonaud.fr']
s.homepage = 'http://github.com/paulrbr/gares'
s.summary = %q(Easily access the publicly available information on gares-en-mouvement.com.)
s.description = %q(Easily use Ruby or the command line to find information on gares-en-mouvement.com.)
s.summary = %q(Easily access the publicly available information on gares-sncf.com and sncf.com.)
s.description = %q(Easily use Ruby or the command line to find information on gares-sncf.com and sncf.com.)

s.rubyforge_project = 'gares'

Expand Down
31 changes: 1 addition & 30 deletions lib/gares/base.rb
@@ -1,5 +1,5 @@
module Gares
# Represents something on gare-en-mouvement.com
# Represents a station on gares-sncf.com
class Base < Hashie::Dash
property :id
property :name
Expand Down Expand Up @@ -39,35 +39,6 @@ class Base < Hashie::Dash

GARES_SNCF = "http://www.gares-sncf.com/fr/train-times/%s/%s/gl"

# @deprecated
def services
warn "[DEPRECATION] since gares-en-mouvement.com does not exist anymore."
end

# @deprecated
def sales
warn "[DEPRECATION] since gares-en-mouvement.com does not exist anymore."
end

# @deprecated
def horaires
warn "[DEPRECATION] since gares-en-mouvement.com does not exist anymore."
end
alias opening_hours horaires

# Whether the gare has a defibrillator or not
# @deprecated
def defibrillateur?
warn "[DEPRECATION] since gares-en-mouvement.com does not exist anymore."
end
alias defibrillator? defibrillateur?

# Whether the gare is equipped with wifi or not
# @deprecated
def wifi?
warn "[DEPRECATION] since gares-en-mouvement.com does not exist anymore."
end

# Whether this station has a "borne" (yellow self-service ticket machine)
# @return [Boolean]
def has_borne?
Expand Down
2 changes: 1 addition & 1 deletion lib/gares/station.rb
@@ -1,5 +1,5 @@
module Gares
# Represents a station on gares-en-mouvement.com
# Represents a station on gares-sncf.com
class Station < Base
end # Station
end # Gares
330 changes: 0 additions & 330 deletions spec/fixtures/frabt

This file was deleted.

12 changes: 0 additions & 12 deletions spec/fixtures/frabt-services-vente

This file was deleted.

346 changes: 0 additions & 346 deletions spec/fixtures/frhco

This file was deleted.

349 changes: 0 additions & 349 deletions spec/fixtures/frlpd

This file was deleted.

462 changes: 0 additions & 462 deletions spec/fixtures/frlpd-services

This file was deleted.

399 changes: 0 additions & 399 deletions spec/fixtures/frlpd-services-vente

This file was deleted.

386 changes: 0 additions & 386 deletions spec/fixtures/frqxb-services

This file was deleted.

367 changes: 0 additions & 367 deletions spec/fixtures/frqxb-services-vente

This file was deleted.

333 changes: 0 additions & 333 deletions spec/fixtures/frxag

This file was deleted.

0 comments on commit adb1a40

Please sign in to comment.