Sha256: 5e24856f093480873a59a12295f8ec8b3660a4448a35fef4e19e6e14a6692b1d

Contents?: true

Size: 519 Bytes

Versions: 26

Compression:

Stored size: 519 Bytes

Contents

God::Contacts::Twitter.settings = {
  # this is for my 'mojombo2' twitter test account
  # feel free to use it for testing your conditions
  :username => 'mojombo@gmail.com',
  :password  => 'gok9we3ot1av2e'
}

God.contact(:twitter) do |c|
  c.name      = 'tom2'
  c.group     = 'developers'
end

God.watch do |w|
  w.name = "lifecycle"
  w.interval = 5.seconds
  w.start = "/dev/null"
  
  # lifecycle
  w.lifecycle do |on|
    on.condition(:always) do |c|
      c.what = true
      c.notify = "tom2"
    end
  end
end

Version data entries

26 entries across 26 versions & 6 rubygems

Version Path
god-0.7.19 test/configs/lifecycle/lifecycle.god
god-0.7.18 test/configs/lifecycle/lifecycle.god
god-0.7.17 test/configs/lifecycle/lifecycle.god
god-0.7.16 test/configs/lifecycle/lifecycle.god
god-0.7.15 test/configs/lifecycle/lifecycle.god
god-0.7.14 test/configs/lifecycle/lifecycle.god