rabarber 3.0.0 → 3.0.2

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: 51c1cba47b8af312f38ff403b77ef716099101d5bed3226c3e7d2bad37c23874
4
- data.tar.gz: 3da6569ceef5c624aa649240341fcb72ce879005e458044006ba547aadbe316e
3
+ metadata.gz: 577541d4928a55318bf4358aab22e46b094b873172c78ab3a5cdcd5c48e2fd1f
4
+ data.tar.gz: 8705e8907a36e9cc811784c951011b448fe37ec5cd5a63b70d263589af035164
5
5
  SHA512:
6
- metadata.gz: 9d5c8fd851b43d71f0f1ca9bfe6671c5d23fe3db1c6b08b8d78ff6415e0e7528e4de1c86c1c5bb9fcdd9143ca050183268e94a981fe8bd89002e75f7e437064f
7
- data.tar.gz: a11d2aa5c8bb3ff69b1db5d8d6aae6b5f2590ae03f5fe99388db8ff809cf6ff3b9d8c9461a1936f08faade2a7b7711d4010fa7d49bfad36ab582f80d14708893
6
+ metadata.gz: b35a496964096d6ce0538f2d84d43786c86fb367b03afa1a8604cd9e9225f015266fb2d94c4df01513c07cbb1e639851f858fb12bcded98646718a586218fd8a
7
+ data.tar.gz: 8bab47c3abf70362eecd13237eca64db16c3b7a0bae06334efe8c7ba3e0f1cb48b39a1c443ce5456957ef643c7256693a8ac0e0d2ecbabb3b701463a00120dc9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## v3.0.2
2
+
3
+ ### Misc:
4
+
5
+ - Improved performance for authorization checks
6
+ - Refactored codebase for better maintainability
7
+
8
+ ## v3.0.1
9
+
10
+ ### Misc:
11
+
12
+ - Added support for Rails 7.2
13
+ - Updated gemspec file to include missing metadata
14
+
1
15
  ## v3.0.0
2
16
 
3
17
  ### Breaking:
data/README.md CHANGED
@@ -372,7 +372,7 @@ end
372
372
 
373
373
  Rabarber supports multi-tenancy by providing a context feature. This allows you to define and authorize roles and rules within a specific context.
374
374
 
375
- Every Rabarber method that accepts roles can also accept a context as an additional keyword argument. By default, the context is set to `nil`, meaning the roles are global. Thus, all examples from other sections of this README are valid for global roles. Apart from being global, the context can be an instance of ActiveRecord model or a class.
375
+ Every Rabarber method can accept a context as an additional keyword argument. By default, the context is set to `nil`, meaning the roles are global. Thus, all examples from other sections of this README are valid for global roles. Apart from being global, the context can be an instance of ActiveRecord model or a class.
376
376
 
377
377
  E.g., consider a model named `Project`, where each project has its owner and regular members. Roles can be defined like this:
378
378
 
@@ -15,16 +15,10 @@ module Rabarber
15
15
  private
16
16
 
17
17
  def initialize(roleable, specifics)
18
- raise ArgumentError, "Roleable is required for #{self.class} event" if roleable.nil? && !nil_roleable_allowed?
19
-
20
18
  @roleable = roleable
21
19
  @specifics = specifics
22
20
  end
23
21
 
24
- def nil_roleable_allowed?
25
- raise NotImplementedError
26
- end
27
-
28
22
  def log
29
23
  Rabarber::Audit::Logger.log(log_level, message)
30
24
  end
@@ -38,14 +32,7 @@ module Rabarber
38
32
  end
39
33
 
40
34
  def identity
41
- if roleable.is_a?(Rabarber::Core::NullRoleable)
42
- "Unauthenticated #{Rabarber::HasRoles.roleable_class.model_name.human.downcase}"
43
- else
44
- model_name = roleable.model_name.human
45
- roleable_id = roleable.public_send(roleable.class.primary_key)
46
-
47
- "#{model_name}##{roleable_id}"
48
- end
35
+ roleable.log_identity
49
36
  end
50
37
 
51
38
  def human_context
