Sha256: d90b1fdbf70e2527dbf7d4f42780cea5cd2407ef0abc0590ab459ecee60c399a

Contents?: true

Size: 1.05 KB

Versions: 4

Compression:

Stored size: 1.05 KB

Contents

module BrighterPlanet
  module Automobile
    module Data
      def self.included(base)
        base.data_miner do
          schema do
            string   'make_name'
            string   'make_year_name'
            string   'make_model_name'
            string   'make_model_year_name'
            string   'make_model_year_variant_row_hash'
            string   'size_class_name'
            string   'fuel_type_code'
            boolean  'hybridity'
            float    'urbanity'
            float    'fuel_efficiency'
            float    'annual_distance_estimate'
            float    'weekly_distance_estimate'
            float    'daily_distance_estimate'
            float    'daily_duration'
            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 & 1 rubygems

Version Path
automobile-0.1.5 lib/automobile/data.rb
automobile-0.1.3 lib/automobile/data.rb
automobile-0.1.2 lib/automobile/data.rb
automobile-0.1.1 lib/automobile/data.rb