pipa-authmagic 0.0.4 → 0.0.5

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.
@@ -84,7 +84,7 @@ module Authmagic
84
84
  end
85
85
 
86
86
  def handle_unauthorized
87
- render :status => :forbidden, :text => 'unauthorized'
87
+ head :forbidden
88
88
  end
89
89
 
90
90
  def permitted_with_defaults?(action = action_name, principal = current_principal)
@@ -0,0 +1 @@
1
+ require 'authmagic'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pipa-authmagic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Gunko
@@ -9,10 +9,18 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-12-28 00:00:00 -08:00
12
+ date: 2009-01-03 00:00:00 -08:00
13
13
  default_executable:
14
- dependencies: []
15
-
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: activesupport
17
+ version_requirement:
18
+ version_requirements: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: "2.2"
23
+ version:
16
24
  description: Easy RESTful authentication + authorization.
17
25
  email: tekmon@gmail.com
18
26
  executables: []
@@ -26,6 +34,7 @@ files:
26
34
  - README.rdoc
27
35
  - MIT-LICENSE
28
36
  - lib/authmagic.rb
37
+ - lib/pipa-authmagic.rb
29
38
  - lib/authmagic/context.rb
30
39
  - lib/authmagic/exceptions.rb
31
40
  - lib/authmagic/modules.rb