tamed_beast 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,12 @@
1
1
  module TamedBeast::Auth
2
2
  def self.included(base)
3
- base.class_eval do
4
- def current_user
5
- #@current_user ||= ((session[:user_id] && User.find_by_id(session[:user_id])) || 0)
6
- nil
7
- end
8
- ActionController::Base.helper_method :current_user
9
- end
3
+ #base.class_eval do
4
+ #def current_user
5
+ ##@current_user ||= ((session[:user_id] && User.find_by_id(session[:user_id])) || 0)
6
+ #nil
7
+ #end
8
+ #ActionController::Base.helper_method :current_user
9
+ #end
10
10
 
11
11
  protected
12
12
  def login_required
@@ -18,7 +18,7 @@ module TamedBeast::Auth
18
18
  end
19
19
  end
20
20
 
21
- ActionView::Base.send :include, TamedBeast::Auth
21
+ #ActionView::Base.send :include, TamedBeast::Auth
22
22
  ActionController::Base.send :include, TamedBeast::Auth
23
23
 
24
24
 
@@ -1,3 +1,3 @@
1
1
  module TamedBeast
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tamed_beast
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease: false
4
+ hash: 25
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Luca Bonmassar, Andrea Pavoni
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-14 00:00:00 +01:00
18
+ date: 2011-02-09 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  requirements: []
154
154
 
155
155
  rubyforge_project:
156
- rubygems_version: 1.3.7
156
+ rubygems_version: 1.4.2
157
157
  signing_key:
158
158
  specification_version: 3
159
159
  summary: Bullettin board for Rails 3