rodauth-rails 2.0.2 → 2.1.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 +4 -4
 - data/README.md +47 -16
 - data/lib/generators/rodauth/install_generator.rb +6 -6
 - data/lib/generators/rodauth/templates/config/initializers/rodauth.rb.tt +2 -0
 - data/lib/rodauth/rails/app.rb +3 -3
 - data/lib/rodauth/rails/tasks/routes.rb +2 -2
 - data/lib/rodauth/rails/version.rb +1 -1
 - data/lib/rodauth/rails.rb +6 -0
 - data/rodauth-rails.gemspec +1 -1
 - metadata +5 -14
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 2bbe78101798340c52e3fa63062b324850a392e7579df57618e98eabc97fabda
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 4652fb3e1342950d55fbcf27a6d9ee30655d2f1a50178c1fa218c950a689d4ff
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 9a88f03389ffd6c5c6ede5e18c5f5af4af9aaa87cb732e7abe8780a4bfd934c7cf5d3e23a3d3a47f8f331edda097f0c74f2d4241cf71c539b3cb8446cbd211bf
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 1cda9502a2b4340a35bd1083ef1a1be7d37064ba60eb2b7c73c96af1fbb0b2ccf494d03a7b3e0a12976349047319a2d73aad946118bfd567d2ef889341582091
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -126,18 +126,18 @@ $ rails rodauth:routes 
     | 
|
| 
       126 
126 
     | 
    
         
             
            ```
         
     | 
| 
       127 
127 
     | 
    
         
             
            Routes handled by RodauthApp:
         
     | 
| 
       128 
128 
     | 
    
         | 
| 
       129 
     | 
    
         
            -
              GET|POST  /login                   rodauth.login_path
         
     | 
| 
       130 
     | 
    
         
            -
              GET|POST  /create-account          rodauth.create_account_path
         
     | 
| 
       131 
     | 
    
         
            -
              GET|POST  /verify-account-resend   rodauth.verify_account_resend_path
         
     | 
| 
       132 
     | 
    
         
            -
              GET|POST  /verify-account          rodauth.verify_account_path
         
     | 
| 
       133 
     | 
    
         
            -
              GET|POST  /change-password         rodauth.change_password_path
         
     | 
| 
       134 
     | 
    
         
            -
              GET|POST  /change-login            rodauth.change_login_path
         
     | 
| 
       135 
     | 
    
         
            -
              GET|POST  /logout                  rodauth.logout_path
         
     | 
| 
       136 
     | 
    
         
            -
              GET|POST  /remember                rodauth.remember_path
         
     | 
| 
       137 
     | 
    
         
            -
              GET|POST  /reset-password-request  rodauth.reset_password_request_path
         
     | 
| 
       138 
     | 
    
         
            -
              GET|POST  /reset-password          rodauth.reset_password_path
         
     | 
| 
       139 
     | 
    
         
            -
              GET|POST  /verify-login-change     rodauth.verify_login_change_path
         
     | 
| 
       140 
     | 
    
         
            -
              GET|POST  /close-account           rodauth.close_account_path
         
     | 
| 
      
 129 
     | 
    
         
            +
                               login  GET|POST  /login                   rodauth.login_path
         
     | 
| 
      
 130 
     | 
    
         
            +
                      create_account  GET|POST  /create-account          rodauth.create_account_path
         
     | 
| 
      
 131 
     | 
    
         
            +
               verify_account_resend  GET|POST  /verify-account-resend   rodauth.verify_account_resend_path
         
     | 
| 
      
 132 
     | 
    
         
            +
                      verify_account  GET|POST  /verify-account          rodauth.verify_account_path
         
     | 
| 
      
 133 
     | 
    
         
            +
                     change_password  GET|POST  /change-password         rodauth.change_password_path
         
     | 
| 
      
 134 
     | 
    
         
            +
                        change_login  GET|POST  /change-login            rodauth.change_login_path
         
     | 
| 
      
 135 
     | 
    
         
            +
                              logout  GET|POST  /logout                  rodauth.logout_path
         
     | 
| 
      
 136 
     | 
    
         
            +
                            remember  GET|POST  /remember                rodauth.remember_path
         
     | 
| 
      
 137 
     | 
    
         
            +
              reset_password_request  GET|POST  /reset-password-request  rodauth.reset_password_request_path
         
     | 
| 
      
 138 
     | 
    
         
            +
                      reset_password  GET|POST  /reset-password          rodauth.reset_password_path
         
     | 
| 
      
 139 
     | 
    
         
            +
                 verify_login_change  GET|POST  /verify-login-change     rodauth.verify_login_change_path
         
     | 
| 
      
 140 
     | 
    
         
            +
                       close_account  GET|POST  /close-account           rodauth.close_account_path
         
     | 
| 
       141 
141 
     | 
    
         
             
            ```
         
     | 
