SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

ruby2.3-rubygem-sysexits rpm build for : openSUSE Leap 42. For other distributions click ruby2.3-rubygem-sysexits.

Name : ruby2.3-rubygem-sysexits
Version : 1.2.0 Vendor : obs://build_opensuse_org/devel:languages:ruby
Release : 1.4 Date : 2018-10-22 07:59:51
Group : Development/Languages/Ruby Source RPM : rubygem-sysexits-1.2.0-1.4.src.rpm
Size : 0.04 MB
Packager : (none)
Summary : Have you ever wanted to call < code>exit()< /code> with an error
Description :
Have you ever wanted to call < code>exit()< /code> with an error condition, but
weren\'t sure what exit status to use? No? Maybe it\'s just me, then.
Anyway, I was reading manpages late one evening before retiring to bed in my
palatial estate in rural Oregon, and I stumbled across
< code>sysexits(3)< /code>. Much to my chagrin, I couldn\'t find a +sysexits+ for
Ruby! Well, for the other 2 people that actually care about
< code>style(9)< /code> as it applies to Ruby code, now there is one!
Sysexits is a *completely* *awesome* collection of human-readable constants
for
the standard (BSDish) exit codes, used as arguments to +exit+ to
indicate a specific error condition to the parent process.
It\'s so fantastically fabulous that you\'ll want to fork it right away to avoid
being thought of as that guy that\'s still using Webrick for his blog. I mean,
< code>exit(1)< /code> is so passé! This is like the 14-point font of Systems
Programming.
Like the C header file from which this was derived (I mean forked, naturally),
error numbers begin at < code>Sysexits::EX__BASE< /code> (which is way more cool
than plain old +64+) to reduce the possibility of clashing with other exit
statuses that other programs may already return.
The codes are available in two forms: as constants which can be imported into
your own namespace via < code>include Sysexits< /code>, or as
< code>Sysexits::STATUS_CODES< /code>, a Hash keyed by Symbols derived from the
constant names.
Allow me to demonstrate. First, the old way:
exit( 69 )
Whaaa...? Is that a euphemism? What\'s going on? See how unattractive and...
well, 1970 that is? We\'re not changing vaccuum tubes here, people, we\'re
< em>building a totally-awesome future in the Cloud™!< /em>
include Sysexits
exit EX_UNAVAILABLE
Okay, at least this is readable to people who have used < code>fork()< /code>
more than twice, but you could do so much better!
include Sysexits
exit :unavailable
Holy Toledo! It\'s like we\'re writing Ruby, but our own made-up dialect in
which variable++ is possible! Well, okay, it\'s not quite that cool. But it
does look more Rubyish. And no monkeys were patched in the filming of this
episode! All the simpletons still exiting with icky _numbers_ can still
continue blithely along, none the wiser.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/ruby:/extensions/openSUSE_Leap_42.3/x86_64

Content of RPM  Changelog  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

Provides :
ruby2.3-rubygem-sysexits
ruby2.3-rubygem-sysexits(x86-64)
rubygem(ruby:2.3.0:sysexits)
rubygem(ruby:2.3.0:sysexits:1)
rubygem(ruby:2.3.0:sysexits:1.2)
rubygem(ruby:2.3.0:sysexits:1.2.0)
rubygem(sysexits)

Requires :
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
ruby(abi) = 2.3.0
rpmlib(PayloadIsLzma) <= 4.4.6-1


Content of RPM :
/usr/lib64/ruby/gems/2.3.0/cache/sysexits-1.2.0.gem
/usr/lib64/ruby/gems/2.3.0/gems/sysexits-1.2.0
/usr/lib64/ruby/gems/2.3.0/gems/sysexits-1.2.0/.gemtest
/usr/lib64/ruby/gems/2.3.0/gems/sysexits-1.2.0/ChangeLog
/usr/lib64/ruby/gems/2.3.0/gems/sysexits-1.2.0/History.rdoc
/usr/lib64/ruby/gems/2.3.0/gems/sysexits-1.2.0/LICENSE
/usr/lib64/ruby/gems/2.3.0/gems/sysexits-1.2.0/Manifest.txt
/usr/lib64/ruby/gems/2.3.0/gems/sysexits-1.2.0/README.rdoc
/usr/lib64/ruby/gems/2.3.0/gems/sysexits-1.2.0/Rakefile
/usr/lib64/ruby/gems/2.3.0/gems/sysexits-1.2.0/lib
/usr/lib64/ruby/gems/2.3.0/gems/sysexits-1.2.0/lib/sysexits.rb
/usr/lib64/ruby/gems/2.3.0/specifications/sysexits-1.2.0.gemspec
/usr/share/doc/packages/ruby2.3-rubygem-sysexits
/usr/share/doc/packages/ruby2.3-rubygem-sysexits/ChangeLog
/usr/share/doc/packages/ruby2.3-rubygem-sysexits/LICENSE
/usr/share/doc/packages/ruby2.3-rubygem-sysexits/README.rdoc

 
ICM