warden 1.2.5 → 1.2.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +5 -0
  3. data/.rspec +3 -0
  4. data/.travis.yml +7 -0
  5. data/{History.rdoc → CHANGELOG.md} +13 -3
  6. data/Gemfile +2 -1
  7. data/Gemfile.lock +40 -0
  8. data/LICENSE +1 -1
  9. data/README.md +18 -0
  10. data/Rakefile +4 -8
  11. data/lib/warden/config.rb +1 -0
  12. data/lib/warden/errors.rb +2 -1
  13. data/lib/warden/hooks.rb +1 -0
  14. data/lib/warden/manager.rb +2 -1
  15. data/lib/warden/mixins/common.rb +1 -0
  16. data/lib/warden/proxy.rb +15 -3
  17. data/lib/warden/session_serializer.rb +1 -0
  18. data/lib/warden/strategies/base.rb +2 -1
  19. data/lib/warden/strategies.rb +1 -0
  20. data/lib/warden/test/helpers.rb +2 -56
  21. data/lib/warden/test/mock.rb +69 -0
  22. data/lib/warden/test/warden_helpers.rb +1 -0
  23. data/lib/warden/version.rb +2 -1
  24. data/lib/warden.rb +2 -0
  25. data/warden.gemspec +21 -18
  26. metadata +19 -33
  27. data/README.textile +0 -9
  28. data/spec/helpers/request_helper.rb +0 -51
  29. data/spec/helpers/strategies/fail_with_user.rb +0 -10
  30. data/spec/helpers/strategies/failz.rb +0 -8
  31. data/spec/helpers/strategies/invalid.rb +0 -8
  32. data/spec/helpers/strategies/pass.rb +0 -8
  33. data/spec/helpers/strategies/pass_with_message.rb +0 -8
  34. data/spec/helpers/strategies/password.rb +0 -13
  35. data/spec/helpers/strategies/single.rb +0 -12
  36. data/spec/spec_helper.rb +0 -24
  37. data/spec/warden/authenticated_data_store_spec.rb +0 -114
  38. data/spec/warden/config_spec.rb +0 -48
  39. data/spec/warden/errors_spec.rb +0 -47
  40. data/spec/warden/hooks_spec.rb +0 -373
  41. data/spec/warden/manager_spec.rb +0 -340
  42. data/spec/warden/proxy_spec.rb +0 -1050
  43. data/spec/warden/scoped_session_serializer.rb +0 -123
  44. data/spec/warden/session_serializer_spec.rb +0 -53
  45. data/spec/warden/strategies/base_spec.rb +0 -313
  46. data/spec/warden/strategies_spec.rb +0 -94
  47. data/spec/warden/test/helpers_spec.rb +0 -101
  48. data/spec/warden/test/test_mode_spec.rb +0 -75
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e2a3954f2157d76ec551f9c498a4e27e09a4a698
4
- data.tar.gz: ea81f2cd654fbf09ebf9e2ef44d6836cd47bd920
2
+ SHA256:
3
+ metadata.gz: 98bbb4bde4e4b1168fd883823a9e63f81cb6be40c117d92fd461299f4de0f86a
4
+ data.tar.gz: 03ac0df2de9c151a6f5387700141248be127a82177d21da1f1fc2d00db10bc64
5
5
  SHA512:
