pundit_extraextra 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: efe9e9d3572cd753f9834532b4e6e913ea62a839146f9f02506aed669de8ddd6
4
- data.tar.gz: '0384a52b21b8329de96b08106200b80bbb3b5206997a3e5ca53562d8b7c89643'
3
+ metadata.gz: b7a91e792d945872b0bb1089353e165faeec8f5c3759f14a77543903ab9f2626
4
+ data.tar.gz: ac733fce058573135b741477b06e9b39c211dc98bf2cd2453e16541dfe0492f0
5
5
  SHA512:
6
- metadata.gz: 75ae6276ffd31361b3924b8b5a7eb82b9e87821231cbce03155dc2790ce8d6b6444aaf01fb686b9743e6db4bc8014905f51d7b7f5477be8207328ff5d39313f0
7
- data.tar.gz: 67498abe57e9e1f160f9b176e8cc388a37a434c87379acc707890ae15a69dc1a7033901c41d99ce8c0b735aae8a242d9e645cec62d8197aba77cb494de537e85
6
+ metadata.gz: d14f3d803febec0e9af6818989a6b6f89375971171b12623790bcfdc7a67f6adf76e1c526b5d3e39c252b1452ee4ccbcb0539f2570cb194ac9384e3b2e60579b
7
+ data.tar.gz: 43c2ca80046379484991e7a1224464579ca888f3a4f5ac003b9a4903c9048201106828fb36942d871a6fe61add6c21d7918ba2e66988b9e05f2da10a762084b8
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # PunditExtra
1
+ # PunditExtraExtra
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/pundit_extra.svg)](https://badge.fury.io/rb/pundit_extra)
4
4
  [![Build Status](https://github.com/DannyBen/pundit_extra/workflows/Test/badge.svg)](https://github.com/DannyBen/pundit_extra/actions?query=workflow%3ATest)
@@ -34,7 +34,7 @@ Add to your `ApplicationController`:
34
34
  ```ruby
35
35
  class ApplicationController < ActionController::Base
36
36
  include Pundit::Authorization
37
- include PunditExtra
37
+ include PunditExtraExtra
38
38
  end
39
39
  ```
40
40
 
@@ -1,10 +1,10 @@
1
- module PunditExtra
1
+ module PunditExtraExtra
2
2
  def self.included(_base)
3
3
  return unless defined? ActionController::Base
4
4
 
5
5
  ActionController::Base.class_eval do
6
- include PunditExtra::Helpers
7
- include PunditExtra::ResourceAutoload
6
+ include PunditExtraExtra::Helpers
7
+ include PunditExtraExtra::ResourceAutoload
8
8
  end
9
9
  end
10
10
  end
@@ -1,4 +1,4 @@
1
- module PunditExtra
1
+ module PunditExtraExtra
2
2
  module Helpers
3
3
  def self.included(base)
4
4
  base.helper_method :can?, :cannot? if base.respond_to? :helper_method
@@ -1,6 +1,6 @@
1
1
  require 'active_support/concern'
2
2
 
3
- module PunditExtra
3
+ module PunditExtraExtra
4
4
  module ResourceAutoload
5
5
  extend ActiveSupport::Concern
6
6
 
@@ -1,3 +1,3 @@
1
1
  module PunditExtraExtra
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pundit_extraextra
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit