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
1 week
[HEADS UP] YARN available in Rawhide
by Vít Ondruch
For some while, Ruby on Rails can use YARN to manage its JavaScript
dependencies. And now, NodeJS maintainers were so nice, that we have
YARN available in Rawhide!
V.
-------- Přeposlaná zpráva --------
Předmět: Fedora rawhide compose report: 20180517.n.1 changes
Datum: Fri, 18 May 2018 05:35:34 +0000
Od: Fedora Rawhide Report <rawhide(a)fedoraproject.org>
Adresa pro odpověď: Development discussions related to Fedora
<devel(a)lists.fedoraproject.org>
Komu: devel(a)lists.fedoraproject.org
OLD: Fedora-Rawhide-20180516.n.0
NEW: Fedora-Rawhide-20180517.n.1
===== ADDED PACKAGES =====
Package: nodejs-yarn-1.6.0-1.fc29
Summary: Fast, reliable, and secure dependency management.
RPMs: nodejs-yarn
Size: 3.01 MiB
5 years, 4 months
New/Updated packages for Rails 5.2.0
by Jun Aruga
I compared "bundle list" between Rails 5.1.6 and 5.2.0 to identify the
new or updated Ruby packages for Rails 5.2.0.
Maybe this is useful information.
I used my tool for that. [1]
## New packages in Rails 5.2.0
To install rubygem-rails
- rubygem-activestorage 5.2.0
- rubygem-marcel
- rubygem-mimemagic
To run rails application
- rubygem-archive-zip
- rubygem-bootsnap
- rubygem-chromedriver-helper
- rubygem-io-like
- rubygem-msgpack
## Updated packages
To install rubygem-rails
- rubygem-arel 8.0.0 to 9.0.0
- rubygem-websocket-driver 0.6.5 to 0.7.0
To run rails application
- rubygem-capybara 2.14.3 to 3.0.2
[1] https://github.com/junaruga/rails-install-tester
$ git clone https://github.com/junaruga/rails-install-tester.git
$ diff rails/5.1.6/bundle_list.txt rails/5.2.0/bundle_list.txt
$ diff rails/5.1.6/app/bundle_list.txt rails/5.2.0/app/bundle_list.txt
Regards,
Jun
5 years, 4 months