frizzle 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +3 -0
- data/LICENSE +20 -0
- data/README.md +151 -0
- data/Rakefile +10 -0
- data/frizzle.gemspec +30 -0
- data/lib/frizzle.rb +43 -0
- data/lib/frizzle/agencies.rb +32 -0
- data/lib/frizzle/arrival_estimates.rb +41 -0
- data/lib/frizzle/base.rb +58 -0
- data/lib/frizzle/exceptions.rb +8 -0
- data/lib/frizzle/routes.rb +25 -0
- data/lib/frizzle/segments.rb +32 -0
- data/lib/frizzle/stops.rb +23 -0
- data/lib/frizzle/vehicles.rb +41 -0
- data/lib/frizzle/version.rb +3 -0
- data/spec/fixtures/dish_cassettes/agencies.yml +214 -0
- data/spec/fixtures/dish_cassettes/agencies_find_options.yml +50 -0
- data/spec/fixtures/dish_cassettes/agencies_geo_default_radius.yml +54 -0
- data/spec/fixtures/dish_cassettes/agencies_geo_rectangle.yml +59 -0
- data/spec/fixtures/dish_cassettes/agencies_id_geo.yml +45 -0
- data/spec/fixtures/dish_cassettes/agency_geo_radius.yml +54 -0
- data/spec/fixtures/dish_cassettes/agency_id.yml +49 -0
- data/spec/fixtures/dish_cassettes/arrival_estimates_agencies.yml +1353 -0
- data/spec/fixtures/dish_cassettes/arrival_estimates_agencies_routes.yml +45 -0
- data/spec/fixtures/dish_cassettes/arrival_estimates_agencies_routes_stops.yml +45 -0
- data/spec/fixtures/dish_cassettes/arrival_estimates_agencies_stops.yml +45 -0
- data/spec/fixtures/dish_cassettes/arrival_estimates_find_options.yml +1444 -0
- data/spec/fixtures/dish_cassettes/routes_agencies.yml +846 -0
- data/spec/fixtures/dish_cassettes/routes_agencies_geo.yml +336 -0
- data/spec/fixtures/dish_cassettes/routes_find_options.yml +846 -0
- data/spec/fixtures/dish_cassettes/segments_agency_and_geo_area.yml +48 -0
- data/spec/fixtures/dish_cassettes/segments_agency_and_route.yml +64 -0
- data/spec/fixtures/dish_cassettes/segments_agency_id.yml +245 -0
- data/spec/fixtures/dish_cassettes/segments_find_options.yml +242 -0
- data/spec/fixtures/dish_cassettes/stops_agency_id.yml +3841 -0
- data/spec/fixtures/dish_cassettes/stops_find_options.yml +3841 -0
- data/spec/fixtures/dish_cassettes/vehicles_agencies.yml +760 -0
- data/spec/fixtures/dish_cassettes/vehicles_agencies_geo_area.yml +45 -0
- data/spec/fixtures/dish_cassettes/vehicles_agencies_routes.yml +82 -0
- data/spec/fixtures/dish_cassettes/vehicles_agencies_routes_geo_area.yml +45 -0
- data/spec/fixtures/dish_cassettes/vehicles_find_options.yml +845 -0
- data/spec/lib/frizzle/agencies_spec.rb +169 -0
- data/spec/lib/frizzle/arrival_estimates_spec.rb +97 -0
- data/spec/lib/frizzle/base_spec.rb +105 -0
- data/spec/lib/frizzle/exceptions_spec.rb +0 -0
- data/spec/lib/frizzle/routes_spec.rb +85 -0
- data/spec/lib/frizzle/segments_spec.rb +91 -0
- data/spec/lib/frizzle/stops_spec.rb +63 -0
- data/spec/lib/frizzle/vehicles_spec.rb +99 -0
- data/spec/lib/frizzle/version_spec.rb +9 -0
- data/spec/spec_helper.rb +18 -0
- metadata +244 -0
@@ -0,0 +1,91 @@
|
|
1
|
+
require_relative '../../spec_helper'
|
2
|
+
|
3
|
+
describe "Segments" do
|
4
|
+
|
5
|
+
describe "match method to class" do
|
6
|
+
it "must match" do
|
7
|
+
Frizzle.segments.must_be_same_as Frizzle::Segments
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
describe "find segments with hash" do
|
12
|
+
let(:segments_find_options) { Frizzle::Segments.find({:agencies => "24"}) }
|
13
|
+
|
14
|
+
before do
|
15
|
+
VCR.insert_cassette 'segments_find_options'
|
16
|
+
end
|
17
|
+
|
18
|
+
after do
|
19
|
+
VCR.eject_cassette
|
20
|
+
end
|
21
|
+
|
22
|
+
it "records the fixture" do
|
23
|
+
Frizzle::Segments.find({:agencies => "24"})
|
24
|
+
end
|
25
|
+
|
26
|
+
it "must be the correct polyline" do
|
27
|
+
segments_find_options['4012039'].must_equal "g_fzErly_NtCdBdA~@lAlAbAv@`BbA"
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
describe "find segments with agencies id" do
|
32
|
+
let(:segments_agency_id) { Frizzle::Segments.find_by_agencies(24) }
|
33
|
+
|
34
|
+
before do
|
35
|
+
VCR.insert_cassette 'segments_agency_id'
|
36
|
+
end
|
37
|
+
|
38
|
+
after do
|
39
|
+
VCR.eject_cassette
|
40
|
+
end
|
41
|
+
|
42
|
+
it "records the fixture" do
|
43
|
+
Frizzle::Segments.find_by_agencies(24)
|
44
|
+
end
|
45
|
+
|
46
|
+
it "must be the correct polyline" do
|
47
|
+
segments_agency_id['4012039'].must_equal "g_fzErly_NtCdBdA~@lAlAbAv@`BbA"
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
describe "find segments with agencies and routes" do
|
52
|
+
let(:segments_agency_and_route) { Frizzle::Segments.find_by_agencies_and_routes(24, [4000078, 4000383]) }
|
53
|
+
|
54
|
+
before do
|
55
|
+
VCR.insert_cassette 'segments_agency_and_route'
|
56
|
+
end
|
57
|
+
|
58
|
+
after do
|
59
|
+
VCR.eject_cassette
|
60
|
+
end
|
61
|
+
|
62
|
+
it "records the fixture" do
|
63
|
+
Frizzle::Segments.find_by_agencies_and_routes(24, [4000078, 4000383])
|
64
|
+
end
|
65
|
+
|
66
|
+
it "must get the correct polyline" do
|
67
|
+
segments_agency_and_route['4039943'].must_equal "}uwzEbez`NsAwAo@w@q@mAQc@U}@MmAWcI"
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe "find segments with agencies and geo" do
|
72
|
+
let(:segments_agency_and_geo_area) { Frizzle::Segments.find_by_agencies_and_geo_area(24, [35.98974,-78.90292]) }
|
73
|
+
|
74
|
+
before do
|
75
|
+
VCR.insert_cassette 'segments_agency_and_geo_area'
|
76
|
+
end
|
77
|
+
|
78
|
+
after do
|
79
|
+
VCR.eject_cassette
|
80
|
+
end
|
81
|
+
|
82
|
+
it "records the fixture" do
|
83
|
+
Frizzle::Segments.find_by_agencies_and_geo_area(24, [35.98974,-78.90292])
|
84
|
+
end
|
85
|
+
|
86
|
+
it "must get the correct polyline" do
|
87
|
+
segments_agency_and_geo_area['4043399'].must_equal "s|szEvrq`NUJi@PWPcBxBc@TMBc@@k[cK"
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
require_relative '../../spec_helper'
|
2
|
+
|
3
|
+
describe "Stops" do
|
4
|
+
|
5
|
+
describe "match method to class" do
|
6
|
+
it "must match" do
|
7
|
+
Frizzle.stops.must_be_same_as Frizzle::Stops
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
describe "find stops with hash" do
|
12
|
+
let(:stops_find_options) { Frizzle::Stops.find({:agencies => "24"}) }
|
13
|
+
|
14
|
+
before do
|
15
|
+
VCR.insert_cassette 'stops_find_options'
|
16
|
+
end
|
17
|
+
|
18
|
+
after do
|
19
|
+
VCR.eject_cassette
|
20
|
+
end
|
21
|
+
|
22
|
+
it "records the fixture" do
|
23
|
+
Frizzle::Stops.find({:agencies => "24"})
|
24
|
+
end
|
25
|
+
|
26
|
+
it "must be the correct stop code" do
|
27
|
+
stops_find_options[0]['code'].must_equal "1029"
|
28
|
+
end
|
29
|
+
|
30
|
+
it "must be the correct stop id" do
|
31
|
+
stops_find_options[0]['stop_id'].must_equal "4049406"
|
32
|
+
end
|
33
|
+
|
34
|
+
it "must be the correct agencies" do
|
35
|
+
stops_find_options[0]['agency_ids'].must_equal ["12","24"]
|
36
|
+
end
|
37
|
+
|
38
|
+
it "must be the correct name" do
|
39
|
+
stops_find_options[0]['name'].must_equal "Renaissance Pkwy at Leonardo Dr"
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
describe "find stops with agencies id" do
|
44
|
+
let(:stops_agency_id) { Frizzle::Stops.find_by_agencies(24) }
|
45
|
+
|
46
|
+
before do
|
47
|
+
VCR.insert_cassette 'stops_agency_id'
|
48
|
+
end
|
49
|
+
|
50
|
+
after do
|
51
|
+
VCR.eject_cassette
|
52
|
+
end
|
53
|
+
|
54
|
+
it "records the fixture" do
|
55
|
+
Frizzle::Stops.find_by_agencies(24)
|
56
|
+
end
|
57
|
+
|
58
|
+
it "must be the correct code" do
|
59
|
+
stops_agency_id[0]['code'].must_equal "1029"
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
end
|
@@ -0,0 +1,99 @@
|
|
1
|
+
require_relative '../../spec_helper'
|
2
|
+
|
3
|
+
describe "Vehicles" do
|
4
|
+
|
5
|
+
describe "match method to class" do
|
6
|
+
it "must match" do
|
7
|
+
Frizzle.vehicles.must_be_same_as Frizzle::Vehicles
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
describe "find stops with hash" do
|
12
|
+
let(:vehicles_find_options) { Frizzle::Vehicles.find({:agencies => "24"}) }
|
13
|
+
|
14
|
+
before do
|
15
|
+
VCR.insert_cassette 'vehicles_find_options'
|
16
|
+
end
|
17
|
+
|
18
|
+
after do
|
19
|
+
VCR.eject_cassette
|
20
|
+
end
|
21
|
+
|
22
|
+
it "records the fixture" do
|
23
|
+
Frizzle::Vehicles.find({:agencies => "24"})
|
24
|
+
end
|
25
|
+
|
26
|
+
it "must have the correct call name" do
|
27
|
+
vehicles_find_options['24'][0]['call_name'].must_equal "1002"
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
describe "find stops with agencies" do
|
32
|
+
let(:vehicles_agencies) { Frizzle::Vehicles.find_by_agencies("24") }
|
33
|
+
|
34
|
+
before do
|
35
|
+
VCR.insert_cassette 'vehicles_agencies'
|
36
|
+
end
|
37
|
+
|
38
|
+
after do
|
39
|
+
VCR.eject_cassette
|
40
|
+
end
|
41
|
+
|
42
|
+
it "records the fixture" do
|
43
|
+
Frizzle::Vehicles.find_by_agencies("24")
|
44
|
+
end
|
45
|
+
|
46
|
+
it "must have the correct call name" do
|
47
|
+
vehicles_agencies['24'][0]['call_name'].must_equal "1002"
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
describe "find stops with agencies and routes" do
|
52
|
+
let(:vehicles_agencies_routes) { Frizzle::Vehicles.find_by_agencies_and_routes("24", ["4003034","4003038"]) }
|
53
|
+
|
54
|
+
before do
|
55
|
+
VCR.insert_cassette 'vehicles_agencies_routes'
|
56
|
+
end
|
57
|
+
|
58
|
+
after do
|
59
|
+
VCR.eject_cassette
|
60
|
+
end
|
61
|
+
|
62
|
+
it "records the fixture" do
|
63
|
+
Frizzle::Vehicles.find_by_agencies_and_routes("24", ["4003034","4003038"])
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
describe "find stops with agencies and geo area" do
|
68
|
+
let(:vehicles_agencies_geo_area) { Frizzle::Vehicles.find_by_agencies_and_geo_area(24, [35.98974,-78.90292]) }
|
69
|
+
|
70
|
+
before do
|
71
|
+
VCR.insert_cassette 'vehicles_agencies_geo_area'
|
72
|
+
end
|
73
|
+
|
74
|
+
after do
|
75
|
+
VCR.eject_cassette
|
76
|
+
end
|
77
|
+
|
78
|
+
it "records the fixture" do
|
79
|
+
Frizzle::Vehicles.find_by_agencies_and_geo_area(24, [35.98974,-78.90292])
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe "find stops with agencies, routes, geo area" do
|
84
|
+
let(:vehicles_agencies_routes_geo_area) { Frizzle::Vehicles.find_by_agencies_and_routes_geo_area(24, ["4003034","4003038"], [35.98974,-78.90292]) }
|
85
|
+
|
86
|
+
before do
|
87
|
+
VCR.insert_cassette 'vehicles_agencies_routes_geo_area'
|
88
|
+
end
|
89
|
+
|
90
|
+
after do
|
91
|
+
VCR.eject_cassette
|
92
|
+
end
|
93
|
+
|
94
|
+
it "records the fixture" do
|
95
|
+
Frizzle::Vehicles.find_by_agencies_and_routes_and_geo_area(24, ["4003034","4003038"], [35.98974,-78.90292])
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
require_relative "../lib/frizzle"
|
2
|
+
|
3
|
+
require 'minitest/autorun'
|
4
|
+
require 'webmock/minitest'
|
5
|
+
require 'vcr'
|
6
|
+
require 'turn'
|
7
|
+
|
8
|
+
|
9
|
+
Turn.config do |c|
|
10
|
+
c.format = :outline
|
11
|
+
c.trace = true
|
12
|
+
c.natural = true
|
13
|
+
end
|
14
|
+
|
15
|
+
VCR.configure do |c|
|
16
|
+
c.cassette_library_dir = 'spec/fixtures/dish_cassettes'
|
17
|
+
c.hook_into :webmock
|
18
|
+
end
|
metadata
ADDED
@@ -0,0 +1,244 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: frizzle
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tyler Pearson
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-12-01 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: webmock
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: vcr
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: turn
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: minitest
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: httparty
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: hashie
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
description: A wrapper for the TransLoc API
|
126
|
+
email:
|
127
|
+
- ty.pearson@gmail.com
|
128
|
+
executables: []
|
129
|
+
extensions: []
|
130
|
+
extra_rdoc_files: []
|
131
|
+
files:
|
132
|
+
- .gitignore
|
133
|
+
- Gemfile
|
134
|
+
- LICENSE
|
135
|
+
- README.md
|
136
|
+
- Rakefile
|
137
|
+
- frizzle.gemspec
|
138
|
+
- lib/frizzle.rb
|
139
|
+
- lib/frizzle/agencies.rb
|
140
|
+
- lib/frizzle/arrival_estimates.rb
|
141
|
+
- lib/frizzle/base.rb
|
142
|
+
- lib/frizzle/exceptions.rb
|
143
|
+
- lib/frizzle/routes.rb
|
144
|
+
- lib/frizzle/segments.rb
|
145
|
+
- lib/frizzle/stops.rb
|
146
|
+
- lib/frizzle/vehicles.rb
|
147
|
+
- lib/frizzle/version.rb
|
148
|
+
- spec/fixtures/dish_cassettes/agencies.yml
|
149
|
+
- spec/fixtures/dish_cassettes/agencies_find_options.yml
|
150
|
+
- spec/fixtures/dish_cassettes/agencies_geo_default_radius.yml
|
151
|
+
- spec/fixtures/dish_cassettes/agencies_geo_rectangle.yml
|
152
|
+
- spec/fixtures/dish_cassettes/agencies_id_geo.yml
|
153
|
+
- spec/fixtures/dish_cassettes/agency_geo_radius.yml
|
154
|
+
- spec/fixtures/dish_cassettes/agency_id.yml
|
155
|
+
- spec/fixtures/dish_cassettes/arrival_estimates_agencies.yml
|
156
|
+
- spec/fixtures/dish_cassettes/arrival_estimates_agencies_routes.yml
|
157
|
+
- spec/fixtures/dish_cassettes/arrival_estimates_agencies_routes_stops.yml
|
158
|
+
- spec/fixtures/dish_cassettes/arrival_estimates_agencies_stops.yml
|
159
|
+
- spec/fixtures/dish_cassettes/arrival_estimates_find_options.yml
|
160
|
+
- spec/fixtures/dish_cassettes/routes_agencies.yml
|
161
|
+
- spec/fixtures/dish_cassettes/routes_agencies_geo.yml
|
162
|
+
- spec/fixtures/dish_cassettes/routes_find_options.yml
|
163
|
+
- spec/fixtures/dish_cassettes/segments_agency_and_geo_area.yml
|
164
|
+
- spec/fixtures/dish_cassettes/segments_agency_and_route.yml
|
165
|
+
- spec/fixtures/dish_cassettes/segments_agency_id.yml
|
166
|
+
- spec/fixtures/dish_cassettes/segments_find_options.yml
|
167
|
+
- spec/fixtures/dish_cassettes/stops_agency_id.yml
|
168
|
+
- spec/fixtures/dish_cassettes/stops_find_options.yml
|
169
|
+
- spec/fixtures/dish_cassettes/vehicles_agencies.yml
|
170
|
+
- spec/fixtures/dish_cassettes/vehicles_agencies_geo_area.yml
|
171
|
+
- spec/fixtures/dish_cassettes/vehicles_agencies_routes.yml
|
172
|
+
- spec/fixtures/dish_cassettes/vehicles_agencies_routes_geo_area.yml
|
173
|
+
- spec/fixtures/dish_cassettes/vehicles_find_options.yml
|
174
|
+
- spec/lib/frizzle/agencies_spec.rb
|
175
|
+
- spec/lib/frizzle/arrival_estimates_spec.rb
|
176
|
+
- spec/lib/frizzle/base_spec.rb
|
177
|
+
- spec/lib/frizzle/exceptions_spec.rb
|
178
|
+
- spec/lib/frizzle/routes_spec.rb
|
179
|
+
- spec/lib/frizzle/segments_spec.rb
|
180
|
+
- spec/lib/frizzle/stops_spec.rb
|
181
|
+
- spec/lib/frizzle/vehicles_spec.rb
|
182
|
+
- spec/lib/frizzle/version_spec.rb
|
183
|
+
- spec/spec_helper.rb
|
184
|
+
homepage: https://github.com/tylerpearson/frizzle
|
185
|
+
licenses:
|
186
|
+
- MIT
|
187
|
+
metadata: {}
|
188
|
+
post_install_message:
|
189
|
+
rdoc_options: []
|
190
|
+
require_paths:
|
191
|
+
- lib
|
192
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
193
|
+
requirements:
|
194
|
+
- - '>='
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: '0'
|
197
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - '>='
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
requirements: []
|
203
|
+
rubyforge_project:
|
204
|
+
rubygems_version: 2.0.3
|
205
|
+
signing_key:
|
206
|
+
specification_version: 4
|
207
|
+
summary: A wrapper for the TransLoc API
|
208
|
+
test_files:
|
209
|
+
- spec/fixtures/dish_cassettes/agencies.yml
|
210
|
+
- spec/fixtures/dish_cassettes/agencies_find_options.yml
|
211
|
+
- spec/fixtures/dish_cassettes/agencies_geo_default_radius.yml
|
212
|
+
- spec/fixtures/dish_cassettes/agencies_geo_rectangle.yml
|
213
|
+
- spec/fixtures/dish_cassettes/agencies_id_geo.yml
|
214
|
+
- spec/fixtures/dish_cassettes/agency_geo_radius.yml
|
215
|
+
- spec/fixtures/dish_cassettes/agency_id.yml
|
216
|
+
- spec/fixtures/dish_cassettes/arrival_estimates_agencies.yml
|
217
|
+
- spec/fixtures/dish_cassettes/arrival_estimates_agencies_routes.yml
|
218
|
+
- spec/fixtures/dish_cassettes/arrival_estimates_agencies_routes_stops.yml
|
219
|
+
- spec/fixtures/dish_cassettes/arrival_estimates_agencies_stops.yml
|
220
|
+
- spec/fixtures/dish_cassettes/arrival_estimates_find_options.yml
|
221
|
+
- spec/fixtures/dish_cassettes/routes_agencies.yml
|
222
|
+
- spec/fixtures/dish_cassettes/routes_agencies_geo.yml
|
223
|
+
- spec/fixtures/dish_cassettes/routes_find_options.yml
|
224
|
+
- spec/fixtures/dish_cassettes/segments_agency_and_geo_area.yml
|
225
|
+
- spec/fixtures/dish_cassettes/segments_agency_and_route.yml
|
226
|
+
- spec/fixtures/dish_cassettes/segments_agency_id.yml
|
227
|
+
- spec/fixtures/dish_cassettes/segments_find_options.yml
|
228
|
+
- spec/fixtures/dish_cassettes/stops_agency_id.yml
|
229
|
+
- spec/fixtures/dish_cassettes/stops_find_options.yml
|
230
|
+
- spec/fixtures/dish_cassettes/vehicles_agencies.yml
|
231
|
+
- spec/fixtures/dish_cassettes/vehicles_agencies_geo_area.yml
|
232
|
+
- spec/fixtures/dish_cassettes/vehicles_agencies_routes.yml
|
233
|
+
- spec/fixtures/dish_cassettes/vehicles_agencies_routes_geo_area.yml
|
234
|
+
- spec/fixtures/dish_cassettes/vehicles_find_options.yml
|
235
|
+
- spec/lib/frizzle/agencies_spec.rb
|
236
|
+
- spec/lib/frizzle/arrival_estimates_spec.rb
|
237
|
+
- spec/lib/frizzle/base_spec.rb
|
238
|
+
- spec/lib/frizzle/exceptions_spec.rb
|
239
|
+
- spec/lib/frizzle/routes_spec.rb
|
240
|
+
- spec/lib/frizzle/segments_spec.rb
|
241
|
+
- spec/lib/frizzle/stops_spec.rb
|
242
|
+
- spec/lib/frizzle/vehicles_spec.rb
|
243
|
+
- spec/lib/frizzle/version_spec.rb
|
244
|
+
- spec/spec_helper.rb
|