ierail 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,64 +25,76 @@ http_interactions:
25
25
  Server:
26
26
  - ''
27
27
  Date:
28
- - Sat, 19 Apr 2014 18:10:55 GMT
28
+ - Mon, 05 Oct 2015 20:06:37 GMT
29
29
  Content-Length:
30
- - '4266'
30
+ - '5152'
31
31
  body:
32
32
  encoding: UTF-8
33
33
  string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<ArrayOfObjStationData
34
34
  xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
35
- xmlns=\"http://api.irishrail.ie/realtime/\">\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.677</Servertime>\r\n
36
- \ <Traincode>E826 </Traincode>\r\n <Stationfullname>Clongriffin</Stationfullname>\r\n
37
- \ <Stationcode>GRGRD</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
38
- \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Bray</Origin>\r\n <Destination>Malahide</Destination>\r\n
39
- \ <Origintime>18:25</Origintime>\r\n <Destinationtime>19:32</Destinationtime>\r\n
40
- \ <Status>En Route</Status>\r\n <Lastlocation>Departed Dublin Connolly</Lastlocation>\r\n
41
- \ <Duein>16</Duein>\r\n <Late>1</Late>\r\n <Exparrival>19:25</Exparrival>\r\n
42
- \ <Expdepart>19:26</Expdepart>\r\n <Scharrival>19:25</Scharrival>\r\n
43
- \ <Schdepart>19:25</Schdepart>\r\n <Direction>Northbound</Direction>\r\n
35
+ xmlns=\"http://api.irishrail.ie/realtime/\">\r\n <objStationData>\r\n <Servertime>2015-10-05T21:06:38.783</Servertime>\r\n
36
+ \ <Traincode>E829 </Traincode>\r\n <Stationfullname>Clongriffin</Stationfullname>\r\n
37
+ \ <Stationcode>GRGRD</Stationcode>\r\n <Querytime>21:06:38</Querytime>\r\n
38
+ \ <Traindate>05 Oct 2015</Traindate>\r\n <Origin>Greystones</Origin>\r\n
39
+ \ <Destination>Malahide</Destination>\r\n <Origintime>20:00</Origintime>\r\n
40
+ \ <Destinationtime>21:20</Destinationtime>\r\n <Status>En Route</Status>\r\n
41
+ \ <Lastlocation>Departed Clontarf Road</Lastlocation>\r\n <Duein>12</Duein>\r\n
42
+ \ <Late>6</Late>\r\n <Exparrival>21:17</Exparrival>\r\n <Expdepart>21:18</Expdepart>\r\n
43
+ \ <Scharrival>21:12</Scharrival>\r\n <Schdepart>21:12</Schdepart>\r\n
44
+ \ <Direction>Northbound</Direction>\r\n <Traintype>DART</Traintype>\r\n
45
+ \ <Locationtype>S</Locationtype>\r\n </objStationData>\r\n <objStationData>\r\n
46
+ \ <Servertime>2015-10-05T21:06:38.783</Servertime>\r\n <Traincode>E830
47
+ </Traincode>\r\n <Stationfullname>Clongriffin</Stationfullname>\r\n <Stationcode>GRGRD</Stationcode>\r\n
48
+ \ <Querytime>21:06:38</Querytime>\r\n <Traindate>05 Oct 2015</Traindate>\r\n
49
+ \ <Origin>Greystones</Origin>\r\n <Destination>Malahide</Destination>\r\n
50
+ \ <Origintime>20:30</Origintime>\r\n <Destinationtime>21:50</Destinationtime>\r\n
51
+ \ <Status>En Route</Status>\r\n <Lastlocation>Arrived Blackrock</Lastlocation>\r\n
52
+ \ <Duein>36</Duein>\r\n <Late>1</Late>\r\n <Exparrival>21:41</Exparrival>\r\n
53
+ \ <Expdepart>21:42</Expdepart>\r\n <Scharrival>21:41</Scharrival>\r\n
54
+ \ <Schdepart>21:41</Schdepart>\r\n <Direction>Northbound</Direction>\r\n
44
55
  \ <Traintype>DART</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
