Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Marvin1973:pcs
rubygem-pundit
rubygem-pundit.changes
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rubygem-pundit.changes of Package rubygem-pundit
------------------------------------------------------------------- Mon Nov 4 17:17:07 UTC 2024 - Dan Čermák <dan.cermak@posteo.net> - ## 2.4.0 (2024-08-26) ## Changed - Improve the `NotAuthorizedError` message to include the policy class. Furthermore, in the case where the record passed is a class instead of an instance, the class name is given. (#812) ## Added - Add customizable permit matcher description (#806) - Add support for filter_run_when_matching :focus with permissions helper. (#820) ------------------------------------------------------------------- Fri Jun 21 10:25:50 UTC 2024 - Dan Čermák <dan.cermak@posteo.net> - New upstream release 2.3.2, see bundled CHANGELOG.md ------------------------------------------------------------------- Fri Nov 3 07:51:03 UTC 2023 - Dan Čermák <dan.cermak@posteo.net> - ## Unreleased Nothing. ## 2.3.1 (2023-07-17) ### Fixed - Use `Kernel.warn` instead of `ActiveSupport::Deprecation.warn` for deprecations (#764) - Policy generator now works on Ruby 3.2 (#754) ------------------------------------------------------------------- Fri Jun 16 08:35:04 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com> - updated to version 2.3.0 * add support for rubocop-rspec syntax extensions ------------------------------------------------------------------- Tue Feb 15 07:34:50 UTC 2022 - Stephan Kulow <coolo@suse.com> updated to version 2.2.0 see installed CHANGELOG.md ------------------------------------------------------------------- Wed Aug 25 05:22:31 UTC 2021 - Manuel Schnitzer <mschnitzer@suse.com> - updated to version 2.1.1 Friday 13th-release! Careful! The bugfix below (#626) could break existing code. If you rely on the return value for `authorize` and namespaced policies you might need to do some changes. ### Fixed - `.authorize` and `#authorize` return the instance, even for namespaced policies (#626) ### Changed - Generate application scope with `protected` attr_readers. (#616) ### Removed - Dropped support for Ruby end-of-life versions: 2.1 and 2.2. (#604) - Dropped support for Ruby end-of-life versions: 2.3 (#633) - Dropped support for Ruby end-of-life versions: 2.4, 2.5 and JRuby 9.1 (#676) - Dropped support for RSpec 2 (#615) ------------------------------------------------------------------- Thu Aug 15 13:31:57 UTC 2019 - Manuel Schnitzer <mschnitzer@suse.com> - updated to version 2.1.0 ### Fixed - Avoid name clashes with the Error class. (#590) ### Changed - Return a safer default NotAuthorizedError message. (#583) ------------------------------------------------------------------- Sat Mar 2 15:31:29 UTC 2019 - Stephan Kulow <coolo@suse.com> - updated to version 2.0.1 see installed CHANGELOG.md ## 2.0.1 (2019-01-18) ### Breaking changes None ### Other changes - Improve exception handling for `#policy_scope` and `#policy_scope!`. (#550) - Add `:policy` metadata to RSpec template. (#566) ------------------------------------------------------------------- Sun Jul 22 05:32:18 UTC 2018 - coolo@suse.com - updated to version 2.0.0 see installed CHANGELOG.md ## 2.0.0 (2018-07-21) No changes since beta1 ## 2.0.0.beta1 (2018-07-04) - Add `policy_class` option to `authorize` to be able to override the policy. (#441) - Add `policy_scope_class` option to `authorize` to be able to override the policy scope. (#441) - Fix `param_key` issue when passed an array. (#529) - Only pass last element of "namespace array" to policy and scope. (#529) - Allow specification of a `NilClassPolicy`. (#525) - Make sure `policy_class` override is called when passed an array. (#475) - Raise `InvalidConstructorError` if a policy or policy scope with an invalid constructor is called. (#462) - Use `action_name` instead of `params[:action]`. (#419) - Add `pundit_params_for` method to make it easy to customize params fetching. (#502) - Return passed object from `#authorize` method to make chaining possible. (#385) ------------------------------------------------------------------- Fri Jan 15 05:47:24 UTC 2016 - coolo@suse.com - updated to version 1.1.0 see installed CHANGELOG.md ## 1.1.0 (2016-01-14) - Can retrieve policies via an array of symbols/objects. - Add autodetection of param key to `permitted_attributes` helper. - Hide some methods which should not be actions. - Permitted attributes should be expanded. - Generator uses `RSpec.describe` according to modern best practices. ------------------------------------------------------------------- Thu May 28 04:32:20 UTC 2015 - coolo@suse.com - updated to version 1.0.1 see installed CHANGELOG.md ## 1.0.1 (2015-05-27) - Fixed a regression where NotAuthorizedError could not be ininitialized with a string. - Use `camelize` instead of `classify` for symbol policies to prevent weird pluralizations. ------------------------------------------------------------------- Mon Apr 20 04:30:03 UTC 2015 - coolo@suse.com - updated to version 1.0.0 ------------------------------------------------------------------- Wed Oct 15 12:08:22 UTC 2014 - coolo@suse.com - updated to version 0.3.0 - Extend the default `ApplicationPolicy` with an `ApplicationPolicy::Scope` (#120) - Fix RSpec 3 deprecation warnings for built-in matchers (#162) - Generate blank policy spec/test files for Rspec/MiniTest/Test::Unit in Rails (#138) ## 0.2.3 (2014-04-06) - Customizable error messages: `#query`, `#record` and `#policy` methods on `Pundit::NotAuthorizedError` (#114) - Raise a different `Pundit::AuthorizationNotPerformedError` when `authorize` call is expected in controller action but missing (#109) - Update Rspec matchers for Rspec 3 (#124) ------------------------------------------------------------------- Sun Oct 12 11:58:45 UTC 2014 - adrian@suse.de - adapt to new rubygem packaging style ------------------------------------------------------------------- Thu Jul 10 13:54:01 UTC 2014 - coolo@suse.com - initial package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor