orb_def 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/.circleci/config.yml +79 -0
- data/.gitignore +14 -0
- data/.rakeTasks +7 -0
- data/.rspec +1 -0
- data/Gemfile +15 -0
- data/Gemfile.lock +207 -0
- data/MIT-LICENSE +20 -0
- data/README.md +30 -0
- data/Rakefile +23 -0
- data/app/assets/config/orb_def_manifest.js +2 -0
- data/app/assets/javascripts/orb_def/application.js +15 -0
- data/app/assets/stylesheets/orb_def/application.css +15 -0
- data/app/controllers/orb_def/api/v1/fires_controller.rb +64 -0
- data/app/controllers/orb_def/api/v1/weather_readings_controller.rb +16 -0
- data/app/controllers/orb_def/application_controller.rb +5 -0
- data/app/helpers/orb_def/application_helper.rb +4 -0
- data/app/jobs/orb_def/application_job.rb +4 -0
- data/app/mailers/orb_def/application_mailer.rb +6 -0
- data/app/models/orb_def/application_record.rb +5 -0
- data/app/models/orb_def/detection_type.rb +7 -0
- data/app/models/orb_def/fire.rb +60 -0
- data/app/models/orb_def/weather_reading.rb +41 -0
- data/app/models/orb_def/weather_station.rb +33 -0
- data/app/serializers/orb_def/api/v1/fire_serializer.rb +17 -0
- data/app/services/orb_def/fire_weather_data.rb +36 -0
- data/app/services/orb_def/nasa/firms_client.rb +38 -0
- data/app/services/orb_def/nasa/firms_import.rb +44 -0
- data/app/services/orb_def/open_weather_api/weather_by_coordinates.rb +31 -0
- data/app/views/layouts/orb_def/application.html.erb +16 -0
- data/bin/rails +25 -0
- data/config/routes.rb +13 -0
- data/db/migrate/20200422073925_create_orb_def_weather_stations.rb +12 -0
- data/db/migrate/20200422073938_create_orb_def_weather_readings.rb +20 -0
- data/db/migrate/20200423064313_create_orb_def_detection_types.rb +9 -0
- data/db/migrate/20200428063630_create_orb_def_fires.rb +28 -0
- data/db/seeds.rb +8 -0
- data/lib/orb_def/engine.rb +16 -0
- data/lib/orb_def/version.rb +3 -0
- data/lib/orb_def.rb +16 -0
- data/lib/tasks/orb_def_tasks.rake +4 -0
- data/orb_def.gemspec +38 -0
- data/spec/controllers/orb_def/api/v1/fires_controller_spec.rb +16 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/config/manifest.js +4 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/javascripts/cable.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
- data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +2 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/jobs/application_job.rb +2 -0
- data/spec/dummy/app/mailers/application_mailer.rb +4 -0
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +15 -0
- data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +36 -0
- data/spec/dummy/bin/update +31 -0
- data/spec/dummy/bin/yarn +11 -0
- data/spec/dummy/config/application.rb +30 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/cable.yml +10 -0
- data/spec/dummy/config/database.yml +21 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +61 -0
- data/spec/dummy/config/environments/production.rb +94 -0
- data/spec/dummy/config/environments/test.rb +46 -0
- data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/spec/dummy/config/initializers/assets.rb +14 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/content_security_policy.rb +25 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/orb_def.rb +4 -0
- data/spec/dummy/config/initializers/pagy.rb +170 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +33 -0
- data/spec/dummy/config/orb_def/spring.rb +1 -0
- data/spec/dummy/config/puma.rb +37 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config/spring.rb +6 -0
- data/spec/dummy/config/storage.yml +34 -0
- data/spec/dummy/config.ru +5 -0
- data/spec/dummy/db/schema.rb +87 -0
- data/spec/dummy/package.json +5 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/factories/detection_type.rb +5 -0
- data/spec/fixtures/files/modis_c6.txt +3 -0
- data/spec/fixtures/nasa/firms/viirs.txt +3 -0
- data/spec/rails_helper.rb +72 -0
- data/spec/services/orbital_defence_engine/nasa/firms_import_spec.rb +27 -0
- data/spec/services/orbital_defence_engine/open_weather_api/weather_by_coordinates_spec.rb +16 -0
- data/spec/spec/vcr/cassettes/OrbitalDefenceEngine_Nasa_FirmsImport/_all/when_request_successful/creates_fires.yml +77 -0
- data/spec/spec/vcr/cassettes/OrbitalDefenceEngine_OpenWeatherApi_WeatherByCoordinates/_fetch_weather_by_coordinates/returns_json_data_as_a_hash.yml +41 -0
- data/spec/spec_helper.rb +96 -0
- data/spec/support/factory_bot.rb +3 -0
- data/spec/support/vcr.rb +9 -0
- data/spec/vcr/cassettes/OpenWeatherApi_WeatherByCoordinates/_fetch_weather_by_coordinates/returns_json_data_as_a_hash.yml +41 -0
- data/spec/vcr/cassettes/OrbDef_Nasa_FirmsImport/_all/when_request_successful/creates_fires.yml +4766 -0
- data/spec/vcr/cassettes/OrbDef_OpenWeatherApi_WeatherByCoordinates/_fetch_weather_by_coordinates/returns_json_data_as_a_hash.yml +41 -0
- metadata +438 -0
@@ -0,0 +1,41 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.openweathermap.org/data/2.5/weather?appid=<OPEN_WEATHER_API_KEY>&lat=1&lon=1
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.15.4
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
server:
|
18
|
+
- openresty
|
19
|
+
date:
|
20
|
+
- Tue, 28 Apr 2020 07:09:43 GMT
|
21
|
+
content-type:
|
22
|
+
- application/json; charset=utf-8
|
23
|
+
content-length:
|
24
|
+
- '440'
|
25
|
+
connection:
|
26
|
+
- close
|
27
|
+
x-cache-key:
|
28
|
+
- "/data/2.5/weather?lat=1&lon=1"
|
29
|
+
access-control-allow-origin:
|
30
|
+
- "*"
|
31
|
+
access-control-allow-credentials:
|
32
|
+
- 'true'
|
33
|
+
access-control-allow-methods:
|
34
|
+
- GET, POST
|
35
|
+
body:
|
36
|
+
encoding: UTF-8
|
37
|
+
string: '{"coord":{"lon":1,"lat":1},"weather":[{"id":500,"main":"Rain","description":"light
|
38
|
+
rain","icon":"10d"}],"base":"stations","main":{"temp":301.6,"feels_like":305.52,"temp_min":301.6,"temp_max":301.6,"pressure":1013,"humidity":71,"sea_level":1013,"grnd_level":1013},"wind":{"speed":1.63,"deg":254},"rain":{"1h":0.81},"clouds":{"all":100},"dt":1588057680,"sys":{"sunrise":1588052932,"sunset":1588096666},"timezone":0,"id":0,"name":"","cod":200}'
|
39
|
+
http_version: null
|
40
|
+
recorded_at: Tue, 28 Apr 2020 07:09:43 GMT
|
41
|
+
recorded_with: VCR 5.1.0
|
metadata
ADDED
@@ -0,0 +1,438 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: orb_def
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- James Gascoigne-Taylor
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-04-30 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 5.2.4
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 5.2.4.2
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 5.2.4
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 5.2.4.2
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: pagy
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '3.7'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 3.7.5
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '3.7'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 3.7.5
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: geokit-rails
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - "~>"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '2.3'
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 2.3.1
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '2.3'
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 2.3.1
|
73
|
+
- !ruby/object:Gem::Dependency
|
74
|
+
name: faraday
|
75
|
+
requirement: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - "~>"
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: 0.15.3
|
80
|
+
type: :runtime
|
81
|
+
prerelease: false
|
82
|
+
version_requirements: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - "~>"
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 0.15.3
|
87
|
+
- !ruby/object:Gem::Dependency
|
88
|
+
name: active_model_serializers
|
89
|
+
requirement: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
type: :runtime
|
95
|
+
prerelease: false
|
96
|
+
version_requirements: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '0'
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
name: pg
|
103
|
+
requirement: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
108
|
+
type: :development
|
109
|
+
prerelease: false
|
110
|
+
version_requirements: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '0'
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: rspec-rails
|
117
|
+
requirement: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - "~>"
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: 3.9.0
|
122
|
+
type: :development
|
123
|
+
prerelease: false
|
124
|
+
version_requirements: !ruby/object:Gem::Requirement
|
125
|
+
requirements:
|
126
|
+
- - "~>"
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: 3.9.0
|
129
|
+
- !ruby/object:Gem::Dependency
|
130
|
+
name: rspec_junit_formatter
|
131
|
+
requirement: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - ">="
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
type: :development
|
137
|
+
prerelease: false
|
138
|
+
version_requirements: !ruby/object:Gem::Requirement
|
139
|
+
requirements:
|
140
|
+
- - ">="
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
143
|
+
- !ruby/object:Gem::Dependency
|
144
|
+
name: factory_bot_rails
|
145
|
+
requirement: !ruby/object:Gem::Requirement
|
146
|
+
requirements:
|
147
|
+
- - ">="
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: 5.1.1
|
150
|
+
type: :development
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
requirements:
|
154
|
+
- - ">="
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: 5.1.1
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: shoulda-matchers
|
159
|
+
requirement: !ruby/object:Gem::Requirement
|
160
|
+
requirements:
|
161
|
+
- - "~>"
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: '3.1'
|
164
|
+
type: :development
|
165
|
+
prerelease: false
|
166
|
+
version_requirements: !ruby/object:Gem::Requirement
|
167
|
+
requirements:
|
168
|
+
- - "~>"
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: '3.1'
|
171
|
+
- !ruby/object:Gem::Dependency
|
172
|
+
name: vcr
|
173
|
+
requirement: !ruby/object:Gem::Requirement
|
174
|
+
requirements:
|
175
|
+
- - ">="
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: '0'
|
178
|
+
type: :development
|
179
|
+
prerelease: false
|
180
|
+
version_requirements: !ruby/object:Gem::Requirement
|
181
|
+
requirements:
|
182
|
+
- - ">="
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: '0'
|
185
|
+
- !ruby/object:Gem::Dependency
|
186
|
+
name: webmock
|
187
|
+
requirement: !ruby/object:Gem::Requirement
|
188
|
+
requirements:
|
189
|
+
- - ">="
|
190
|
+
- !ruby/object:Gem::Version
|
191
|
+
version: '0'
|
192
|
+
type: :development
|
193
|
+
prerelease: false
|
194
|
+
version_requirements: !ruby/object:Gem::Requirement
|
195
|
+
requirements:
|
196
|
+
- - ">="
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: '0'
|
199
|
+
- !ruby/object:Gem::Dependency
|
200
|
+
name: rspec-sidekiq
|
201
|
+
requirement: !ruby/object:Gem::Requirement
|
202
|
+
requirements:
|
203
|
+
- - ">="
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
206
|
+
type: :development
|
207
|
+
prerelease: false
|
208
|
+
version_requirements: !ruby/object:Gem::Requirement
|
209
|
+
requirements:
|
210
|
+
- - ">="
|
211
|
+
- !ruby/object:Gem::Version
|
212
|
+
version: '0'
|
213
|
+
- !ruby/object:Gem::Dependency
|
214
|
+
name: timecop
|
215
|
+
requirement: !ruby/object:Gem::Requirement
|
216
|
+
requirements:
|
217
|
+
- - "~>"
|
218
|
+
- !ruby/object:Gem::Version
|
219
|
+
version: 0.9.1
|
220
|
+
type: :development
|
221
|
+
prerelease: false
|
222
|
+
version_requirements: !ruby/object:Gem::Requirement
|
223
|
+
requirements:
|
224
|
+
- - "~>"
|
225
|
+
- !ruby/object:Gem::Version
|
226
|
+
version: 0.9.1
|
227
|
+
description: Uses Nasa FIRMS data and OpenWeatherApi data
|
228
|
+
email:
|
229
|
+
- james@flippakitten.com
|
230
|
+
executables: []
|
231
|
+
extensions: []
|
232
|
+
extra_rdoc_files: []
|
233
|
+
files:
|
234
|
+
- ".circleci/config.yml"
|
235
|
+
- ".gitignore"
|
236
|
+
- ".rakeTasks"
|
237
|
+
- ".rspec"
|
238
|
+
- Gemfile
|
239
|
+
- Gemfile.lock
|
240
|
+
- MIT-LICENSE
|
241
|
+
- README.md
|
242
|
+
- Rakefile
|
243
|
+
- app/assets/config/orb_def_manifest.js
|
244
|
+
- app/assets/javascripts/orb_def/application.js
|
245
|
+
- app/assets/stylesheets/orb_def/application.css
|
246
|
+
- app/controllers/orb_def/api/v1/fires_controller.rb
|
247
|
+
- app/controllers/orb_def/api/v1/weather_readings_controller.rb
|
248
|
+
- app/controllers/orb_def/application_controller.rb
|
249
|
+
- app/helpers/orb_def/application_helper.rb
|
250
|
+
- app/jobs/orb_def/application_job.rb
|
251
|
+
- app/mailers/orb_def/application_mailer.rb
|
252
|
+
- app/models/orb_def/application_record.rb
|
253
|
+
- app/models/orb_def/detection_type.rb
|
254
|
+
- app/models/orb_def/fire.rb
|
255
|
+
- app/models/orb_def/weather_reading.rb
|
256
|
+
- app/models/orb_def/weather_station.rb
|
257
|
+
- app/serializers/orb_def/api/v1/fire_serializer.rb
|
258
|
+
- app/services/orb_def/fire_weather_data.rb
|
259
|
+
- app/services/orb_def/nasa/firms_client.rb
|
260
|
+
- app/services/orb_def/nasa/firms_import.rb
|
261
|
+
- app/services/orb_def/open_weather_api/weather_by_coordinates.rb
|
262
|
+
- app/views/layouts/orb_def/application.html.erb
|
263
|
+
- bin/rails
|
264
|
+
- config/routes.rb
|
265
|
+
- db/migrate/20200422073925_create_orb_def_weather_stations.rb
|
266
|
+
- db/migrate/20200422073938_create_orb_def_weather_readings.rb
|
267
|
+
- db/migrate/20200423064313_create_orb_def_detection_types.rb
|
268
|
+
- db/migrate/20200428063630_create_orb_def_fires.rb
|
269
|
+
- db/seeds.rb
|
270
|
+
- lib/orb_def.rb
|
271
|
+
- lib/orb_def/engine.rb
|
272
|
+
- lib/orb_def/version.rb
|
273
|
+
- lib/tasks/orb_def_tasks.rake
|
274
|
+
- orb_def.gemspec
|
275
|
+
- spec/controllers/orb_def/api/v1/fires_controller_spec.rb
|
276
|
+
- spec/dummy/Rakefile
|
277
|
+
- spec/dummy/app/assets/config/manifest.js
|
278
|
+
- spec/dummy/app/assets/javascripts/application.js
|
279
|
+
- spec/dummy/app/assets/javascripts/cable.js
|
280
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
281
|
+
- spec/dummy/app/channels/application_cable/channel.rb
|
282
|
+
- spec/dummy/app/channels/application_cable/connection.rb
|
283
|
+
- spec/dummy/app/controllers/application_controller.rb
|
284
|
+
- spec/dummy/app/helpers/application_helper.rb
|
285
|
+
- spec/dummy/app/jobs/application_job.rb
|
286
|
+
- spec/dummy/app/mailers/application_mailer.rb
|
287
|
+
- spec/dummy/app/models/application_record.rb
|
288
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
289
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
290
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
291
|
+
- spec/dummy/bin/bundle
|
292
|
+
- spec/dummy/bin/rails
|
293
|
+
- spec/dummy/bin/rake
|
294
|
+
- spec/dummy/bin/setup
|
295
|
+
- spec/dummy/bin/update
|
296
|
+
- spec/dummy/bin/yarn
|
297
|
+
- spec/dummy/config.ru
|
298
|
+
- spec/dummy/config/application.rb
|
299
|
+
- spec/dummy/config/boot.rb
|
300
|
+
- spec/dummy/config/cable.yml
|
301
|
+
- spec/dummy/config/database.yml
|
302
|
+
- spec/dummy/config/environment.rb
|
303
|
+
- spec/dummy/config/environments/development.rb
|
304
|
+
- spec/dummy/config/environments/production.rb
|
305
|
+
- spec/dummy/config/environments/test.rb
|
306
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
307
|
+
- spec/dummy/config/initializers/assets.rb
|
308
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
309
|
+
- spec/dummy/config/initializers/content_security_policy.rb
|
310
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
311
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
312
|
+
- spec/dummy/config/initializers/inflections.rb
|
313
|
+
- spec/dummy/config/initializers/mime_types.rb
|
314
|
+
- spec/dummy/config/initializers/orb_def.rb
|
315
|
+
- spec/dummy/config/initializers/pagy.rb
|
316
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
317
|
+
- spec/dummy/config/locales/en.yml
|
318
|
+
- spec/dummy/config/orb_def/spring.rb
|
319
|
+
- spec/dummy/config/puma.rb
|
320
|
+
- spec/dummy/config/routes.rb
|
321
|
+
- spec/dummy/config/spring.rb
|
322
|
+
- spec/dummy/config/storage.yml
|
323
|
+
- spec/dummy/db/schema.rb
|
324
|
+
- spec/dummy/package.json
|
325
|
+
- spec/dummy/public/404.html
|
326
|
+
- spec/dummy/public/422.html
|
327
|
+
- spec/dummy/public/500.html
|
328
|
+
- spec/dummy/public/apple-touch-icon-precomposed.png
|
329
|
+
- spec/dummy/public/apple-touch-icon.png
|
330
|
+
- spec/dummy/public/favicon.ico
|
331
|
+
- spec/factories/detection_type.rb
|
332
|
+
- spec/fixtures/files/modis_c6.txt
|
333
|
+
- spec/fixtures/nasa/firms/viirs.txt
|
334
|
+
- spec/rails_helper.rb
|
335
|
+
- spec/services/orbital_defence_engine/nasa/firms_import_spec.rb
|
336
|
+
- spec/services/orbital_defence_engine/open_weather_api/weather_by_coordinates_spec.rb
|
337
|
+
- spec/spec/vcr/cassettes/OrbitalDefenceEngine_Nasa_FirmsImport/_all/when_request_successful/creates_fires.yml
|
338
|
+
- spec/spec/vcr/cassettes/OrbitalDefenceEngine_OpenWeatherApi_WeatherByCoordinates/_fetch_weather_by_coordinates/returns_json_data_as_a_hash.yml
|
339
|
+
- spec/spec_helper.rb
|
340
|
+
- spec/support/factory_bot.rb
|
341
|
+
- spec/support/vcr.rb
|
342
|
+
- spec/vcr/cassettes/OpenWeatherApi_WeatherByCoordinates/_fetch_weather_by_coordinates/returns_json_data_as_a_hash.yml
|
343
|
+
- spec/vcr/cassettes/OrbDef_Nasa_FirmsImport/_all/when_request_successful/creates_fires.yml
|
344
|
+
- spec/vcr/cassettes/OrbDef_OpenWeatherApi_WeatherByCoordinates/_fetch_weather_by_coordinates/returns_json_data_as_a_hash.yml
|
345
|
+
homepage: https://github.com/flippakitten/orbital_defence_engine
|
346
|
+
licenses:
|
347
|
+
- MIT
|
348
|
+
metadata: {}
|
349
|
+
post_install_message:
|
350
|
+
rdoc_options: []
|
351
|
+
require_paths:
|
352
|
+
- lib
|
353
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
354
|
+
requirements:
|
355
|
+
- - ">="
|
356
|
+
- !ruby/object:Gem::Version
|
357
|
+
version: '0'
|
358
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
359
|
+
requirements:
|
360
|
+
- - ">="
|
361
|
+
- !ruby/object:Gem::Version
|
362
|
+
version: '0'
|
363
|
+
requirements: []
|
364
|
+
rubygems_version: 3.0.6
|
365
|
+
signing_key:
|
366
|
+
specification_version: 4
|
367
|
+
summary: Fire and weather data you can query by geolocation
|
368
|
+
test_files:
|
369
|
+
- spec/spec_helper.rb
|
370
|
+
- spec/dummy/app/mailers/application_mailer.rb
|
371
|
+
- spec/dummy/app/models/application_record.rb
|
372
|
+
- spec/dummy/app/jobs/application_job.rb
|
373
|
+
- spec/dummy/app/controllers/application_controller.rb
|
374
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
375
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
376
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
377
|
+
- spec/dummy/app/assets/config/manifest.js
|
378
|
+
- spec/dummy/app/assets/javascripts/cable.js
|
379
|
+
- spec/dummy/app/assets/javascripts/application.js
|
380
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
381
|
+
- spec/dummy/app/helpers/application_helper.rb
|
382
|
+
- spec/dummy/app/channels/application_cable/connection.rb
|
383
|
+
- spec/dummy/app/channels/application_cable/channel.rb
|
384
|
+
- spec/dummy/bin/update
|
385
|
+
- spec/dummy/bin/rake
|
386
|
+
- spec/dummy/bin/setup
|
387
|
+
- spec/dummy/bin/bundle
|
388
|
+
- spec/dummy/bin/yarn
|
389
|
+
- spec/dummy/bin/rails
|
390
|
+
- spec/dummy/config/routes.rb
|
391
|
+
- spec/dummy/config/locales/en.yml
|
392
|
+
- spec/dummy/config/cable.yml
|
393
|
+
- spec/dummy/config/environments/production.rb
|
394
|
+
- spec/dummy/config/environments/development.rb
|
395
|
+
- spec/dummy/config/environments/test.rb
|
396
|
+
- spec/dummy/config/spring.rb
|
397
|
+
- spec/dummy/config/environment.rb
|
398
|
+
- spec/dummy/config/storage.yml
|
399
|
+
- spec/dummy/config/application.rb
|
400
|
+
- spec/dummy/config/puma.rb
|
401
|
+
- spec/dummy/config/database.yml
|
402
|
+
- spec/dummy/config/orb_def/spring.rb
|
403
|
+
- spec/dummy/config/boot.rb
|
404
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
405
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
406
|
+
- spec/dummy/config/initializers/orb_def.rb
|
407
|
+
- spec/dummy/config/initializers/mime_types.rb
|
408
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
409
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
410
|
+
- spec/dummy/config/initializers/assets.rb
|
411
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
412
|
+
- spec/dummy/config/initializers/content_security_policy.rb
|
413
|
+
- spec/dummy/config/initializers/pagy.rb
|
414
|
+
- spec/dummy/config/initializers/inflections.rb
|
415
|
+
- spec/dummy/config.ru
|
416
|
+
- spec/dummy/Rakefile
|
417
|
+
- spec/dummy/public/favicon.ico
|
418
|
+
- spec/dummy/public/422.html
|
419
|
+
- spec/dummy/public/apple-touch-icon.png
|
420
|
+
- spec/dummy/public/500.html
|
421
|
+
- spec/dummy/public/404.html
|
422
|
+
- spec/dummy/public/apple-touch-icon-precomposed.png
|
423
|
+
- spec/dummy/package.json
|
424
|
+
- spec/dummy/db/schema.rb
|
425
|
+
- spec/spec/vcr/cassettes/OrbitalDefenceEngine_OpenWeatherApi_WeatherByCoordinates/_fetch_weather_by_coordinates/returns_json_data_as_a_hash.yml
|
426
|
+
- spec/spec/vcr/cassettes/OrbitalDefenceEngine_Nasa_FirmsImport/_all/when_request_successful/creates_fires.yml
|
427
|
+
- spec/vcr/cassettes/OpenWeatherApi_WeatherByCoordinates/_fetch_weather_by_coordinates/returns_json_data_as_a_hash.yml
|
428
|
+
- spec/vcr/cassettes/OrbDef_OpenWeatherApi_WeatherByCoordinates/_fetch_weather_by_coordinates/returns_json_data_as_a_hash.yml
|
429
|
+
- spec/vcr/cassettes/OrbDef_Nasa_FirmsImport/_all/when_request_successful/creates_fires.yml
|
430
|
+
- spec/support/factory_bot.rb
|
431
|
+
- spec/support/vcr.rb
|
432
|
+
- spec/factories/detection_type.rb
|
433
|
+
- spec/fixtures/files/modis_c6.txt
|
434
|
+
- spec/fixtures/nasa/firms/viirs.txt
|
435
|
+
- spec/controllers/orb_def/api/v1/fires_controller_spec.rb
|
436
|
+
- spec/rails_helper.rb
|
437
|
+
- spec/services/orbital_defence_engine/open_weather_api/weather_by_coordinates_spec.rb
|
438
|
+
- spec/services/orbital_defence_engine/nasa/firms_import_spec.rb
|