Sha256: 6bf3b808f9c1f90fc3ef5a6d297fb66e3855dff60b1017dec421a0002082a5f8

Contents?: true

Size: 492 Bytes

Versions: 8

Compression:

Stored size: 492 Bytes

Contents

require 'earth/automobile/automobile_make_model_year_variant'

AutomobileYear.class_eval do
  data_miner do
    process "Ensure AutomobileMakeModelYearVariant is populated" do
      AutomobileMakeModelYearVariant.run_data_miner!
    end
    
    process "Derive year names from AutomobileMakeModelYearVariant" do
      ::Earth::Utils.insert_ignore(
        :src => AutomobileMakeModelYearVariant,
        :dest => AutomobileYear,
        :cols => { :year => :year }
      )
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
earth-1.2.1 lib/earth/automobile/automobile_year/data_miner.rb
earth-1.1.2 lib/earth/automobile/automobile_year/data_miner.rb
earth-1.1.1 lib/earth/automobile/automobile_year/data_miner.rb
earth-1.1.0 lib/earth/automobile/automobile_year/data_miner.rb
earth-1.0.3 lib/earth/automobile/automobile_year/data_miner.rb
earth-1.0.2 lib/earth/automobile/automobile_year/data_miner.rb
earth-1.0.1 lib/earth/automobile/automobile_year/data_miner.rb
earth-1.0.0 lib/earth/automobile/automobile_year/data_miner.rb