45
- \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.677</Servertime>\r\n
46
- \ <Traincode>E827 </Traincode>\r\n <Stationfullname>Clongriffin</Stationfullname>\r\n
47
- \ <Stationcode>GRGRD</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
48
- \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Bray</Origin>\r\n <Destination>Malahide</Destination>\r\n
49
- \ <Origintime>18:55</Origintime>\r\n <Destinationtime>20:05</Destinationtime>\r\n
50
- \ <Status>En Route</Status>\r\n <Lastlocation>Arrived Glenageary</Lastlocation>\r\n
51
- \ <Duein>47</Duein>\r\n <Late>1</Late>\r\n <Exparrival>19:57</Exparrival>\r\n
52
- \ <Expdepart>19:57</Expdepart>\r\n <Scharrival>19:56</Scharrival>\r\n
53
- \ <Schdepart>19:56</Schdepart>\r\n <Direction>Northbound</Direction>\r\n
56
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2015-10-05T21:06:38.783</Servertime>\r\n
57
+ \ <Traincode>E831 </Traincode>\r\n <Stationfullname>Clongriffin</Stationfullname>\r\n
58
+ \ <Stationcode>GRGRD</Stationcode>\r\n <Querytime>21:06:38</Querytime>\r\n
59
+ \ <Traindate>05 Oct 2015</Traindate>\r\n <Origin>Greystones</Origin>\r\n
60
+ \ <Destination>Malahide</Destination>\r\n <Origintime>21:00</Origintime>\r\n
61
+ \ <Destinationtime>22:20</Destinationtime>\r\n <Status>En Route</Status>\r\n
62
+ \ <Lastlocation>Departed Greystones</Lastlocation>\r\n <Duein>66</Duein>\r\n
63
+ \ <Late>1</Late>\r\n <Exparrival>22:11</Exparrival>\r\n <Expdepart>22:12</Expdepart>\r\n
64
+ \ <Scharrival>22:11</Scharrival>\r\n <Schdepart>22:11</Schdepart>\r\n
65
+ \ <Direction>Northbound</Direction>\r\n <Traintype>DART</Traintype>\r\n
66
+ \ <Locationtype>S</Locationtype>\r\n </objStationData>\r\n <objStationData>\r\n
67
+ \ <Servertime>2015-10-05T21:06:38.783</Servertime>\r\n <Traincode>E130
68
+ </Traincode>\r\n <Stationfullname>Clongriffin</Stationfullname>\r\n <Stationcode>GRGRD</Stationcode>\r\n
69
+ \ <Querytime>21:06:38</Querytime>\r\n <Traindate>05 Oct 2015</Traindate>\r\n
70
+ \ <Origin>Malahide</Origin>\r\n <Destination>Greystones</Destination>\r\n
71
+ \ <Origintime>21:00</Origintime>\r\n <Destinationtime>22:20</Destinationtime>\r\n
72
+ \ <Status>En Route</Status>\r\n <Lastlocation>Departed Portmarnock</Lastlocation>\r\n
73
+ \ <Duein>2</Duein>\r\n <Late>1</Late>\r\n <Exparrival>21:08</Exparrival>\r\n
74
+ \ <Expdepart>21:08</Expdepart>\r\n <Scharrival>21:06</Scharrival>\r\n
75
+ \ <Schdepart>21:07</Schdepart>\r\n <Direction>Southbound</Direction>\r\n
54
76
  \ <Traintype>DART</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