@@ -6,10 +6,6 @@ module Rabarber
6
6
  class RolesAssigned < Base
7
7
  private
8
8
 
9
- def nil_roleable_allowed?
10
- false
11
- end
12
-
13
9
  def log_level
14
10
  :info
15
11
  end
@@ -6,10 +6,6 @@ module Rabarber
6
6
  class RolesRevoked < Base
7
7
  private
8
8
 
9
- def nil_roleable_allowed?
10
- false
11
- end
12
-
13
9
  def log_level
14
10
  :info
15
11
  end
@@ -6,10 +6,6 @@ module Rabarber
6
6
  class UnauthorizedAttempt < Base
7
7
  private
8
8
 
9
- def nil_roleable_allowed?
10
- true
11
- end
12
-
13
9
  def log_level
14
10
  :warn
15
11
  end
@@ -9,22 +9,18 @@ module Rabarber
9
9
  attr_reader :audit_trail_enabled, :cache_enabled, :current_user_method, :must_have_roles
10
10
 
11
11
  def initialize
12
- @audit_trail_enabled = default_audit_trail_enabled
13
- @cache_enabled = default_cache_enabled
14
- @current_user_method = default_current_user_method
15
- @must_have_roles = default_must_have_roles
12
+ @audit_trail_enabled = true
13
+ @cache_enabled = true
14
+ @current_user_method = :current_user
15
+ @must_have_roles = false
16
16
  end
17
17
 
18
- def audit_trail_enabled=(value)
19
- @audit_trail_enabled = Rabarber::Input::Types::Boolean.new(
20
- value, Rabarber::ConfigurationError, "Configuration 'audit_trail_enabled' must be a Boolean"
21
- ).process
22
- end
23
-
24
- def cache_enabled=(value)
25
- @cache_enabled = Rabarber::Input::Types::Boolean.new(
26
- value, Rabarber::ConfigurationError, "Configuration 'cache_enabled' must be a Boolean"
27
- ).process
18
+ [:audit_trail_enabled, :cache_enabled, :must_have_roles].each do |method_name|
19
+ define_method(:"#{method_name}=") do |value|
20
+ instance_variable_set(:"@#{method_name}", Rabarber::Input::Types::Boolean.new(
21
+ value, Rabarber::ConfigurationError, "Configuration '#{method_name}' must be a Boolean"
22
+ ).process)
23
+ end
28
24
  end
29
25
 
30
26
  def current_user_method=(method_name)
@@ -32,29 +28,5 @@ module Rabarber
32
28
  method_name, Rabarber::ConfigurationError, "Configuration 'current_user_method' must be a Symbol or a String"
33
29
  ).process
34
30
  end
35
-
36
- def must_have_roles=(value)
37
- @must_have_roles = Rabarber::Input::Types::Boolean.new(
38
- value, Rabarber::ConfigurationError, "Configuration 'must_have_roles' must be a Boolean"
39
- ).process
40
- end
41
-
42
- private
43
-
44
- def default_audit_trail_enabled
45
- true
46
- end
47
-
48
- def default_cache_enabled
49
- true
50
- end
51
-
52
- def default_current_user_method
53
- :current_user
54
- end
55
-
56
- def default_must_have_roles
57
- false
58
- end
59
31
  end
60
32
  end
@@ -3,12 +3,9 @@
3
3
  module Rabarber
4
4
  module Authorization
5
5
  extend ActiveSupport::Concern
6
-
7
6
  include Rabarber::Core::Roleable
8
7
 
9
- included do
10
- before_action :verify_access
11
- end
8
+ included { before_action :verify_access }
12
9
 
13
10
  class_methods do
14
11
  def skip_authorization(options = {})
@@ -16,15 +13,13 @@ module Rabarber
16
13
  end
17
14
 
18
15
  def grant_access(action: nil, roles: nil, context: nil, if: nil, unless: nil)
