----- Original Message -----
From: "Jun Aruga" <jaruga(a)redhat.com>
To: "Ruby SIG mailing list" <ruby-sig(a)lists.fedoraproject.org>
Sent: Monday, April 30, 2018 2:52:30 PM
Subject: New/Updated packages for Rails 5.2.0
Change proposal:
https://fedoraproject.org/wiki/Changes/Ruby_on_Rails_5.2
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]
For gem comparison, prior to update, I use a tool
created by Josef Stribny - `gem compare` [1].
Its full output is at the bottom of this email.
## New packages in Rails 5.2.0
To install rubygem-rails
- rubygem-activestorage 5.2.0
Yes, this is a new Rails core package.
- rubygem-marcel
Yes, that's a runtime dependency of
`activestorage` [0]. Could you help with packaging this package into Fedora?
- rubygem-mimemagic
I do not know what pulled this in, but no
core package did, so we probably do not need it.
To run rails application
- rubygem-archive-zip
- rubygem-bootsnap
- rubygem-chromedriver-helper
- rubygem-io-like
- rubygem-msgpack
I do not think all of those are mandatory to run the
application. Let's see later when Rails are built. None of those was added to Rails
core packages. (Disregarding activestorage and its dependencies here.)
## Updated packages
To install rubygem-rails
- rubygem-arel 8.0.0 to 9.0.0
Rebase already prepared [2].
- rubygem-websocket-driver 0.6.5 to 0.7.0
Change was
specifically:
websocket-driver from: ["~> 0.6.1"] to: [">= 0.6.1"]
In Fedora we currently have rubygem-websocket-driver-0.6.5-6.fc28, so no rebase is
required right now.
To run rails application
- rubygem-capybara 2.14.3 to 3.0.2
Likewise, I'm not sure this is required,
as no core package did change it's dependencies regarding capybara. Let's see
later on.
[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
Thanks for your help - more updates are comming.
[0]
https://rubygems.org/gems/activestorage/versions/5.2.0
[1]
https://github.com/fedora-ruby/gem-compare
[2]
https://src.fedoraproject.org/rpms/rubygem-arel/pull-request/1
Full `gem compare` outputs:
```
> activesupport
Fetching: activesupport-5.1.5.gem (100%)
Fetching: activesupport-5.2.0.gem (100%)
/usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is
deprecated
Compared versions: ["5.1.5", "5.2.0"]
DIFFERENT metadata:
5.1.5:
{"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/activesupport",
"changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/activesupport/CHANGELOG.md"}
5.2.0:
{"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/activesupport",
"changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/activesupport/CHANGELOG.md"}
DIFFERENT files:
5.1.5->5.2.0:
* Added:
lib/active_support/messages/
DIFFERENT runtime dependencies:
5.1.5->5.2.0:
* Updated:
i18n from: ["~> 0.7"] to: ["< 2", ">=
0.7"]
> activemodel
Fetching: activemodel-5.1.5.gem (100%)
Fetching: activemodel-5.2.0.gem (100%)
/usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is
deprecated
Compared versions: ["5.1.5", "5.2.0"]
DIFFERENT metadata:
5.1.5:
{"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/activemodel",
"changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/activemodel/CHANGELOG.md"}
5.2.0:
{"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/activemodel",
"changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/activemodel/CHANGELOG.md"}
DIFFERENT files:
5.1.5->5.2.0:
* Added:
lib/active_model/attribute/
lib/active_model/attribute_set/
DIFFERENT runtime dependencies:
5.1.5->5.2.0:
* Updated:
activesupport from: ["= 5.1.5"] to: ["= 5.2.0"]
> activerecord
Fetching: activerecord-5.1.5.gem (100%)
Fetching: activerecord-5.2.0.gem (100%)
/usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is
deprecated
Compared versions: ["5.1.5", "5.2.0"]
DIFFERENT metadata:
5.1.5:
{"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/activerecord",
"changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/activerecord/CHANGELOG.md"}
5.2.0:
{"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/activerecord",
"changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/activerecord/CHANGELOG.md"}
DIFFERENT files:
5.1.5->5.2.0:
* Deleted:
lib/active_record/attribute/
lib/active_record/attribute_set/
* Added:
lib/rails/generators/active_record/application_record/
lib/rails/generators/active_record/application_record/templates/
DIFFERENT runtime dependencies:
5.1.5->5.2.0:
* Updated:
activesupport from: ["= 5.1.5"] to: ["= 5.2.0"]
activemodel from: ["= 5.1.5"] to: ["= 5.2.0"]
arel from: ["~> 8.0"] to: [">= 9.0"]
> actionview
Fetching: actionview-5.1.5.gem (100%)
Fetching: actionview-5.2.0.gem (100%)
/usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is
deprecated
Compared versions: ["5.1.5", "5.2.0"]
DIFFERENT metadata:
5.1.5:
{"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/actionview",
"changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/actionview/CHANGELOG.md"}
5.2.0:
{"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/actionview",
"changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/actionview/CHANGELOG.md"}
DIFFERENT runtime dependencies:
5.1.5->5.2.0:
* Updated:
activesupport from: ["= 5.1.5"] to: ["= 5.2.0"]
DIFFERENT development dependencies:
5.1.5->5.2.0:
* Updated:
actionpack from: ["= 5.1.5"] to: ["= 5.2.0"]
activemodel from: ["= 5.1.5"] to: ["= 5.2.0"]
> actionpack
Fetching: actionpack-5.1.5.gem (100%)
Fetching: actionpack-5.2.0.gem (100%)
/usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is
deprecated
Compared versions: ["5.1.5", "5.2.0"]
DIFFERENT metadata:
5.1.5:
{"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/actionpack",
"changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/actionpack/CHANGELOG.md"}
5.2.0:
{"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/actionpack",
"changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/actionpack/CHANGELOG.md"}
DIFFERENT runtime dependencies:
5.1.5->5.2.0:
* Updated:
activesupport from: ["= 5.1.5"] to: ["= 5.2.0"]
actionview from: ["= 5.1.5"] to: ["= 5.2.0"]
DIFFERENT development dependencies:
5.1.5->5.2.0:
* Updated:
activemodel from: ["= 5.1.5"] to: ["= 5.2.0"]
> actionmailer
Fetching: actionmailer-5.1.5.gem (100%)
Fetching: actionmailer-5.2.0.gem (100%)
/usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is
deprecated
Compared versions: ["5.1.5", "5.2.0"]
DIFFERENT metadata:
5.1.5:
{"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/actionmailer",
"changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/actionmailer/CHANGELOG.md"}
5.2.0:
{"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/actionmailer",
"changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/actionmailer/CHANGELOG.md"}
DIFFERENT runtime dependencies:
5.1.5->5.2.0:
* Updated:
actionpack from: ["= 5.1.5"] to: ["= 5.2.0"]
actionview from: ["= 5.1.5"] to: ["= 5.2.0"]
activejob from: ["= 5.1.5"] to: ["= 5.2.0"]
> actioncable
Fetching: actioncable-5.1.5.gem (100%)
Fetching: actioncable-5.2.0.gem (100%)
/usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is
deprecated
Compared versions: ["5.1.5", "5.2.0"]
DIFFERENT metadata:
5.1.5:
{"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/actioncable",
"changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/actioncable/CHANGELOG.md"}
5.2.0:
{"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/actioncable",
"changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/actioncable/CHANGELOG.md"}
DIFFERENT runtime dependencies:
5.1.5->5.2.0:
* Updated:
actionpack from: ["= 5.1.5"] to: ["= 5.2.0"]
websocket-driver from: ["~> 0.6.1"] to: [">=
0.6.1"]
> railties
Fetching: railties-5.1.5.gem (100%)
Fetching: railties-5.2.0.gem (100%)
/usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is
deprecated
Compared versions: ["5.1.5", "5.2.0"]
DIFFERENT metadata:
5.1.5:
{"source_code_uri"=>"https://github.com/rails/rails/tree/v5.1.5/railties",
"changelog_uri"=>"https://github.com/rails/rails/blob/v5.1.5/railties/CHANGELOG.md"}
5.2.0:
{"source_code_uri"=>"https://github.com/rails/rails/tree/v5.2.0/railties",
"changelog_uri"=>"https://github.com/rails/rails/blob/v5.2.0/railties/CHANGELOG.md"}
DIFFERENT files:
5.1.5->5.2.0:
* Deleted:
lib/rails/generators/rails/encrypted_secrets/
* Added:
lib/rails/command/helpers/
lib/rails/commands/credentials/
lib/rails/commands/encrypted/
lib/rails/generators/rails/application_record/
lib/rails/generators/rails/credentials/
lib/rails/generators/rails/encrypted_file/
lib/rails/generators/rails/encryption_key_file/
lib/rails/generators/rails/master_key/
lib/rails/generators/rails/app/templates/bin/bundle.tt
(!) File is not executable
lib/rails/generators/rails/app/templates/bin/rails.tt
(!) File is not executable
lib/rails/generators/rails/app/templates/bin/rake.tt
(!) File is not executable
lib/rails/generators/rails/app/templates/bin/yarn.tt
(!) File is not executable
DIFFERENT runtime dependencies:
5.1.5->5.2.0:
* Updated:
activesupport from: ["= 5.1.5"] to: ["= 5.2.0"]
actionpack from: ["= 5.1.5"] to: ["= 5.2.0"]
DIFFERENT development dependencies:
5.1.5->5.2.0:
* Updated:
actionview from: ["= 5.1.5"] to: ["= 5.2.0"]
> rails
Fetching: rails-5.1.5.gem (100%)
Fetching: rails-5.2.0.gem (100%)
/usr/share/gems/gems/rainbow-2.0.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is
deprecated
Compared versions: ["5.1.5", "5.2.0"]
DIFFERENT runtime dependencies:
5.1.5->5.2.0:
* Added:
activestorage ["= 5.2.0"] (runtime)
* Updated:
activesupport from: ["= 5.1.5"] to: ["= 5.2.0"]
actionpack from: ["= 5.1.5"] to: ["= 5.2.0"]
actionview from: ["= 5.1.5"] to: ["= 5.2.0"]
activemodel from: ["= 5.1.5"] to: ["= 5.2.0"]
activerecord from: ["= 5.1.5"] to: ["= 5.2.0"]
actionmailer from: ["= 5.1.5"] to: ["= 5.2.0"]
activejob from: ["= 5.1.5"] to: ["= 5.2.0"]
actioncable from: ["= 5.1.5"] to: ["= 5.2.0"]
railties from: ["= 5.1.5"] to: ["= 5.2.0"]
```
Regards,
Pavel