Sha256: 4cb0efbafab9273eb4d08eb494277baf3b445b8e853e210ccdb8d5f4a3cf0dc9

Contents?: true

Size: 518 Bytes

Versions: 12

Compression:

Stored size: 518 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

12 entries across 12 versions & 3 rubygems

Version Path
resurrected_god-0.14.0 test/configs/lifecycle/lifecycle.god
mcproc-2016.2.20 test/configs/lifecycle/lifecycle.god
god-0.13.7 test/configs/lifecycle/lifecycle.god
god-0.13.6 test/configs/lifecycle/lifecycle.god
god-0.13.5 test/configs/lifecycle/lifecycle.god
god-0.13.4 test/configs/lifecycle/lifecycle.god
god-0.13.3 test/configs/lifecycle/lifecycle.god
god-0.13.2 test/configs/lifecycle/lifecycle.god
god-0.13.1 test/configs/lifecycle/lifecycle.god
god-0.13.0 test/configs/lifecycle/lifecycle.god
god-0.12.1 test/configs/lifecycle/lifecycle.god
god-0.12.0 test/configs/lifecycle/lifecycle.god