intercession 2.0.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +3 -2
- data/lib/intercession.rb +2 -2
- metadata +39 -43
data/README.rdoc
CHANGED
@@ -27,8 +27,9 @@ Unit tests for your session model! Mix it in to a Hash and go to town:
|
|
27
27
|
|
28
28
|
== Installation
|
29
29
|
|
30
|
-
I've used Intercession with Rails v2.2.2 and v2.3.4.
|
31
|
-
|
30
|
+
I've used Intercession 2.x with Rails v2.2.2 and v2.3.4. People
|
31
|
+
apparently use Intercession 3.x with Rails 3.x. Anything else might
|
32
|
+
give you hives.
|
32
33
|
|
33
34
|
Intercession works as a plugin or a gem. If you install it as a
|
34
35
|
plugin, it'll create you a stub session module in
|
data/lib/intercession.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
module Intercession
|
2
2
|
|
3
3
|
# Duh.
|
4
|
-
VERSION = "
|
4
|
+
VERSION = "3.0.0"
|
5
5
|
|
6
6
|
def self.included klass
|
7
7
|
klass.append_after_filter :intercede_after
|
8
8
|
|
9
9
|
ks = []
|
10
|
-
ks <<
|
10
|
+
ks << ActionDispatch::Session::AbstractStore::SessionHash rescue nil
|
11
11
|
ks << CGI::Session rescue nil
|
12
12
|
|
13
13
|
ks.compact.each { |c| c.send :include, Transient::Session }
|
metadata
CHANGED
@@ -1,42 +1,42 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: intercession
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.0.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
|
-
authors:
|
7
|
+
authors:
|
7
8
|
- John Barnette
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
dependencies:
|
15
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-11-14 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
16
15
|
name: hoe
|
16
|
+
requirement: &70114683033620 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '2.12'
|
17
22
|
type: :development
|
18
|
-
|
19
|
-
version_requirements:
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
version: 2.3.3
|
24
|
-
version:
|
25
|
-
description: |-
|
26
|
-
Treat your sessions like models, not hashes. Intercession mixes a module into
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70114683033620
|
25
|
+
description: ! 'Treat your sessions like models, not hashes. Intercession mixes a
|
26
|
+
module into
|
27
|
+
|
27
28
|
the session on each request, allowing you to nicely encapsulate (and test!)
|
28
|
-
|
29
|
-
|
29
|
+
|
30
|
+
lots of user and session-specific behavior.'
|
31
|
+
email:
|
30
32
|
- jbarnette@rubyforge.org
|
31
33
|
executables: []
|
32
|
-
|
33
34
|
extensions: []
|
34
|
-
|
35
|
-
extra_rdoc_files:
|
35
|
+
extra_rdoc_files:
|
36
36
|
- Manifest.txt
|
37
37
|
- CHANGELOG.rdoc
|
38
38
|
- README.rdoc
|
39
|
-
files:
|
39
|
+
files:
|
40
40
|
- CHANGELOG.rdoc
|
41
41
|
- Manifest.txt
|
42
42
|
- README.rdoc
|
@@ -44,34 +44,30 @@ files:
|
|
44
44
|
- install.rb
|
45
45
|
- lib/intercession.rb
|
46
46
|
- session.template
|
47
|
-
has_rdoc: true
|
48
47
|
homepage: http://github.com/jbarnette/intercession
|
49
48
|
licenses: []
|
50
|
-
|
51
49
|
post_install_message:
|
52
|
-
rdoc_options:
|
50
|
+
rdoc_options:
|
53
51
|
- --main
|
54
52
|
- README.rdoc
|
55
|
-
require_paths:
|
53
|
+
require_paths:
|
56
54
|
- lib
|
57
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
55
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
57
|
+
requirements:
|
58
|
+
- - ! '>='
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
62
|
+
none: false
|
63
|
+
requirements:
|
64
|
+
- - ! '>='
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
69
67
|
requirements: []
|
70
|
-
|
71
68
|
rubyforge_project: intercession
|
72
|
-
rubygems_version: 1.
|
69
|
+
rubygems_version: 1.8.11
|
73
70
|
signing_key:
|
74
71
|
specification_version: 3
|
75
72
|
summary: Treat your sessions like models, not hashes
|
76
73
|
test_files: []
|
77
|
-
|