ratis 3.4.2 → 3.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +4 -1
- data/lib/ratis/next_bus2.rb +0 -25
- data/lib/ratis/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: 38bc48975296b0233d4edc70fa1cf91f209c18da
|
4
|
+
data.tar.gz: 1338c06d87b19f9df12c221aad2af9de5e10f6be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fea762beb8e8eb943cf17ea526fb75455bd90e8fa474c2d556571d504e0daa36f2524f207cf41b113f8529fe48fba0a316074526de40efa283129d9467bae556
|
7
|
+
data.tar.gz: bf018a86ed61ebe423a747aa15b5bf8854533d819eeafe46a9c98655ef3c3129866c6472b155615e010716098e1ddb2a0ba9bcc086e04e370aeb021b7c47a8b3
|
data/CHANGELOG
CHANGED
@@ -51,4 +51,7 @@
|
|
51
51
|
- regeneration of gem to fix missing files
|
52
52
|
|
53
53
|
3.4.2
|
54
|
-
- added support for ATIS ver 2.7.1's Fleetlocation api
|
54
|
+
- added support for ATIS ver 2.7.1's Fleetlocation api
|
55
|
+
|
56
|
+
3.4.3
|
57
|
+
- removed to_hash method on nextbus2. is called from to_json calls in Routes app and throwing exceptions
|
data/lib/ratis/next_bus2.rb
CHANGED
@@ -50,31 +50,6 @@ module Ratis
|
|
50
50
|
NextBus2.new(response)
|
51
51
|
end
|
52
52
|
|
53
|
-
# Gets description of first stop
|
54
|
-
# @return [String] Description of first stop or nil.
|
55
|
-
|
56
|
-
def first_stop_description
|
57
|
-
raise 'Not yet implemented'
|
58
|
-
stops.first ? stops.first[:description] : nil
|
59
|
-
end
|
60
|
-
|
61
|
-
# Details of NextBus instance in a hash.
|
62
|
-
# @return [Hash] NextBus details in a hash.
|
63
|
-
|
64
|
-
def to_hash
|
65
|
-
raise 'Not yet implemented'
|
66
|
-
{ :stopname => first_stop_description,
|
67
|
-
:signs => runs.map { |run| run[:sign] }.uniq,
|
68
|
-
:runs => runs.map do |run|
|
69
|
-
{ :time => run[:estimatedtime],
|
70
|
-
:sign => run[:sign],
|
71
|
-
:adherence => run[:adherence],
|
72
|
-
:route => run[:route]
|
73
|
-
}
|
74
|
-
end
|
75
|
-
}
|
76
|
-
end
|
77
|
-
|
78
53
|
# Details of NextBus instance in a hash to be transformed to xml
|
79
54
|
# @private
|
80
55
|
|
data/lib/ratis/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ratis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Velocity labs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: savon
|