[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] HighLine 0.2.0

James Gray

4/29/2005 2:33:00 PM

HighLine 0.2.0 Released
=======================

Just thought I would let everyone know that I did package up and
release an updated version of my HighLine quiz (#29) solution. I find
it handy, so I hope others will too.

If anyone uses this, feedback is welcome (james@grayproductions.net).
I do have a TODO list of features I would like to add, but I'm also
open to suggestions of how to grow the project and make in useful to
all.

What is HighLine?
-----------------

(from the README)

HighLine was designed to ease the tedious tasks of doing console input
and output with low-level methods like gets() and puts(). HighLine
provides a robust system for requesting data from a user, without
needing to code all the error checking and validation rules and without
needing to convert the typed Strings into what your program really
needs. Just tell HighLine what you're after, and let it do all the
work.

What's new in this release?
---------------------------

(highlights from the CHANGELOG)

* Added range checks for "above" and "below".
* Added support for validate = lambda { ... }.
* Added default answer support.
* Added complete documentation.

Plus bug fixes and code clean-up all around.

Where can I learn more?
-----------------------

HighLine is now hosted on RubyForge.

Project page: http://rubyforge.org/projects...
Documentation: http://highline.ruby...
Downloads: http://rubyforge.org/frs/?gr...

How do I get HighLine?
----------------------

HighLine is a gem, so as long as you have RubyGems installed it's as
simple as:

$ sudo gem install highline

If you need to install RubyGems, you can download it from:

http://rubyforge.org/frs/?group_id=126&relea...

James Edward Gray II



3 Answers

Its Me

4/29/2005 6:33:00 PM

0

Cool, thanks!

Now if HighLine and Cmd could work together: high-level console interaction
with completion for both commands and args ... that would be even cooler!

http://groups-beta.google.com/group/comp.lang.ruby/messages/3dd1e5f6ae8c57ea,c11573fb3f01cc2f,a85a91cea35a42aa,6badcb747b0274c5,fda3a1c6301a8daa,d6eee112b3b75da7,c1c9d32d77bf78eb,f446674ec2ddc400,ad111387ad1bd24d,7db0cac39216592b?hl=en&thread_id=3e9ff27b30639505&mode=thread&noheader=1&q=command&_done=%2Fgroup%2Fcomp.lang.ruby%2Fbrowse_frm%2Fthread%2F3e9ff27b30639505%2Fd6eee112b3b75da7%3Fq%3Dcommand%26rnum%3D1%26#doc_3dd1e5...


"James Edward Gray II" <james@grayproductions.net> wrote in message
news:fe4261b9a2cbf43bf35628391a07c98c@grayproductions.net...
> HighLine 0.2.0 Released
> =======================
>
> Just thought I would let everyone know that I did package up and
> release an updated version of my HighLine quiz (#29) solution. I find
> it handy, so I hope others will too.
>
> If anyone uses this, feedback is welcome (james@grayproductions.net).
> I do have a TODO list of features I would like to add, but I'm also
> open to suggestions of how to grow the project and make in useful to
> all.
>
> What is HighLine?
> -----------------
>
> (from the README)
>
> HighLine was designed to ease the tedious tasks of doing console input
> and output with low-level methods like gets() and puts(). HighLine
> provides a robust system for requesting data from a user, without
> needing to code all the error checking and validation rules and without
> needing to convert the typed Strings into what your program really
> needs. Just tell HighLine what you're after, and let it do all the
> work.
>
> What's new in this release?
> ---------------------------
>
> (highlights from the CHANGELOG)
>
> * Added range checks for "above" and "below".
> * Added support for validate = lambda { ... }.
> * Added default answer support.
> * Added complete documentation.
>
> Plus bug fixes and code clean-up all around.
>
> Where can I learn more?
> -----------------------
>
> HighLine is now hosted on RubyForge.
>
> Project page: http://rubyforge.org/projects...
> Documentation: http://highline.ruby...
> Downloads: http://rubyforge.org/frs/?gr...
>
> How do I get HighLine?
> ----------------------
>
> HighLine is a gem, so as long as you have RubyGems installed it's as
> simple as:
>
> $ sudo gem install highline
>
> If you need to install RubyGems, you can download it from:
>
> http://rubyforge.org/frs/?group_id=126&relea...
>
> James Edward Gray II
>
>
>


Marcel Molina Jr.

4/29/2005 7:24:00 PM

0

On Sat, Apr 30, 2005 at 03:34:29AM +0900, itsme213 wrote:
> Cool, thanks!
>
> Now if HighLine and Cmd could work together: high-level console interaction
> with completion for both commands and args ... that would be even cooler!
>
> http://groups-beta.google.com/group/comp.lang.ruby/messages/3dd1e5f6ae8c57ea,c11573fb3f01cc2f,a85a91cea35a42aa,6badcb747b0274c5,fda3a1c6301a8daa,d6eee112b3b75da7,c1c9d32d77bf78eb,f446674ec2ddc400,ad111387ad1bd24d,7db0cac39216592b?hl=en&thread_id=3e9ff27b30639505&mode=thread&noheader=1&q=command&_done=%2Fgroup%2Fcomp.lang.ruby%2Fbrowse_frm%2Fthread%2F3e9ff27b30639505%2Fd6eee112b3b75da7%3Fq%3Dcommand%26rnum%3D1%26#doc_3dd1e5...

Yeah, that's what I was thinking this morning...Next time I jump into Cmd I'm
going to incorporate HighLine.

marcel
--
Marcel Molina Jr. <marcel@vernix.org>


James Gray

4/29/2005 8:03:00 PM

0

On Apr 29, 2005, at 2:24 PM, Marcel Molina Jr. wrote:

> On Sat, Apr 30, 2005 at 03:34:29AM +0900, itsme213 wrote:
>> Cool, thanks!
>>
>> Now if HighLine and Cmd could work together: high-level console
>> interaction
>> with completion for both commands and args ... that would be even
>> cooler!

[snip link]

> Yeah, that's what I was thinking this morning...Next time I jump into
> Cmd I'm
> going to incorporate HighLine.

There does seem to be a lot of potential for some kind of combination
here. I would love to see something come of this. Do contact me
Marcel, if I can be of any help...

James Edward Gray II