Sha256: 8311684ad8c4494a780318e6f15d220dffd0489111bae1f0f6e9b518c932c661

Contents?: true

Size: 657 Bytes

Versions: 15

Compression:

Stored size: 657 Bytes

Contents

GreenButtonAdoption.class_eval do
  data_miner do
    import 'Green Button implementers',
           :url => 'http://greenbuttondata.org/greenadopt.html',
           :row_css => '#adopt+p+h2+table li.implemented',
           :headers => %w{electric_utility_name} do
      key 'electric_utility_name'
      store 'implemented', :static => true
    end

    import 'Green Button committers',
           :url => 'http://greenbuttondata.org/greenadopt.html',
           :row_css => '#adopt+p+h2+table li.committed',
           :headers => %w{electric_utility_name} do
      key 'electric_utility_name'
      store 'committed', :static => true
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
earth-1.2.1 lib/earth/electricity/green_button_adoption/data_miner.rb
earth-1.1.2 lib/earth/electricity/green_button_adoption/data_miner.rb
earth-1.1.1 lib/earth/electricity/green_button_adoption/data_miner.rb
earth-1.1.0 lib/earth/electricity/green_button_adoption/data_miner.rb
earth-1.0.3 lib/earth/electricity/green_button_adoption/data_miner.rb
earth-1.0.2 lib/earth/electricity/green_button_adoption/data_miner.rb
earth-1.0.1 lib/earth/electricity/green_button_adoption/data_miner.rb
earth-1.0.0 lib/earth/electricity/green_button_adoption/data_miner.rb
earth-0.12.4 lib/earth/electricity/green_button_adoption/data_miner.rb
earth-0.12.3 lib/earth/electricity/green_button_adoption/data_miner.rb
earth-0.12.2 lib/earth/electricity/green_button_adoption/data_miner.rb
earth-0.12.1 lib/earth/electricity/green_button_adoption/data_miner.rb
earth-0.12.0 lib/earth/electricity/green_button_adoption/data_miner.rb
earth-0.11.20 lib/earth/electricity/green_button_adoption/data_miner.rb
earth-0.11.19 lib/earth/electricity/green_button_adoption/data_miner.rb