| 
       142 
142 
     | 
    
         | 
| 
       143 
143 
     | 
    
         
             
            Using this information, you can add some basic authentication links to your
         
     | 
| 
         @@ -316,10 +316,28 @@ integration: 
     | 
|
| 
       316 
316 
     | 
    
         
             
            $ rails generate rodauth:mailer
         
     | 
| 
       317 
317 
     | 
    
         
             
            ```
         
     | 
| 
       318 
318 
     | 
    
         | 
| 
       319 
     | 
    
         
            -
            This will create a `RodauthMailer 
     | 
| 
       320 
     | 
    
         
            -
             
     | 
| 
       321 
     | 
    
         
            -
             
     | 
| 
       322 
     | 
    
         
            -
             
     | 
| 
      
 319 
     | 
    
         
            +
            This will create a `RodauthMailer` along with email templates, as well as output
         
     | 
| 
      
 320 
     | 
    
         
            +
            the necessary configuration that you should copy into your auth class:
         
     | 
| 
      
 321 
     | 
    
         
            +
             
     | 
| 
      
 322 
     | 
    
         
            +
            ```rb
         
     | 
| 
      
 323 
     | 
    
         
            +
            # app/misc/rodauth_main.rb
         
     | 
| 
      
 324 
     | 
    
         
            +
            class RodauthMain < Rodauth::Rails::Auth
         
     | 
| 
      
 325 
     | 
    
         
            +
              configure do
         
     | 
| 
      
 326 
     | 
    
         
            +
                create_verify_account_email do
         
     | 
| 
      
 327 
     | 
    
         
            +
                  RodauthMailer.verify_account(self.class.configuration_name, account_id, verify_account_key_value)
         
     | 
| 
      
 328 
     | 
    
         
            +
                end
         
     | 
| 
      
 329 
     | 
    
         
            +
                create_reset_password_email do
         
     | 
| 
      
 330 
     | 
    
         
            +
                  RodauthMailer.reset_password(self.class.configuration_name, account_id, reset_password_key_value)
         
     | 
| 
      
 331 
     | 
    
         
            +
                end
         
     | 
| 
      
 332 
     | 
    
         
            +
                create_verify_login_change_email do |_login|
         
     | 
| 
      
 333 
     | 
    
         
            +
                  RodauthMailer.verify_login_change(self.class.configuration_name, account_id, verify_login_change_key_value)
         
     | 
| 
      
 334 
     | 
    
         
            +
                end
         
     | 
| 
      
 335 
     | 
    
         
            +
              end
         
     | 
| 
      
 336 
     | 
    
         
            +
            end
         
     | 
| 
      
 337 
     | 
    
         
            +
            ```
         
     | 
| 
      
 338 
     | 
    
         
            +
             
     | 
| 
      
 339 
     | 
    
         
            +
            For email links to work, you need to have
         
     | 
| 
      
 340 
     | 
    
         
            +
            `config.action_mailer.default_url_options` set for each environment.
         
     | 
| 
       323 
341 
     | 
    
         | 
| 
       324 
342 
     | 
    
         
             
            ```rb
         
     | 
| 
       325 
343 
     | 
    
         
             
            # config/environments/development.rb
         
     | 
| 
         @@ -649,6 +667,7 @@ You can choose to insert the Rodauth middleware somewhere earlier than 
     | 
|
| 
       649 
667 
     | 
    
         
             
            in front of the Rails router:
         
     | 
| 
       650 
668 
     | 
    
         | 
| 
       651 
669 
     | 
    
         
             
            ```rb
         
     | 
