jdl-authlogic 2.1.6.1 → 2.1.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,21 @@
1
+ = Changes in this fork.
2
+ Very simply, this is a fork of authlogic 2.1.6 that fixes a bug in the sinatra_adapter. I didn't change anything else
3
+ related to the core functionality of authlogic. The symptoms of the bug are as follows.
4
+
5
+ You are running:
6
+ * Rails 2.3.*
7
+ * authlogic for some regular controllers
8
+ * Sinatra from the metal directory, but not using authlogic for any of those classes
9
+ * Builder
10
+
11
+ What happens is that even though you don't care about using authlogic in your Sinatra classes, the use of Builder
12
+ ultimately triggers the code that checks for the existence of the Sinatra class, which causes authlogic to load
13
+ its adapter. The adapter is trying to inlcude itself into Sinatra::Request, when it should be using Sinatra::Base.
14
+
15
+ WARNING: I have no idea if authlogic actually works with Sinatra, because I don't care if it does or not. I just wanted
16
+ my app to stop exploding during boot. I'm using authlogic for my Rails controllers, not my Sinatra classes.
17
+
18
+
1
19
  = Authlogic
2
20
 
3
21
  Authlogic is a clean, simple, and unobtrusive ruby authentication solution.
@@ -2,4 +2,4 @@
2
2
  :major: 2
3
3
  :minor: 1
4
4
  :patch: 6
5
- :build: 1
5
+ :build: 2
Binary file
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{jdl-authlogic}
8
- s.version = "2.1.6.1"
8
+ s.version = "2.1.6.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ben Johnson of Binary Logic (simple Sinatra-related bugfix by JDL in this fork)"]
@@ -25,6 +25,7 @@ Gem::Specification.new do |s|
25
25
  "generators/session/session_generator.rb",
26
26
  "generators/session/templates/session.rb",
27
27
  "init.rb",
28
+ "jdl-authlogic-2.1.6.1.gem",
28
29
  "jdl-authlogic-2.1.6.gem",
29
30
  "jdl-authlogic.gemspec",
30
31
  "lib/authlogic.rb",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jdl-authlogic
3
3
  version: !ruby/object:Gem::Version
4
- hash: 125
4
+ hash: 123
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 1
9
9
  - 6
10
- - 1
11
- version: 2.1.6.1
10
+ - 2
11
+ version: 2.1.6.2
12
12
  platform: ruby
13
13
  authors:
14
14
  - Ben Johnson of Binary Logic (simple Sinatra-related bugfix by JDL in this fork)
@@ -52,6 +52,7 @@ files:
52
52
  - generators/session/session_generator.rb
53
53
  - generators/session/templates/session.rb
54
54
  - init.rb
55
+ - jdl-authlogic-2.1.6.1.gem
55
56
  - jdl-authlogic-2.1.6.gem
56
57
  - jdl-authlogic.gemspec
57
58
  - lib/authlogic.rb