Sha256: be31f3cc134d86517c91ff727d1146c1fffc96fe9cdd2e2070fa0bcec81a8c76

Contents?: true

Size: 558 Bytes

Versions: 5

Compression:

Stored size: 558 Bytes

Contents

module BrighterPlanet
  module Pet
    module Data
      def self.included(base)
        base.data_miner do
          schema do
            string   'name'
            string  'species_id'
            string  'breed_id'
            string  'gender_id'
            float    'weight'
            date     'acquisition'
            date     'retirement'
          end

          process "pull orphans" do
            BreedGender.run_data_miner!
          end

          process :run_data_miner_on_belongs_to_associations
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pet-0.0.15 lib/pet/data.rb
pet-0.0.14 lib/pet/data.rb
pet-0.0.13 lib/pet/data.rb
pet-0.0.12 lib/pet/data.rb
pet-0.0.11 lib/pet/data.rb