19
- dynamic_rule, negated_dynamic_rule = binding.local_variable_get(:if), binding.local_variable_get(:unless)
20
-
21
16
  Rabarber::Core::Permissions.add(
22
17
  self,
23
18
  Rabarber::Input::Action.new(action).process,
24
19
  Rabarber::Input::Roles.new(roles).process,
25
20
  Rabarber::Input::AuthorizationContext.new(context).process,
26
- Rabarber::Input::DynamicRule.new(dynamic_rule).process,
27
- Rabarber::Input::DynamicRule.new(negated_dynamic_rule).process
21
+ Rabarber::Input::DynamicRule.new(binding.local_variable_get(:if)).process,
22
+ Rabarber::Input::DynamicRule.new(binding.local_variable_get(:unless)).process
28
23
  )
29
24
  end
30
25
  end
@@ -9,7 +9,7 @@ module Rabarber
9
9
 
10
10
  def controller_accessible?(roleable, controller_instance)
11
11
  controller_rules.any? do |rule_controller, rule|
12
- controller_instance.class <= rule_controller && rule.verify_access(roleable, controller_instance)
12
+ controller_instance.is_a?(rule_controller) && rule.verify_access(roleable, controller_instance)
13
13
  end
14
14
  end
15
15
 
@@ -5,22 +5,22 @@ require "digest/sha2"
5
5
  module Rabarber
6
6
  module Core
7
7
  module Cache
8
- module_function
9
-
10
8
  CACHE_PREFIX = "rabarber"
11
9
  private_constant :CACHE_PREFIX
12
10
 
11
+ module_function
12
+
13
13
  def fetch(roleable_id, context:, &block)
14
- if enabled?
15
- Rails.cache.fetch(key_for(roleable_id, context), expires_in: 1.hour, race_condition_ttl: 5.seconds, &block)
16
- else
17
- yield
18
- end
14
+ return yield unless enabled?
15
+
16
+ Rails.cache.fetch(key_for(roleable_id, context), expires_in: 1.hour, race_condition_ttl: 5.seconds, &block)
19
17
  end
20
18
 
21
19
  def delete(*roleable_ids, context:)
20
+ return unless enabled?
21
+
22
22
  keys = roleable_ids.map { |roleable_id| key_for(roleable_id, context) }
23
- Rails.cache.delete_multi(keys) if enabled? && keys.any?
23
+ Rails.cache.delete_multi(keys) if keys.any?
24
24
  end
25
25
 
26
26
  def enabled?
@@ -38,9 +38,10 @@ module Rabarber
38
38
  end
39
39
 
40
40
  module Cache
41
+ module_function
42
+
41
43
  def clear
42
44
  Rabarber::Core::Cache.clear
43
45
  end
44
- module_function :clear
45
46
  end
46
47
  end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Rabarber
4
+ module Core
5
+ class NullRoleable
6
+ def roles(context:) # rubocop:disable Lint/UnusedMethodArgument
7
+ []
8
+ end
9
+
10
+ def has_role?(*role_names, context: nil) # rubocop:disable Lint/UnusedMethodArgument
11
+ false
12
+ end
13
+
14
+ def log_identity
15
+ "Unauthenticated #{Rabarber::HasRoles.roleable_class.model_name.human.downcase}"
16
+ end
17
+ end
18
+ end
19
+ end
@@ -2,14 +2,12 @@
2
2
 
3
3
  require_relative "access"
4
4
  require_relative "rule"
5
-
6
5
  require "singleton"
7
6
 
8
7
  module Rabarber
9
8
  module Core
10
9
  class Permissions
11
10
  include Singleton
12
-
13
11
  extend Access
14
12
 
15
13
  attr_reader :storage
@@ -21,12 +19,7 @@ module Rabarber
21
19
  class << self
22
20
  def add(controller, action, roles, context, dynamic_rule, negated_dynamic_rule)
23
21
  rule = Rabarber::Core::Rule.new(action, roles, context, dynamic_rule, negated_dynamic_rule)
24
-
25
- if action
26
- instance.storage[:action_rules][controller] += [rule]
27
- else
28
- instance.storage[:controller_rules][controller] = rule
29
- end
22
+ action ? action_rules[controller] += [rule] : controller_rules[controller] = rule
30
23
  end
