orb_def 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 45cd1b41303717de3db93b68f5f070153f9f2df9f7afb949ff8fef692afb796b
4
- data.tar.gz: ce1191ce16e8f3462aea7fa4e2c3132164c900a26b8ac9f1fc80c0b48b51f64f
3
+ metadata.gz: 92b075b5b2d2eed643a8bb8d93e51d5b698549a0195e48e9bceb5c66b1c8ecc9
4
+ data.tar.gz: f2630ce0ba16ce9b545d30f1f6618f7f5ecd30a07b67756e7c88720f40a99c1d
5
5
  SHA512:
6
- metadata.gz: 37c7a7c7457d6f7bcbcb496c6c4375038a1fb86b8d717cb42271294418320c568837cae351d6ff0c1ea7d44b071c7bb93b0c965e15b76ad272f7e307703fc6dc
7
- data.tar.gz: 9a7a3e9774701b98885202078e721a524d53f3f38ca8324aec1f9c57fbf9f805c6a4ae4ed7069ee32138ebde373d3b080951965d2c0e3aad3fc962d5d58c6bfa
6
+ metadata.gz: 66ff989eaf224f39ec0b2fa623145e37c565ffee63c7b54a227d2cfb208c44698e696b808a125a901e9da6f2595598d62134ae0fbd7ae0d225dbcaddce822331
7
+ data.tar.gz: 846e2b422b1d8b584883201758f785f8567cc29183b4e41ae6ef23aceeef0bb411f4102f34846c113d0d1fdb86665b51602f9488ab1194619001f66699ca4b95
data/Gemfile.lock CHANGED
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- orb_def (0.0.1)
4
+ orb_def (0.0.2)
5
5
  active_model_serializers
6
- faraday (~> 0.15.3)
6
+ faraday
7
7
  geokit-rails (~> 2.3, >= 2.3.1)
8
8
  pagy (~> 3.7, >= 3.7.5)
9
- rails (~> 5.2.4, >= 5.2.4.2)
9
+ rails (>= 5.2)
10
10
 
11
11
  GEM
12
12
  remote: https://rubygems.org/
@@ -75,7 +75,7 @@ GEM
75
75
  factory_bot_rails (5.1.1)
76
76
  factory_bot (~> 5.1.0)
77
77
  railties (>= 4.2.0)
78
- faraday (0.15.4)
78
+ faraday (1.0.1)
79
79
  multipart-post (>= 1.2, < 3)
80
80
  geokit (1.13.1)
81
81
  geokit-rails (2.3.1)
@@ -95,7 +95,7 @@ GEM
95
95
  marcel (0.3.3)
96
96
  mimemagic (~> 0.3.2)
97
97
  method_source (1.0.0)
98
- mimemagic (0.3.4)
98
+ mimemagic (0.3.5)
99
99
  mini_mime (1.0.2)
100
100
  mini_portile2 (2.4.0)
101
101
  minitest (5.14.0)
@@ -103,7 +103,7 @@ GEM
103
103
  nio4r (2.5.2)
104
104
  nokogiri (1.10.9)
105
105
  mini_portile2 (~> 2.4.0)
106
- pagy (3.7.5)
106
+ pagy (3.8.0)
107
107
  pg (1.2.3)
108
108
  public_suffix (4.0.4)
109
109
  rack (2.2.2)
