authlogic_crowd 0.2.4 → 0.3.0.pre.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -5
- data/Gemfile +3 -0
- data/README.markdown +173 -0
- data/Rakefile +1 -21
- data/authlogic_crowd.gemspec +17 -37
- data/lib/authlogic_crowd.rb +8 -9
- data/lib/authlogic_crowd/acts_as_authentic.rb +185 -138
- data/lib/authlogic_crowd/acts_as_authentic_callbacks.rb +32 -26
- data/lib/authlogic_crowd/crowd_synchronizer.rb +97 -0
- data/lib/authlogic_crowd/session.rb +358 -302
- data/lib/authlogic_crowd/version.rb +1 -1
- metadata +51 -62
- data/README.rdoc +0 -14
- data/lib/authlogic_crowd/session_callbacks.rb +0 -19
- data/test/helper.rb +0 -13
- data/test/test_authlogic_crowd.rb +0 -7
metadata
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authlogic_crowd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: -179398206
|
5
|
+
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
+
- 3
|
9
|
+
- 0
|
10
|
+
- pre
|
8
11
|
- 2
|
9
|
-
|
10
|
-
version: 0.2.4
|
12
|
+
version: 0.3.0.pre.2
|
11
13
|
platform: ruby
|
12
14
|
authors:
|
13
15
|
- Paul Strong
|
@@ -15,113 +17,99 @@ autorequire:
|
|
15
17
|
bindir: bin
|
16
18
|
cert_chain: []
|
17
19
|
|
18
|
-
date: 2012-
|
20
|
+
date: 2012-04-18 00:00:00 Z
|
19
21
|
dependencies:
|
20
22
|
- !ruby/object:Gem::Dependency
|
21
|
-
name:
|
23
|
+
name: authlogic
|
22
24
|
prerelease: false
|
23
25
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
26
|
none: false
|
25
27
|
requirements:
|
26
28
|
- - ">="
|
27
29
|
- !ruby/object:Gem::Version
|
28
|
-
hash:
|
30
|
+
hash: 13
|
31
|
+
segments:
|
32
|
+
- 2
|
33
|
+
- 1
|
34
|
+
- 3
|
35
|
+
version: 2.1.3
|
36
|
+
- - <
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
hash: 7
|
29
39
|
segments:
|
40
|
+
- 3
|
30
41
|
- 0
|
31
|
-
|
32
|
-
|
42
|
+
- 0
|
43
|
+
version: 3.0.0
|
44
|
+
type: :runtime
|
33
45
|
version_requirements: *id001
|
34
46
|
- !ruby/object:Gem::Dependency
|
35
|
-
name:
|
47
|
+
name: simple_crowd
|
36
48
|
prerelease: false
|
37
49
|
requirement: &id002 !ruby/object:Gem::Requirement
|
38
50
|
none: false
|
39
51
|
requirements:
|
40
52
|
- - ">="
|
41
53
|
- !ruby/object:Gem::Version
|
42
|
-
hash:
|
54
|
+
hash: 19
|
43
55
|
segments:
|
56
|
+
- 1
|
57
|
+
- 1
|
44
58
|
- 0
|
45
|
-
version:
|
46
|
-
type: :
|
59
|
+
version: 1.1.0
|
60
|
+
type: :runtime
|
47
61
|
version_requirements: *id002
|
48
62
|
- !ruby/object:Gem::Dependency
|
49
|
-
name:
|
63
|
+
name: bundler
|
50
64
|
prerelease: false
|
51
65
|
requirement: &id003 !ruby/object:Gem::Requirement
|
52
66
|
none: false
|
53
67
|
requirements:
|
54
68
|
- - ">="
|
55
69
|
- !ruby/object:Gem::Version
|
56
|
-
hash:
|
70
|
+
hash: 61
|
57
71
|
segments:
|
72
|
+
- 1
|
58
73
|
- 0
|
59
|
-
|
74
|
+
- 21
|
75
|
+
version: 1.0.21
|
60
76
|
type: :development
|
61
77
|
version_requirements: *id003
|
62
78
|
- !ruby/object:Gem::Dependency
|
63
|
-
name:
|
79
|
+
name: rake
|
64
80
|
prerelease: false
|
65
81
|
requirement: &id004 !ruby/object:Gem::Requirement
|
66
82
|
none: false
|
67
83
|
requirements:
|
68
84
|
- - ">="
|
69
85
|
- !ruby/object:Gem::Version
|
70
|
-
hash:
|
71
|
-
segments:
|
72
|
-
- 2
|
73
|
-
- 1
|
74
|
-
- 3
|
75
|
-
version: 2.1.3
|
76
|
-
- - <
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
hash: 7
|
86
|
+
hash: 3
|
79
87
|
segments:
|
80
|
-
- 3
|
81
88
|
- 0
|
82
|
-
|
83
|
-
|
84
|
-
type: :runtime
|
89
|
+
version: "0"
|
90
|
+
type: :development
|
85
91
|
version_requirements: *id004
|
86
|
-
|
87
|
-
name: simple_crowd
|
88
|
-
prerelease: false
|
89
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
90
|
-
none: false
|
91
|
-
requirements:
|
92
|
-
- - ">="
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
hash: 23
|
95
|
-
segments:
|
96
|
-
- 1
|
97
|
-
- 0
|
98
|
-
- 0
|
99
|
-
version: 1.0.0
|
100
|
-
type: :runtime
|
101
|
-
version_requirements: *id005
|
102
|
-
description: Authlogic Crowd
|
92
|
+
description: Atlassian Crowd support for Authlogic
|
103
93
|
email: paul@thestrongfamily.org
|
104
94
|
executables: []
|
105
95
|
|
106
96
|
extensions: []
|
107
97
|
|
108
|
-
extra_rdoc_files:
|
109
|
-
|
98
|
+
extra_rdoc_files: []
|
99
|
+
|
110
100
|
files:
|
111
101
|
- .document
|
112
102
|
- .gitignore
|
113
103
|
- Gemfile
|
114
|
-
- README.
|
104
|
+
- README.markdown
|
115
105
|
- Rakefile
|
116
106
|
- authlogic_crowd.gemspec
|
117
107
|
- lib/authlogic_crowd.rb
|
118
108
|
- lib/authlogic_crowd/acts_as_authentic.rb
|
119
109
|
- lib/authlogic_crowd/acts_as_authentic_callbacks.rb
|
110
|
+
- lib/authlogic_crowd/crowd_synchronizer.rb
|
120
111
|
- lib/authlogic_crowd/session.rb
|
121
|
-
- lib/authlogic_crowd/session_callbacks.rb
|
122
112
|
- lib/authlogic_crowd/version.rb
|
123
|
-
- test/helper.rb
|
124
|
-
- test/test_authlogic_crowd.rb
|
125
113
|
homepage: http://github.com/thinkwell/authlogic_crowd
|
126
114
|
licenses: []
|
127
115
|
|
@@ -142,19 +130,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
142
130
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
131
|
none: false
|
144
132
|
requirements:
|
145
|
-
- - "
|
133
|
+
- - ">"
|
146
134
|
- !ruby/object:Gem::Version
|
147
|
-
hash:
|
135
|
+
hash: 25
|
148
136
|
segments:
|
149
|
-
-
|
150
|
-
|
137
|
+
- 1
|
138
|
+
- 3
|
139
|
+
- 1
|
140
|
+
version: 1.3.1
|
151
141
|
requirements: []
|
152
142
|
|
153
|
-
rubyforge_project:
|
154
|
-
rubygems_version: 1.8.
|
143
|
+
rubyforge_project: authlogic_crowd
|
144
|
+
rubygems_version: 1.8.21
|
155
145
|
signing_key:
|
156
146
|
specification_version: 3
|
157
147
|
summary: Atlassian Crowd support for Authlogic
|
158
|
-
test_files:
|
159
|
-
|
160
|
-
- test/test_authlogic_crowd.rb
|
148
|
+
test_files: []
|
149
|
+
|
data/README.rdoc
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
= authlogic_crowd
|
2
|
-
|
3
|
-
Incomplete Authlogic plugin for Atlassian Crowd ( do not use )
|
4
|
-
Description goes here.
|
5
|
-
|
6
|
-
== Note on Patches/Pull Requests
|
7
|
-
|
8
|
-
* Fork the project.
|
9
|
-
* Make your feature addition or bug fix.
|
10
|
-
* Add tests for it. This is important so I don't break it in a
|
11
|
-
future version unintentionally.
|
12
|
-
* Commit, do not mess with rakefile, version, or history.
|
13
|
-
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
|
14
|
-
* Send me a pull request. Bonus points for topic branches.
|
@@ -1,19 +0,0 @@
|
|
1
|
-
module AuthlogicCrowd
|
2
|
-
module SessionCallbacks
|
3
|
-
METHODS = [
|
4
|
-
"before_sync", "sync", "after_sync"
|
5
|
-
]
|
6
|
-
def self.included(base)
|
7
|
-
base.send :include, ActiveSupport::Callbacks
|
8
|
-
base.define_callbacks *METHODS
|
9
|
-
end
|
10
|
-
private
|
11
|
-
METHODS.each do |method|
|
12
|
-
class_eval <<-"end_eval", __FILE__, __LINE__
|
13
|
-
def #{method}
|
14
|
-
run_callbacks(:#{method}) { |result, object| result == false }
|
15
|
-
end
|
16
|
-
end_eval
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
data/test/helper.rb
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'test/unit'
|
3
|
-
require 'shoulda'
|
4
|
-
require 'matchy'
|
5
|
-
require 'rr'
|
6
|
-
|
7
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
8
|
-
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
9
|
-
require 'authlogic_crowd'
|
10
|
-
|
11
|
-
class Test::Unit::TestCase
|
12
|
-
include RR::Adapters::TestUnit
|
13
|
-
end
|