| 
      
 670 
     | 
    
         
            +
            # config/initializers/rodauth.rb
         
     | 
| 
       652 
671 
     | 
    
         
             
            Rodauth::Rails.configure do |config|
         
     | 
| 
       653 
672 
     | 
    
         
             
              config.middleware = false # disable auto-insertion
         
     | 
| 
       654 
673 
     | 
    
         
             
            end
         
     | 
| 
         @@ -656,6 +675,17 @@ end 
     | 
|
| 
       656 
675 
     | 
    
         
             
            Rails.configuration.middleware.insert_before AnotherMiddleware, Rodauth::Rails::Middleware
         
     | 
| 
       657 
676 
     | 
    
         
             
            ```
         
     | 
| 
       658 
677 
     | 
    
         | 
| 
      
 678 
     | 
    
         
            +
            ### Skipping Tilt
         
     | 
| 
      
 679 
     | 
    
         
            +
             
     | 
| 
      
 680 
     | 
    
         
            +
            Rodauth uses the [Tilt] gem to render built-in view & email templates. If you don't want to have Tilt as a dependency, you can disable it, provided that you've imported all view & email templates into your app:
         
     | 
| 
      
 681 
     | 
    
         
            +
             
     | 
| 
      
 682 
     | 
    
         
            +
            ```rb
         
     | 
| 
      
 683 
     | 
    
         
            +
            # config/initializers/rodauth.rb
         
     | 
| 
      
 684 
     | 
    
         
            +
            Rodauth::Rails.configure do |config|
         
     | 
| 
      
 685 
     | 
    
         
            +
              config.tilt = false # skip loading Tilt gem
         
     | 
| 
      
 686 
     | 
    
         
            +
            end
         
     | 
