RubyGems Navigation menu

coral_plan 0.1.1

coral_plan

This library provides the ability to create, load, execute, and save execution plans.

The Coral Plan library contains a system that defines execution plans of CLI commands. The goal is to make it easy to create, edit, load, execute, and save these plans in a machine readable format (ie; JSON). The system is composed of Events, Commands, Actions, and of course Plans. There are a few simple rules:

  1. All plans begin with a Command but may have more Commands defined that act in sequence unless there are errors with previous commands.

  2. Commands can trigger Events of various types, where Events are reading and checking (ie; Regular expressions) Command output line by line.

  3. Events have different criteria for measuring success and will have different fields. For example, a Regexp event contains a ‘pattern’ field.

  4. Actions listen for Events and run Commands, with the ability to override default Command parameters. Actions may also generate Events on either successful execution or failure which can trigger other Actions.

Note: This library is still very early in development!

Contributing to coral_plan

  • Check out the latest master to make sure the feature hasn’t been implemented or the bug hasn’t been fixed yet.

  • Check out the issue tracker to make sure someone already hasn’t requested it and/or contributed it.

  • Fork the project.

  • Start a feature/bugfix branch.

  • Commit and push until you are happy with your contribution.

  • Make sure to add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

Copyright

Licensed under GPLv3. See LICENSE.txt for further details.

Copyright © 2013 Adrian Webb <adrian.webb@coraltech.net> Coral Technology Group LLC

Gemfile:
= 複製 已複製

安裝:
=

版本列表:

  1. 0.2.0 - February 16, 2015 (19.0 KB)
  2. 0.1.3 - March 14, 2013 (23.0 KB)
  3. 0.1.2 - February 08, 2013 (23.0 KB)
  4. 0.1.1 - February 07, 2013 (21.5 KB)
顯示所有版本(共 6)

Runtime 相依性套件 (1):

coral_core ~> 0.1

Development 相依性套件 (4):

bundler ~> 1.2
jeweler ~> 1.8
rdoc ~> 3.12
rspec ~> 2.10

擁有者:

作者:

  • Adrian Webb

SHA 256 checksum:

d613d4217095d376bec8b519c43fe853993cd2b92e9a1437e29fef9a8b413853

總下載次數 13,905

這個版本 3,227

License:

GPLv3

Ruby 版本需求: >= 1.8.1

相關連結: