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
eric-god-0.7.14 test/configs/lifecycle/lifecycle.god
mathieuravaux-god-0.7.11 test/configs/lifecycle/lifecycle.god
mojombo-god-0.7.14 test/configs/lifecycle/lifecycle.god
mojombo-god-0.7.15 test/configs/lifecycle/lifecycle.god
mojombo-god-0.7.16 test/configs/lifecycle/lifecycle.god
mojombo-god-0.7.20 test/configs/lifecycle/lifecycle.god
firenxis-god-0.11.0 test/configs/lifecycle/lifecycle.god
god-0.11.0 test/configs/lifecycle/lifecycle.god
god-0.10.1 test/configs/lifecycle/lifecycle.god
god-0.9.0 test/configs/lifecycle/lifecycle.god
olgen-god-0.9.2 test/configs/lifecycle/lifecycle.god
olgen-god-0.9.1 test/configs/lifecycle/lifecycle.god
olgen-god-0.9.0 test/configs/lifecycle/lifecycle.god
god-0.8.0 test/configs/lifecycle/lifecycle.god
olgen-god-0.8.2 test/configs/lifecycle/lifecycle.god
olgen-god-0.8.1 test/configs/lifecycle/lifecycle.god
olgen-god-0.8.0 test/configs/lifecycle/lifecycle.god
god-0.7.22 test/configs/lifecycle/lifecycle.god
god-0.7.21 test/configs/lifecycle/lifecycle.god
god-0.7.20 test/configs/lifecycle/lifecycle.god