data/README.md CHANGED
@@ -1,10 +1,16 @@
1
1
  [![CircleCI](https://circleci.com/gh/flippakitten/orbital_defence_engine/tree/master.svg?style=svg)](https://circleci.com/gh/flippakitten/orbital_defence_engine/tree/master)
2
- # OrbitalDefenceEngine
3
- Busy extracting out the logic from [Orbital Defence Demo](https://github.com/flippakitten/orbital_defence_demo)
4
- Will probably rename this to something shorter and does not contain the word Engine (unless I name it FireEngine)
5
2
 
6
- ## Usage
7
- Coming soon!
3
+ # Orbital Defence Engine
4
+ Making [NASA FIRMS](https://nrt4.modaps.eosdis.nasa.gov/) data queryable by geo-location and augmenting it with [Open Weather API](https://openweathermap.org) data
5
+
6
+ [Orbital Defence Demo](https://github.com/flippakitten/orbital_defence_demo)
7
+
8
+ ## Getting Started
9
+ Grab a OpenWeatherMap API key [here](https://openweathermap.org/appid)
10
+ Grab a Nasa EarthData Api Key [here](https://nrt4.modaps.eosdis.nasa.gov/help/downloads#appkeys)
11
+ The Engine has a dependancy on [pagy](https://github.com/ddnexus/pagy) for pagination
12
+ and [geokit-rails](https://github.com/geokit/geokit-rails) for geo based queries.
13
+ The initializer files will be created during installation only if they do not exist.
8
14
 
9
15
  ## Installation
10
16
  Add this line to your application's Gemfile:
@@ -18,13 +24,24 @@ And then execute:
18
24
  $ bundle
19
25
  ```
20
26
 
21
- Or install it yourself as:
27
+ Generate the installation files:
28
+ This will create the orb_def, pagy and geokit initializers, install migrations and mount the app to '/'
29
+ ```bash
30
+ $ rails generate orb_def:install
31
+ ```
32
+
33
+ Run migrations:
34
+ ```bash
35
+ $ rails db:migrate
36
+ ```
37
+
38
+ Populate the DB with required seed information:
22
39
  ```bash
23
- $ gem install orb_def
40
+ $ rails orb_def:seed_db
24
41
  ```
25
42
 
26
43
  ## Contributing
27
- Contribution directions go here.
44
+ Fell free to contribute by opening cloning the repo and opening a PR.
28
45
 
29
46
  ## License
30
47
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,25 @@
1
+ module OrbDef
2
+ module Generators
3
+ class InstallGenerator < Rails::Generators::Base
4
+ source_root File.expand_path("../../templates", __FILE__)
5
+
6
+ desc "Creates a Orbital Defence Engine initializer and copys template files to your application."
7
+
8
+ def copy_initializer
9
+ template "orb_def.rb", "config/initializers/orb_def.rb", skip: true
10
+ template "pagy.rb", "config/initializers/pagy.rb", skip: true
11
+ template "geokit_config.rb", "config/initializers/geokit_config.rb", skip: true
12
+ end
13
+
14
+ desc "Copies migrations to your application."
15
+ def copy_migrations
16
+ rake("orb_def:install:migrations")
17
+ end
18
+
19
+ desc "Mount the Engine."
20
+ def mount_engine
21
+ route("mount OrbDef::Engine, at: '/'")
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,100 @@
1
+ # These defaults are used in Geokit::Mappable.distance_to and acts_as_mappable
2
+ Geokit::default_units = :kms #:miles :kms, :nms, :meters
3
+ Geokit::default_formula = :sphere
4
+
5
+ # This is the timeout value in seconds to be used for calls to the geocoder web
6
+ # services. For no timeout at all, comment out the setting. The timeout unit
7
+ # is in seconds.
8
+ Geokit::Geocoders::request_timeout = 3
9
+
10
+ # This setting can be used if web service calls must be routed through a proxy.
11
+ # These setting can be nil if not needed, otherwise, a valid URI must be
12
+ # filled in at a minimum. If the proxy requires authentication, the username
13
+ # and password can be provided as well.
14
+ # Geokit::Geocoders::proxy = 'https://user:password@host:port'
15
+
16
+ # This is your yahoo application key for the Yahoo Geocoder.
17
+ # See http://developer.yahoo.com/faq/index.html#appid
18
+ # and http://developer.yahoo.com/maps/rest/V1/geocode.html
19
+ # Geokit::Geocoders::YahooGeocoder.key = 'REPLACE_WITH_YOUR_YAHOO_KEY'
20
+ # Geokit::Geocoders::YahooGeocoder.secret = 'REPLACE_WITH_YOUR_YAHOO_SECRET'
21
+
22
+ # This is your Google Maps geocoder keys (all optional).
23
+ # See http://www.google.com/apis/maps/signup.html
24
+ # and http://www.google.com/apis/maps/documentation/#Geocoding_Examples
25
+ # Geokit::Geocoders::GoogleGeocoder.client_id = ''
26
+ # Geokit::Geocoders::GoogleGeocoder.cryptographic_key = ''
27
+ # Geokit::Geocoders::GoogleGeocoder.channel = ''
28
+
29
+ # You can also use the free API key instead of signed requests
30
+ # See https://developers.google.com/maps/documentation/geocoding/#api_key
31
+ # Geokit::Geocoders::GoogleGeocoder.api_key = ''
32
+
33
+ # You can also set multiple API KEYS for different domains that may be directed
34
+ # to this same application.
35
+ # The domain from which the current user is being directed will automatically
36
+ # be updated for Geokit via
37
+ # the GeocoderControl class, which gets it's begin filter mixed
38
+ # into the ActionController.
39
+ # You define these keys with a Hash as follows:
40
+ # Geokit::Geocoders::google = {
41
+ # 'rubyonrails.org' => 'RUBY_ON_RAILS_API_KEY',
42
+ # ' ruby-docs.org' => 'RUBY_DOCS_API_KEY' }
43
+
44
+ # This is your username and password for geocoder.us.
45
+ # To use the free service, the value can be set to nil or false. For
46
+ # usage tied to an account, the value should be set to username:password.
47
+ # See http://geocoder.us
48
+ # and http://geocoder.us/user/signup
49
+ # Geokit::Geocoders::UsGeocoder.key = 'username:password'
50
+
51
+ # This is your authorization key for geocoder.ca.
52
+ # To use the free service, the value can be set to nil or false. For
53
+ # usage tied to an account, set the value to the key obtained from
54
+ # Geocoder.ca.
55
+ # See http://geocoder.ca
56
+ # and http://geocoder.ca/?register=1
57
+ # Geokit::Geocoders::CaGeocoder.key = 'KEY'
58
+
59
+ # This is your username key for geonames.
60
+ # To use this service either free or premium, you must register a key.
61
+ # See http://www.geonames.org
62
+ # Geokit::Geocoders::GeonamesGeocoder.key = 'KEY'
63
+
64
+ # Most other geocoders need either no setup or a key
65
+ # Geokit::Geocoders::BingGeocoder.key = ''
66
+ # Geokit::Geocoders::MapQuestGeocoder.key = ''
67
+ # Geokit::Geocoders::YandexGeocoder.key = ''
68
+ # Geokit::Geocoders::MapboxGeocoder.key = 'ACCESS_TOKEN'
69
+ # Geokit::Geocoders::OpencageGeocoder.key = 'some_api_key'
70
+
71
+ # Geonames has a free service and a premium service, each using a different URL
72
+ # GeonamesGeocoder.premium = true will use http://ws.geonames.net (premium)
73
+ # GeonamesGeocoder.premium = false will use http://api.geonames.org (free)
74
+ # Geokit::Geocoders::GeonamesGeocoder.premium = false
75
+
76
+ # require "external_geocoder.rb"
77
+ # Please see the section "writing your own geocoders" for more information.
78
+ # Geokit::Geocoders::external_key = 'REPLACE_WITH_YOUR_API_KEY'
79
+
80
+ # This is the order in which the geocoders are called in a failover scenario
81
+ # If you only want to use a single geocoder, put a single symbol in the array.
82
+ # Valid symbols are :google, :yahoo, :us, and :ca.
83
+ # Be aware that there are Terms of Use restrictions on how you can use the
84
+ # various geocoders. Make sure you read up on relevant Terms of Use for each
85
+ # geocoder you are going to use.
86
+ # Geokit::Geocoders::provider_order = [:google,:us]
87
+
88
+ # The IP provider order. Valid symbols are :ip,:geo_plugin.
89
+ # As before, make sure you read up on relevant Terms of Use for each.
90
+ # Geokit::Geocoders::ip_provider_order = [:external,:geo_plugin,:ip]
91
+
92
+ # Disable HTTPS globally. This option can also be set on individual
93
+ # geocoder classes.
94
+ # Geokit::Geocoders::secure = false
95
+
96
+ # Control verification of the server certificate for geocoders using HTTPS
97
+ # Geokit::Geocoders::ssl_verify_mode = OpenSSL::SSL::VERIFY_(PEER/NONE)
98
+ # Setting this to VERIFY_NONE may be needed on systems that don't have
99
+ # a complete or up to date root certificate store. Only applies to
100
+ # the Net::HTTP adapter.
@@ -0,0 +1,4 @@
1
+ OrbDef.setup do |config|
2
+ config.nasa_api_key = ENV['NASA_API_KEY']
3
+ config.open_weather_api_key = ENV['OPEN_WEATHER_API_KEY']
4
+ end
@@ -0,0 +1,170 @@
1
+ # encoding: utf-8
2
+ # frozen_string_literal: true
3
+
4
+ # Pagy initializer file (3.7.5)
5
+ # Customize only what you really need and notice that Pagy works also without any of the following lines.
6
+ # Should you just cherry pick part of this file, please maintain the require-order of the extras
7
+
8
+
9
+ # Extras
10
+ # See https://ddnexus.github.io/pagy/extras
11
+
12
+
13
+ # Backend Extras
14
+
15
+ # Array extra: Paginate arrays efficiently, avoiding expensive array-wrapping and without overriding
16
+ # See https://ddnexus.github.io/pagy/extras/array
17
+ # require 'pagy/extras/array'
18
+
19
+ # Countless extra: Paginate without any count, saving one query per rendering
20
+ # See https://ddnexus.github.io/pagy/extras/countless
21
+ # require 'pagy/extras/countless'
22
+ # Pagy::VARS[:cycle] = false # default
23
+
24
+ # Elasticsearch Rails extra: Paginate `ElasticsearchRails::Results` objects
25
+ # See https://ddnexus.github.io/pagy/extras/elasticsearch_rails
26
+ # require 'pagy/extras/elasticsearch_rails'
27
+
28
+ # Searchkick extra: Paginate `Searchkick::Results` objects
29
+ # See https://ddnexus.github.io/pagy/extras/searchkick
30
+ # require 'pagy/extras/searchkick'
31
+
32
+
33
+ # Frontend Extras
34
+
35
+ # Bootstrap extra: Add nav, nav_js and combo_nav_js helpers and templates for Bootstrap pagination
36
+ # See https://ddnexus.github.io/pagy/extras/bootstrap
37
+ # require 'pagy/extras/bootstrap'
38
+
39
+ # Bulma extra: Add nav, nav_js and combo_nav_js helpers and templates for Bulma pagination
40
+ # See https://ddnexus.github.io/pagy/extras/bulma
41
+ # require 'pagy/extras/bulma'
42
+
43
+ # Foundation extra: Add nav, nav_js and combo_nav_js helpers and templates for Foundation pagination
44
+ # See https://ddnexus.github.io/pagy/extras/foundation
45
+ # require 'pagy/extras/foundation'
46
+
47
+ # Materialize extra: Add nav, nav_js and combo_nav_js helpers for Materialize pagination
48
+ # See https://ddnexus.github.io/pagy/extras/materialize
49
+ # require 'pagy/extras/materialize'
50
+
51
+ # Navs extra: Add nav_js and combo_nav_js javascript helpers
52
+ # Notice: the other frontend extras add their own framework-styled versions,
53
+ # so require this extra only if you need the unstyled version
54
+ # See https://ddnexus.github.io/pagy/extras/navs
55
+ # require 'pagy/extras/navs'
56
+
57
+ # Semantic extra: Add nav, nav_js and combo_nav_js helpers for Semantic UI pagination
58
+ # See https://ddnexus.github.io/pagy/extras/semantic
59
+ # require 'pagy/extras/semantic'
60
+
61
+ # UIkit extra: Add nav helper and templates for UIkit pagination
62
+ # See https://ddnexus.github.io/pagy/extras/uikit
63
+ # require 'pagy/extras/uikit'
64
+
65
+ # Multi size var used by the *_nav_js helpers
66
+ # See https://ddnexus.github.io/pagy/extras/navs#steps
67
+ # Pagy::VARS[:steps] = { 0 => [2,3,3,2], 540 => [3,5,5,3], 720 => [5,7,7,5] } # example
68
+
69
+
70
+ # Feature Extras
71
+
72
+ # Headers extra: http response headers (and other helpers) useful for API pagination
73
+ # See http://ddnexus.github.io/pagy/extras/headers
74
+ require 'pagy/extras/headers'
75
+ # Pagy::VARS[:headers] = { page: 'Current-Page', items: 'Page-Items', count: 'Total-Count', pages: 'Total-Pages' } # default
76
+
77
+ # Support extra: Extra support for features like: incremental, infinite, auto-scroll pagination
78
+ # See https://ddnexus.github.io/pagy/extras/support
79
+ # require 'pagy/extras/support'
80
+
81
+ # Items extra: Allow the client to request a custom number of items per page with an optional selector UI
82
+ # See https://ddnexus.github.io/pagy/extras/items
83
+ # require 'pagy/extras/items'
84
+ # Pagy::VARS[:items_param] = :items # default
85
+ # Pagy::VARS[:max_items] = 100 # default
86
+
87
+ # Overflow extra: Allow for easy handling of overflowing pages
88
+ # See https://ddnexus.github.io/pagy/extras/overflow
89
+ # require 'pagy/extras/overflow'
90
+ # Pagy::VARS[:overflow] = :empty_page # default (other options: :last_page and :exception)
91
+
92
+ # Metadata extra: Provides the pagination metadata to Javascript frameworks like Vue.js, react.js, etc.
93
+ # See https://ddnexus.github.io/pagy/extras/metadata
94
+ # you must require the shared internal extra (BEFORE the metadata extra) ONLY if you need also the :sequels
95
+ # require 'pagy/extras/shared'
96
+ require 'pagy/extras/metadata'
97
+ # For performance reason, you should explicitly set ONLY the metadata you use in the frontend
98
+ # Pagy::VARS[:metadata] = [:scaffold_url, :count, :page, :prev, :next, :last] # example
99
+
100
+ # Trim extra: Remove the page=1 param from links
101
+ # See https://ddnexus.github.io/pagy/extras/trim
102
+ # require 'pagy/extras/trim'
103
+
104
+
105
+
106
+ # Pagy Variables
107
+ # See https://ddnexus.github.io/pagy/api/pagy#variables
108
+ # All the Pagy::VARS are set for all the Pagy instances but can be overridden
109
+ # per instance by just passing them to Pagy.new or the #pagy controller method
110
+
111
+
112
+ # Instance variables
113
+ # See https://ddnexus.github.io/pagy/api/pagy#instance-variables
114
+ # Pagy::VARS[:items] = 20 # default
115
+
116
+
117
+ # Other Variables
118
+ # See https://ddnexus.github.io/pagy/api/pagy#other-variables
119
+ # Pagy::VARS[:size] = [1,4,4,1] # default
120
+ # Pagy::VARS[:page_param] = :page # default
121
+ # Pagy::VARS[:params] = {} # default
122
+ # Pagy::VARS[:anchor] = '#anchor' # example
123
+ # Pagy::VARS[:link_extra] = 'data-remote="true"' # example
124
+
125
+
126
+ # Rails
127
+
128
+ # Rails: extras assets path required by the helpers that use javascript
129
+ # (pagy*_nav_js, pagy*_combo_nav_js, and pagy_items_selector_js)
130
+ # See https://ddnexus.github.io/pagy/extras#javascript
131
+ # Rails.application.config.assets.paths << Pagy.root.join('javascripts')
132
+
133
+
134
+ # I18n
135
+
136
+ # Pagy internal I18n: ~18x faster using ~10x less memory than the i18n gem
137
+ # See https://ddnexus.github.io/pagy/api/frontend#i18n
138
+ # Notice: No need to configure anything in this section if your app uses only "en"
139
+ # or if you use the i18n extra below
140
+ #
141
+ # Examples:
142
+ # load the "de" built-in locale:
143
+ # Pagy::I18n.load(locale: 'de')
144
+ #
145
+ # load the "de" locale defined in the custom file at :filepath:
146
+ # Pagy::I18n.load(locale: 'de', filepath: 'path/to/pagy-de.yml')
147
+ #
148
+ # load the "de", "en" and "es" built-in locales:
149
+ # (the first passed :locale will be used also as the default_locale)
150
+ # Pagy::I18n.load({locale: 'de'},
151
+ # {locale: 'en'},
152
+ # {locale: 'es'})
153
+ #
154
+ # load the "en" built-in locale, a custom "es" locale,
155
+ # and a totally custom locale complete with a custom :pluralize proc:
156
+ # (the first passed :locale will be used also as the default_locale)
157
+ # Pagy::I18n.load({locale: 'en'},
158
+ # {locale: 'es', filepath: 'path/to/pagy-es.yml'},
159
+ # {locale: 'xyz', # not built-in
160
+ # filepath: 'path/to/pagy-xyz.yml',
161
+ # pluralize: lambda{|count| ... } )
162
+
163
+
164
+ # I18n extra: uses the standard i18n gem which is ~18x slower using ~10x more memory
165
+ # than the default pagy internal i18n (see above)
166
+ # See https://ddnexus.github.io/pagy/extras/i18n
167
+ # require 'pagy/extras/i18n'
168
+
169
+ # Default i18n key
170
+ # Pagy::VARS[:i18n_key] = 'pagy.item_name' # default
@@ -1,3 +1,3 @@
1
1
  module OrbDef
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
@@ -1,4 +1,16 @@
1
- # desc "Explaining what the task does"
2
- # task :orb_def do
3
- # # Task goes here
4
- # end
1
+ namespace :orb_def do
2
+ desc "Seed the database"
3
+ task :seed_db => [ :environment ] do
4
+ puts "Creating Records"
5
+ [
6
+ { name: "Satellite" },
7
+ { name: "User" },
8
+ ].each do |detection_type_attributes|
9
+ unless OrbDef::DetectionType.exists?(name: detection_type_attributes[:name])
10
+ puts "Creating #{detection_type_attributes[:name]}"
11
+ OrbDef::DetectionType.create!(detection_type_attributes)
12
+ end
13
+ end
14
+ puts "Done Creating Records"
15
+ end
16
+ end
data/orb_def.gemspec CHANGED
@@ -1,29 +1,27 @@
1
1
  $:.push File.expand_path("lib", __dir__)
2
2
 
3
- # Maintain your gem's version:
4
3
  require "orb_def/version"
5
4
 
6
- # Describe your gem and declare its dependencies:
7
5
  Gem::Specification.new do |spec|
8
6
  spec.name = "orb_def"
9
7
  spec.version = OrbDef::VERSION
10
8
  spec.authors = ["James Gascoigne-Taylor"]
11
9
  spec.email = ["james@flippakitten.com"]
12
10
  spec.homepage = "https://github.com/flippakitten/orbital_defence_engine"
13
- spec.summary = "Fire and weather data you can query by geolocation"
14
- spec.description = "Uses Nasa FIRMS data and OpenWeatherApi data"
11
+ spec.summary = "Query Nasa FIRMS data and Open Weather API data by geolocation"
12
+ spec.description = "Fetches and persists Nasa FIRMS (Fires) and Open Weather API data by geolocation"
15
13
  spec.license = "MIT"
16
14
 
17
15
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
16
  spec.bindir = "exe"
19
17
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
18
  spec.require_paths = ["lib"]
21
- spec.test_files = Dir["spec/**/*"]
19
+ spec.test_files = Dir["spec/**/*"]
22
20
 
23
- spec.add_dependency 'rails', '~> 5.2.4', '>= 5.2.4.2'
21
+ spec.add_dependency 'rails', '>= 5.2'
24
22
  spec.add_dependency 'pagy', '~> 3.7', '>= 3.7.5'
25
23
  spec.add_dependency 'geokit-rails', '~> 2.3', '>= 2.3.1'
26
- spec.add_dependency 'faraday', '~> 0.15.3'
24
+ spec.add_dependency 'faraday'
27
25
  spec.add_dependency 'active_model_serializers'
28
26
 
29
27
  spec.add_development_dependency 'pg'
metadata CHANGED
@@ -1,35 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orb_def
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Gascoigne-Taylor
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-30 00:00:00.000000000 Z
11
+ date: 2020-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 5.2.4
20
17
  - - ">="
21
18
  - !ruby/object:Gem::Version
22
- version: 5.2.4.2
19
+ version: '5.2'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: 5.2.4
30
24
  - - ">="
31
25
  - !ruby/object:Gem::Version
32
- version: 5.2.4.2
26
+ version: '5.2'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: pagy
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -74,16 +68,16 @@ dependencies:
74
68
  name: faraday
75
69
  requirement: !ruby/object:Gem::Requirement
76
70
  requirements:
77
- - - "~>"
71
+ - - ">="
78
72
  - !ruby/object:Gem::Version
79
- version: 0.15.3
73
+ version: '0'
80
74
  type: :runtime
81
75
  prerelease: false
82
76
  version_requirements: !ruby/object:Gem::Requirement
83
77
  requirements:
84
- - - "~>"
78
+ - - ">="
85
79
  - !ruby/object:Gem::Version
86
- version: 0.15.3
80
+ version: '0'
87
81
  - !ruby/object:Gem::Dependency
88
82
  name: active_model_serializers
89
83
  requirement: !ruby/object:Gem::Requirement
@@ -224,7 +218,8 @@ dependencies:
224
218
  - - "~>"
225
219
  - !ruby/object:Gem::Version
226
220
  version: 0.9.1
227
- description: Uses Nasa FIRMS data and OpenWeatherApi data
221
+ description: Fetches and persists Nasa FIRMS (Fires) and Open Weather API data by
222
+ geolocation
228
223
  email:
229
224
  - james@flippakitten.com
230
225
  executables: []
@@ -267,6 +262,10 @@ files:
267
262
  - db/migrate/20200423064313_create_orb_def_detection_types.rb
268
263
  - db/migrate/20200428063630_create_orb_def_fires.rb
269
264
  - db/seeds.rb
265
+ - lib/generators/orb_def/install/install_generator.rb
266
+ - lib/generators/orb_def/templates/geokit_config.rb
267
+ - lib/generators/orb_def/templates/orb_def.rb
268
+ - lib/generators/orb_def/templates/pagy.rb
270
269
  - lib/orb_def.rb
271
270
  - lib/orb_def/engine.rb
272
271
  - lib/orb_def/version.rb
@@ -361,10 +360,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
361
360
  - !ruby/object:Gem::Version
362
361
  version: '0'
363
362
  requirements: []
364
- rubygems_version: 3.0.6
363
+ rubygems_version: 3.0.8
365
364
  signing_key:
366
365
  specification_version: 4
367
- summary: Fire and weather data you can query by geolocation
366
+ summary: Query Nasa FIRMS data and Open Weather API data by geolocation
368
367
  test_files:
369
368
  - spec/spec_helper.rb
370
369
  - spec/dummy/app/mailers/application_mailer.rb