spacex 0.0.7 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +5 -5
- data/CHANGELOG.md +18 -2
- data/CONTRIBUTING.md +7 -7
- data/Gemfile +2 -0
- data/README.md +207 -98
- data/lib/spacex.rb +3 -0
- data/lib/spacex/base_request.rb +45 -20
- data/lib/spacex/capsules.rb +19 -0
- data/lib/spacex/company_info.rb +1 -1
- data/lib/spacex/cores.rb +22 -0
- data/lib/spacex/dragon_capsules.rb +2 -16
- data/lib/spacex/launches.rb +13 -1
- data/lib/spacex/missions.rb +2 -16
- data/lib/spacex/roadster.rb +1 -1
- data/lib/spacex/rockets.rb +7 -0
- data/lib/spacex/ships.rb +2 -16
- data/lib/spacex/version.rb +1 -1
- data/spacex.gemspec +6 -5
- data/spec/fixtures/spacex/capsules.yml +83 -0
- data/spec/fixtures/spacex/capsules/C202.yml +123 -0
- data/spec/fixtures/spacex/company_info/info.yml +63 -0
- data/spec/fixtures/spacex/cores.yml +62 -0
- data/spec/fixtures/spacex/cores/B1041.yml +123 -0
- data/spec/fixtures/spacex/dragon_capsules/info.yml +6 -6
- data/spec/fixtures/spacex/dragon_capsules/info/dragon1.yml +64 -0
- data/spec/fixtures/spacex/launches.yml +62 -0
- data/spec/fixtures/spacex/launches/all.yml +62 -0
- data/spec/fixtures/spacex/launches/next.yml +123 -0
- data/spec/fixtures/spacex/missions/F3364BF.yml +77 -0
- data/spec/fixtures/spacex/missions/info.yml +7 -7
- data/spec/fixtures/spacex/roadster/info.yml +64 -0
- data/spec/fixtures/spacex/rockets/info.yml +105 -0
- data/spec/fixtures/spacex/rockets/info/falcon1.yml +139 -0
- data/spec/fixtures/spacex/rockets/info/invalid.yml +61 -0
- data/spec/fixtures/spacex/ships/info.yml +20 -20
- data/spec/fixtures/spacex/ships/info/AMERICANCHAMPION.yml +61 -0
- data/spec/spacex/capsules_spec.rb +38 -0
- data/spec/spacex/company_info_spec.rb +2 -4
- data/spec/spacex/cores_spec.rb +45 -0
- data/spec/spacex/dragon_capsules_spec.rb +6 -6
- data/spec/spacex/launches_spec.rb +205 -15
- data/spec/spacex/missions_spec.rb +3 -5
- data/spec/spacex/roadster_spec.rb +3 -3
- data/spec/spacex/rockets_spec.rb +210 -0
- data/spec/spacex/ships_spec.rb +4 -4
- data/spec/spacex/version_spec.rb +1 -3
- data/spec/spec_helper.rb +9 -0
- metadata +63 -20
@@ -1,9 +1,7 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
1
|
require 'spec_helper'
|
4
2
|
|
5
|
-
describe SPACEX do
|
6
|
-
context '
|
3
|
+
describe SPACEX::Missions do
|
4
|
+
context '#info', vcr: { cassette_name: 'missions/info' } do
|
7
5
|
subject do
|
8
6
|
SPACEX::Missions.info
|
9
7
|
end
|
@@ -19,7 +17,7 @@ describe SPACEX do
|
|
19
17
|
end
|
20
18
|
end
|
21
19
|
|
22
|
-
context '
|
20
|
+
context "#info('F3364BF')", vcr: { cassette_name: 'missions/F3364BF' } do
|
23
21
|
subject do
|
24
22
|
SPACEX::Missions.info('F3364BF')
|
25
23
|
end
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
require 'spec_helper'
|
4
4
|
|
5
|
-
describe SPACEX do
|
6
|
-
context '
|
5
|
+
describe SPACEX::Roadster do
|
6
|
+
context '#info', vcr: { cassette_name: 'roadster/info' } do
|
7
7
|
subject do
|
8
8
|
SPACEX::Roadster.info
|
9
9
|
end
|
@@ -30,7 +30,7 @@ describe SPACEX do
|
|
30
30
|
expect(subject.mars_distance_km).to eq 147_648_108.6344399
|
31
31
|
expect(subject.mars_distance_mi).to eq 91_744_252.91029055
|
32
32
|
expect(subject.wikipedia).to eq 'https://en.wikipedia.org/wiki/Elon_Musk%27s_Tesla_Roadster'
|
33
|
-
expect(subject.details).to
|
33
|
+
expect(subject.details).to start_with "Elon Musk's Tesla Roadster is an electric sports"
|
34
34
|
end
|
35
35
|
end
|
36
36
|
end
|
@@ -0,0 +1,210 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe SPACEX::Rockets do
|
4
|
+
context '#info', vcr: { cassette_name: 'rockets/info' } do
|
5
|
+
subject do
|
6
|
+
SPACEX::Rockets.info
|
7
|
+
end
|
8
|
+
|
9
|
+
it "returns all Rockets' when no id is passed info" do
|
10
|
+
first_subject = subject.first
|
11
|
+
expect(first_subject.id).to eq 1
|
12
|
+
expect(first_subject.active).to eq false
|
13
|
+
expect(first_subject.stages).to eq 2
|
14
|
+
expect(first_subject.boosters).to eq 0
|
15
|
+
expect(first_subject.cost_per_launch).to eq 6_700_000
|
16
|
+
expect(first_subject.success_rate_pct).to eq 40
|
17
|
+
expect(first_subject.first_flight).to eq '2006-03-24'
|
18
|
+
expect(first_subject.country).to eq 'Republic of the Marshall Islands'
|
19
|
+
expect(first_subject.company).to eq 'SpaceX'
|
20
|
+
expect(first_subject.height).to eq(
|
21
|
+
'meters' => 22.25,
|
22
|
+
'feet' => 73
|
23
|
+
)
|
24
|
+
expect(first_subject.diameter).to eq(
|
25
|
+
'meters' => 1.68,
|
26
|
+
'feet' => 5.5
|
27
|
+
)
|
28
|
+
expect(first_subject.mass).to eq(
|
29
|
+
'kg' => 30_146,
|
30
|
+
'lb' => 66_460
|
31
|
+
)
|
32
|
+
expect(first_subject.payload_weights).to eq [{
|
33
|
+
'id' => 'leo',
|
34
|
+
'name' => 'Low Earth Orbit',
|
35
|
+
'kg' => 450,
|
36
|
+
'lb' => 992
|
37
|
+
}]
|
38
|
+
expect(first_subject.first_stage).to eq(
|
39
|
+
'reusable' => false,
|
40
|
+
'engines' => 1,
|
41
|
+
'fuel_amount_tons' => 44.3,
|
42
|
+
'burn_time_sec' => 169,
|
43
|
+
'thrust_sea_level' => {
|
44
|
+
'kN' => 420,
|
45
|
+
'lbf' => 94_000
|
46
|
+
},
|
47
|
+
'thrust_vacuum' => {
|
48
|
+
'kN' => 480,
|
49
|
+
'lbf' => 110_000
|
50
|
+
}
|
51
|
+
)
|
52
|
+
expect(first_subject.second_stage).to eq(
|
53
|
+
'engines' => 1,
|
54
|
+
'fuel_amount_tons' => 3.38,
|
55
|
+
'burn_time_sec' => 378,
|
56
|
+
'thrust' => {
|
57
|
+
'kN' => 31,
|
58
|
+
'lbf' => 7000
|
59
|
+
},
|
60
|
+
'payloads' => {
|
61
|
+
'option_1' => 'composite fairing',
|
62
|
+
'composite_fairing' => {
|
63
|
+
'height' => {
|
64
|
+
'meters' => 3.5,
|
65
|
+
'feet' => 11.5
|
66
|
+
},
|
67
|
+
'diameter' => {
|
68
|
+
'meters' => 1.5,
|
69
|
+
'feet' => 4.9
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
)
|
74
|
+
expect(first_subject.engines).to eq(
|
75
|
+
'number' => 1,
|
76
|
+
'type' => 'merlin',
|
77
|
+
'version' => '1C',
|
78
|
+
'layout' => 'single',
|
79
|
+
'engine_loss_max' => 0,
|
80
|
+
'propellant_1' => 'liquid oxygen',
|
81
|
+
'propellant_2' => 'RP-1 kerosene',
|
82
|
+
'thrust_sea_level' => {
|
83
|
+
'kN' => 420,
|
84
|
+
'lbf' => 94_000
|
85
|
+
},
|
86
|
+
'thrust_vacuum' => {
|
87
|
+
'kN' => 480,
|
88
|
+
'lbf' => 110_000
|
89
|
+
},
|
90
|
+
'thrust_to_weight' => 96
|
91
|
+
)
|
92
|
+
expect(first_subject.landing_legs).to eq(
|
93
|
+
'number' => 0,
|
94
|
+
'material' => nil
|
95
|
+
)
|
96
|
+
expect(first_subject.wikipedia).to eq(
|
97
|
+
'https://en.wikipedia.org/wiki/Falcon_1'
|
98
|
+
)
|
99
|
+
expect(first_subject.description).to eq(
|
100
|
+
'The Falcon 1 was an expendable launch system '\
|
101
|
+
'privately developed and manufactured by SpaceX during 2006-2009. '\
|
102
|
+
'On 28 September 2008, Falcon 1 became the first '\
|
103
|
+
'privately-developed liquid-fuel launch vehicle to '\
|
104
|
+
'go into orbit around the Earth.'
|
105
|
+
)
|
106
|
+
expect(first_subject.rocket_id).to eq 'falcon1'
|
107
|
+
expect(first_subject.rocket_name).to eq 'Falcon 1'
|
108
|
+
expect(first_subject.rocket_type).to eq 'rocket'
|
109
|
+
expect(first_subject.flickr_images).to eq(
|
110
|
+
[
|
111
|
+
'https://www.spacex.com/sites/spacex/files/styles/media_gallery_large/public/2009_-_01_liftoff_south_full_wide_ro8a1280_edit.jpg?itok=8loiSGt1',
|
112
|
+
'https://www.spacex.com/sites/spacex/files/styles/media_gallery_large/public/2009_-_02_default_liftoff_west_full_wide_nn6p2062_xl.jpg?itok=p776nHsM'
|
113
|
+
]
|
114
|
+
)
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
context "#info('falcon1')", vcr: { cassette_name: 'rockets/info/falcon1' } do
|
119
|
+
subject do
|
120
|
+
SPACEX::Rockets.info('falcon1')
|
121
|
+
end
|
122
|
+
|
123
|
+
it 'returns Rocket info for "falcon1"' do
|
124
|
+
expect(subject.id).to eq 1
|
125
|
+
expect(subject.active).to eq false
|
126
|
+
expect(subject.stages).to eq 2
|
127
|
+
expect(subject.boosters).to eq 0
|
128
|
+
expect(subject.cost_per_launch).to eq 6_700_000
|
129
|
+
expect(subject.success_rate_pct).to eq 40
|
130
|
+
expect(subject.first_flight).to eq '2006-03-24'
|
131
|
+
expect(subject.country).to eq 'Republic of the Marshall Islands'
|
132
|
+
expect(subject.company).to eq 'SpaceX'
|
133
|
+
expect(subject.height).to eq('meters' => 22.25, 'feet' => 73)
|
134
|
+
expect(subject.diameter).to eq('meters' => 1.68, 'feet' => 5.5)
|
135
|
+
expect(subject.mass).to eq('kg' => 30_146, 'lb' => 66_460)
|
136
|
+
expect(subject.payload_weights).to eq [{
|
137
|
+
'id' => 'leo',
|
138
|
+
'name' => 'Low Earth Orbit',
|
139
|
+
'kg' => 450,
|
140
|
+
'lb' => 992
|
141
|
+
}]
|
142
|
+
expect(subject.first_stage).to eq(
|
143
|
+
'reusable' => false,
|
144
|
+
'engines' => 1,
|
145
|
+
'fuel_amount_tons' => 44.3,
|
146
|
+
'burn_time_sec' => 169,
|
147
|
+
'thrust_sea_level' => {
|
148
|
+
'kN' => 420,
|
149
|
+
'lbf' => 94_000
|
150
|
+
},
|
151
|
+
'thrust_vacuum' => {
|
152
|
+
'kN' => 480,
|
153
|
+
'lbf' => 110_000
|
154
|
+
}
|
155
|
+
)
|
156
|
+
expect(subject.second_stage).to eq(
|
157
|
+
'engines' => 1,
|
158
|
+
'fuel_amount_tons' => 3.38,
|
159
|
+
'burn_time_sec' => 378,
|
160
|
+
'thrust' => {
|
161
|
+
'kN' => 31,
|
162
|
+
'lbf' => 7000
|
163
|
+
},
|
164
|
+
'payloads' => {
|
165
|
+
'option_1' => 'composite fairing',
|
166
|
+
'composite_fairing' => {
|
167
|
+
'height' => {
|
168
|
+
'meters' => 3.5,
|
169
|
+
'feet' => 11.5
|
170
|
+
},
|
171
|
+
'diameter' => {
|
172
|
+
'meters' => 1.5,
|
173
|
+
'feet' => 4.9
|
174
|
+
}
|
175
|
+
}
|
176
|
+
}
|
177
|
+
)
|
178
|
+
expect(subject.engines).to eq(
|
179
|
+
'number' => 1,
|
180
|
+
'type' => 'merlin',
|
181
|
+
'version' => '1C',
|
182
|
+
'layout' => 'single',
|
183
|
+
'engine_loss_max' => 0,
|
184
|
+
'propellant_1' => 'liquid oxygen',
|
185
|
+
'propellant_2' => 'RP-1 kerosene',
|
186
|
+
'thrust_sea_level' => {
|
187
|
+
'kN' => 420,
|
188
|
+
'lbf' => 94_000
|
189
|
+
},
|
190
|
+
'thrust_vacuum' => {
|
191
|
+
'kN' => 480,
|
192
|
+
'lbf' => 110_000
|
193
|
+
},
|
194
|
+
'thrust_to_weight' => 96
|
195
|
+
)
|
196
|
+
expect(subject.landing_legs).to eq('number' => 0, 'material' => nil)
|
197
|
+
expect(subject.wikipedia).to eq 'https://en.wikipedia.org/wiki/Falcon_1'
|
198
|
+
expect(subject.description).to eq(
|
199
|
+
'The Falcon 1 was an expendable launch system '\
|
200
|
+
'privately developed and manufactured by SpaceX during 2006-2009. '\
|
201
|
+
'On 28 September 2008, Falcon 1 became the first '\
|
202
|
+
'privately-developed liquid-fuel launch vehicle to '\
|
203
|
+
'go into orbit around the Earth.'
|
204
|
+
)
|
205
|
+
expect(subject.rocket_id).to eq 'falcon1'
|
206
|
+
expect(subject.rocket_name).to eq 'Falcon 1'
|
207
|
+
expect(subject.rocket_type).to eq 'rocket'
|
208
|
+
end
|
209
|
+
end
|
210
|
+
end
|
data/spec/spacex/ships_spec.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
|
-
describe SPACEX do
|
4
|
-
context '
|
3
|
+
describe SPACEX::Ships do
|
4
|
+
context '#info', vcr: { cassette_name: 'ships/info' } do
|
5
5
|
subject do
|
6
6
|
SPACEX::Ships.info
|
7
7
|
end
|
@@ -23,7 +23,7 @@ describe SPACEX do
|
|
23
23
|
expect(subject.first.status).to eq 'Stopped'
|
24
24
|
expect(subject.first.speed_kn).to eq 0
|
25
25
|
expect(subject.first.course_deg).to eq nil
|
26
|
-
expect(subject.first.position).to eq ({ 'latitude' => 30.
|
26
|
+
expect(subject.first.position).to eq ({ 'latitude' => 30.5276, 'longitude' => -88.10261 })
|
27
27
|
expect(subject.first.successful_landings).to eq nil
|
28
28
|
expect(subject.first.attempted_landings).to eq nil
|
29
29
|
expect(subject.first.missions).to eq [{ 'flight' => 7, 'name' => 'COTS 1' }, { 'flight' => 8, 'name' => 'COTS 2' }]
|
@@ -32,7 +32,7 @@ describe SPACEX do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
context '
|
35
|
+
context "#info('AMERICANCHAMPION')", vcr: { cassette_name: 'ships/info/AMERICANCHAMPION' } do
|
36
36
|
subject do
|
37
37
|
SPACEX::Ships.info('AMERICANCHAMPION')
|
38
38
|
end
|
data/spec/spacex/version_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -2,6 +2,15 @@
|
|
2
2
|
|
3
3
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..'))
|
4
4
|
|
5
|
+
if ENV['CI']
|
6
|
+
require 'coveralls'
|
7
|
+
Coveralls.wear!
|
8
|
+
else
|
9
|
+
require 'pry'
|
10
|
+
require 'simplecov'
|
11
|
+
SimpleCov.start
|
12
|
+
end
|
13
|
+
|
5
14
|
require 'rubygems'
|
6
15
|
require 'rspec'
|
7
16
|
require 'spacex'
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spacex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodolfo Bandeira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0.9'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0.9'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: faraday_middleware
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
33
|
+
version: '0.12'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
40
|
+
version: '0.12'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: hashie
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 3.6.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: coveralls
|
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'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: rake
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,16 +84,16 @@ dependencies:
|
|
70
84
|
name: rspec
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
|
-
- - "
|
87
|
+
- - "~>"
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
89
|
+
version: '3.8'
|
76
90
|
type: :development
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- - "
|
94
|
+
- - "~>"
|
81
95
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
96
|
+
version: '3.8'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: rubocop
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,30 +112,30 @@ dependencies:
|
|
98
112
|
name: vcr
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
|
-
- - "
|
115
|
+
- - "~>"
|
102
116
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
117
|
+
version: '4'
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
|
-
- - "
|
122
|
+
- - "~>"
|
109
123
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
124
|
+
version: '4'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: webmock
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
|
-
- - "
|
129
|
+
- - "~>"
|
116
130
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
131
|
+
version: '3.4'
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
|
-
- - "
|
136
|
+
- - "~>"
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
138
|
+
version: '3.4'
|
125
139
|
description: Ruby library to consume SpaceX launch data
|
126
140
|
email: rodolfobandeira@protonmail.com
|
127
141
|
executables: []
|
@@ -142,31 +156,47 @@ files:
|
|
142
156
|
- Rakefile
|
143
157
|
- lib/spacex.rb
|
144
158
|
- lib/spacex/base_request.rb
|
159
|
+
- lib/spacex/capsules.rb
|
145
160
|
- lib/spacex/company_info.rb
|
161
|
+
- lib/spacex/cores.rb
|
146
162
|
- lib/spacex/dragon_capsules.rb
|
147
163
|
- lib/spacex/endpoint.rb
|
148
164
|
- lib/spacex/launches.rb
|
149
165
|
- lib/spacex/missions.rb
|
150
166
|
- lib/spacex/resource.rb
|
151
167
|
- lib/spacex/roadster.rb
|
168
|
+
- lib/spacex/rockets.rb
|
152
169
|
- lib/spacex/ships.rb
|
153
170
|
- lib/spacex/version.rb
|
154
171
|
- rubocop.yml
|
155
172
|
- spacex.gemspec
|
173
|
+
- spec/fixtures/spacex/capsules.yml
|
174
|
+
- spec/fixtures/spacex/capsules/C202.yml
|
156
175
|
- spec/fixtures/spacex/company_info/info.yml
|
176
|
+
- spec/fixtures/spacex/cores.yml
|
177
|
+
- spec/fixtures/spacex/cores/B1041.yml
|
157
178
|
- spec/fixtures/spacex/dragon_capsules/info.yml
|
158
179
|
- spec/fixtures/spacex/dragon_capsules/info/dragon1.yml
|
180
|
+
- spec/fixtures/spacex/launches.yml
|
181
|
+
- spec/fixtures/spacex/launches/all.yml
|
159
182
|
- spec/fixtures/spacex/launches/latest.yml
|
183
|
+
- spec/fixtures/spacex/launches/next.yml
|
160
184
|
- spec/fixtures/spacex/missions/F3364BF.yml
|
161
185
|
- spec/fixtures/spacex/missions/info.yml
|
162
186
|
- spec/fixtures/spacex/roadster/info.yml
|
187
|
+
- spec/fixtures/spacex/rockets/info.yml
|
188
|
+
- spec/fixtures/spacex/rockets/info/falcon1.yml
|
189
|
+
- spec/fixtures/spacex/rockets/info/invalid.yml
|
163
190
|
- spec/fixtures/spacex/ships/info.yml
|
164
191
|
- spec/fixtures/spacex/ships/info/AMERICANCHAMPION.yml
|
192
|
+
- spec/spacex/capsules_spec.rb
|
165
193
|
- spec/spacex/company_info_spec.rb
|
194
|
+
- spec/spacex/cores_spec.rb
|
166
195
|
- spec/spacex/dragon_capsules_spec.rb
|
167
196
|
- spec/spacex/launches_spec.rb
|
168
197
|
- spec/spacex/missions_spec.rb
|
169
198
|
- spec/spacex/roadster_spec.rb
|
199
|
+
- spec/spacex/rockets_spec.rb
|
170
200
|
- spec/spacex/ships_spec.rb
|
171
201
|
- spec/spacex/version_spec.rb
|
172
202
|
- spec/spec_helper.rb
|
@@ -196,20 +226,33 @@ signing_key:
|
|
196
226
|
specification_version: 4
|
197
227
|
summary: SpaceX API with Ruby
|
198
228
|
test_files:
|
229
|
+
- spec/fixtures/spacex/capsules.yml
|
230
|
+
- spec/fixtures/spacex/capsules/C202.yml
|
199
231
|
- spec/fixtures/spacex/company_info/info.yml
|
232
|
+
- spec/fixtures/spacex/cores.yml
|
233
|
+
- spec/fixtures/spacex/cores/B1041.yml
|
200
234
|
- spec/fixtures/spacex/dragon_capsules/info.yml
|
201
235
|
- spec/fixtures/spacex/dragon_capsules/info/dragon1.yml
|
236
|
+
- spec/fixtures/spacex/launches.yml
|
237
|
+
- spec/fixtures/spacex/launches/all.yml
|
202
238
|
- spec/fixtures/spacex/launches/latest.yml
|
239
|
+
- spec/fixtures/spacex/launches/next.yml
|
203
240
|
- spec/fixtures/spacex/missions/F3364BF.yml
|
204
241
|
- spec/fixtures/spacex/missions/info.yml
|
205
242
|
- spec/fixtures/spacex/roadster/info.yml
|
243
|
+
- spec/fixtures/spacex/rockets/info.yml
|
244
|
+
- spec/fixtures/spacex/rockets/info/falcon1.yml
|
245
|
+
- spec/fixtures/spacex/rockets/info/invalid.yml
|
206
246
|
- spec/fixtures/spacex/ships/info.yml
|
207
247
|
- spec/fixtures/spacex/ships/info/AMERICANCHAMPION.yml
|
248
|
+
- spec/spacex/capsules_spec.rb
|
208
249
|
- spec/spacex/company_info_spec.rb
|
250
|
+
- spec/spacex/cores_spec.rb
|
209
251
|
- spec/spacex/dragon_capsules_spec.rb
|
210
252
|
- spec/spacex/launches_spec.rb
|
211
253
|
- spec/spacex/missions_spec.rb
|
212
254
|
- spec/spacex/roadster_spec.rb
|
255
|
+
- spec/spacex/rockets_spec.rb
|
213
256
|
- spec/spacex/ships_spec.rb
|
214
257
|
- spec/spacex/version_spec.rb
|
215
258
|
- spec/spec_helper.rb
|