wizdog 0.0.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/lib/wizdog/authc/filter.rb +7 -7
- data/lib/wizdog/authc/security_context.rb +2 -2
- data/lib/wizdog/menu/menu.rb +0 -1
- data/lib/wizdog/version.rb +1 -1
- metadata +8 -10
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 411c507ab5ef2a1b51649964b5d72f73cddeab2a
|
4
|
+
data.tar.gz: 93363c2f7870f3160cb99c6927ee873381ccc7d8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5f519556de05ea98e9caba468759cc7e700eaf299575a1d50fbcd8e5ba9bc33b6b8743d0a003517f91f6e1edfe26ed9bea56189d23825c381b8b8556386f9559
|
7
|
+
data.tar.gz: 4548b5c9a007807268b055ad9af1df83daae8a58e556c807f6f9a1fc1784bdd3966bdb88ef62866ab3bd45ade9af6d4d2cdbdff09f4dbb401fb49049cdf049c9
|
data/.gitignore
CHANGED
data/lib/wizdog/authc/filter.rb
CHANGED
@@ -7,7 +7,7 @@ module WizAuthc
|
|
7
7
|
base.class_eval do
|
8
8
|
attr_accessor :current
|
9
9
|
include InstanceMethods
|
10
|
-
before_filter :activate_wiz_auth
|
10
|
+
#before_filter :activate_wiz_auth
|
11
11
|
|
12
12
|
end
|
13
13
|
end
|
@@ -23,12 +23,12 @@ module WizAuthc
|
|
23
23
|
WizAuthc::SecurityContext.current.authenticated?
|
24
24
|
end
|
25
25
|
|
26
|
-
private
|
27
|
-
def activate_wiz_auth
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
end
|
26
|
+
# private
|
27
|
+
# def activate_wiz_auth
|
28
|
+
# p self.session.to_s
|
29
|
+
# WizAuthc::SecurityContext.init(self, Util::Account.new(self.session))
|
30
|
+
# @current = WizAuthc::SecurityContext.current
|
31
|
+
# end
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
data/lib/wizdog/menu/menu.rb
CHANGED
data/lib/wizdog/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wizdog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- songgz
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-06-12 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
13
|
description: Flexible authentication solution for Rails
|
15
14
|
email:
|
@@ -18,7 +17,7 @@ executables: []
|
|
18
17
|
extensions: []
|
19
18
|
extra_rdoc_files: []
|
20
19
|
files:
|
21
|
-
- .gitignore
|
20
|
+
- ".gitignore"
|
22
21
|
- Gemfile
|
23
22
|
- Rakefile
|
24
23
|
- lib/wizdog.rb
|
@@ -47,26 +46,25 @@ files:
|
|
47
46
|
- wizdog.gemspec
|
48
47
|
homepage: http://github.com/songgz/wizdog
|
49
48
|
licenses: []
|
49
|
+
metadata: {}
|
50
50
|
post_install_message:
|
51
51
|
rdoc_options: []
|
52
52
|
require_paths:
|
53
53
|
- lib
|
54
54
|
required_ruby_version: !ruby/object:Gem::Requirement
|
55
|
-
none: false
|
56
55
|
requirements:
|
57
|
-
- -
|
56
|
+
- - ">="
|
58
57
|
- !ruby/object:Gem::Version
|
59
58
|
version: '0'
|
60
59
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
61
|
-
none: false
|
62
60
|
requirements:
|
63
|
-
- -
|
61
|
+
- - ">="
|
64
62
|
- !ruby/object:Gem::Version
|
65
63
|
version: '0'
|
66
64
|
requirements: []
|
67
65
|
rubyforge_project: wizdog
|
68
|
-
rubygems_version:
|
66
|
+
rubygems_version: 2.2.3
|
69
67
|
signing_key:
|
70
|
-
specification_version:
|
68
|
+
specification_version: 4
|
71
69
|
summary: Flexible authentication solution for Rails
|
72
70
|
test_files: []
|