gtfs-realtime 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/gtfs/realtime/stop_time.rb +1 -1
- data/lib/gtfs/realtime/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e44b358f36ed58f6afb79e1ac3bcb293c94328c2
|
4
|
+
data.tar.gz: b4e95727479c1c8a9d75c497a82e53eed77ef44b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 651b28031192650142b967199e5b10f8065fde6dcf36391296bc3c10e1d1e6cdc37f91974152c91ca46ff8a953773fa5a87ad7f4cb938d6b8e40890edc07af32
|
7
|
+
data.tar.gz: f9e588907904be93a52d4ba7825818633af9d95c3d9cb367cfc8fd9f9bda0cb712e450950a342ec42e01097a9298b941a6d29756cec6f5e9d6327e28e4b338e4
|
data/README.md
CHANGED
@@ -47,10 +47,10 @@ end
|
|
47
47
|
|
48
48
|
# load all stop times for today, including updated live information
|
49
49
|
stop.stop_times_for_today.each do |st|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
puts "#{st.scheduled_departure_time}: [#{
|
50
|
+
trip = st.trip
|
51
|
+
route = trip.route
|
52
|
+
shapes = shapes
|
53
|
+
puts "#{st.scheduled_departure_time}: [#{route.short_name}] #{trip.headsign}"
|
54
54
|
|
55
55
|
if st.live?
|
56
56
|
delay = st.actual_departure_delay / 60
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gtfs-realtime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Laughlin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|