Sha256: 69e64b13583430912509668be885d6fcaa003d4ad8a2dd630d141d5d2d05bc05

Contents?: true

Size: 434 Bytes

Versions: 8

Compression:

Stored size: 434 Bytes

Contents

AutomobileYear.class_eval do
  data_miner do
    process "Ensure AutomobileMakeModelYearVariant is populated" do
      AutomobileMakeModelYearVariant.run_data_miner!
    end
    
    process "Derive year names from automobile make model year variants" 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-0.11.7 lib/earth/automobile/automobile_year/data_miner.rb
earth-0.11.6 lib/earth/automobile/automobile_year/data_miner.rb
earth-0.11.5 lib/earth/automobile/automobile_year/data_miner.rb
earth-0.11.4 lib/earth/automobile/automobile_year/data_miner.rb
earth-0.11.3 lib/earth/automobile/automobile_year/data_miner.rb
earth-0.11.2 lib/earth/automobile/automobile_year/data_miner.rb
earth-0.11.1 lib/earth/automobile/automobile_year/data_miner.rb
earth-0.11.0 lib/earth/automobile/automobile_year/data_miner.rb