| 
      
 687 
     | 
    
         
            +
            ```
         
     | 
| 
      
 688 
     | 
    
         
            +
             
     | 
| 
       659 
689 
     | 
    
         
             
            ## How it works
         
     | 
| 
       660 
690 
     | 
    
         | 
| 
       661 
691 
     | 
    
         
             
            ### Rack middleware
         
     | 
| 
         @@ -799,3 +829,4 @@ conduct](CODE_OF_CONDUCT.md). 
     | 
|
| 
       799 
829 
     | 
    
         
             
            [library]: https://github.com/jeremyevans/rodauth#label-Using+Rodauth+as+a+Library
         
     | 
| 
       800 
830 
     | 
    
         
             
            [restoring defaults]: https://github.com/janko/rodauth-rails/wiki/Restoring-Rodauth-Defaults
         
     | 
| 
       801 
831 
     | 
    
         
             
            [Rack::Attack]: https://github.com/rack/rack-attack
         
     | 
| 
      
 832 
     | 
    
         
            +
            [Tilt]: https://github.com/jeremyevans/tilt
         
     | 
| 
         @@ -40,18 +40,18 @@ module Rodauth 
     | 
|
| 
       40 
40 
     | 
    
         | 
| 
       41 
41 
     | 
    
         
             
                    def add_gems
         
     | 
| 
       42 
42 
     | 
    
         
             
                      if activerecord? && !sequel?
         
     | 
| 
       43 
     | 
    
         
            -
                        gem "sequel-activerecord_connection", "~> 2.0", comment: "Enables Sequel to use Active Record's database connection"
         
     | 
| 
       44 
     | 
    
         
            -
                        gem "after_commit_everywhere", "~> 1.1", comment: "Required for Sequel's transaction hooks to work in all cases (on Active Record < 7.2)" if ActiveRecord.version < Gem::Version.new("7.2")
         
     | 
| 
      
 43 
     | 
    
         
            +
                        gem "sequel-activerecord_connection", "~> 2.0", require: false, comment: "Enables Sequel to use Active Record's database connection"
         
     | 
| 
      
 44 
     | 
    
         
            +
                        gem "after_commit_everywhere", "~> 1.1", require: false, comment: "Required for Sequel's transaction hooks to work in all cases (on Active Record < 7.2)" if ActiveRecord.version < Gem::Version.new("7.2")
         
     | 
| 
       45 
45 
     | 
    
         
             
                      end
         
     | 
| 
       46 
46 
     | 
    
         
             
                      if argon2?
         
     | 
| 
       47 
     | 
    
         
            -
                        gem "argon2", "~> 2.3", comment: "Used by Rodauth for password hashing"
         
     | 
| 
      
 47 
     | 
    
         
            +
                        gem "argon2", "~> 2.3", require: false, comment: "Used by Rodauth for password hashing"
         
     | 
| 
       48 
48 
     | 
    
         
             
                      else
         
     | 
| 
       49 
     | 
    
         
            -
                        gem "bcrypt", "~> 3.1", comment: "Used by Rodauth for password hashing"
         
     | 
| 
      
 49 
     | 
    
         
            +
                        gem "bcrypt", "~> 3.1", require: false, comment: "Used by Rodauth for password hashing"
         
     | 
| 
       50 
50 
     | 
    
         
             
                      end
         
     | 
| 
       51 
51 
     | 
    
         
             
                      if jwt?
         
     | 
| 
       52 
     | 
    
         
            -
                        gem "jwt", "~> 2.9", comment: "Used by Rodauth for JWT support"
         
     | 
| 
      
 52 
     | 
    
         
            +
                        gem "jwt", "~> 2.9", require: false, comment: "Used by Rodauth for JWT support"
         
     | 
| 
       53 
53 
     | 
    
         
             
                      end
         
     | 
| 
       54 
     | 
    
         
            -
                      gem "tilt", "~> 2.4", comment: "Used by Rodauth for rendering built-in view and email templates"
         
     | 
| 
      
 54 
     | 
    
         
            +
                      gem "tilt", "~> 2.4", require: false, comment: "Used by Rodauth for rendering built-in view and email templates"
         
     | 
| 
       55 
55 
     | 
    
         
             
                    end
         
     | 
| 
       56 
56 
     | 
    
         | 
| 
       57 
57 
     | 
    
         
             
                    def create_rodauth_controller
         
     | 
    
        data/lib/rodauth/rails/app.rb
    CHANGED
    
    | 
         @@ -9,7 +9,7 @@ module Rodauth 
     | 
|
| 
       9 
9 
     | 
    
         
             
                  plugin :hooks
         
     | 
| 
       10 
10 
     | 
    
         
             
                  plugin :pass
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
     | 
    
         
            -
                  def self.configure(*args, **options, &block)
         
     | 
| 
      
 12 
     | 
    
         
            +
                  def self.configure(*args, render: Rodauth::Rails.tilt?, **options, &block)
         
     | 
| 
       13 
13 
     | 
    
         
             
                    auth_class = args.shift if args[0].is_a?(Class)
         
     | 
| 
       14 
14 
     | 
    
         
             
                    auth_class ||= Class.new(Rodauth::Rails::Auth)
         
     | 
| 
       15 
15 
     | 
    
         
             
                    name = args.shift if args[0].is_a?(Symbol)
         
     | 
| 
         @@ -17,9 +17,9 @@ module Rodauth 
     | 
|
| 
       17 
17 
     | 
    
         
             
                    fail ArgumentError, "need to pass optional Rodauth::Auth subclass and optional configuration name" if args.any?
         
     | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
19 
     | 
    
         
             
                    # we'll render Rodauth's built-in view templates within Rails layouts
         
     | 
| 
       20 
     | 
    
         
            -
                    plugin :render, layout: false unless  
     | 
| 
      
 20 
     | 
    
         
            +
                    plugin :render, layout: false unless render == false
         
     | 
| 
       21 
21 
     | 
    
         | 
| 
       22 
     | 
    
         
            -
                    plugin :rodauth, auth_class: auth_class, name: name, csrf: false, flash: false, json: true, **options, &block
         
     | 
| 
      
 22 
     | 
    
         
            +
                    plugin :rodauth, auth_class: auth_class, name: name, csrf: false, flash: false, json: true, render: render, **options, &block
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         
             
                    # we need to do it after request methods from rodauth have been included
         
     | 
| 
       25 
25 
     | 
    
         
             
                    self::RodaRequest.include RequestMethods
         
     | 
| 
         @@ -18,6 +18,7 @@ module Rodauth 
     | 
|
| 
       18 
18 
     | 
    
         
             
                        verbs = route_verbs(route_name)
         
     | 
| 
       19 
19 
     | 
    
         | 
| 
       20 
20 
     | 
    
         
             
                        [
         
     | 
| 
      
 21 
     | 
    
         
            +
                          route_name.to_s,
         
     | 
| 
       21 
22 
     | 
    
         
             
                          verbs.join("|"),
         
     | 
| 
       22 
23 
     | 
    
         
             
                          "#{rodauth.prefix}#{path}",
         
     | 
| 
       23 
24 
     | 
    
         
             
                          "rodauth#{configuration_name && "(:#{configuration_name})"}.#{route_name}_path",
         
     | 
| 
         @@ -28,7 +29,7 @@ module Rodauth 
     | 
|
| 
       28 
29 
     | 
    
         
             
                      padding = routes.transpose.map { |string| string.map(&:length).max }
         
     | 
| 
       29 
30 
     | 
    
         | 
| 
       30 
31 
     | 
    
         
             
                      output_lines = routes.map do |columns|
         
     | 
| 
       31 
     | 
    
         
            -
                        [columns[0]. 
     | 
| 
      
 32 
     | 
    
         
            +
                        [columns[0].rjust(padding[0]), columns[1].ljust(padding[1]), columns[2].ljust(padding[2]), columns[3]].join("  ")
         
     | 
| 
       32 
33 
     | 
    
         
             
                      end
         
     | 
| 
       33 
34 
     | 
    
         | 
| 
       34 
35 
     | 
    
         
             
                      puts "\n  #{output_lines.join("\n  ")}"
         
     | 
| 
         @@ -67,4 +68,3 @@ module Rodauth 
     | 
|
| 
       67 
68 
     | 
    
         
             
                end
         
     | 
| 
       68 
69 
     | 
    
         
             
              end
         
     | 
| 
       69 
70 
     | 
    
         
             
            end
         
     | 
| 
       70 
     | 
    
         
            -
             
     | 
    
        data/lib/rodauth/rails.rb
    CHANGED
    
    | 
         @@ -14,6 +14,7 @@ module Rodauth 
     | 
|
| 
       14 
14 
     | 
    
         | 
| 
       15 
15 
     | 
    
         
             
                @app = nil
         
     | 
| 
       16 
16 
     | 
    
         
             
                @middleware = true
         
     | 
| 
      
 17 
     | 
    
         
            +
                @tilt = true
         
     | 
| 
       17 
18 
     | 
    
         | 
| 
       18 
19 
     | 
    
         
             
                class << self
         
     | 
| 
       19 
20 
     | 
    
         
             
                  def lib(**options, &block)
         
     | 
| 
         @@ -82,6 +83,7 @@ module Rodauth 
     | 
|
| 
       82 
83 
     | 
    
         | 
| 
       83 
84 
     | 
    
         
             
                  attr_writer :app
         
     | 
| 
       84 
85 
     | 
    
         
             
                  attr_writer :middleware
         
     | 
| 
      
 86 
     | 
    
         
            +
                  attr_writer :tilt
         
     | 
| 
       85 
87 
     | 
    
         | 
| 
       86 
88 
     | 
    
         
             
                  def app
         
     | 
| 
       87 
89 
     | 
    
         
             
                    fail Rodauth::Rails::Error, "app was not configured" unless @app
         
     | 
| 
         @@ -92,6 +94,10 @@ module Rodauth 
     | 
|
| 
       92 
94 
     | 
    
         
             
                  def middleware?
         
     | 
| 
       93 
95 
     | 
    
         
             
                    @middleware
         
     | 
| 
       94 
96 
     | 
    
         
             
                  end
         
     | 
| 
      
 97 
     | 
    
         
            +
             
     | 
| 
      
 98 
     | 
    
         
            +
                  def tilt?
         
     | 
| 
      
 99 
     | 
    
         
            +
                    @tilt
         
     | 
| 
      
 100 
     | 
    
         
            +
                  end
         
     | 
| 
       95 
101 
     | 
    
         
             
                end
         
     | 
| 
       96 
102 
     | 
    
         
             
              end
         
     | 
| 
       97 
103 
     | 
    
         
             
            end
         
     | 
    
        data/rodauth-rails.gemspec
    CHANGED
    
    | 
         @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| 
     | 
|
| 
       16 
16 
     | 
    
         
             
              spec.files         = Dir["README.md", "LICENSE.txt", "lib/**/*", "*.gemspec"]
         
     | 
| 
       17 
17 
     | 
    
         
             
              spec.require_paths = ["lib"]
         
     | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
     | 
    
         
            -
              spec.add_dependency "railties", ">= 5. 
     | 
| 
      
 19 
     | 
    
         
            +
              spec.add_dependency "railties", ">= 5.1"
         
     | 
| 
       20 
20 
     | 
    
         
             
              spec.add_dependency "rodauth", "~> 2.36"
         
     | 
| 
       21 
21 
     | 
    
         
             
              spec.add_dependency "roda", "~> 3.76"
         
     | 
| 
       22 
22 
     | 
    
         
             
              spec.add_dependency "rodauth-model", "~> 0.2"
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: rodauth-rails
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 2. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 2.1.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Janko Marohnić
         
     | 
| 
       8 
     | 
    
         
            -
            autorequire:
         
     | 
| 
       9 
8 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
9 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date:  
     | 
| 
      
 10 
     | 
    
         
            +
            date: 1980-01-02 00:00:00.000000000 Z
         
     | 
| 
       12 
11 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
12 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
13 
     | 
    
         
             
              name: railties
         
     | 
| 
         @@ -16,20 +15,14 @@ dependencies: 
     | 
|
| 
       16 
15 
     | 
    
         
             
                requirements:
         
     | 
| 
       17 
16 
     | 
    
         
             
                - - ">="
         
     | 
| 
       18 
17 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       19 
     | 
    
         
            -
                    version: '5. 
     | 
| 
       20 
     | 
    
         
            -
                - - "<"
         
     | 
| 
       21 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       22 
     | 
    
         
            -
                    version: '8.1'
         
     | 
| 
      
 18 
     | 
    
         
            +
                    version: '5.1'
         
     | 
| 
       23 
19 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       24 
20 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       25 
21 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       26 
22 
     | 
    
         
             
                requirements:
         
     | 
| 
       27 
23 
     | 
    
         
             
                - - ">="
         
     | 
| 
       28 
24 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       29 
     | 
    
         
            -
                    version: '5. 
     | 
| 
       30 
     | 
    
         
            -
                - - "<"
         
     | 
| 
       31 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       32 
     | 
    
         
            -
                    version: '8.1'
         
     | 
| 
      
 25 
     | 
    
         
            +
                    version: '5.1'
         
     | 
| 
       33 
26 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       34 
27 
     | 
    
         
             
              name: rodauth
         
     | 
| 
       35 
28 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -350,7 +343,6 @@ homepage: https://github.com/janko/rodauth-rails 
     | 
|
| 
       350 
343 
     | 
    
         
             
            licenses:
         
     | 
| 
       351 
344 
     | 
    
         
             
            - MIT
         
     | 
| 
       352 
345 
     | 
    
         
             
            metadata: {}
         
     | 
| 
       353 
     | 
    
         
            -
            post_install_message:
         
     | 
| 
       354 
346 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       355 
347 
     | 
    
         
             
            require_paths:
         
     | 
| 
       356 
348 
     | 
    
         
             
            - lib
         
     | 
| 
         @@ -365,8 +357,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       365 
357 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       366 
358 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       367 
359 
     | 
    
         
             
            requirements: []
         
     | 
| 
       368 
     | 
    
         
            -
            rubygems_version: 3. 
     | 
| 
       369 
     | 
    
         
            -
            signing_key:
         
     | 
| 
      
 360 
     | 
    
         
            +
            rubygems_version: 3.6.9
         
     | 
| 
       370 
361 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       371 
362 
     | 
    
         
             
            summary: Provides Rails integration for Rodauth authentication framework.
         
     | 
| 
       372 
363 
     | 
    
         
             
            test_files: []
         
     |