spacex 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rubocop.yml +6 -0
- data/.rubocop_todo.yml +8 -23
- data/CHANGELOG.md +22 -0
- data/CONTRIBUTING.md +35 -0
- data/Gemfile +3 -3
- data/README.md +122 -6
- data/lib/spacex.rb +3 -2
- data/lib/spacex/base_request.rb +16 -3
- data/lib/spacex/company_info.rb +0 -2
- data/lib/spacex/dragon_capsules.rb +47 -0
- data/lib/spacex/endpoint.rb +1 -3
- data/lib/spacex/launches.rb +0 -2
- data/lib/spacex/missions.rb +32 -0
- data/lib/spacex/resource.rb +5 -0
- data/lib/spacex/roadster.rb +1 -3
- data/lib/spacex/ships.rb +47 -0
- data/lib/spacex/version.rb +2 -4
- data/spacex.gemspec +1 -1
- data/spec/fixtures/spacex/company_info/info.yml +12 -14
- data/spec/fixtures/spacex/dragon_capsules/info.yml +77 -0
- data/spec/fixtures/spacex/dragon_capsules/info/dragon1.yml +67 -0
- data/spec/fixtures/spacex/launches/latest.yml +8 -8
- data/spec/fixtures/spacex/missions/F3364BF.yml +80 -0
- data/spec/fixtures/spacex/missions/info.yml +62 -0
- data/spec/fixtures/spacex/roadster/info.yml +2 -2
- data/spec/fixtures/spacex/ships/info.yml +139 -0
- data/spec/fixtures/spacex/ships/info/AMERICANCHAMPION.yml +64 -0
- data/spec/spacex/company_info_spec.rb +1 -1
- data/spec/spacex/dragon_capsules_spec.rb +107 -0
- data/spec/spacex/launches_spec.rb +1 -1
- data/spec/spacex/missions_spec.rb +37 -0
- data/spec/spacex/ships_spec.rb +65 -0
- metadata +30 -6
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spacex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
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-
|
11
|
+
date: 2018-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -42,16 +42,16 @@ dependencies:
|
|
42
42
|
name: hashie
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 3.6.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 3.6.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,6 +134,8 @@ files:
|
|
134
134
|
- ".rubocop_todo.yml"
|
135
135
|
- ".ruby-version"
|
136
136
|
- ".travis.yml"
|
137
|
+
- CHANGELOG.md
|
138
|
+
- CONTRIBUTING.md
|
137
139
|
- Gemfile
|
138
140
|
- LICENSE
|
139
141
|
- README.md
|
@@ -141,18 +143,31 @@ files:
|
|
141
143
|
- lib/spacex.rb
|
142
144
|
- lib/spacex/base_request.rb
|
143
145
|
- lib/spacex/company_info.rb
|
146
|
+
- lib/spacex/dragon_capsules.rb
|
144
147
|
- lib/spacex/endpoint.rb
|
145
148
|
- lib/spacex/launches.rb
|
149
|
+
- lib/spacex/missions.rb
|
150
|
+
- lib/spacex/resource.rb
|
146
151
|
- lib/spacex/roadster.rb
|
152
|
+
- lib/spacex/ships.rb
|
147
153
|
- lib/spacex/version.rb
|
148
154
|
- rubocop.yml
|
149
155
|
- spacex.gemspec
|
150
156
|
- spec/fixtures/spacex/company_info/info.yml
|
157
|
+
- spec/fixtures/spacex/dragon_capsules/info.yml
|
158
|
+
- spec/fixtures/spacex/dragon_capsules/info/dragon1.yml
|
151
159
|
- spec/fixtures/spacex/launches/latest.yml
|
160
|
+
- spec/fixtures/spacex/missions/F3364BF.yml
|
161
|
+
- spec/fixtures/spacex/missions/info.yml
|
152
162
|
- spec/fixtures/spacex/roadster/info.yml
|
163
|
+
- spec/fixtures/spacex/ships/info.yml
|
164
|
+
- spec/fixtures/spacex/ships/info/AMERICANCHAMPION.yml
|
153
165
|
- spec/spacex/company_info_spec.rb
|
166
|
+
- spec/spacex/dragon_capsules_spec.rb
|
154
167
|
- spec/spacex/launches_spec.rb
|
168
|
+
- spec/spacex/missions_spec.rb
|
155
169
|
- spec/spacex/roadster_spec.rb
|
170
|
+
- spec/spacex/ships_spec.rb
|
156
171
|
- spec/spacex/version_spec.rb
|
157
172
|
- spec/spec_helper.rb
|
158
173
|
- spec/support/vcr.rb
|
@@ -182,11 +197,20 @@ specification_version: 4
|
|
182
197
|
summary: SpaceX API with Ruby
|
183
198
|
test_files:
|
184
199
|
- spec/fixtures/spacex/company_info/info.yml
|
200
|
+
- spec/fixtures/spacex/dragon_capsules/info.yml
|
201
|
+
- spec/fixtures/spacex/dragon_capsules/info/dragon1.yml
|
185
202
|
- spec/fixtures/spacex/launches/latest.yml
|
203
|
+
- spec/fixtures/spacex/missions/F3364BF.yml
|
204
|
+
- spec/fixtures/spacex/missions/info.yml
|
186
205
|
- spec/fixtures/spacex/roadster/info.yml
|
206
|
+
- spec/fixtures/spacex/ships/info.yml
|
207
|
+
- spec/fixtures/spacex/ships/info/AMERICANCHAMPION.yml
|
187
208
|
- spec/spacex/company_info_spec.rb
|
209
|
+
- spec/spacex/dragon_capsules_spec.rb
|
188
210
|
- spec/spacex/launches_spec.rb
|
211
|
+
- spec/spacex/missions_spec.rb
|
189
212
|
- spec/spacex/roadster_spec.rb
|
213
|
+
- spec/spacex/ships_spec.rb
|
190
214
|
- spec/spacex/version_spec.rb
|
191
215
|
- spec/spec_helper.rb
|
192
216
|
- spec/support/vcr.rb
|