6
- metadata.gz: 74db07fcb955f8109cf57bd7e32868bb198f8c7c94a748ca450bfc7e281cacff1c869af942c1952a0ade3fb209bcd134dc7cf3a916d4d0a36417cc5e9a4790b2
7
- data.tar.gz: 6d38527fbf7cbdf032ecf16ce5661584afe1d4fb9dbf4cb4c0d60a32b385b53f7e781eb92d4c1624b16de5fe688183af6f9a258cae079a942ca67bc3e69ddd9b
6
+ metadata.gz: 5d8d0d43d9f1a28d12ca7044608e175b08444a46c81c42a6c1ad351d517e45919a653005522c576bd4fe4d8de1d3b2472c52c5b524b32606bb2e69d82a533a33
7
+ data.tar.gz: 044152b6566f94d9bcdcd4fda5297decb19ed5146adaaee3bdd07b154d9b1e3b9d840c8da21b110add36f8f856f1879cf2547e12298f710b75c734269c86daff
data/.gitignore ADDED
@@ -0,0 +1,5 @@
1
+ .DS_Store
2
+ pkg
3
+ .*~
4
+
5
+ *.gem
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --require spec_helper
2
+ --format documentation
3
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ language: ruby
2
+ install:
3
+ - bundle install
4
+ rvm:
5
+ - 2.2
6
+ - 2.3
7
+ - 2.4.2
@@ -1,3 +1,15 @@
1
+ == Version 1.2.8 / 2018-11-15
2
+ * Bugfix: Flips two lines to allow scopes authenticating from another without stepping on each other's toes. (PR #144)
3
+ * Update `rack` dependency to >= 2.0.6 due to security vulnerability
4
+ * Internal: Add Rubocop Lint checking
5
+ * Internal: Update RSpec to use `.rspec` file
6
+
7
+ == Version 1.2.7 / 2016-10-12
8
+ * Added 'frozen_string_literal' comment, bump ruby to 2.3
9
+
10
+ == Version 1.2.6 / 2016-01-31
11
+ * Separate test helpers to encapsulate Warden object mocking inside it's own class
12
+
1
13
  == Version 1.2.5 / 2016-01-28
2
14
  * Expands on the test helpers available to make it easier for testing gems
3
15
 
@@ -131,7 +143,7 @@
131
143
 
132
144
  === Version 0.5.1 / 2009-10-25
133
145
  * enhancements
134
- * Adds yeilding to authenticated? and unauthenticated? methods (hassox)
146
+ * Adds yielding to authenticated? and unauthenticated? methods (hassox)
135
147
  * Adds an option to silence missing strategies (josevalim)
136
148
  * Add an option to authenticate(!) to prevent storage of a user into the session (hassox)
137
149
  * allow custom :action to be thrown (josevalim)
@@ -149,5 +161,3 @@
149
161
 
150
162
  * enhancements
151
163
  * add a hook for plugins to specify how they can clear the whole section
152
-
153
-
data/Gemfile CHANGED
@@ -1,9 +1,10 @@
1
+ # frozen_string_literal: true
1
2
  source 'https://rubygems.org'
2
3
 
3
4
  gemspec
4
5
 
5
6
  gem 'rake'
6
- gem 'rack', '1.3'
7
+ gem 'rack', '>= 2.0.6'
7
8
 
8
9
  group :test do
9
10
  gem 'rspec', '~>3'
data/Gemfile.lock ADDED
@@ -0,0 +1,40 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ warden (1.2.8)
5
+ rack (>= 2.0.6)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ diff-lcs (1.3)
11
+ rack (2.0.6)
12
+ rack-test (0.7.0)
13
+ rack (>= 1.0, < 3)
14
+ rake (12.1.0)
15
+ rspec (3.6.0)
16
+ rspec-core (~> 3.6.0)
17
+ rspec-expectations (~> 3.6.0)
18
+ rspec-mocks (~> 3.6.0)
19
+ rspec-core (3.6.0)
20
+ rspec-support (~> 3.6.0)
21
+ rspec-expectations (3.6.0)
22
+ diff-lcs (>= 1.2.0, < 2.0)
23
+ rspec-support (~> 3.6.0)
24
+ rspec-mocks (3.6.0)
25
+ diff-lcs (>= 1.2.0, < 2.0)
26
+ rspec-support (~> 3.6.0)
27
+ rspec-support (3.6.0)
28
+
29
+ PLATFORMS
30
+ ruby
31
+
32
+ DEPENDENCIES
33
+ rack (>= 2.0.6)
34
+ rack-test
35
+ rake
36
+ rspec (~> 3)
37
+ warden!
38
+
39
+ BUNDLED WITH
40
+ 1.17.1
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009 Daniel Neighman
1
+ Copyright (c) 2009-2017 Daniel Neighman
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md ADDED
@@ -0,0 +1,18 @@
1
+ # Warden
2
+
3
+ ## Getting Started
4
+
5
+ Please see the [Warden Wiki](https://wiki.github.com/hassox/warden) for overview documentation.
6
+
7
+ ## Maintainers
8
+
9
+ * Daniel Neighman (hassox)
10
+ * José Valim (josevalim)
11
+ * Justin Smestad (jsmestad)
12
+ * Whitney Smestad (whithub)
13
+
14
+ [A list of all contributors is available on Github.](https://github.com/hassox/warden/contributors)
15
+
16
+ ## LICENSE
17
+
18
+ See `LICENSE` file.
data/Rakefile CHANGED
@@ -1,12 +1,8 @@
1
1
  # -*- encoding: utf-8 -*-
2
- require 'rubygems'
3
- require 'rake'
4
- $:.unshift File.join(File.dirname(__FILE__), "lib")
2
+ # frozen_string_literal: true
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
5
 
6
- require 'rspec/core'
7
- require 'rspec/core/rake_task'
6
+ RSpec::Core::RakeTask.new(:spec)
8
7
 
9
8
  task :default => :spec
10
-
11
- desc "Run all specs in spec directory"
12
- RSpec::Core::RakeTask.new(:spec)
data/lib/warden/config.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
 
3
4
  module Warden
4
5
  # This class is yielded inside Warden::Manager. If you have a plugin and want to
data/lib/warden/errors.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
  module Warden
3
4
  class Proxy
4
5
  # Lifted from DataMapper's dm-validations plugin :)
@@ -38,7 +39,7 @@ module Warden
38
39
  end
39
40
 
40
41
  def each
41
- errors.map.each do |k,v|
42
+ errors.map.each do |_k,v|
42
43
  next if blank?(v)
43
44
  yield(v)
44
45
  end
data/lib/warden/hooks.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
  module Warden
3
4
  module Hooks
4
5
 
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
  require 'warden/hooks'
3
4
  require 'warden/config'
4
5
 
@@ -21,7 +22,6 @@ module Warden
21
22
  @app, @config = app, Warden::Config.new(options)
22
23
  @config.default_strategies(*default_strategies) if default_strategies
23
24
  yield @config if block_given?
24
- self
25
25
  end
26
26
 
27
27
  # Invoke the application guarding for throw :warden.
@@ -32,6 +32,7 @@ module Warden
32
32
 
33
33
  env['warden'] = Proxy.new(env, self)
34
34
  result = catch(:warden) do
35
+ env['warden'].on_request
35
36
  @app.call(env)
36
37
  end
37
38
 
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
  module Warden
3
4
  module Mixins
4
5
  module Common
data/lib/warden/proxy.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
 
3
4
  module Warden
4
5
  class UserNotSet < RuntimeError; end
@@ -28,6 +29,11 @@ module Warden
28
29
  @env, @users, @winning_strategies, @locked = env, {}, {}, false
29
30
  @manager, @config = manager, manager.config.dup
30
31
  @strategies = Hash.new { |h,k| h[k] = {} }
32
+ end
33
+
34
+ # Run the on_request callbacks
35
+ # :api: private
36
+ def on_request
31
37
  manager._run_callbacks(:on_request, self)
32
38
  end
33
39
 
@@ -171,7 +177,13 @@ module Warden
171
177
 
172
178
  if opts[:store] != false && opts[:event] != :fetch
173
179
  options = env[ENV_SESSION_OPTIONS]
174
- options[:renew] = true if options
180
+ if options
181
+ if options.frozen?
182
+ env[ENV_SESSION_OPTIONS] = options.merge(:renew => true).freeze
183
+ else
184
+ options[:renew] = true
185
+ end
186
+ end
175
187
  session_serializer.store(user, scope)
176
188
  end
177
189
 
@@ -318,7 +330,7 @@ module Warden
318
330
  user = nil
319
331
 
320
332
  # Look for an existing user in the session for this scope.
321
- # If there was no user in the session. See if we can get one from the request.
333
+ # If there was no user in the session, see if we can get one from the request.
322
334
  return user, opts if user = user(opts.merge(:scope => scope))
323
335
  _run_strategies_for(scope, args)
324
336
 
@@ -354,8 +366,8 @@ module Warden
354
366
  strategy = _fetch_strategy(name, scope)
355
367
  next unless strategy && !strategy.performed? && strategy.valid?
356
368
 
357
- self.winning_strategy = @winning_strategies[scope] = strategy
358
369
  strategy._run!
370
+ self.winning_strategy = @winning_strategies[scope] = strategy
359
371
  break if strategy.halted?
360
372
  end
361
373
  end
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
  module Warden
3
4
  class SessionSerializer
4
5
  attr_reader :env
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
  module Warden
3
4
  module Strategies
4
5
  # A strategy is a place where you can put logic related to authentication. Any strategy inherits
@@ -157,7 +158,7 @@ module Warden
157
158
  def redirect!(url, params = {}, opts = {})
158
159
  halt!
159
160
  @status = opts[:permanent] ? 301 : 302
160
- headers["Location"] = url
161
+ headers["Location"] = url.dup
161
162
  headers["Location"] << "?" << Rack::Utils.build_query(params) unless params.empty?
162
163
  headers["Content-Type"] = opts[:content_type] || 'text/plain'
163
164
 
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
  module Warden
3
4
  module Strategies
4
5
  class << self
@@ -1,6 +1,5 @@
1
1
  # encoding: utf-8
2
-
3
- require 'rack'
2
+ # frozen_string_literal: true
4
3
 
5
4
  module Warden
6
5
  module Test
@@ -8,7 +7,7 @@ module Warden
8
7
  # These provide the ability to login and logout on any given request
9
8
  # Note: During the teardown phase of your specs you should include: Warden.test_reset!
10
9
  module Helpers
11
- def self.included(base)
10
+ def self.included(_base)
12
11
  ::Warden.test_mode!
13
12
  end
14
13
 
@@ -33,59 +32,6 @@ module Warden
33
32
  proxy.logout(*scopes)
34
33
  end
35
34
  end
36
-
37
- # A helper method that provides the warden object by mocking the env variable.
38
- # @api public
39
- def warden
40
- @warden ||= begin
41
- env['warden']
42
- end
43
- end
44
-
45
- private
46
-
47
- def env
48
- @env ||= begin
49
- request = Rack::MockRequest.env_for(
50
- "/?#{Rack::Utils.build_query({})}",
51
- { 'HTTP_VERSION' => '1.1', 'REQUEST_METHOD' => 'GET' }
52
- )
53
- app.call(request)
54
-
55
- request
56
- end
57
- end
58
-
59
- def app
60
- @app ||= begin
61
- opts = {
62
- failure_app: lambda {
63
- [401, { 'Content-Type' => 'text/plain' }, ['You Fail!']]
64
- },
65
- default_strategies: :password,
66
- default_serializers: :session
67
- }
68
- Rack::Builder.new do
69
- use Warden::Test::Helpers::Session
70
- use Warden::Manager, opts, &proc {}
71
- run lambda { |e|
72
- [200, { 'Content-Type' => 'text/plain' }, ['You Win']]
73
- }
74
- end
75
- end
76
- end
77
-
78
- class Session
79
- attr_accessor :app
80
- def initialize(app,configs = {})
81
- @app = app
82
- end
83
-
84
- def call(e)
85
- e['rack.session'] ||= {}
86
- @app.call(e)
87
- end
88
- end # session
89
35
  end
90
36
  end
91
37
  end
@@ -0,0 +1,69 @@
1
+ # encoding: utf-8
2
+ # frozen_string_literal: true
3
+
4
+ require 'rack'
5
+
6
+ module Warden
7
+ module Test
8
+ # A mock of an application to get a Warden object to test on
9
+ # Note: During the teardown phase of your specs you should include: Warden.test_reset!
10
+ module Mock
11
+ def self.included(_base)
12
+ ::Warden.test_mode!
13
+ end
14
+
15
+ # A helper method that provides the warden object by mocking the env variable.
16
+ # @api public
17
+ def warden
18
+ @warden ||= begin
19
+ env['warden']
20
+ end
21
+ end
22
+
23
+ private
24
+
25
+ def env
26
+ @env ||= begin
27
+ request = Rack::MockRequest.env_for(
28
+ "/?#{Rack::Utils.build_query({})}",
29
+ { 'HTTP_VERSION' => '1.1', 'REQUEST_METHOD' => 'GET' }
30
+ )
31
+ app.call(request)
32
+
33
+ request
34
+ end
35
+ end
36
+
37
+ def app
38
+ @app ||= begin
39
+ opts = {
40
+ failure_app: lambda { |_e|
41
+ [401, { 'Content-Type' => 'text/plain' }, ['You Fail!']]
42
+ },
43
+ default_strategies: :password,
44
+ default_serializers: :session
45
+ }
46
+ Rack::Builder.new do
47
+ use Warden::Test::Mock::Session
48
+ use Warden::Manager, opts, &proc {}
49
+ run lambda { |_e|
50
+ [200, { 'Content-Type' => 'text/plain' }, ['You Win']]
51
+ }
52
+ end
53
+ end
54
+ end
55
+
56
+ class Session
57
+ attr_accessor :app
58
+ def initialize(app, _configs={})
59
+ @app = app
60
+ end
61
+
62
+ def call(e)
63
+ e['rack.session'] ||= {}
64
+ @app.call(e)
65
+ end
66
+ end # session
67
+ end
68
+ end
69
+ end
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
 
3
4
  module Warden
4
5
 
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
  module Warden
3
- VERSION = "1.2.5".freeze
4
+ VERSION = "1.2.8"
4
5
  end
data/lib/warden.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # frozen_string_literal: true
2
3
  require 'forwardable'
3
4
 
4
5
  require 'warden/mixins/common'
@@ -15,6 +16,7 @@ module Warden
15
16
  module Test
16
17
  autoload :WardenHelpers, 'warden/test/warden_helpers'
17
18
  autoload :Helpers, 'warden/test/helpers'
19
+ autoload :Mock, 'warden/test/mock'
18
20
  end
19
21
 
20
22
  # Provides helper methods to warden for testing.
data/warden.gemspec CHANGED
@@ -1,24 +1,27 @@
1
1
  # -*- encoding: utf-8 -*-
2
+ # frozen_string_literal: true
2
3
 
3
- require './lib/warden/version'
4
+ lib = File.expand_path("../lib", __FILE__)
5
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
6
+ require 'warden/version'
4
7
 
5
- Gem::Specification.new do |s|
6
- s.name = %q{warden}
7
- s.version = Warden::VERSION.dup
8
- s.authors = ["Daniel Neighman"]
9
- s.email = %q{has.sox@gmail.com}
10
- s.license = "MIT"
11
- s.extra_rdoc_files = [
8
+ Gem::Specification.new do |spec|
9
+ spec.name = "warden"
10
+ spec.version = Warden::VERSION.dup
11
+ spec.authors = ["Daniel Neighman", "Justin Smestad", "Whitney Smestad", "José Valim"]
12
+ spec.email = %q{hasox.sox@gmail.com justin.smestad@gmail.com whitcolorado@gmail.com}
13
+ spec.homepage = "https://github.com/hassox/warden"
14
+ spec.summary = "An authentication library compatible with all Rack-based frameworks"
15
+ spec.license = "MIT"
16
+ spec.extra_rdoc_files = [
12
17
  "LICENSE",
13
- "README.textile"
18
+ "README.md"
14
19
  ]
15
- s.files = Dir["**/*"] - Dir["*.gem"] - ["Gemfile.lock"]
16
- s.homepage = %q{http://github.com/hassox/warden}
17
- s.rdoc_options = ["--charset=UTF-8"]
18
- s.require_paths = ["lib"]
19
- s.rubyforge_project = %q{warden}
20
- s.rubygems_version = %q{1.3.7}
21
- s.summary = %q{Rack middleware that provides authentication for rack applications}
22
- s.add_dependency "rack", ">= 1.0"
20
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
21
+ f.match(%r{^(test|spec|features)/})
22
+ end
23
+ spec.rdoc_options = ["--charset=UTF-8"]
24
+ spec.require_paths = ["lib"]
25
+ spec.rubyforge_project = %q{warden}
26
+ spec.add_dependency "rack", ">= 2.0.6"
23
27
  end
24
-
metadata CHANGED
@@ -1,14 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: warden
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Neighman
8
+ - Justin Smestad
9
+ - Whitney Smestad
10
+ - José Valim
8
11
  autorequire:
9
12
  bindir: bin
10
13
  cert_chain: []
11
- date: 2016-01-28 00:00:00.000000000 Z
14
+ date: 2018-11-15 00:00:00.000000000 Z
12
15
  dependencies:
13
16
  - !ruby/object:Gem::Dependency
14
17
  name: rack
@@ -16,26 +19,30 @@ dependencies:
16
19
  requirements:
17
20
  - - ">="
18
21
  - !ruby/object:Gem::Version
19
- version: '1.0'
22
+ version: 2.0.6
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - ">="
25
28
  - !ruby/object:Gem::Version
26
- version: '1.0'
29
+ version: 2.0.6
27
30
  description:
28
- email: has.sox@gmail.com
31
+ email: hasox.sox@gmail.com justin.smestad@gmail.com whitcolorado@gmail.com
29
32
  executables: []
30
33
  extensions: []
31
34
  extra_rdoc_files:
32
35
  - LICENSE
33
- - README.textile
36
+ - README.md
34
37
  files:
38
+ - ".gitignore"
39
+ - ".rspec"
40
+ - ".travis.yml"
41
+ - CHANGELOG.md
35
42
  - Gemfile
36
- - History.rdoc
43
+ - Gemfile.lock
37
44
  - LICENSE
38
- - README.textile
45
+ - README.md
39
46
  - Rakefile
40
47
  - lib/warden.rb
41
48
  - lib/warden/config.rb
@@ -48,31 +55,11 @@ files:
48
55
  - lib/warden/strategies.rb
49
56
  - lib/warden/strategies/base.rb
50
57
  - lib/warden/test/helpers.rb
58
+ - lib/warden/test/mock.rb
51
59
  - lib/warden/test/warden_helpers.rb
52
60
  - lib/warden/version.rb
53
- - spec/helpers/request_helper.rb
54
- - spec/helpers/strategies/fail_with_user.rb
55
- - spec/helpers/strategies/failz.rb
56
- - spec/helpers/strategies/invalid.rb
57
- - spec/helpers/strategies/pass.rb
58
- - spec/helpers/strategies/pass_with_message.rb
59
- - spec/helpers/strategies/password.rb
60
- - spec/helpers/strategies/single.rb
61
- - spec/spec_helper.rb
62
- - spec/warden/authenticated_data_store_spec.rb
63
- - spec/warden/config_spec.rb
64
- - spec/warden/errors_spec.rb
65
- - spec/warden/hooks_spec.rb
66
- - spec/warden/manager_spec.rb
67
- - spec/warden/proxy_spec.rb
68
- - spec/warden/scoped_session_serializer.rb
69
- - spec/warden/session_serializer_spec.rb
70
- - spec/warden/strategies/base_spec.rb
71
- - spec/warden/strategies_spec.rb
72
- - spec/warden/test/helpers_spec.rb
73
- - spec/warden/test/test_mode_spec.rb
74
61
  - warden.gemspec
75
- homepage: http://github.com/hassox/warden
62
+ homepage: https://github.com/hassox/warden
76
63
  licenses:
77
64
  - MIT
78
65
  metadata: {}
@@ -93,9 +80,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
80
  version: '0'
94
81
  requirements: []
95
82
  rubyforge_project: warden
96
- rubygems_version: 2.4.5.1
83
+ rubygems_version: 2.7.6
97
84
  signing_key:
98
85
  specification_version: 4
99
- summary: Rack middleware that provides authentication for rack applications
86
+ summary: An authentication library compatible with all Rack-based frameworks
100
87
  test_files: []
101
- has_rdoc:
data/README.textile DELETED
@@ -1,9 +0,0 @@
1
- Please see the "Warden Wiki":http://wiki.github.com/hassox/warden for overview documentation.
2
-
3
- h2. Maintainers
4
-
5
- * Daniel Neighman (hassox)
6
- * José Valim (josevalim)
7
- * Justin Smestad (jsmestad)
8
-
9
- "A list of all contributors is available on Github.":https://github.com/hassox/warden/contributors