Sha256: 49ccb8524ee250be28d5c7c73463bb5313a257d0828c3c96516fe0fc1872e386

Contents?: true

Size: 1022 Bytes

Versions: 4

Compression:

Stored size: 1022 Bytes

Contents

module BrighterPlanet
  module Automobile
    module Data
      def self.included(base)
        base.data_miner do
          schema do
            string   'make_id'
            string   'model_id'
            string   'model_year_id'
            string   'variant_id'
            string   'size_class_id'
            string   'fuel_type_id'
            boolean  'hybridity'
            float    'urbanity'
            float    'fuel_efficiency'
            float    'annual_distance_estimate'
            float    'weekly_distance_estimate'
            float    'daily_distance_estimate'
            float    'daily_duration'
            date     'date'
            date     'acquisition'
            date     'retirement'
          end

          process "pull orphans" do
            AutomobileMakeFleetYear.run_data_miner! # sabshere 5/25/10 i'm not sure we actually need to have this in cm1
          end
          
          process :run_data_miner_on_belongs_to_associations
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
automobile-0.0.16 lib/automobile/data.rb
automobile-0.0.15 lib/automobile/data.rb
automobile-ruby19-0.0.13 lib/automobile/data.rb
automobile-0.0.13 lib/automobile/data.rb