mongoid_session_store 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -7,9 +7,13 @@ source :gemcutter
7
7
  gem 'actionpack', "~> 3.0.0"
8
8
  gem 'activemodel', "~> 3.0.0"
9
9
 
10
- # gem "mongoid", ">= 2.0.0.beta.16"
11
- gem "mongoid", :git => "http://github.com/mongoid/mongoid.git"
10
+ gem "mongoid", "~> 2.0.0.pre"
11
+ # gem "mongoid", :git => "http://github.com/mongoid/mongoid.git"
12
12
 
13
13
  group :test do
14
14
  gem 'shoulda'
15
+ end
16
+
17
+ group :development do
18
+ gem 'jeweler'
15
19
  end
data/Gemfile.lock CHANGED
@@ -1,47 +1,47 @@
1
- GIT
2
- remote: http://github.com/mongoid/mongoid.git
3
- revision: f38e3efa4fb61204cddf8e98595edf966e304c1e
4
- specs:
5
- mongoid (2.0.0.beta.16)
6
- activemodel (~> 3.0.0)
7
- bson (= 1.0.4)
8
- mongo (= 1.0.7)
9
- tzinfo (~> 0.3.22)
10
- will_paginate (~> 3.0.pre)
11
-
12
1
  GEM
13
2
  remote: http://rubygems.org/
14
3
  specs:
15
4
  abstract (1.0.0)
16
- actionpack (3.0.0.rc)
17
- activemodel (= 3.0.0.rc)
18
- activesupport (= 3.0.0.rc)
5
+ actionpack (3.0.4)
6
+ activemodel (= 3.0.4)
7
+ activesupport (= 3.0.4)
19
8
  builder (~> 2.1.2)
20
9
  erubis (~> 2.6.6)
21
- i18n (~> 0.4.1)
10
+ i18n (~> 0.4)
22
11
  rack (~> 1.2.1)
23
- rack-mount (~> 0.6.9)
24
- rack-test (~> 0.5.4)
25
- tzinfo (~> 0.3.22)
26
- activemodel (3.0.0.rc)
27
- activesupport (= 3.0.0.rc)
12
+ rack-mount (~> 0.6.13)
13
+ rack-test (~> 0.5.7)
14
+ tzinfo (~> 0.3.23)
15
+ activemodel (3.0.4)
16
+ activesupport (= 3.0.4)
28
17
  builder (~> 2.1.2)
29
- i18n (~> 0.4.1)
30
- activesupport (3.0.0.rc)
31
- bson (1.0.4)
18
+ i18n (~> 0.4)
19
+ activesupport (3.0.4)
20
+ bson (1.2.1)
32
21
  builder (2.1.2)
33
22
  erubis (2.6.6)
34
23
  abstract (>= 1.0.0)
35
- i18n (0.4.1)
36
- mongo (1.0.7)
37
- bson (>= 1.0.4)
24
+ git (1.2.5)
25
+ i18n (0.5.0)
26
+ jeweler (1.5.2)
27
+ bundler (~> 1.0.0)
28
+ git (>= 1.2.5)
29
+ rake
30
+ mongo (1.2.1)
31
+ bson (>= 1.2.1)
32
+ mongoid (2.0.0.rc.7)
33
+ activemodel (~> 3.0)
34
+ mongo (~> 1.2)
35
+ tzinfo (~> 0.3.22)
36
+ will_paginate (~> 3.0.pre)
38
37
  rack (1.2.1)
39
- rack-mount (0.6.9)
38
+ rack-mount (0.6.13)
40
39
  rack (>= 1.0.0)
41
- rack-test (0.5.4)
40
+ rack-test (0.5.7)
42
41
  rack (>= 1.0)
42
+ rake (0.8.7)
43
43
  shoulda (2.11.3)
44
- tzinfo (0.3.22)
44
+ tzinfo (0.3.24)
45
45
  will_paginate (3.0.pre2)
46
46
 
47
47
  PLATFORMS
@@ -50,5 +50,6 @@ PLATFORMS
50
50
  DEPENDENCIES
51
51
  actionpack (~> 3.0.0)
52
52
  activemodel (~> 3.0.0)
53
- mongoid!
53
+ jeweler
54
+ mongoid (~> 2.0.0.pre)
54
55
  shoulda
data/Rakefile CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'rubygems'
2
2
  require 'rake'
3
+ require 'bundler'
3
4
 
4
5
  begin
5
6
  require 'jeweler'
@@ -10,13 +11,9 @@ begin
10
11
  gem.email = "ryan@gymlogr.com"
11
12
  gem.homepage = "http://github.com/ryanfitz/mongoid_session_store"
12
13
  gem.authors = ["Ryan Fitzgerald"]
13
- gem.add_development_dependency "shoulda", ">= 0"
14
- gem.add_dependency('mongoid', ">= 2.0.0.beta.16")
15
- gem.add_dependency('actionpack', "~> 3.0.0")
14
+ gem.add_bundler_dependencies
16
15
 
17
- gem.files.exclude 'example/**/*'
18
-
19
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
16
+ gem.files.exclude 'example/**/*'
20
17
  end
21
18
  Jeweler::GemcutterTasks.new
22
19
  rescue LoadError
@@ -43,7 +40,7 @@ rescue LoadError
43
40
  end
44
41
  end
45
42
 
46
- task :test => :check_dependencies
43
+ task :test
47
44
 
48
45
  task :default => :test
49
46
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.1
@@ -24,6 +24,7 @@ module ActionDispatch
24
24
  private
25
25
 
26
26
  def get_session(env, sid)
27
+ sid ||= generate_sid
27
28
  session = find_session(sid)
28
29
  env[SESSION_RECORD_KEY] = session
29
30
  [sid, unpack(session.data)]
@@ -1,66 +1,78 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{mongoid_session_store}
8
- s.version = "1.1.0"
8
+ s.version = "1.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ryan Fitzgerald"]
12
- s.date = %q{2010-09-30}
12
+ s.date = %q{2011-02-13}
13
13
  s.description = %q{store rails 3 sessions in mongoDB}
14
14
  s.email = %q{ryan@gymlogr.com}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE",
17
- "README.rdoc"
17
+ "README.rdoc"
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
- ".gitignore",
22
- "Gemfile",
23
- "Gemfile.lock",
24
- "LICENSE",
25
- "README.rdoc",
26
- "Rakefile",
27
- "VERSION",
28
- "example/.gitignore",
29
- "lib/mongoid_session_store.rb",
30
- "lib/mongoid_session_store/mongoid_store.rb",
31
- "lib/mongoid_session_store/railtie.rb",
32
- "lib/mongoid_session_store/railties/sessions.rake",
33
- "mongoid_session_store.gemspec",
34
- "test/helper.rb",
35
- "test/test_mongoid_session_store.rb"
21
+ "Gemfile",
22
+ "Gemfile.lock",
23
+ "LICENSE",
24
+ "README.rdoc",
25
+ "Rakefile",
26
+ "VERSION",
27
+ "example/.gitignore",
28
+ "lib/mongoid_session_store.rb",
29
+ "lib/mongoid_session_store/mongoid_store.rb",
30
+ "lib/mongoid_session_store/railtie.rb",
31
+ "lib/mongoid_session_store/railties/sessions.rake",
32
+ "mongoid_session_store.gemspec",
33
+ "test/helper.rb",
34
+ "test/test_mongoid_session_store.rb"
36
35
  ]
37
36
  s.homepage = %q{http://github.com/ryanfitz/mongoid_session_store}
38
- s.rdoc_options = ["--charset=UTF-8"]
39
37
  s.require_paths = ["lib"]
40
- s.rubygems_version = %q{1.3.7}
38
+ s.rubygems_version = %q{1.5.0}
41
39
  s.summary = %q{store rails 3 sessions in mongoDB}
42
40
  s.test_files = [
43
41
  "test/helper.rb",
44
- "test/test_mongoid_session_store.rb"
42
+ "test/test_mongoid_session_store.rb"
45
43
  ]
46
44
 
47
45
  if s.respond_to? :specification_version then
48
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
49
46
  s.specification_version = 3
50
47
 
51
48
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
52
- s.add_development_dependency(%q<shoulda>, [">= 0"])
53
- s.add_runtime_dependency(%q<mongoid>, [">= 2.0.0.beta.16"])
54
49
  s.add_runtime_dependency(%q<actionpack>, ["~> 3.0.0"])
50
+ s.add_runtime_dependency(%q<activemodel>, ["~> 3.0.0"])
51
+ s.add_runtime_dependency(%q<mongoid>, ["~> 2.0.0.pre"])
52
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
53
+ s.add_runtime_dependency(%q<actionpack>, ["~> 3.0.0"])
54
+ s.add_runtime_dependency(%q<activemodel>, ["~> 3.0.0"])
55
+ s.add_runtime_dependency(%q<mongoid>, ["~> 2.0.0.pre"])
56
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
55
57
  else
56
- s.add_dependency(%q<shoulda>, [">= 0"])
57
- s.add_dependency(%q<mongoid>, [">= 2.0.0.beta.16"])
58
58
  s.add_dependency(%q<actionpack>, ["~> 3.0.0"])
59
+ s.add_dependency(%q<activemodel>, ["~> 3.0.0"])
60
+ s.add_dependency(%q<mongoid>, ["~> 2.0.0.pre"])
61
+ s.add_dependency(%q<jeweler>, [">= 0"])
62
+ s.add_dependency(%q<actionpack>, ["~> 3.0.0"])
63
+ s.add_dependency(%q<activemodel>, ["~> 3.0.0"])
64
+ s.add_dependency(%q<mongoid>, ["~> 2.0.0.pre"])
65
+ s.add_dependency(%q<jeweler>, [">= 0"])
59
66
  end
60
67
  else
61
- s.add_dependency(%q<shoulda>, [">= 0"])
62
- s.add_dependency(%q<mongoid>, [">= 2.0.0.beta.16"])
63
68
  s.add_dependency(%q<actionpack>, ["~> 3.0.0"])
69
+ s.add_dependency(%q<activemodel>, ["~> 3.0.0"])
70
+ s.add_dependency(%q<mongoid>, ["~> 2.0.0.pre"])
71
+ s.add_dependency(%q<jeweler>, [">= 0"])
72
+ s.add_dependency(%q<actionpack>, ["~> 3.0.0"])
73
+ s.add_dependency(%q<activemodel>, ["~> 3.0.0"])
74
+ s.add_dependency(%q<mongoid>, ["~> 2.0.0.pre"])
75
+ s.add_dependency(%q<jeweler>, [">= 0"])
64
76
  end
65
77
  end
66
78
 
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_session_store
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 1
7
- - 1
8
- - 0
9
- version: 1.1.0
4
+ prerelease:
5
+ version: 1.1.1
10
6
  platform: ruby
11
7
  authors:
12
8
  - Ryan Fitzgerald
@@ -14,54 +10,97 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2010-09-30 00:00:00 -04:00
13
+ date: 2011-02-13 00:00:00 -05:00
18
14
  default_executable:
19
15
  dependencies:
20
16
  - !ruby/object:Gem::Dependency
21
- name: shoulda
22
- prerelease: false
17
+ name: actionpack
23
18
  requirement: &id001 !ruby/object:Gem::Requirement
24
19
  none: false
25
20
  requirements:
26
- - - ">="
21
+ - - ~>
27
22
  - !ruby/object:Gem::Version
28
- segments:
29
- - 0
30
- version: "0"
31
- type: :development
23
+ version: 3.0.0
24
+ type: :runtime
25
+ prerelease: false
32
26
  version_requirements: *id001
33
27
  - !ruby/object:Gem::Dependency
34
- name: mongoid
35
- prerelease: false
28
+ name: activemodel
36
29
  requirement: &id002 !ruby/object:Gem::Requirement
37
30
  none: false
38
31
  requirements:
39
- - - ">="
32
+ - - ~>
40
33
  - !ruby/object:Gem::Version
41
- segments:
42
- - 2
43
- - 0
44
- - 0
45
- - beta
46
- - 16
47
- version: 2.0.0.beta.16
34
+ version: 3.0.0
48
35
  type: :runtime
36
+ prerelease: false
49
37
  version_requirements: *id002
38
+ - !ruby/object:Gem::Dependency
39
+ name: mongoid
40
+ requirement: &id003 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 2.0.0.pre
46
+ type: :runtime
47
+ prerelease: false
48
+ version_requirements: *id003
49
+ - !ruby/object:Gem::Dependency
50
+ name: jeweler
51
+ requirement: &id004 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: "0"
57
+ type: :development
58
+ prerelease: false
59
+ version_requirements: *id004
50
60
  - !ruby/object:Gem::Dependency
51
61
  name: actionpack
62
+ requirement: &id005 !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ~>
66
+ - !ruby/object:Gem::Version
67
+ version: 3.0.0
68
+ type: :runtime
52
69
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
70
+ version_requirements: *id005
71
+ - !ruby/object:Gem::Dependency
72
+ name: activemodel
73
+ requirement: &id006 !ruby/object:Gem::Requirement
54
74
  none: false
55
75
  requirements:
56
76
  - - ~>
57
77
  - !ruby/object:Gem::Version
58
- segments:
59
- - 3
60
- - 0
61
- - 0
62
78
  version: 3.0.0
63
79
  type: :runtime
64
- version_requirements: *id003
80
+ prerelease: false
81
+ version_requirements: *id006
82
+ - !ruby/object:Gem::Dependency
83
+ name: mongoid
84
+ requirement: &id007 !ruby/object:Gem::Requirement
85
+ none: false
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: 2.0.0.pre
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: *id007
93
+ - !ruby/object:Gem::Dependency
94
+ name: jeweler
95
+ requirement: &id008 !ruby/object:Gem::Requirement
96
+ none: false
97
+ requirements:
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ version: "0"
101
+ type: :development
102
+ prerelease: false
103
+ version_requirements: *id008
65
104
  description: store rails 3 sessions in mongoDB
66
105
  email: ryan@gymlogr.com
67
106
  executables: []
@@ -73,7 +112,6 @@ extra_rdoc_files:
73
112
  - README.rdoc
74
113
  files:
75
114
  - .document
76
- - .gitignore
77
115
  - Gemfile
78
116
  - Gemfile.lock
79
117
  - LICENSE
@@ -93,8 +131,8 @@ homepage: http://github.com/ryanfitz/mongoid_session_store
93
131
  licenses: []
94
132
 
95
133
  post_install_message:
96
- rdoc_options:
97
- - --charset=UTF-8
134
+ rdoc_options: []
135
+
98
136
  require_paths:
99
137
  - lib
100
138
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -102,21 +140,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
102
140
  requirements:
103
141
  - - ">="
104
142
  - !ruby/object:Gem::Version
105
- segments:
106
- - 0
107
143
  version: "0"
108
144
  required_rubygems_version: !ruby/object:Gem::Requirement
109
145
  none: false
110
146
  requirements:
111
147
  - - ">="
112
148
  - !ruby/object:Gem::Version
113
- segments:
114
- - 0
115
149
  version: "0"
116
150
  requirements: []
117
151
 
118
152
  rubyforge_project:
119
- rubygems_version: 1.3.7
153
+ rubygems_version: 1.5.0
120
154
  signing_key:
121
155
  specification_version: 3
122
156
  summary: store rails 3 sessions in mongoDB
data/.gitignore DELETED
@@ -1,22 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
- .bundle
4
-
5
- ## TEXTMATE
6
- *.tmproj
7
- tmtags
8
-
9
- ## EMACS
10
- *~
11
- \#*
12
- .\#*
13
-
14
- ## VIM
15
- *.swp
16
-
17
- ## PROJECT::GENERAL
18
- coverage
19
- rdoc
20
- pkg
21
-
22
- ## PROJECT::SPECIFIC