31
24
 
32
25
  def controller_rules
@@ -28,11 +28,8 @@ module Rabarber
28
28
  end
29
29
 
30
30
  def action_rules
31
- if controller
32
- Rabarber::Core::Permissions.action_rules.slice(controller)
33
- else
34
- Rabarber::Core::Permissions.action_rules
35
- end
31
+ rules = Rabarber::Core::Permissions.action_rules
32
+ controller ? rules.slice(controller) : rules
36
33
  end
37
34
  end
38
35
  end
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require_relative "null_roleable"
4
+
3
5
  module Rabarber
4
6
  module Core
5
7
  module Roleable
@@ -11,11 +13,5 @@ module Rabarber
11
13
  roleable.roles(context: context)
12
14
  end
13
15
  end
14
-
15
- class NullRoleable
16
- def roles(context:) # rubocop:disable Lint/UnusedMethodArgument
17
- []
18
- end
19
- end
20
16
  end
21
17
  end
@@ -9,44 +9,32 @@ module Rabarber
9
9
  @action = action
10
10
  @roles = Array(roles)
11
11
  @context = context
12
- @dynamic_rule = dynamic_rule
13
- @negated_dynamic_rule = negated_dynamic_rule
12
+ @dynamic_rule = dynamic_rule || -> { true }
13
+ @negated_dynamic_rule = negated_dynamic_rule || -> { false }
14
14
  end
15
15
 
16
16
  def verify_access(roleable, controller_instance)
17
- roles_permitted?(roleable, controller_instance) && dynamic_rule_followed?(controller_instance)
17
+ roles_permitted?(roleable, controller_instance) && dynamic_rules_followed?(controller_instance)
18
18
  end
19
19
 
20
20
  def roles_permitted?(roleable, controller_instance)
21
- processed_context = get_context(controller_instance)
22
- roleable_roles = roleable.roles(context: processed_context)
21
+ resolved_context = resolve_context(controller_instance)
22
+ return false if Rabarber::Configuration.instance.must_have_roles && roleable.roles(context: resolved_context).empty?
23
23
 
24
- return false if Rabarber::Configuration.instance.must_have_roles && roleable_roles.empty?
25
-
26
- roles.empty? || roles.intersection(roleable_roles).any?
24
+ roles.empty? || roleable.has_role?(*roles, context: resolved_context)
27
25
  end
28
26
 
29
- def dynamic_rule_followed?(controller_instance)
30
- !!(execute_dynamic_rule(controller_instance, false) && execute_dynamic_rule(controller_instance, true))
27
+ def dynamic_rules_followed?(controller_instance)
28
+ execute_rule(controller_instance, dynamic_rule) && !execute_rule(controller_instance, negated_dynamic_rule)
31
29
  end
32
30
 
33
31
  private
34
32
 
35
- def execute_dynamic_rule(controller_instance, is_negated)
36
- rule = is_negated ? negated_dynamic_rule : dynamic_rule
37
-
38
- return true if rule.nil?
39
-
40
- result = if rule.is_a?(Proc)
41
- controller_instance.instance_exec(&rule)
42
- else
43
- controller_instance.send(rule)
44
- end
45
-
46
- is_negated ? !result : result
33
+ def execute_rule(controller_instance, rule)
34
+ !!(rule.is_a?(Proc) ? controller_instance.instance_exec(&rule) : controller_instance.send(rule))
47
35
  end
48
36
 
49
- def get_context(controller_instance)
37
+ def resolve_context(controller_instance)
50
38
  case context
51
39
  when Proc then Rabarber::Input::Context.new(controller_instance.instance_exec(&context)).process
52
40
  when Symbol then Rabarber::Input::Context.new(controller_instance.send(context)).process
@@ -5,15 +5,11 @@ module Rabarber
5
5
  include Rabarber::Core::Roleable
6
6
 
7
7
  def visible_to(*roles, context: nil, &block)
8
- return if roleable_roles(context: Rabarber::Input::Context.new(context).process).intersection(Rabarber::Input::Roles.new(roles).process).none?
9
-
10
- capture(&block)
8
+ capture(&block) if roleable.has_role?(*roles, context: context)
11
9
  end
