Hello community, here is the log from the commit of package rubygem-responders for openSUSE:Factory checked in at 2020-10-05 19:33:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-responders (Old) and /work/SRC/openSUSE:Factory/.rubygem-responders.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-responders" Mon Oct 5 19:33:19 2020 rev:8 rq:838074 version:3.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-responders/rubygem-responders.changes 2019-08-06 15:10:33.443769558 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-responders.new.4249/rubygem-responders.changes 2020-10-05 19:33:22.285214626 +0200 @@ -1,0 +2,11 @@ +Fri Sep 25 14:48:16 UTC 2020 - Stephan Kulow <[email protected]> + +updated to version 3.0.1 + see installed CHANGELOG.md + + ## 3.0.1 + + * Add support to Ruby 2.7 + + +------------------------------------------------------------------- Old: ---- responders-3.0.0.gem New: ---- responders-3.0.1.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-responders.spec ++++++ --- /var/tmp/diff_new_pack.mFDVht/_old 2020-10-05 19:33:22.933215259 +0200 +++ /var/tmp/diff_new_pack.mFDVht/_new 2020-10-05 19:33:22.937215263 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-responders # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ # Name: rubygem-responders -Version: 3.0.0 +Version: 3.0.1 Release: 0 %define mod_name responders %define mod_full_name %{mod_name}-%{version} @@ -32,7 +32,7 @@ BuildRequires: %{ruby >= 2.4.0} BuildRequires: %{rubygem gem2rpm} BuildRequires: ruby-macros >= 5 -Url: https://github.com/plataformatec/responders +URL: https://github.com/heartcombo/responders Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1: gem2rpm.yml Summary: A set of Rails responders to dry up your application ++++++ responders-3.0.0.gem -> responders-3.0.1.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md 2019-06-22 00:44:26.000000000 +0200 +++ new/CHANGELOG.md 2020-05-29 16:17:43.000000000 +0200 @@ -1,3 +1,7 @@ +## 3.0.1 + +* Add support to Ruby 2.7 + ## 3.0.0 * Remove support for Rails 4.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIT-LICENSE new/MIT-LICENSE --- old/MIT-LICENSE 2019-06-22 00:44:26.000000000 +0200 +++ new/MIT-LICENSE 2020-05-29 16:17:43.000000000 +0200 @@ -1,3 +1,4 @@ +Copyright (c) 2020 Rafael França, Carlos Antônio da Silva Copyright 2009-2019 Plataformatec. http://plataformatec.com.br Permission is hereby granted, free of charge, to any person obtaining diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2019-06-22 00:44:26.000000000 +0200 +++ new/README.md 2020-05-29 16:17:43.000000000 +0200 @@ -1,10 +1,10 @@ # Responders [](http://badge.fury.io/rb/responders) -[](http://travis-ci.org/plataformatec/responders) -[](https://codeclimate.com/github/plataformatec/responders) +[](http://travis-ci.org/heartcombo/responders) +[](https://codeclimate.com/github/heartcombo/responders) -A set of responders modules to dry up your Rails 4.2+ app. +A set of responders modules to dry up your Rails app. ## Installation @@ -179,19 +179,21 @@ end ``` -Now you would see the message "[email protected] was successfully created" instead of the default "Invitation was successfully created." +Now you would see the message `"[email protected] was successfully created"` instead of the default `"Invitation was successfully created."` ## Generator This gem also includes a responders controller generator, so your scaffold can be customized to use `respond_with` instead of default `respond_to` blocks. From 2.1, you need to explicitly opt-in to use this generator by adding the following to your `config/application.rb`: - config.app_generators.scaffold_controller :responders_controller +```ruby +config.app_generators.scaffold_controller :responders_controller +``` ## Failure handling Responders don't use `valid?` to check for errors in models to figure out if -the request was successfull or not, and relies on your controllers to call +the request was successful or not, and relies on your controllers to call `save` or `create` to trigger the validations. ```ruby @@ -219,7 +221,7 @@ ## Verifying request formats `respond_with` will raise an `ActionController::UnknownFormat` if the request -mime type was not configured through the class level `respond_to`, but the +MIME type was not configured through the class level `respond_to`, but the action will still be executed and any side effects (like creating a new record) will still occur. To raise the `UnknownFormat` exception before your action is invoked you can set the `verify_requested_format!` method as a `before_action` @@ -251,6 +253,6 @@ If you discover any bugs or want to drop a line, feel free to create an issue on GitHub. -http://github.com/plataformatec/responders/issues +http://github.com/heartcombo/responders/issues -MIT License. Copyright 2009-2019 Plataformatec. http://plataformatec.com.br +MIT License. Copyright 2020 Rafael França, Carlos Antônio da Silva. Copyright 2009-2019 Plataformatec. Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/action_controller/respond_with.rb new/lib/action_controller/respond_with.rb --- old/lib/action_controller/respond_with.rb 2019-06-22 00:44:26.000000000 +0200 +++ new/lib/action_controller/respond_with.rb 2020-05-29 16:17:43.000000000 +0200 @@ -190,7 +190,7 @@ # 2. <tt>:action</tt> - overwrites the default render action used after an # unsuccessful html +post+ request. # 3. <tt>:render</tt> - allows to pass any options directly to the <tt>:render<tt/> - # call after unsuccessful html +post+ request. Usefull if for example you + # call after unsuccessful html +post+ request. Useful if for example you # need to render a template which is outside of controller's path or you # want to override the default http <tt>:status</tt> code, e.g. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/responders/flash_responder.rb new/lib/responders/flash_responder.rb --- old/lib/responders/flash_responder.rb 2019-06-22 00:44:26.000000000 +0200 +++ new/lib/responders/flash_responder.rb 2020-05-29 16:17:43.000000000 +0200 @@ -128,7 +128,7 @@ return if controller.flash[status].present? options = mount_i18n_options(status) - message = Responders::FlashResponder.helper.t options[:default].shift, options + message = Responders::FlashResponder.helper.t options[:default].shift, **options set_flash(status, message) end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/responders/version.rb new/lib/responders/version.rb --- old/lib/responders/version.rb 2019-06-22 00:44:26.000000000 +0200 +++ new/lib/responders/version.rb 2020-05-29 16:17:43.000000000 +0200 @@ -1,5 +1,5 @@ # frozen_string_literal: true module Responders - VERSION = "3.0.0" + VERSION = "3.0.1" end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2019-06-22 00:44:26.000000000 +0200 +++ new/metadata 2020-05-29 16:17:43.000000000 +0200 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: responders version: !ruby/object:Gem::Version - version: 3.0.0 + version: 3.0.1 platform: ruby authors: - José Valim autorequire: bindir: bin cert_chain: [] -date: 2019-06-21 00:00:00.000000000 Z +date: 2020-05-29 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: railties @@ -39,7 +39,7 @@ - !ruby/object:Gem::Version version: '5.0' description: A set of Rails responders to dry up your application -email: [email protected] +email: [email protected] executables: [] extensions: [] extra_rdoc_files: [] @@ -62,7 +62,7 @@ - lib/responders/locales/en.yml - lib/responders/location_responder.rb - lib/responders/version.rb -homepage: https://github.com/plataformatec/responders +homepage: https://github.com/heartcombo/responders licenses: - MIT metadata: {} @@ -81,7 +81,7 @@ - !ruby/object:Gem::Version version: '0' requirements: [] -rubygems_version: 3.0.1 +rubygems_version: 3.1.2 signing_key: specification_version: 4 summary: A set of Rails responders to dry up your application
