easy_transilien 0.0.8 → 0.0.9

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: 214b09070c9fb2cfdccf448b542b15e49b0900d8
4
- data.tar.gz: 2f62f1e23500bc19ae3296039fe240c0a150a3c3
3
+ metadata.gz: 3fdb370e7c4175ccbd4d0807c579c3f616693eca
4
+ data.tar.gz: 1f3109fc5f898da173ed656498870b43b0042424
5
5
  SHA512:
6
- metadata.gz: 71af68aac14bb06410f5689342dce8024dfe886c2a5ad9e4d8155b299bfc40246eb8d6c41fed77e151d8d929c9a1cfb7cf9742f7a860f4aeba09596005488b31
7
- data.tar.gz: acd6b2fdb3e175f1a5148aceb33b9c4292a414ea06b9cf0043c6cc71cbfe10adcbddc3cb9e839f77c8fb347b1522272bfee37956ea11529160a7ee7482722c63
6
+ metadata.gz: 894e6a5422361f4e81c1112eb7e3e17845003254d4bf56813d3f1302ec5c2036f00fed70b94bcb4b1d8335aa37660e850a2f8db5abf007faab1d4605a28bb557
7
+ data.tar.gz: 4c290a7de900b91823e3003b01246692e62c7c8be800c5d00d5b699c8f8774708110a4ed47c546fddd372e0e7a73c12367178de19d9d940f995a8a631541bbb3
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.0.0-p0
1
+ 2.0.0-p247
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ 0.0.9
2
+ * For some unknown reason, specs failed on 2.0.0-p247 w/o module explicit prefix
3
+
1
4
  0.0.8
2
5
  * Apply Time boundaries management in Stop#time, like in transilien_microservices
3
6
 
@@ -54,8 +54,8 @@ module EasyTransilien
54
54
  last = aat
55
55
  end
56
56
 
57
- from_station = Station.find(from).first
58
- to_station = Station.find(to).first
57
+ from_station = EasyTransilien::Station.find(from).first
58
+ to_station = EasyTransilien::Station.find(to).first
59
59
 
60
60
  raise "Can't find a Station from #{from.inspect}" unless from_station
61
61
  raise "Can't find a Station from #{to.inspect}" unless to_station
@@ -80,7 +80,7 @@ module EasyTransilien
80
80
  item.to_stop = item.stops.select { |ts| ts.station_external_code == to_station.external_code }.first
81
81
  next if item.from_stop.nil? || item.to_stop.nil? # drop item if this journey doesn't deserve our from_stop or to_stop
82
82
  item.access_time = journey.access_time
83
- item.ms_journey = journey
83
+ item.ms_journey = journey
84
84
  item.mission = journey.name
85
85
  item.start_time = item.from_stop.ms_stop.stop_time.time
86
86
  item.arrival_time = item.to_stop.ms_stop.stop_time.time
@@ -1,3 +1,3 @@
1
1
  module EasyTransilien
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_transilien
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Lecavelier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-31 00:00:00.000000000 Z
11
+ date: 2014-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: transilien_microservices
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.0.0
78
+ rubygems_version: 2.0.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: See https://github.com/ook/easy_transilien