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:
=

instalar:
=

Versiones:

  1. 0.2.0 February 16, 2015 (19 KB)
  2. 0.1.3 March 14, 2013 (23 KB)
  3. 0.1.2 February 08, 2013 (23 KB)
  4. 0.1.1 February 07, 2013 (21,5 KB)
Mostrar todas las versiones (6 total)

dependencias de Runtime (1):

coral_core ~> 0.1

dependencias de Development (4):

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

Propietarios:

Autores:

  • Adrian Webb

SHA 256 checksum:

=

Total de descargas 14.239

Para esta versión 3.303

Versión publicada:

Licencia:

GPLv3

Versión de Ruby requerida: >= 1.8.1

Enlace: