gtfs 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -7,3 +7,4 @@ gem 'simplecov', :require => false
7
7
  gem 'rubyzip'
8
8
  gem 'vcr'
9
9
  gem 'fakeweb'
10
+ gem 'debugger'
@@ -1,6 +1,14 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
+ columnize (0.3.6)
5
+ debugger (1.2.2)
6
+ columnize (>= 0.3.1)
7
+ debugger-linecache (~> 1.1.1)
8
+ debugger-ruby_core_source (~> 1.1.5)
9
+ debugger-linecache (1.1.2)
10
+ debugger-ruby_core_source (>= 1.1.1)
11
+ debugger-ruby_core_source (1.1.5)
4
12
  diff-lcs (1.1.3)
5
13
  fakeweb (1.3.0)
6
14
  multi_json (1.0.4)
@@ -24,6 +32,7 @@ PLATFORMS
24
32
  ruby
25
33
 
26
34
  DEPENDENCIES
35
+ debugger
27
36
  fakeweb
28
37
  multi_json (= 1.0.4)
29
38
  rake
@@ -7,7 +7,7 @@ module GTFS
7
7
 
8
8
  collection_name :calendars
9
9
  required_file true
10
- uses_filename 'calendars.txt'
10
+ uses_filename 'calendar.txt'
11
11
 
12
12
  def self.parse_calendars(data)
13
13
  return parse_models(data)
@@ -1,4 +1,4 @@
1
1
  module GTFS
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
4
4
 
@@ -1,8 +1,13 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
2
 
3
3
  describe GTFS::Source do
4
- let(:valid_local_source) {File.expand_path(File.dirname(__FILE__) + '/../fixtures/valid_gtfs.zip')}
5
- let(:source_missing_required_files) {File.expand_path(File.dirname(__FILE__) + '/../fixtures/missing_files.zip')}
4
+ let(:valid_local_source) do
5
+ File.expand_path(File.dirname(__FILE__) + '/../fixtures/valid_gtfs.zip')
6
+ end
7
+
8
+ let(:source_missing_required_files) do
9
+ File.expand_path(File.dirname(__FILE__) + '/../fixtures/missing_files.zip')
10
+ end
6
11
 
7
12
  describe '#build' do
8
13
  subject {GTFS::Source.build(data_source)}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gtfs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-11 00:00:00.000000000 Z
12
+ date: 2012-12-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake