gtfs-engine 1.0.1 → 1.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a27ee4db55b9a565bef06a618afe7df426fe8ce4
|
|
4
|
+
data.tar.gz: 89a958b39c0ea0dc8058198633c30234c1e1e09b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e3769374d0a67009cf466d5693f59fe20fe30418acda7f5580ff0d6f5775ca5a896b877189fe5fa9f99c4c96fc2d6f088c48f41d380658cadbcd6c38e478e231
|
|
7
|
+
data.tar.gz: 0c3f532de447fe10279c48fbb97b0b93a44de8c320f6ea23ca7981771b69336927dab3ac14b3619e664a3c5b4ceab07c691aab967c7eb30b9b9012c6767f34d4
|
data/README.textile
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
h1. gtfs-engine
|
|
2
|
+
|
|
3
|
+
@gtfs-engine@ is a "Rails Engine":http://guides.rubyonrails.org/engines.html which will add GTFS(General Transit Feed Specification) support to your application. It provides both the resources and controller actions necessary to provide a RESTful interface to one or more GTFS data sets.
|
|
4
|
+
|
|
5
|
+
See "*sangster.github.io/gtfs-engine*"://sangster.github.io/gtfs-engine more more information on how to use this engine.
|
|
6
|
+
|
|
7
|
+
h2. Sub-Components
|
|
8
|
+
|
|
9
|
+
This Rails Engine relies on the "gtfs-reader"://github.com/sangster/gtfs-reader rubygem to process the actual ZIP files in which GTFS data sets are provided.
|
|
10
|
+
|
|
11
|
+
|
|
@@ -20,9 +20,7 @@ module GtfsEngine
|
|
|
20
20
|
|
|
21
21
|
json.status 'success'
|
|
22
22
|
json.data do
|
|
23
|
-
json.
|
|
24
|
-
json.array!(records) {|record| json.extract! record, *fields }
|
|
25
|
-
end
|
|
23
|
+
json.array!(records) {|record| json.extract! record, *fields }
|
|
26
24
|
end
|
|
27
25
|
end
|
|
28
26
|
end
|
|
@@ -32,9 +30,7 @@ module GtfsEngine
|
|
|
32
30
|
json.ignore_nil! true
|
|
33
31
|
json.status 'success'
|
|
34
32
|
json.data do
|
|
35
|
-
json.
|
|
36
|
-
json.extract! record, *fields
|
|
37
|
-
end
|
|
33
|
+
json.extract! record, *fields
|
|
38
34
|
end
|
|
39
35
|
end
|
|
40
36
|
end
|
data/lib/gtfs_engine/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gtfs-engine
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jon Sangster
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-07-
|
|
11
|
+
date: 2014-07-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -52,20 +52,6 @@ dependencies:
|
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0.5'
|
|
55
|
-
- !ruby/object:Gem::Dependency
|
|
56
|
-
name: activesupport
|
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
|
58
|
-
requirements:
|
|
59
|
-
- - "~>"
|
|
60
|
-
- !ruby/object:Gem::Version
|
|
61
|
-
version: '4.0'
|
|
62
|
-
type: :runtime
|
|
63
|
-
prerelease: false
|
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
-
requirements:
|
|
66
|
-
- - "~>"
|
|
67
|
-
- !ruby/object:Gem::Version
|
|
68
|
-
version: '4.0'
|
|
69
55
|
- !ruby/object:Gem::Dependency
|
|
70
56
|
name: pry-rails
|
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -142,8 +128,10 @@ email: jon@ertt.ca
|
|
|
142
128
|
executables:
|
|
143
129
|
- rails
|
|
144
130
|
extensions: []
|
|
145
|
-
extra_rdoc_files:
|
|
131
|
+
extra_rdoc_files:
|
|
132
|
+
- README.textile
|
|
146
133
|
files:
|
|
134
|
+
- README.textile
|
|
147
135
|
- Rakefile
|
|
148
136
|
- app/controllers/gtfs_engine/agencies_controller.rb
|
|
149
137
|
- app/controllers/gtfs_engine/application_controller.rb
|