simple_auth 0.1.0 → 0.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.
- data/README.markdown +1 -1
- data/VERSION +1 -1
- data/lib/simple_auth/action_controller.rb +3 -3
- data/lib/simple_auth/session.rb +2 -0
- data/lib/simple_auth/version.rb +1 -1
- data/simple_auth.gemspec +2 -2
- metadata +2 -2
data/README.markdown
CHANGED
@@ -99,7 +99,7 @@ You may receive strange errors related to `can't dup NilClass` or `You have a ni
|
|
99
99
|
klass.instance_variables.each { |var| klass.send(:remove_instance_variable, var) }
|
100
100
|
klass.instance_methods(false).each { |m| klass.send :undef_method, m }
|
101
101
|
|
102
|
-
Dirty, but it works. Here's the ticket for this issue: [
|
102
|
+
Dirty, but it works. Here's the ticket for this issue: [Issue #1290](https://rails.lighthouseapp.com/projects/8994/tickets/1290-activerecord-raises-randomly-apparently-a-timezone-issue#ticket-1290-30)
|
103
103
|
|
104
104
|
To-Do
|
105
105
|
-----
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
@@ -1,9 +1,9 @@
|
|
1
1
|
module SimpleAuth
|
2
2
|
module ActionController
|
3
3
|
module Implementation
|
4
|
-
def self.included(
|
5
|
-
|
6
|
-
|
4
|
+
def self.included(base)
|
5
|
+
base.prepend_before_filter :activate_simple_auth
|
6
|
+
base.helper_method :current_user, :current_session, :logged_in?
|
7
7
|
end
|
8
8
|
end
|
9
9
|
|
data/lib/simple_auth/session.rb
CHANGED
data/lib/simple_auth/version.rb
CHANGED
data/simple_auth.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{simple_auth}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Nando Vieira"]
|
12
|
-
s.date = %q{2010-01-
|
12
|
+
s.date = %q{2010-01-23}
|
13
13
|
s.description = %q{When Authlogic & Devise are just too much.
|
14
14
|
}
|
15
15
|
s.email = %q{fnando.vieira@gmail.com}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nando Vieira
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-01-
|
12
|
+
date: 2010-01-23 00:00:00 -02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|