caltrain 0.0.4 → 0.0.5

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 (2) hide show
  1. data/lib/caltrain.rb +2 -2
  2. metadata +5 -3
data/lib/caltrain.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  class Caltrain
2
- TIMES_PATH = File.expand_path('../../data/google_transit/stop_times.txt', __FILE__)
3
- TRIPS_PATH = File.expand_path('../../data/google_transit/trips.txt', __FILE__)
2
+ TIMES_PATH = 'data/google_transit/stop_times.txt'
3
+ TRIPS_PATH = 'data/google_transit/trips.txt'
4
4
 
5
5
  class << self
6
6
  def upcoming_departures(loc, dir)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caltrain
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-03-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mocha
16
- requirement: &2151813220 !ruby/object:Gem::Requirement
16
+ requirement: &2151812740 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *2151813220
24
+ version_requirements: *2151812740
25
25
  description: A command line tool to easily figure out when the next caltrain leaves.
26
26
  email: alexgenco@gmail.com
27
27
  executables:
@@ -48,6 +48,8 @@ post_install_message:
48
48
  rdoc_options: []
49
49
  require_paths:
50
50
  - lib
51
+ - bin
52
+ - data
51
53
  required_ruby_version: !ruby/object:Gem::Requirement
52
54
  none: false
53
55
  requirements: