Simple UI workflow for small ruby tasks

I have a set of small ruby tasks(completely automated), which I need to
run one after another after success of last task. I can run those
through a simple script, but I want other folks to be able to run these
via UI.

I am looking for a framework, which can provide basic UIs, where someone
can start these sequence of tasks or they can be started periodically.
Also there should be some visibility around which task is currently
running, which failed, etc.

Please let me know if which light-weight, opensource framework/system
can be used for such cases. I looked at Jenkins(and few other build
tools)/Activiti(and other bpm tools), but they looked too heavy/complex
for my use-case. I dont want to create whole UI myself, but some
tool/framework, where I can plug my ruby tasks like Jenkins but light
weight.

Saurabh Mimani wrote in post #1171865:

I have a set of small ruby tasks(completely automated), which I need to
run one after another after success of last task. I can run those
through a simple script, but I want other folks to be able to run these
via UI.

I have done Ruiby framwork for this kind of tools.
He use GTK 3.
you can run subprocess by a thread, without freeze the gui, and
update the screen asynchronously,
see samples directory…

Some other GUI frameworks:

I recommend FXRuby.

Damián M. González wrote in post #1171915:

Some other GUI frameworks:

I don’t want to build the whole UI, I am looking for some ready to use
framework, where I can plug my Ruby
tasks, and I can show progress of each step, trigger them, something
like
Jenkins but light-weight.

Category: GUI Frameworks - The Ruby Toolbox

I recommend FXRuby.

Regis d’Aubarede wrote in post #1171885:

Saurabh Mimani wrote in post #1171865:

I have a set of small ruby tasks(completely automated), which I need to
run one after another after success of last task. I can run those
through a simple script, but I want other folks to be able to run these
via UI.

Can you provide a link of this framework, sorry, was not able to find
it.

I have done Ruiby framwork for this kind of tools.
He use GTK 3.
you can run subprocess by a thread, without freeze the gui, and
update the screen asynchronously,
see samples directory…

P. S. I don’t want to build the whole UI, I am looking for some ready to
use
framework, where I can plug my Ruby
tasks, and I can show progress of each step, trigger them, something
like Jenkins but light-weight.

There’s no such thing like that in Ruby. You’ll have to work, this is
not Visual Basic. Meaby shoes can be an option, never used it.

Damián M. González wrote in post #1171950:

this is not Visual Basic. Meaby shoes can be an option, never used it.

With tools like shoes, Visual-ruby, Ruiby… ruby become almost
as powerful than visual-basic, for GUI.

Saurabh Mimani wrote in post #1171920:

Can you provide a link of this framework, sorry, was not able to find
it.

gems:
gem install Ruiby
sources/examples:
GitHub - glurp/dsl-gtk: DSL for make a simple ruby GUI application
manual:
Ruiby DSL doc

P. S. I don’t want to build the whole UI, I am looking for some ready to
use
framework, where I can plug my Ruby
tasks, and I can show progress of each step, trigger them, something
like Jenkins but light-weight.

see

  • Ruiby/samples/all.rb >> list of script, execute them, follow run,
    abort
  • Ruiby/samples/demo_runer.rb >> idem
  • Ruiby/samples/script.rb >> transform a CLI script to gui
  • Ruiby/samples/test_systray.rb >> system icon with sub-menu

With that materials, i think you can build your tool in a few hours :slight_smile: