mongoid3_session_store 1.0.0 → 1.0.1
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.
- data/README.rdoc +13 -13
- metadata +20 -7
data/README.rdoc
CHANGED
@@ -1,22 +1,25 @@
|
|
1
|
-
=
|
1
|
+
= mongoid3_session_store
|
2
2
|
|
3
3
|
Store rails 3.1+ sessions using Mongoid 3.
|
4
4
|
|
5
5
|
== Installation
|
6
6
|
This gem supports rails 3.1+ and mongoid 3.0
|
7
|
-
|
7
|
+
|
8
|
+
*N.B.* Mongoid 3 requires ruby 1.9.3. See http://mongoid.org for current requirements.
|
9
|
+
|
10
|
+
gem install mongoid3_session_store
|
8
11
|
|
9
12
|
== Setup
|
10
13
|
|
11
14
|
In your Gemfile:
|
12
15
|
|
13
|
-
gem
|
14
|
-
gem "mongoid3_session_store",
|
16
|
+
gem 'mongoid', '~> 3.0.0'
|
17
|
+
gem "mongoid3_session_store", "~> 1.0.0"
|
15
18
|
|
16
19
|
In the session_store initializer (config/initializers/session_store.rb) you can comment out every line as
|
17
20
|
mongoid session store will be setup for use when added to the gemfile.
|
18
21
|
|
19
|
-
If you want to be more explicit you can comment the currently setup store and add:
|
22
|
+
If you want to be more explicit you can comment out the currently setup store and add:
|
20
23
|
|
21
24
|
Example::Application.config.session_store :mongoid_store
|
22
25
|
|
@@ -27,15 +30,12 @@ Mongoid Session Store comes with a rake task to clear out the sessions it stores
|
|
27
30
|
|
28
31
|
== Note on Patches/Pull Requests
|
29
32
|
|
30
|
-
* Fork the project.
|
31
|
-
*
|
32
|
-
*
|
33
|
-
|
34
|
-
* Commit, do not mess with rakefile, version, or history.
|
35
|
-
(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)
|
36
|
-
* Send me a pull request. Bonus points for topic branches.
|
33
|
+
* Fork the project and make your desired changes/fixes on a topic branch.
|
34
|
+
* Add tests to prevent future regressions.
|
35
|
+
* Please put any changes to Rakefile, version or history in their own isolated commits.
|
36
|
+
* Send me a pull request.
|
37
37
|
|
38
38
|
== Copyright
|
39
39
|
|
40
|
-
Copyright (c)
|
40
|
+
Copyright (c) 2012 Peter Cipollone. Based largely on mongoid_session_store, copyright (c) 2010 Ryan Fitzgerald. See MIT-LICENSE for details.
|
41
41
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid3_session_store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-12-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
37
|
+
version: 3.0.0
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,23 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
45
|
+
version: 3.0.0
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rake
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
46
62
|
description: Store rails 3.1+ sessions using Mongoid 3.
|
47
63
|
email:
|
48
64
|
- peter.cipollone@gmail.com
|
@@ -68,9 +84,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
84
|
- - ! '>='
|
69
85
|
- !ruby/object:Gem::Version
|
70
86
|
version: '0'
|
71
|
-
segments:
|
72
|
-
- 0
|
73
|
-
hash: -3069011305836536140
|
74
87
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
88
|
none: false
|
76
89
|
requirements:
|