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 +1 -0
- data/Gemfile.lock +9 -0
- data/lib/gtfs/calendar.rb +1 -1
- data/lib/gtfs/version.rb +1 -1
- data/spec/gtfs/source_spec.rb +7 -2
- metadata +2 -2
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -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
|
data/lib/gtfs/calendar.rb
CHANGED
data/lib/gtfs/version.rb
CHANGED
data/spec/gtfs/source_spec.rb
CHANGED
@@ -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)
|
5
|
-
|
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.
|
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-
|
12
|
+
date: 2012-12-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|