godmin 2.2.2 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48acefb7a163b19b58779a565c05f70f21c01be49dd45ded049826a7f5f39df7
4
- data.tar.gz: e4306796ece713a6e24eba897fc18e4ea0f24f97bea075ca5e7a883739239113
3
+ metadata.gz: 65e09e2c95f74bf8ff9ec342b5a454c102a698cf96490c045b7c9e1757650df2
4
+ data.tar.gz: a11e4a9601d42c414115e809ebfc960c76c012f1324c0e0538c0d877d18bedc9
5
5
  SHA512:
6
- metadata.gz: 16b5838830c7ff5f6662b166023bda316ba63faf2aba9d5968152db85a92e5bbcb3cf1634bb1f9e879113ea23e49245d732af7eef58357b9f822bf7ef92dd613
7
- data.tar.gz: e12509e0e4efa91597e6cfdc4b578253647c0a1a4a8683d6f3c9714346f0a6ab9bc26ce5d4a8d35a78f814352f0e063b0f48d24a2075785c4de6230885bd3a04
6
+ metadata.gz: 292650fbb1682db6d28beccb627f84e3400189dbe45c714bd96a0aebf9c0c2ce66c4e2ab5272db5117c3f875a3730f5d4959af14aea5cb34b1f3eb08cdffdc9e
7
+ data.tar.gz: f757d276836223a0e0cad7b037336143bf68ec2eaa0bd7cd75328cf6c0f9bb7b8a9581c59905219c1c4bb275abd5f0ae08698f58f1f541533882265a27e307c3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ### 2.3.0 - 2022-03-09
4
+
5
+ Other
6
+ - Upgrade to latest Pundit: 2.2.0 (https://github.com/varvet/godmin/pull/266)
7
+
3
8
  ### 2.2.2 - 2021-11-08
4
9
 
5
10
  Fix
data/godmin.gemspec CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |gem|
25
25
  gem.add_dependency "csv_builder", "~> 2.1"
26
26
  gem.add_dependency "jquery-rails", [">= 4.0", "< 5.0"]
27
27
  gem.add_dependency "momentjs-rails", "~> 2.8"
28
- gem.add_dependency "pundit", [">= 2.0.0", "< 3.0"]
28
+ gem.add_dependency "pundit", [">= 2.2.0", "< 3.0"]
29
29
  gem.add_dependency "rails", [">= 5.0", "< 7.0"]
30
30
  gem.add_dependency "sass-rails", [">= 5.0", "< 7.0"]
31
31
  gem.add_dependency "selectize-rails", "~> 0.12"
@@ -5,7 +5,7 @@ module Godmin
5
5
  module Authorization
6
6
  extend ActiveSupport::Concern
7
7
 
8
- include Pundit
8
+ include Pundit::Authorization
9
9
 
10
10
  included do
11
11
  rescue_from Pundit::NotAuthorizedError do
@@ -1,3 +1,3 @@
1
1
  module Godmin
2
- VERSION = "2.2.2"
2
+ VERSION = "2.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: godmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Ljungblad
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-11-08 00:00:00.000000000 Z
13
+ date: 2022-03-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bcrypt
@@ -114,7 +114,7 @@ dependencies:
114
114
  requirements:
115
115
  - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: 2.0.0
117
+ version: 2.2.0
118
118
  - - "<"
119
119
  - !ruby/object:Gem::Version
120
120
  version: '3.0'
@@ -124,7 +124,7 @@ dependencies:
124
124
  requirements:
125
125
  - - ">="
126
126
  - !ruby/object:Gem::Version
127
- version: 2.0.0
127
+ version: 2.2.0
128
128
  - - "<"
129
129
  - !ruby/object:Gem::Version
130
130
  version: '3.0'