12
10
 
13
11
  def hidden_from(*roles, context: nil, &block)
14
- return if roleable_roles(context: Rabarber::Input::Context.new(context).process).intersection(Rabarber::Input::Roles.new(roles).process).any?
15
-
16
- capture(&block)
12
+ capture(&block) unless roleable.has_role?(*roles, context: context)
17
13
  end
18
14
  end
19
15
  end
@@ -10,10 +10,7 @@ module Rabarber
10
10
  private
11
11
 
12
12
  def processed_value
13
- case value
14
- when String, Symbol then value.to_sym
15
- when nil then value
16
- end
13
+ value&.to_sym
17
14
  end
18
15
 
19
16
  def default_error_message
@@ -11,8 +11,8 @@ module Rabarber
11
11
 
12
12
  def processed_value
13
13
  case value
14
- when Symbol, String then value.to_sym
15
- when Proc then value
14
+ when String then value.to_sym
15
+ when Symbol, Proc then value
16
16
  else Rabarber::Input::Context.new(value).process
17
17
  end
18
18
  end
@@ -5,10 +5,10 @@ module Rabarber
5
5
  class Base
6
6
  attr_reader :value, :error_type, :error_message
7
7
 
8
- def initialize(value, error_type = Rabarber::InvalidArgumentError, error_message = default_error_message)
8
+ def initialize(value, error_type = Rabarber::InvalidArgumentError, error_message = nil)
9
9
  @value = value
10
10
  @error_type = error_type
11
- @error_message = error_message
11
+ @error_message = error_message || default_error_message
12
12
  end
13
13
 
14
14
  def process
@@ -10,10 +10,7 @@ module Rabarber
10
10
  private
11
11
 
12
12
  def processed_value
13
- case value
14
- when String, Symbol then value.to_sym
15
- when Proc, nil then value
16
- end
13
+ value.is_a?(String) ? value.to_sym : value
17
14
  end
18
15
 
19
16
  def default_error_message
@@ -16,7 +16,7 @@ module Rabarber
16
16
  end
17
17
 
18
18
  def default_error_message
19
- "Role name must be a Symbol or a String and may only contain lowercase letters, numbers and underscores"
19
+ "Role name must be a Symbol or a String and may only contain lowercase letters, numbers, and underscores"
20
20
  end
21
21
  end
22
22
  end
@@ -18,7 +18,7 @@ module Rabarber
18
18
  end
19
19
 
20
20
  def default_error_message
21
- "Role names must be Symbols or Strings and may only contain lowercase letters, numbers and underscores"
21
+ "Role names must be Symbols or Strings and may only contain lowercase letters, numbers, and underscores"
22
22
  end
23
23
  end
24
24
  end
@@ -21,7 +21,8 @@ module Rabarber
21
21
 
22
22
  def has_role?(*role_names, context: nil)
23
23
  processed_context = process_context(context)
24
- roles(context: processed_context).intersection(process_role_names(role_names)).any?
24
+ processed_roles = process_role_names(role_names)
25
+ roles(context: processed_context).any? { |role_name| processed_roles.include?(role_name) }
25
26
  end
26
27
 
27
28
  def assign_roles(*role_names, context: nil, create_new: true)
@@ -72,6 +73,10 @@ module Rabarber
72
73
  roles(context: processed_context)
73
74
  end
74
75
 
76
+ def log_identity
77
+ "#{model_name.human}##{roleable_id}"
78
+ end
79
+
75
80
  def roleable_class
76
81
  @@included.constantize
77
82
  end
@@ -13,7 +13,7 @@ module Rabarber
13
13
 
14
14
  class << self
15
15
  def names(context: nil)
16
- where(Rabarber::Input::Context.new(context).process).pluck(:name).map(&:to_sym)
16
+ where(process_context(context)).pluck(:name).map(&:to_sym)
17
17
  end
18
18
 
19
19
  def add(name, context: nil)
@@ -50,7 +50,7 @@ module Rabarber
50
50
 
