gtfs-engine 1.0.5 → 1.0.6
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: 908af78060cad66487fd4cd5c3cc950264c73a4e
|
|
4
|
+
data.tar.gz: 0d08ce6184f9cfb5b04f5c8110ca2139742acc50
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 369c73d8fdaf5aa43580679687a3d22c4660f6799c7feaae01172faae92fec997ff29f8e85b174e41af21b1be502c556c7120ee5294d0b98057ca56c3640cb0b
|
|
7
|
+
data.tar.gz: f74c1f4cdec18ae512343ff8083b41f28c93c39222ef3fb12b8c016f6c320b0e88d6f0e464c3c87670f28b0ea57958e1b1ddd91313971fcce1794a49db4ee64d
|
|
@@ -16,12 +16,10 @@ json.ignore_nil! true
|
|
|
16
16
|
|
|
17
17
|
json.status 'success'
|
|
18
18
|
json.data do
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
json.
|
|
22
|
-
json.
|
|
23
|
-
json.extract! set, *%i(id name title url etag created_at)
|
|
24
|
-
end
|
|
19
|
+
@data_sets.each do |name, sets|
|
|
20
|
+
json.set! name do
|
|
21
|
+
json.array! sets do |set|
|
|
22
|
+
json.extract! set, *%i(id name title url etag created_at)
|
|
25
23
|
end
|
|
26
24
|
end
|
|
27
25
|
end
|
|
@@ -14,8 +14,6 @@
|
|
|
14
14
|
# along with the KNOWtime server. If not, see <http://www.gnu.org/licenses/>.
|
|
15
15
|
json.status 'success'
|
|
16
16
|
json.data do
|
|
17
|
-
json.
|
|
18
|
-
|
|
19
|
-
json.details @data_set.details
|
|
20
|
-
end
|
|
17
|
+
json.extract! @data_set, *%i(id name title url etag created_at)
|
|
18
|
+
json.details @data_set.details
|
|
21
19
|
end
|
data/lib/gtfs_engine/version.rb
CHANGED