Ruby 2.2
by Vít Ondruch
Hi everybody,
Since Ruby 2.2 is going to be released during Christmas and -preview1
release is imminent (this Wednesday?), it is probably time to start
looking into its packaging. So here is the updated .spec file [1] and
scratch build [2], which can be finally build on all platforms. Sorry,
no Copr for you, since Ruby's build fails there due to old RHEL kernel :/.
What has changed from packaging point of view? Luckily, not much, but
here are a few bullets which comes to my mind:
* RPM 4.12 introduces new %load function, which is used to load RPM
macros during RPM build. This allowed to drop my custom RPM macro [3].
On the other hand, you'll be able to build the Ruby only on F21+
(luckily, you should be able to build SRPM everywhere).
* The RubyGems filesystem was not explicit enough, so there might be
something accidentally packages. This is now more explicit, so we should
be safer.
* Ruby now ships with MiniTest and Test::Unit. The very good news is
that they are installed so far as a regular gems. This means that you
have to always specify them in your Gemfile, if you are using Bundler,
but this is generally step in good direction. I hope that upstream will
not change their mind :) Due to this change, we have new subpackages
rubygem-test-unit (and rubygem-power_assert, which is now Test::Unit's
dependency). No more %{_bindir}/testrb (but nobody is using it these
days anyway, right? ;)
* Some prevailing test failures were resolved, some others introduced,
but hopefully they'll get resolved prior stable release.
Generally, I'd say that not much has changed since 2.1, which is good news.
Please test the packaging if you can and let me know about any issues
you encountered.
Also, if you have any other suggestions about Ruby packaging in general,
what we could improve etc, this is probably good time to share. It seems
that OpenSUSE guys are improving their packaging, so you might want to
get some inspiration there [4, 5, 6] ;)
Vít
[1] http://pkgs.fedoraproject.org/cgit/ruby.git/log/?h=private-ruby-2.2
[2] http://koji.fedoraproject.org/koji/taskinfo?taskID=7578843
[3]
http://pkgs.fedoraproject.org/cgit/ruby.git/commit/?h=private-ruby-2.2&id...
[4] https://build.opensuse.org/package/show/home:darix:ruby/ruby-common
[5] https://build.opensuse.org/package/show/home:darix:ruby/ruby2.2
[6] https://github.com/openSUSE/gem2rpm/commits/master
23 hours, 49 minutes
RSpec 3
by Julian C. Dunn
Hi again,
I’ve been packaging more and more stuff that is using RSpec 3 in test suites. We currently have RSpec 2.14.1 even in rawhide. Is anyone working on an upgrade? Or providing RSpec 3 in parallel?
I realize it’s a big undertaking to do this, but it sucks not to be able to run tests in %check because of all the breaking changes.
- Julian
[ Julian C. Dunn <jdunn(a)aquezada.com> * Sorry, I'm ]
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]
9 years
Help on some ruby package for EPEL/Fedora
by Michael Stahnke
I am primary point of contact on several ruby packages. Sadly, I haven't
been able to give them the love and attention they need lately. I got into
most of them when I had a different day job, and needed them in EPEL. Today
I have less needs in that space. I'd love more co-maintainers, or even to
orphan some of the following packages. Please sign up now for
co-maintainerships. In a week or so I'll orphan the ones I have no interest
in if nobody else picks up co-maintainership.
ruby-dbus -- Ruby D-Bus client ( el6 el5 )
ruby-libvirt -- Ruby bindings for libvirt ( el6 el5 )
ruby-postgres -- A Ruby interface for the PostgreSQL database engine ( el6
el5 )
ruby-rpm -- Ruby bindings for RPM ( el6 el5 )
ruby-sqlite3 -- A Ruby interface for the SQLite database engine ( el6 el5 )
rubygem-ParseTree -- Extracts the parse tree for a class/method and returns
an s-expression ( el6 el5 )
rubygem-RedCloth -- Textile parser for Ruby ( master f21 f20 f19 el6 el5 )
rubygem-RubyInline -- Write foreign code within your ruby code ( el6 el5 )
rubygem-ZenTest -- Automated test scaffolding for Ruby ( el6 el5 )
rubygem-abstract -- Allows you to define an abstract method in Ruby ( el6
el5 )
rubygem-actionmailer -- Service layer for easy email delivery and testing (
el6 el5 )
rubygem-actionpack -- Web-flow and rendering framework putting the VC in
MVC ( el6 el5 )
rubygem-actionwebservice -- Web service support for Action Pack ( el6 el5 )
rubygem-activeldap -- Ruby/ActiveLdap is a object-oriented API to LDAP (
el6 )
rubygem-activerecord -- Implements the ActiveRecord pattern for ORM ( el6
el5 )
rubygem-activeresource -- Active Record for web resources ( el6 el5 )
rubygem-activesupport -- Support and utility classes used by the Rails
framework ( el6 el5 )
rubygem-amqp -- AMQP client implementation in Ruby/EventMachine ( el6 el5 )
rubygem-archive-tar-minitar -- Provides POSIX tar archive management from
Ruby programs ( el6 el5 )
rubygem-bunny -- Another synchronous Ruby AMQP client ( el6 el5 )
rubygem-configuration -- Pure Ruby scoped configuration files ( master f21
f20 f19 )
rubygem-crack -- Really simple JSON and XML parsing, ripped from Merb and
Rails ( master f21 f20 f19 el6 el5 )
rubygem-erubis -- A fast and extensible eRuby implementation ( el6 el5 )
rubygem-eventmachine -- Ruby/EventMachine library ( el6 el5 )
rubygem-extlib -- Support library for DataMapper and Merb ( el6 el5 )
rubygem-facon -- Tiny mocking library ( master f21 f20 f19 el6 el5 )
rubygem-fakeweb -- A tool for faking responses to HTTP ( master f21 f20 f19
el6 el5 )
rubygem-flexmock -- Mock object library for ruby ( el5 )
rubygem-gettext -- RubyGem of Localization Library and Tools for Ruby ( el6
el5 )
rubygem-gettext_activerecord -- Localization support for ActiveRecord by
Ruby-GetText-Package ( el6 el5 )
rubygem-haml -- XHTML/XML templating engine ( el6 el5 )
rubygem-httparty -- Makes HTTP fun! Also, makes consuming restful web
services dead easy ( master f21 f20 f19 el6 el5 )
rubygem-jnunemaker-matchy -- RSpec-esque matchers for use in Test::Unit (
master f21 f20 f19 el6 el5 )
rubygem-launchy -- Helper class for cross-platform launching of
applications ( master f21 f20 f19 )
rubygem-locale -- Pure ruby library which provides basic APIs for
localization ( el6 el5 )
rubygem-mime-types -- Return the MIME Content-Type for a given filename (
el6 el5 )
rubygem-mixlib-authentication -- Simple per-request authentication ( el6
el5 )
rubygem-mixlib-cli -- Simple ruby mixin for CLI interfaces ( el6 el5 )
rubygem-mixlib-config -- Simple ruby config mixin ( el6 el5 )
rubygem-mixlib-log -- Ruby mixin for log functionality ( el6 el5 )
rubygem-moneta -- A unified interface to key/value stores ( el6 el5 )
rubygem-newgem -- Bundle Ruby libraries into a RubyGem ( el6 el5 )
rubygem-pkg-config -- A pkg-config implmenetation by Ruby ( el6 el5 )
rubygem-rails -- Web-application framework ( el6 el5 )
rubygem-rcov -- Code coverage analysis tool for Ruby ( el6 el5 )
rubygem-rspec -- Behaviour driven development (BDD) framework for Ruby (
master f21 f20 f19 epel7 el6 el5 )
rubygem-rubigen -- A framework to allow Ruby applications to generate
file/folder stubs ( master f21 f20 f19 )
rubygem-ruby-ole -- Ruby OLE library ( master f21 f20 f19 el6 el5 )
rubygem-ruby2ruby -- Generate pure ruby from RubyParser compatible Sexps (
el6 el5 )
rubygem-ruby_parser -- A ruby parser written in pure ruby ( el6 el5 )
rubygem-rubyforge -- A script which automates a limited set of rubyforge
operations ( el6 )
rubygem-sexp_processor -- A branch of ParseTree providing generic sexp
processing tools ( el6 el5 )
rubygem-simple-rss -- A simple, flexible, extensible, and liberal RSS and
Atom reader for Ruby ( master f21 f20 f19 el6 el5 )
rubygem-systemu -- Multi-platform command execution and capture ( epel7 el6
el5 )
rubygem-templater -- Ruby framework for building code generators ( el6 el5 )
rubygem-test-spec -- Behaviour Driven Development interface for Test::Unit
( master f21 f20 f19 )
rubygem-thor -- Scripting framework that replaces rake, sake and rubigen (
el6 el5 )
rubygem-treetop -- A Ruby-based text parsing and interpretation DSL (
master f21 f20 f19 el6 el5 )
rubygem-uuidtools -- A simple universally unique ID generation library (
el6 el5 )
rubygem-yard -- Tool for consistent and usable documentation in Ruby ( el6
el5 )
9 years