Sha256: f25290353c6f965a9a988d0983289d6f512472d6b400f3e63bb92012bfdeba9e

Contents?: true

Size: 480 Bytes

Versions: 34

Compression:

Stored size: 480 Bytes

Contents

ResidenceClass.class_eval do
  data_miner do
    process "Ensure ResidentialEnergyConsumptionSurveyResponse is populated" do
      ResidentialEnergyConsumptionSurveyResponse.run_data_miner!
    end
    
    process "Derive from ResidentialEnergyConsumptionSurveyResponse" do
      ::Earth::Utils.insert_ignore(
        :src => ResidentialEnergyConsumptionSurveyResponse,
        :dest => ResidenceClass,
        :cols => { :residence_class_id => :name }
      )
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
earth-1.2.1 lib/earth/residence/residence_class/data_miner.rb
earth-1.1.2 lib/earth/residence/residence_class/data_miner.rb
earth-1.1.1 lib/earth/residence/residence_class/data_miner.rb
earth-1.1.0 lib/earth/residence/residence_class/data_miner.rb
earth-1.0.3 lib/earth/residence/residence_class/data_miner.rb
earth-1.0.2 lib/earth/residence/residence_class/data_miner.rb
earth-1.0.1 lib/earth/residence/residence_class/data_miner.rb
earth-1.0.0 lib/earth/residence/residence_class/data_miner.rb
earth-0.12.4 lib/earth/residence/residence_class/data_miner.rb
earth-0.12.3 lib/earth/residence/residence_class/data_miner.rb
earth-0.12.2 lib/earth/residence/residence_class/data_miner.rb
earth-0.12.1 lib/earth/residence/residence_class/data_miner.rb
earth-0.12.0 lib/earth/residence/residence_class/data_miner.rb
earth-0.11.20 lib/earth/residence/residence_class/data_miner.rb
earth-0.11.19 lib/earth/residence/residence_class/data_miner.rb
earth-0.11.18 lib/earth/residence/residence_class/data_miner.rb
earth-0.11.17 lib/earth/residence/residence_class/data_miner.rb
earth-0.11.16 lib/earth/residence/residence_class/data_miner.rb
earth-0.11.15 lib/earth/residence/residence_class/data_miner.rb
earth-0.11.14 lib/earth/residence/residence_class/data_miner.rb