Skip to content

Commit

Permalink
Rails Mongo Store now inheriting from the right class
Browse files Browse the repository at this point in the history
  • Loading branch information
biilmann committed Jun 15, 2010
1 parent 847e8d5 commit b9c8909
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 0 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ begin
gem.homepage = "http://github.com/biilmann/mongo_sessions"
gem.authors = ["Mathias Biilmann"]
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings

gem.add_dependency 'actionpack', '~> 3.0'
end
Jeweler::GemcutterTasks.new
rescue LoadError
Expand Down
2 changes: 1 addition & 1 deletion lib/mongo_sessions/rails_mongo_store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

module ActionDispatch
module Session
class MongoStore < Rack::Session::Abstract::ID
class MongoStore < AbstractStore
include MongoSessions::MongoStore
end
end
Expand Down
7 changes: 2 additions & 5 deletions mongo_sessions.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

Gem::Specification.new do |s|
s.name = %q{mongo_sessions}
s.version = "0.3.1"
s.version = "0.3.2"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Mathias Biilmann"]
s.date = %q{2010-06-15}
s.date = %q{2010-06-16}
s.description = %q{Uses the ruby Mongo driver to store sessions in a MongoDB collection}
s.email = %q{[email protected]}
s.extra_rdoc_files = [
Expand Down Expand Up @@ -45,12 +45,9 @@ Gem::Specification.new do |s|
s.specification_version = 3

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<actionpack>, ["~> 3.0"])
else
s.add_dependency(%q<actionpack>, ["~> 3.0"])
end
else
s.add_dependency(%q<actionpack>, ["~> 3.0"])
end
end

0 comments on commit b9c8909

Please sign in to comment.