intercession 2.0.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.rdoc +3 -2
  2. data/lib/intercession.rb +2 -2
  3. metadata +39 -43
@@ -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. Anything else
31
- might give you hives.
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
@@ -1,13 +1,13 @@
1
1
  module Intercession
2
2
 
3
3
  # Duh.
4
- VERSION = "2.0.0"
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 << ActionController::Session::AbstractStore::SessionHash rescue nil
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: 2.0.0
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
- date: 2009-09-28 00:00:00 -07:00
13
- default_executable:
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
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
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
- lots of user and session-specific behavior.
29
- email:
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
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: "0"
62
- version:
63
- required_rubygems_version: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
67
- version: "0"
68
- version:
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.3.5
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
-