55
- \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.677</Servertime>\r\n
56
- \ <Traincode>E227 </Traincode>\r\n <Stationfullname>Clongriffin</Stationfullname>\r\n
57
- \ <Stationcode>GRGRD</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
58
- \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Malahide</Origin>\r\n
59
- \ <Destination>Bray</Destination>\r\n <Origintime>19:15</Origintime>\r\n
60
- \ <Destinationtime>20:24</Destinationtime>\r\n <Status>No Information</Status>\r\n
61
- \ <Lastlocation />\r\n <Duein>12</Duein>\r\n <Late>0</Late>\r\n <Exparrival>19:21</Exparrival>\r\n
62
- \ <Expdepart>19:22</Expdepart>\r\n <Scharrival>19:21</Scharrival>\r\n
63
- \ <Schdepart>19:22</Schdepart>\r\n <Direction>Southbound</Direction>\r\n
77
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2015-10-05T21:06:38.783</Servertime>\r\n
78
+ \ <Traincode>E131 </Traincode>\r\n <Stationfullname>Clongriffin</Stationfullname>\r\n
79
+ \ <Stationcode>GRGRD</Stationcode>\r\n <Querytime>21:06:38</Querytime>\r\n
80
+ \ <Traindate>05 Oct 2015</Traindate>\r\n <Origin>Malahide</Origin>\r\n
81
+ \ <Destination>Greystones</Destination>\r\n <Origintime>21:30</Origintime>\r\n
82
+ \ <Destinationtime>22:50</Destinationtime>\r\n <Status>No Information</Status>\r\n
83
+ \ <Lastlocation />\r\n <Duein>31</Duein>\r\n <Late>0</Late>\r\n <Exparrival>21:36</Exparrival>\r\n
84
+ \ <Expdepart>21:37</Expdepart>\r\n <Scharrival>21:36</Scharrival>\r\n
85
+ \ <Schdepart>21:37</Schdepart>\r\n <Direction>Southbound</Direction>\r\n
64
86
  \ <Traintype>DART</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
65
- \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.677</Servertime>\r\n
66
- \ <Traincode>E228 </Traincode>\r\n <Stationfullname>Clongriffin</Stationfullname>\r\n
67
- \ <Stationcode>GRGRD</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
68
- \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Malahide</Origin>\r\n
69
- \ <Destination>Bray</Destination>\r\n <Origintime>19:45</Origintime>\r\n
70
- \ <Destinationtime>20:54</Destinationtime>\r\n <Status>No Information</Status>\r\n
71
- \ <Lastlocation />\r\n <Duein>42</Duein>\r\n <Late>0</Late>\r\n <Exparrival>19:51</Exparrival>\r\n
72
- \ <Expdepart>19:52</Expdepart>\r\n <Scharrival>19:51</Scharrival>\r\n
73
- \ <Schdepart>19:52</Schdepart>\r\n <Direction>Southbound</Direction>\r\n
74
- \ <Traintype>DART</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
75
- \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.677</Servertime>\r\n
76
- \ <Traincode>E229 </Traincode>\r\n <Stationfullname>Clongriffin</Stationfullname>\r\n
77
- \ <Stationcode>GRGRD</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
78
- \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Malahide</Origin>\r\n
79
- \ <Destination>Bray</Destination>\r\n <Origintime>20:15</Origintime>\r\n
80
- \ <Destinationtime>21:24</Destinationtime>\r\n <Status>No Information</Status>\r\n
81
- \ <Lastlocation />\r\n <Duein>72</Duein>\r\n <Late>0</Late>\r\n <Exparrival>20:21</Exparrival>\r\n
82
- \ <Expdepart>20:22</Expdepart>\r\n <Scharrival>20:21</Scharrival>\r\n
83
- \ <Schdepart>20:22</Schdepart>\r\n <Direction>Southbound</Direction>\r\n
87
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2015-10-05T21:06:38.783</Servertime>\r\n
88
+ \ <Traincode>E710 </Traincode>\r\n <Stationfullname>Clongriffin</Stationfullname>\r\n
89
+ \ <Stationcode>GRGRD</Stationcode>\r\n <Querytime>21:06:38</Querytime>\r\n
90
+ \ <Traindate>05 Oct 2015</Traindate>\r\n <Origin>Malahide</Origin>\r\n
91
+ \ <Destination>Dublin Connolly</Destination>\r\n <Origintime>22:10</Origintime>\r\n
92
+ \ <Destinationtime>22:35</Destinationtime>\r\n <Status>No Information</Status>\r\n
93
+ \ <Lastlocation />\r\n <Duein>71</Duein>\r\n <Late>0</Late>\r\n <Exparrival>22:16</Exparrival>\r\n
94
+ \ <Expdepart>22:17</Expdepart>\r\n <Scharrival>22:16</Scharrival>\r\n
95
+ \ <Schdepart>22:17</Schdepart>\r\n <Direction>Southbound</Direction>\r\n
84
96
  \ <Traintype>DART</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
85
97
  \ </objStationData>\r\n</ArrayOfObjStationData>"
86
98
  http_version:
87
- recorded_at: Sat, 19 Apr 2014 18:10:57 GMT
88
- recorded_with: VCR 2.9.0
99
+ recorded_at: Mon, 05 Oct 2015 20:06:37 GMT
100
+ recorded_with: VCR 2.9.3
@@ -2,7 +2,7 @@ require 'date'
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'ierail'
5
- s.version = '0.4.0'
5
+ s.version = '0.4.1'
6
6
  s.date = Date.today.to_s
7
7
  s.summary = "Irish Rail Train Schedule and Status API"
8
8
  s.description = "Irish Rail Train Schedule and Status API"
@@ -10,11 +10,11 @@ Gem::Specification.new do |s|
10
10
  s.email = 'oi.sin@nis.io'
11
11
  s.files = `git ls-files`.split("\n")
12
12
  s.homepage = 'http://rubygems.org/gems/ierail'
13
- s.add_runtime_dependency 'json', '~> 1.8', '>= 1.8.1'
14
- s.add_runtime_dependency 'rest-client', '~> 1.6', '>= 1.6.7'
15
- s.add_runtime_dependency 'nokogiri', '~> 1.6', '>= 1.6.1'
16
- s.add_runtime_dependency 'tzinfo', '~> 1.1', '>= 1.1.0'
17
- s.add_development_dependency 'vcr', '~> 2.9', '>= 2.9.0'
18
- s.add_development_dependency 'webmock', '~> 1.17', '>= 1.17.4'
19
- s.add_development_dependency 'timecop', '~> 0.6', '>= 0.6.2'
13
+ s.add_runtime_dependency 'json', '~> 1.8', '>= 1.8.3'
14
+ s.add_runtime_dependency 'rest-client', '~> 1.7', '>= 1.7.2'
15
+ s.add_runtime_dependency 'nokogiri', '~> 1.6', '>= 1.6.3'
16
+ s.add_runtime_dependency 'tzinfo', '~> 1.2', '>= 1.2.2'
17
+ s.add_development_dependency 'vcr', '~> 2.9', '>= 2.9.3'
18
+ s.add_development_dependency 'webmock', '~> 1.21', '>= 1.21.0'
19
+ s.add_development_dependency 'timecop', '~> 0.8', '>= 0.8.0'
20
20
  end
@@ -33,8 +33,16 @@ class StationData
33
33
  is_departure_station = @station_name.eql?(@origin)
34
34
  is_terminating_station = @station_name.eql?(@destination)
35
35
 
36
+ one_day = 86400
37
+
36
38
  @expected_arrival = is_departure_station ? @origin_time : Time.parse(hash['Exparrival'])
37
39
  @expected_departure = is_terminating_station ? @destination_time : Time.parse(hash['Expdepart'])
40
+
41
+ # The API returns expected arr/dep times as HH:MM, if this time has crossed midnight, we parse it as being
42
+ # earlier 'today'; this then throws off the before/after filters. Use the server time as a sanity check.
43
+ @expected_arrival = @expected_arrival + one_day if @expected_arrival < @server_time
44
+ @expected_departure = @expected_departure + one_day if @expected_departure < @server_time
45
+
38
46
  @scheduled_arrival = is_departure_station ? @origin_time + off_schedule_minutes : Time.parse(hash['Scharrival'])
39
47
  @scheduled_departure = is_terminating_station ? @destination_time + off_schedule_minutes : Time.parse(hash['Schdepart'])
40
48
  @direction = hash['Direction']
@@ -8,6 +8,7 @@ require 'minitest/autorun'
8
8
  require 'ierail'
9
9
 
10
10
  def get_original_time(t)
11
+ t = Time.now if t.nil?
11
12
  @when = Time.parse(t.to_s)
12
13
  if TZInfo::Timezone.get('Europe/Dublin').current_period.dst?
13
14
  unless @when.zone == 'IST'
@@ -51,7 +51,7 @@ class IERailTest < MiniTest::Unit::TestCase
51
51
  thirty_mins = Time.now + (60 * 30)
