Sha256: 791d14250f59854cca3ce11ee974c944196fd7d4e84f678c02b92ecd9a142038

Contents?: true

Size: 992 Bytes

Versions: 10

Compression:

Stored size: 992 Bytes

Contents

require 'data_miner'

module BrighterPlanet
  module Flight
    module Data
      def self.included(base)
        base.data_miner do
          schema do
            string   'origin_airport_id'
            string   'destination_airport_id'
            integer  'trips'
            integer  'emplanements_per_trip'
            float    'distance_estimate'
            string   'distance_class_id'
            string   'aircraft_id'
            string   'aircraft_class_id'
            string   'propulsion_id'
            string   'fuel_type_id'
            string   'airline_id'
            string   'seat_class_id'
            integer  'seats_estimate'
            float    'load_factor'
            string   'domesticity_id'
            date     'date'
            integer  'year'
            time     'time_of_day'
          end
          
          process "pull dependencies" do
            run_data_miner_on_belongs_to_associations
          end
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
flight-0.0.17 lib/flight/data.rb
flight-0.0.16 lib/flight/data.rb
flight-0.0.14 lib/flight/data.rb
flight-0.0.13 lib/flight/data.rb
flight-0.0.12 lib/flight/data.rb
flight-0.0.11 lib/flight/data.rb
flight-0.0.10 lib/flight/data.rb
flight-0.0.9 lib/flight/data.rb
flight-0.0.8 lib/flight/data.rb
flight-0.0.7 lib/flight/data.rb