Rails 5.1 is coming with RC recently released.
As a first overview, I run `gem compare`[1] to figure out new or updated dependencies, which concludes following:
[deps = dependencies, dep = dependency]
* new runtime dep 'erubi' (instead of 'erubis') - adds no deps
* update to rubygem-arel ~> 8.0 - no deps change
* update to rubygem-nio4r ~> 2.0 - adds dep guard-rspec, which depends on . guard (which requires new deps lumberjack and notiffany) . guard-compat (has no deps)
- adds dep 'rspec-retry' . adds no deps
According to Vít[cc], the 'guard' dependency could be just a development one, and 'rspec-retry' plausibly too. Jun[cc] confirmed to work on an update of rubygem-nio4r.
Any help with packaging new Rails deps is greatly appreciated!
[1] https://github.com/fedora-ruby/gem-compare
`gem compare` output for respective gems: ```
activesupport
Fetching: activesupport-5.1.0.rc1.gem (100%) Compared versions: ["5.0.2", "5.1.0.rc1"] DIFFERENT required_rubygems_version: 5.0.2: >= 0 5.1.0.rc1: > 1.3.1
activemodel
Fetching: activemodel-5.1.0.rc1.gem (100%) Compared versions: ["5.0.2", "5.1.0.rc1"] DIFFERENT required_rubygems_version: 5.0.2: >= 0 5.1.0.rc1: > 1.3.1 DIFFERENT runtime dependencies: 5.0.2->5.1.0.rc1: * Updated: activesupport from: ["= 5.0.2"] to: ["= 5.1.0.rc1"]
activerecord
Fetching: activerecord-5.1.0.rc1.gem (100%) Compared versions: ["5.0.2", "5.1.0.rc1"] DIFFERENT required_rubygems_version: 5.0.2: >= 0 5.1.0.rc1: > 1.3.1 DIFFERENT runtime dependencies: 5.0.2->5.1.0.rc1: * Updated: activesupport from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] activemodel from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] arel from: ["~> 7.0"] to: ["~> 8.0"]
actionview
Fetching: actionview-5.1.0.rc1.gem (100%) Compared versions: ["5.0.2", "5.1.0.rc1"] DIFFERENT required_rubygems_version: 5.0.2: >= 0 5.1.0.rc1: > 1.3.1 DIFFERENT files: 5.0.2->5.1.0.rc1: * Added: lib/action_view/template/handlers/erb/ lib/assets/compiled/ DIFFERENT runtime dependencies: 5.0.2->5.1.0.rc1: * Deleted: erubis ["~> 2.7.0"] (runtime) * Added: erubi ["~> 1.4"] (runtime) * Updated: activesupport from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] DIFFERENT development dependencies: 5.0.2->5.1.0.rc1: * Updated: actionpack from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] activemodel from: ["= 5.0.2"] to: ["= 5.1.0.rc1"]
actionpack
Fetching: actionpack-5.1.0.rc1.gem (100%) Compared versions: ["5.0.2", "5.1.0.rc1"] DIFFERENT required_rubygems_version: 5.0.2: >= 0 5.1.0.rc1: > 1.3.1 DIFFERENT files: 5.0.2->5.1.0.rc1: * Added: lib/action_dispatch/system_testing/ lib/action_dispatch/system_testing/test_helpers/ DIFFERENT runtime dependencies: 5.0.2->5.1.0.rc1: * Updated: activesupport from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] actionview from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] DIFFERENT development dependencies: 5.0.2->5.1.0.rc1: * Updated: activemodel from: ["= 5.0.2"] to: ["= 5.1.0.rc1"]
actionmailer
Fetching: actionmailer-5.1.0.rc1.gem (100%) Compared versions: ["5.0.2", "5.1.0.rc1"] DIFFERENT required_rubygems_version: 5.0.2: >= 0 5.1.0.rc1: > 1.3.1 DIFFERENT runtime dependencies: 5.0.2->5.1.0.rc1: * Updated: actionpack from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] actionview from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] activejob from: ["= 5.0.2"] to: ["= 5.1.0.rc1"]
actioncable
Fetching: actioncable-5.1.0.rc1.gem (100%) Compared versions: ["5.0.2", "5.1.0.rc1"] DIFFERENT required_rubygems_version: 5.0.2: >= 0 5.1.0.rc1: > 1.3.1 DIFFERENT runtime dependencies: 5.0.2->5.1.0.rc1: * Updated: actionpack from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] nio4r from: ["< 3.0", ">= 1.2"] to: ["~> 2.0"] DIFFERENT development dependencies: 5.0.2->5.1.0.rc1: * Deleted: blade ["~> 0.5.1"] (development)
railties
Fetching: railties-5.1.0.rc1.gem (100%) Compared versions: ["5.0.2", "5.1.0.rc1"] DIFFERENT required_rubygems_version: 5.0.2: >= 0 5.1.0.rc1: > 1.3.1 DIFFERENT files: 5.0.2->5.1.0.rc1: * Deleted: lib/rails/commands/ * Added: lib/rails/command/ lib/rails/commands/application/ lib/rails/commands/console/ lib/rails/commands/dbconsole/ lib/rails/commands/destroy/ lib/rails/commands/generate/ lib/rails/commands/help/ lib/rails/commands/new/ lib/rails/commands/plugin/ lib/rails/commands/rake/ lib/rails/commands/runner/ lib/rails/commands/secrets/ lib/rails/commands/server/ lib/rails/commands/test/ lib/rails/commands/version/ lib/rails/generators/rails/encrypted_secrets/ lib/rails/generators/rails/encrypted_secrets/templates/config/ lib/rails/generators/rails/system_test/ lib/rails/generators/test_unit/system/ lib/rails/generators/test_unit/system/templates/ lib/rails/plugin/ lib/rails/generators/rails/app/templates/bin/setup.tt (!) File is not executable lib/rails/generators/rails/app/templates/bin/update.tt (!) File is not executable lib/rails/generators/rails/app/templates/bin/yarn (!) File is not executable DIFFERENT runtime dependencies: 5.0.2->5.1.0.rc1: * Updated: activesupport from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] actionpack from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] DIFFERENT development dependencies: 5.0.2->5.1.0.rc1: * Updated: actionview from: ["= 5.0.2"] to: ["= 5.1.0.rc1"]
rails
Fetching: rails-5.1.0.rc1.gem (100%) Compared versions: ["5.0.2", "5.1.0.rc1"] DIFFERENT runtime dependencies: 5.0.2->5.1.0.rc1: * Updated: activesupport from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] actionpack from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] actionview from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] activemodel from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] activerecord from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] actionmailer from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] activejob from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] actioncable from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] railties from: ["= 5.0.2"] to: ["= 5.1.0.rc1"]
nio4r
Fetching: nio4r-1.2.1.gem (100%) Fetching: nio4r-2.0.0.gem (100%) Compared versions: ["1.2.1", "2.0.0"] DIFFERENT description: 1.2.1: New IO for Ruby 2.0.0: Cross-platform asynchronous I/O primitives for scalable network clients and servers. Inspired by the Java NIO API, but simplified for ease-of-use. DIFFERENT email: 1.2.1: ["tony.arcieri@gmail.com"] 2.0.0: ["bascule@gmail.com"] DIFFERENT homepage: 1.2.1: https://github.com/celluloid/nio4r 2.0.0: https://github.com/socketry/nio4r DIFFERENT require_paths: 1.2.1: ["/home/pvalena/.gem/ruby/extensions/x86_64-linux/2.3.0/nio4r-1.2.1", "lib"] 2.0.0: ["/home/pvalena/.gem/ruby/extensions/x86_64-linux/2.3.0/nio4r-2.0.0", "lib"] DIFFERENT required_ruby_version: 1.2.1: >= 0 2.0.0: >= 2.2.2 DIFFERENT summary: 1.2.1: NIO provides a high performance selector API for monitoring IO objects 2.0.0: New IO for Ruby DIFFERENT files: 1.2.1->2.0.0: * Deleted: .rubocop_todo.yml * Added: .ruby-version Guardfile * Changed: Rakefile +2/-1 (!) Shebang probably lost: #!/usr/bin/env rake examples/echo_server.rb +1/-0 (!) New permissions: 100644 -> 100755 (!) File is now executable! DIFFERENT Gemfile dependencies 1.2.1->2.0.0: * Added: guard-rspec [">= 0"] pry [">= 0"] rspec-retry [">= 0"] * Updated rspec from: ["~> 3.0"] to: ["~> 3"] rubocop from: ["= 0.36.0"] to: ["= 0.46.0"]
arel 7.1.4 8.0.0
Fetching: arel-7.1.4.gem (100%) Fetching: arel-8.0.0.gem (100%)
```
Regards,
Pavel Valena Associate Software Engineer Brno, Czech Republic
RED HAT | TRIED. TESTED. TRUSTED. All of the airlines in the Fortune Global 500 rely on Red Hat. Find out why at Trusted | Red Hat
- update to rubygem-nio4r ~> 2.0
I updated nio4r to 2.0.0 right now.
Jun Aruga
----- Original Message -----
From: "Pavel Valena" pvalena@redhat.com To: "Ruby SIG mailing list" ruby-sig@lists.fedoraproject.org Cc: "Jun Aruga" jaruga@redhat.com Sent: Wednesday, March 22, 2017 5:31:02 PM Subject: Rails 5 update
Rails 5.1 is coming with RC recently released.
As a first overview, I run `gem compare`[1] to figure out new or updated dependencies, which concludes following:
[deps = dependencies, dep = dependency]
new runtime dep 'erubi' (instead of 'erubis')
- adds no deps
update to rubygem-arel ~> 8.0
- no deps change
update to rubygem-nio4r ~> 2.0
adds dep guard-rspec, which depends on . guard (which requires new deps lumberjack and notiffany) . guard-compat (has no deps)
adds dep 'rspec-retry' . adds no deps
According to Vít[cc], the 'guard' dependency could be just a development one, and 'rspec-retry' plausibly too. Jun[cc] confirmed to work on an update of rubygem-nio4r.
Any help with packaging new Rails deps is greatly appreciated!
[1] https://github.com/fedora-ruby/gem-compare
`gem compare` output for respective gems:
>> activesupport Fetching: activesupport-5.1.0.rc1.gem (100%) Compared versions: ["5.0.2", "5.1.0.rc1"] DIFFERENT required_rubygems_version: 5.0.2: >= 0 5.1.0.rc1: > 1.3.1 >> activemodel Fetching: activemodel-5.1.0.rc1.gem (100%) Compared versions: ["5.0.2", "5.1.0.rc1"] DIFFERENT required_rubygems_version: 5.0.2: >= 0 5.1.0.rc1: > 1.3.1 DIFFERENT runtime dependencies: 5.0.2->5.1.0.rc1: * Updated: activesupport from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] >> activerecord Fetching: activerecord-5.1.0.rc1.gem (100%) Compared versions: ["5.0.2", "5.1.0.rc1"] DIFFERENT required_rubygems_version: 5.0.2: >= 0 5.1.0.rc1: > 1.3.1 DIFFERENT runtime dependencies: 5.0.2->5.1.0.rc1: * Updated: activesupport from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] activemodel from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] arel from: ["~> 7.0"] to: ["~> 8.0"] >> actionview Fetching: actionview-5.1.0.rc1.gem (100%) Compared versions: ["5.0.2", "5.1.0.rc1"] DIFFERENT required_rubygems_version: 5.0.2: >= 0 5.1.0.rc1: > 1.3.1 DIFFERENT files: 5.0.2->5.1.0.rc1: * Added: lib/action_view/template/handlers/erb/ lib/assets/compiled/ DIFFERENT runtime dependencies: 5.0.2->5.1.0.rc1: * Deleted: erubis ["~> 2.7.0"] (runtime) * Added: erubi ["~> 1.4"] (runtime) * Updated: activesupport from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] DIFFERENT development dependencies: 5.0.2->5.1.0.rc1: * Updated: actionpack from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] activemodel from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] >> actionpack Fetching: actionpack-5.1.0.rc1.gem (100%) Compared versions: ["5.0.2", "5.1.0.rc1"] DIFFERENT required_rubygems_version: 5.0.2: >= 0 5.1.0.rc1: > 1.3.1 DIFFERENT files: 5.0.2->5.1.0.rc1: * Added: lib/action_dispatch/system_testing/ lib/action_dispatch/system_testing/test_helpers/ DIFFERENT runtime dependencies: 5.0.2->5.1.0.rc1: * Updated: activesupport from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] actionview from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] DIFFERENT development dependencies: 5.0.2->5.1.0.rc1: * Updated: activemodel from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] >> actionmailer Fetching: actionmailer-5.1.0.rc1.gem (100%) Compared versions: ["5.0.2", "5.1.0.rc1"] DIFFERENT required_rubygems_version: 5.0.2: >= 0 5.1.0.rc1: > 1.3.1 DIFFERENT runtime dependencies: 5.0.2->5.1.0.rc1: * Updated: actionpack from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] actionview from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] activejob from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] >> actioncable Fetching: actioncable-5.1.0.rc1.gem (100%) Compared versions: ["5.0.2", "5.1.0.rc1"] DIFFERENT required_rubygems_version: 5.0.2: >= 0 5.1.0.rc1: > 1.3.1 DIFFERENT runtime dependencies: 5.0.2->5.1.0.rc1: * Updated: actionpack from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] nio4r from: ["< 3.0", ">= 1.2"] to: ["~> 2.0"] DIFFERENT development dependencies: 5.0.2->5.1.0.rc1: * Deleted: blade ["~> 0.5.1"] (development) >> railties Fetching: railties-5.1.0.rc1.gem (100%) Compared versions: ["5.0.2", "5.1.0.rc1"] DIFFERENT required_rubygems_version: 5.0.2: >= 0 5.1.0.rc1: > 1.3.1 DIFFERENT files: 5.0.2->5.1.0.rc1: * Deleted: lib/rails/commands/ * Added: lib/rails/command/ lib/rails/commands/application/ lib/rails/commands/console/ lib/rails/commands/dbconsole/ lib/rails/commands/destroy/ lib/rails/commands/generate/ lib/rails/commands/help/ lib/rails/commands/new/ lib/rails/commands/plugin/ lib/rails/commands/rake/ lib/rails/commands/runner/ lib/rails/commands/secrets/ lib/rails/commands/server/ lib/rails/commands/test/ lib/rails/commands/version/ lib/rails/generators/rails/encrypted_secrets/ lib/rails/generators/rails/encrypted_secrets/templates/config/ lib/rails/generators/rails/system_test/ lib/rails/generators/test_unit/system/ lib/rails/generators/test_unit/system/templates/ lib/rails/plugin/ lib/rails/generators/rails/app/templates/bin/setup.tt (!) File is not executable lib/rails/generators/rails/app/templates/bin/update.tt (!) File is not executable lib/rails/generators/rails/app/templates/bin/yarn (!) File is not executable DIFFERENT runtime dependencies: 5.0.2->5.1.0.rc1: * Updated: activesupport from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] actionpack from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] DIFFERENT development dependencies: 5.0.2->5.1.0.rc1: * Updated: actionview from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] >> rails Fetching: rails-5.1.0.rc1.gem (100%) Compared versions: ["5.0.2", "5.1.0.rc1"] DIFFERENT runtime dependencies: 5.0.2->5.1.0.rc1: * Updated: activesupport from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] actionpack from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] actionview from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] activemodel from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] activerecord from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] actionmailer from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] activejob from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] actioncable from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] railties from: ["= 5.0.2"] to: ["= 5.1.0.rc1"] >> nio4r Fetching: nio4r-1.2.1.gem (100%) Fetching: nio4r-2.0.0.gem (100%) Compared versions: ["1.2.1", "2.0.0"] DIFFERENT description: 1.2.1: New IO for Ruby 2.0.0: Cross-platform asynchronous I/O primitives for scalable network clients and servers. Inspired by the Java NIO API, but simplified for ease-of-use. DIFFERENT email: 1.2.1: ["tony.arcieri@gmail.com"] 2.0.0: ["bascule@gmail.com"] DIFFERENT homepage: 1.2.1: https://github.com/celluloid/nio4r 2.0.0: https://github.com/socketry/nio4r DIFFERENT require_paths: 1.2.1: ["/home/pvalena/.gem/ruby/extensions/x86_64-linux/2.3.0/nio4r-1.2.1", "lib"] 2.0.0: ["/home/pvalena/.gem/ruby/extensions/x86_64-linux/2.3.0/nio4r-2.0.0", "lib"] DIFFERENT required_ruby_version: 1.2.1: >= 0 2.0.0: >= 2.2.2 DIFFERENT summary: 1.2.1: NIO provides a high performance selector API for monitoring IO objects 2.0.0: New IO for Ruby DIFFERENT files: 1.2.1->2.0.0: * Deleted: .rubocop_todo.yml * Added: .ruby-version Guardfile * Changed: Rakefile +2/-1 (!) Shebang probably lost: #!/usr/bin/env rake examples/echo_server.rb +1/-0 (!) New permissions: 100644 -> 100755 (!) File is now executable! DIFFERENT Gemfile dependencies 1.2.1->2.0.0: * Added: guard-rspec [">= 0"] pry [">= 0"] rspec-retry [">= 0"] * Updated rspec from: ["~> 3.0"] to: ["~> 3"] rubocop from: ["= 0.36.0"] to: ["= 0.46.0"] >> arel 7.1.4 8.0.0 Fetching: arel-7.1.4.gem (100%) Fetching: arel-8.0.0.gem (100%)
Regards,
Pavel Valena Associate Software Engineer Brno, Czech Republic
RED HAT | TRIED. TESTED. TRUSTED. All of the airlines in the Fortune Global 500 rely on Red Hat. Find out why at Trusted | Red Hat
http://www.redhat.com/en/about/trusted
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org To unsubscribe send an email to ruby-sig-leave@lists.fedoraproject.org
ruby-sig@lists.fedoraproject.org