52
52
  time = "#{thirty_mins.hour}:#{thirty_mins.min}" # "HH:MM"
53
53
  before_train = @ir.southbound_from('Dublin Connolly').before(time).sample
54
- assert before_train.expected_departure <= thirty_mins
54
+ assert before_train.expected_arrival <= thirty_mins
55
55
  end
56
56
  end
57
57
  end
@@ -65,7 +65,7 @@ class IERailTest < MiniTest::Unit::TestCase
65
65
  thirty_mins = Time.now + (60 * 30)
66
66
  time = "#{thirty_mins.hour}:#{thirty_mins.min}" # "HH:MM"
67
67
  after_train = @ir.southbound_from('Dublin Connolly').after(time).sample
68
- assert after_train.expected_departure >= thirty_mins
68
+ assert after_train.expected_arrival >= thirty_mins
69
69
  end
70
70
  end
71
71
  end
@@ -79,7 +79,6 @@ class IERailTest < MiniTest::Unit::TestCase
79
79
  thirty_mins = Time.now + (60 * mins)
80
80
  time = "#{thirty_mins.hour}:#{thirty_mins.min}" # "HH:MM"
81
81
  southbounds = @ir.southbound_from('Dublin Connolly')
82
-
83
82
  before_train = southbounds.before(time)
84
83
 
85
84
  in_half_an_hour = southbounds.in(mins)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ierail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oisin Hurley
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-04-21 00:00:00.000000000 Z
13
+ date: 2015-10-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '1.8'
22
22
  - - ">="
23
23
  - !ruby/object:Gem::Version
24
- version: 1.8.1
24
+ version: 1.8.3
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
@@ -31,27 +31,27 @@ dependencies:
31
31
  version: '1.8'
32
32
  - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: 1.8.1
34
+ version: 1.8.3
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: rest-client
37
37
  requirement: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '1.6'
41
+ version: '1.7'
42
42
  - - ">="
43
43
  - !ruby/object:Gem::Version
44
- version: 1.6.7
44
+ version: 1.7.2
45
45
  type: :runtime
46
46
  prerelease: false
47
47
  version_requirements: !ruby/object:Gem::Requirement
48
48
  requirements:
49
49
  - - "~>"
50
50
  - !ruby/object:Gem::Version
51
- version: '1.6'
51
+ version: '1.7'
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 1.6.7
54
+ version: 1.7.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: nokogiri
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -61,7 +61,7 @@ dependencies:
61
61
  version: '1.6'
62
62
  - - ">="
63
63
  - !ruby/object:Gem::Version
64
- version: 1.6.1
64
+ version: 1.6.3
65
65
  type: :runtime
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
@@ -71,27 +71,27 @@ dependencies:
71
71
  version: '1.6'
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
- version: 1.6.1
74
+ version: 1.6.3
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: tzinfo
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '1.1'
81
+ version: '1.2'
82
82
  - - ">="
83
83
  - !ruby/object:Gem::Version
84
- version: 1.1.0
84
+ version: 1.2.2
85
85
  type: :runtime
86
86
  prerelease: false
87
87
  version_requirements: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - "~>"
90
90
  - !ruby/object:Gem::Version
91
- version: '1.1'
91
+ version: '1.2'
92
92
  - - ">="
93
93
  - !ruby/object:Gem::Version
94
- version: 1.1.0
94
+ version: 1.2.2
95
95
  - !ruby/object:Gem::Dependency
96
96
  name: vcr
97
97
  requirement: !ruby/object:Gem::Requirement
@@ -101,7 +101,7 @@ dependencies:
101
101
  version: '2.9'
102
102
  - - ">="
103
103
  - !ruby/object:Gem::Version
104
- version: 2.9.0
104
+ version: 2.9.3
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
@@ -111,47 +111,47 @@ dependencies:
111
111
  version: '2.9'
112
112
  - - ">="
113
113
  - !ruby/object:Gem::Version
114
- version: 2.9.0
114
+ version: 2.9.3
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: webmock
117
117
  requirement: !ruby/object:Gem::Requirement
118
118
  requirements:
