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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b043a46ae4af0931603865057f34363004be16c
4
- data.tar.gz: 084ca86cd40894ce8b0a0e60756ec500f6b8a5ae
3
+ metadata.gz: 38bc48975296b0233d4edc70fa1cf91f209c18da
4
+ data.tar.gz: 1338c06d87b19f9df12c221aad2af9de5e10f6be
5
5
  SHA512:
6
- metadata.gz: 89481b49138c0a50160c44a78fb9cbf073786c334a7a0a2c825cf9459fb44a1aa4516ee93698c6131155e7db737ecab0557a5cfcaede3b4c29ad4ee153f540cd
7
- data.tar.gz: 1bf727ab54f380ea8de285550e5915ec944ecd62bad7b0df7d108ce49dfc3d070833a0074b81599ff3d5d2d16b5eb0173518f9b9ab26c2410fcfced10fbce089
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
@@ -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
@@ -5,7 +5,7 @@ module Ratis
5
5
  def version
6
6
  @version ||= begin
7
7
 
8
- string = '3.4.2'
8
+ string = '3.4.3'
9
9
 
10
10
  def string.parts
11
11
  split('.').map { |p| p.to_i }
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.2
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-14 00:00:00.000000000 Z
11
+ date: 2014-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: savon