51
51
  def assignees(name, context: nil)
52
52
  Rabarber::HasRoles.roleable_class.joins(:rabarber_roles).where(
53
- rabarber_roles: { name: Rabarber::Input::Role.new(name).process, **process_context(context) }
53
+ rabarber_roles: { name: process_role_name(name), **process_context(context) }
54
54
  )
55
55
  end
56
56
 
@@ -6,7 +6,7 @@ module Rabarber
6
6
  class Railtie < Rails::Railtie
7
7
  initializer "rabarber.after_initialize" do |app|
8
8
  app.config.after_initialize do
9
- Rabarber::Core::PermissionsIntegrityChecker.new.run! if Rails.configuration.eager_load
9
+ Rabarber::Core::PermissionsIntegrityChecker.new.run! if app.config.eager_load
10
10
  end
11
11
  end
12
12
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rabarber
4
- VERSION = "3.0.0"
4
+ VERSION = "3.0.2"
5
5
  end
data/rabarber.gemspec CHANGED
@@ -7,9 +7,12 @@ Gem::Specification.new do |spec|
7
7
  spec.version = Rabarber::VERSION
8
8
  spec.authors = ["enjaku4", "trafium"]
9
9
  spec.email = ["rabarber_gem@icloud.com"]
10
- spec.metadata["rubygems_mfa_required"] = "true"
11
- spec.summary = "Simple role-based authorization library for Ruby on Rails."
12
10
  spec.homepage = "https://github.com/enjaku4/rabarber"
11
+ spec.metadata["homepage_uri"] = spec.homepage
12
+ spec.metadata["source_code_uri"] = spec.homepage
13
+ spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
14
+ spec.metadata["rubygems_mfa_required"] = "true"
15
+ spec.summary = "Simple role-based authorization library for Ruby on Rails"
13
16
  spec.license = "MIT"
14
17
  spec.required_ruby_version = ">= 3.0", "< 3.4"
15
18
 
@@ -19,5 +22,5 @@ Gem::Specification.new do |spec|
19
22
 
20
23
  spec.require_paths = ["lib"]
21
24
 
22
- spec.add_runtime_dependency "rails", ">= 6.1", "< 7.2"
25
+ spec.add_dependency "rails", ">= 6.1", "< 7.3"
23
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabarber
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - enjaku4
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-07-07 00:00:00.000000000 Z
12
+ date: 2024-10-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -20,7 +20,7 @@ dependencies:
20
20
  version: '6.1'
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '7.2'
23
+ version: '7.3'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -30,7 +30,7 @@ dependencies:
30
30
  version: '6.1'
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '7.2'
33
+ version: '7.3'
34
34
  description:
35
35
  email:
36
36
  - rabarber_gem@icloud.com
@@ -53,6 +53,7 @@ files:
53
53
  - lib/rabarber/controllers/concerns/authorization.rb
54
54
  - lib/rabarber/core/access.rb
55
55
  - lib/rabarber/core/cache.rb
56
+ - lib/rabarber/core/null_roleable.rb
56
57
  - lib/rabarber/core/permissions.rb
57
58
  - lib/rabarber/core/permissions_integrity_checker.rb
58
59
  - lib/rabarber/core/roleable.rb
@@ -77,6 +78,9 @@ homepage: https://github.com/enjaku4/rabarber
77
78
  licenses:
78
79
  - MIT
79
80
  metadata:
81
+ homepage_uri: https://github.com/enjaku4/rabarber
82
+ source_code_uri: https://github.com/enjaku4/rabarber
83
+ changelog_uri: https://github.com/enjaku4/rabarber/blob/main/CHANGELOG.md
80
84
  rubygems_mfa_required: 'true'
81
85
  post_install_message:
82
86
  rdoc_options: []
@@ -99,5 +103,5 @@ requirements: []
99
103
  rubygems_version: 3.2.33
100
104
  signing_key:
101
105
  specification_version: 4
102
- summary: Simple role-based authorization library for Ruby on Rails.
106
+ summary: Simple role-based authorization library for Ruby on Rails
103
107
  test_files: []