119
119
  - - "~>"
120
120
  - !ruby/object:Gem::Version
121
- version: '1.17'
121
+ version: '1.21'
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: 1.17.4
124
+ version: 1.21.0
125
125
  type: :development
126
126
  prerelease: false
127
127
  version_requirements: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '1.17'
131
+ version: '1.21'
132
132
  - - ">="
133
133
  - !ruby/object:Gem::Version
134
- version: 1.17.4
134
+ version: 1.21.0
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: timecop
137
137
  requirement: !ruby/object:Gem::Requirement
138
138
  requirements:
139
139
  - - "~>"
140
140
  - !ruby/object:Gem::Version
141
- version: '0.6'
141
+ version: '0.8'
142
142
  - - ">="
143
143
  - !ruby/object:Gem::Version
144
- version: 0.6.2
144
+ version: 0.8.0
145
145
  type: :development
146
146
  prerelease: false
147
147
  version_requirements: !ruby/object:Gem::Requirement
148
148
  requirements:
149
149
  - - "~>"
150
150
  - !ruby/object:Gem::Version
151
- version: '0.6'
151
+ version: '0.8'
152
152
  - - ">="
153
153
  - !ruby/object:Gem::Version
154
- version: 0.6.2
154
+ version: 0.8.0
155
155
  description: Irish Rail Train Schedule and Status API
156
156
  email: oi.sin@nis.io
157
157
  executables: []
@@ -162,7 +162,6 @@ files:
162
162
  - ".gitignore"
163
163
  - ".travis.yml"
164
164
  - Gemfile
165
- - Gemfile.lock
166
165
  - LICENSE.txt
167
166
  - README.md
168
167
  - Rakefile
@@ -209,9 +208,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
208
  version: '0'
210
209
  requirements: []
211
210
  rubyforge_project:
212
- rubygems_version: 2.2.2
211
+ rubygems_version: 2.2.3
213
212
  signing_key:
214
213
  specification_version: 4
215
214
  summary: Irish Rail Train Schedule and Status API
216
215
  test_files: []
217
- has_rdoc:
@@ -1,60 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- ierail (0.4.0)
5
- json (~> 1.8, >= 1.8.1)
6
- nokogiri (~> 1.6, >= 1.6.1)
7
- rest-client (~> 1.6, >= 1.6.7)
8
- tzinfo (~> 1.1, >= 1.1.0)
9
-
10
- GEM
11
- remote: https://rubygems.org/
12
- specs:
13
- addressable (2.3.6)
14
- coveralls (0.7.0)
15
- multi_json (~> 1.3)
16
- rest-client
17
- simplecov (>= 0.7)
18
- term-ansicolor
19
- thor
20
- crack (0.4.2)
21
- safe_yaml (~> 1.0.0)
22
- docile (1.1.3)
23
- json (1.8.1)
24
- mime-types (2.2)
25
- mini_portile (0.5.3)
26
- multi_json (1.9.2)
27
- nokogiri (1.6.1)
28
- mini_portile (~> 0.5.0)
29
- rake (10.3.1)
30
- rest-client (1.6.7)
31
- mime-types (>= 1.16)
32
- safe_yaml (1.0.2)
33
- simplecov (0.8.2)
34
- docile (~> 1.1.0)
35
- multi_json
36
- simplecov-html (~> 0.8.0)
37
- simplecov-html (0.8.0)
38
- term-ansicolor (1.3.0)
39
- tins (~> 1.0)
40
- thor (0.19.1)
41
- thread_safe (0.3.3)
42
- timecop (0.7.1)
43
- tins (1.1.0)
44
- tzinfo (1.1.0)
45
- thread_safe (~> 0.1)
46
- vcr (2.9.0)
47
- webmock (1.17.4)
48
- addressable (>= 2.2.7)
49
- crack (>= 0.3.2)
50
-
51
- PLATFORMS
52
- ruby
53
-
54
- DEPENDENCIES
55
- coveralls
56
- ierail!
57
- rake
58
- timecop (~> 0.6, >= 0.6.2)
59
- vcr (~> 2.9, >= 2.9.0)
60
- webmock (~> 1.17, >= 1.17.4)