Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Commit

Permalink
Bump version v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca Guidi committed Sep 1, 2011
1 parent e2baf92 commit 7b24cb1
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 41 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG
@@ -1,3 +1,14 @@
*1.0.0 (September 1, 2011)*

* Bump version v1.0.0
* Avoid encoding issues when sending strings to Redis. [Damian Janowski]
* Fixed a bug that caused all the users to share the same session (with a session_id of 0 or 1) [Mathieu Ravaux]
* ActiveSupport cache stores reply to read_multi with a hash, not an array. [Matt Griffin]
* Rack::Session && Rack::Cache store can be created with options [aligo]
* add destroy_session [aligo]
* compatible with rails 3.1. rely on Rack::Session::Redis stores API. [aligo]
* Fixed Marshalling semantic

*1.0.0 [rc1] (June 5, 2011)*

* Bump version v1.0.0.rc1
Expand Down
2 changes: 1 addition & 1 deletion MIT-LICENSE
@@ -1,4 +1,4 @@
Copyright (c) 2009 - 2010 Luca Guidi
Copyright (c) 2009 - 2011 Luca Guidi

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
14 changes: 7 additions & 7 deletions README.md
Expand Up @@ -42,13 +42,13 @@ Made up of the following:
password: secret

If you want to specify the `namespace` option, you have to pass the `db` param too.
#### __Important__: for now (rc1) `namespace` is only supported for single, non-distributed stores.
#### __Important__: `namespace` is only supported for single, non-distributed stores.

### Set by Hash

{ :host => 192.168.1.100, :port => 23682, :db => 13, :namespace => "theplaylist", :password => "secret" }

#### __Important__: for now (rc1) `namespace` is only supported for single, non-distributed stores.
#### __Important__: `namespace` is only supported for single, non-distributed stores.

## Cache store

Expand All @@ -72,7 +72,7 @@ Provides a cache store for your Ruby web framework of choice.

# Gemfile
gem 'redis'
gem 'redis-store', '1.0.0.rc1'
gem 'redis-store', '1.0.0'

# config/environments/production.rb
config.cache_store = :redis_store, { ... optional configuration ... }
Expand All @@ -81,7 +81,7 @@ For advanced configurations scenarios please visit [the wiki](https://github.com

### Merb

dependency "redis-store", "1.0.0.rc1"
dependency "redis-store", "1.0.0"
dependency("merb-cache", merb_gems_version) do
Merb::Cache.setup do
register(:redis, Merb::Cache::RedisStore, :servers => ["127.0.0.1:6379"])
Expand Down Expand Up @@ -162,7 +162,7 @@ Provides a Redis store for Rack::Session. See [http://rack.rubyforge.org/doc/Rac
# Gemfile
gem 'rails', '3.0.3'
gem 'redis'
gem 'redis-store', '1.0.0.rc1'
gem 'redis-store', '1.0.0'

# config/initializers/session_store.rb
MyApp::Application.config.session_store :redis_session_store
Expand All @@ -171,7 +171,7 @@ For advanced configurations scenarios please visit [the wiki](https://github.com

### Merb

dependency "redis-store", "1.0.0.rc1"
dependency "redis-store", "1.0.0"
Merb::Config.use do |c|
c[:session_store] = "redis"
end
Expand Down Expand Up @@ -236,4 +236,4 @@ If you are on **Snow Leopard** you have to run `env ARCHFLAGS="-arch x86_64" bun

## Copyright

(c) 2009 - 2010 Luca Guidi - [http://lucaguidi.com](http://lucaguidi.com), released under the MIT license
(c) 2009 - 2011 Luca Guidi - [http://lucaguidi.com](http://lucaguidi.com), released under the MIT license
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
1.0.0.rc1
1.0.0
3 changes: 1 addition & 2 deletions lib/redis/store/version.rb
Expand Up @@ -4,9 +4,8 @@ module VERSION #:nodoc:
MAJOR = 1
MINOR = 0
TINY = 0
BUILD = "rc1"

STRING = [MAJOR, MINOR, TINY, BUILD].join('.')
STRING = [MAJOR, MINOR, TINY].join('.')
end
end
end
43 changes: 14 additions & 29 deletions redis-store.gemspec
Expand Up @@ -5,20 +5,20 @@

Gem::Specification.new do |s|
s.name = %q{redis-store}
s.version = "1.0.0.rc1"
s.version = "1.0.0"

s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = [%q{Luca Guidi}]
s.date = %q{2011-06-05}
s.date = %q{2011-09-01}
s.description = %q{Namespaced Rack::Session, Rack::Cache, I18n and cache Redis stores for Ruby web frameworks.}
s.email = %q{guidi.luca@gmail.com}
s.extra_rdoc_files = [
"README.md"
]
s.files = [
".travis.yml",
"CHANGELOG",
"Gemfile",
"Gemfile.lock",
"MIT-LICENSE",
"README.md",
"Rakefile",
Expand Down Expand Up @@ -66,58 +66,43 @@ Gem::Specification.new do |s|
]
s.homepage = %q{http://github.com/jodosha/redis-store}
s.require_paths = [%q{lib}]
s.rubygems_version = %q{1.8.5}
s.rubygems_version = %q{1.8.6}
s.summary = %q{Namespaced Rack::Session, Rack::Cache, I18n and cache Redis stores for Ruby web frameworks.}
s.test_files = [
"spec/action_controller/session/redis_session_store_spec.rb",
"spec/active_support/cache/redis_store_spec.rb",
"spec/cache/merb/redis_store_spec.rb",
"spec/cache/sinatra/redis_store_spec.rb",
"spec/i18n/backend/redis_spec.rb",
"spec/rack/cache/entitystore/redis_spec.rb",
"spec/rack/cache/metastore/redis_spec.rb",
"spec/rack/session/redis_spec.rb",
"spec/redis/distributed_store_spec.rb",
"spec/redis/factory_spec.rb",
"spec/redis/store/interface_spec.rb",
"spec/redis/store/marshalling_spec.rb",
"spec/redis/store/namespace_spec.rb",
"spec/redis/store/version_spec.rb",
"spec/redis/store_spec.rb",
"spec/spec_helper.rb"
]

if s.respond_to? :specification_version then
s.specification_version = 3

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<redis>, ["~> 2.2.0"])
s.add_runtime_dependency(%q<redis>, ["~> 2.2.1"])
s.add_development_dependency(%q<jeweler>, [">= 0"])
s.add_development_dependency(%q<git>, [">= 0"])
s.add_development_dependency(%q<rack-cache>, [">= 0"])
s.add_development_dependency(%q<merb>, ["= 1.1.0"])
s.add_development_dependency(%q<rspec>, ["= 1.3.0"])
s.add_development_dependency(%q<i18n>, [">= 0"])
s.add_development_dependency(%q<ruby-debug>, [">= 0"])
s.add_development_dependency(%q<methopara>, [">= 0"])
s.add_runtime_dependency(%q<redis>, [">= 2.0.0"])
else
s.add_dependency(%q<redis>, ["~> 2.2.0"])
s.add_dependency(%q<redis>, ["~> 2.2.1"])
s.add_dependency(%q<jeweler>, [">= 0"])
s.add_dependency(%q<git>, [">= 0"])
s.add_dependency(%q<rack-cache>, [">= 0"])
s.add_dependency(%q<merb>, ["= 1.1.0"])
s.add_dependency(%q<rspec>, ["= 1.3.0"])
s.add_dependency(%q<i18n>, [">= 0"])
s.add_dependency(%q<ruby-debug>, [">= 0"])
s.add_dependency(%q<methopara>, [">= 0"])
s.add_dependency(%q<redis>, [">= 2.0.0"])
end
else
s.add_dependency(%q<redis>, ["~> 2.2.0"])
s.add_dependency(%q<redis>, ["~> 2.2.1"])
s.add_dependency(%q<jeweler>, [">= 0"])
s.add_dependency(%q<git>, [">= 0"])
s.add_dependency(%q<rack-cache>, [">= 0"])
s.add_dependency(%q<merb>, ["= 1.1.0"])
s.add_dependency(%q<rspec>, ["= 1.3.0"])
s.add_dependency(%q<i18n>, [">= 0"])
s.add_dependency(%q<ruby-debug>, [">= 0"])
s.add_dependency(%q<methopara>, [">= 0"])
s.add_dependency(%q<redis>, [">= 2.0.0"])
end
end

2 changes: 1 addition & 1 deletion spec/redis/store/version_spec.rb
Expand Up @@ -2,6 +2,6 @@

describe Redis::Store::VERSION do
it "should describe Redis::Store version" do
Redis::Store::VERSION::STRING.should == "1.0.0.rc1"
Redis::Store::VERSION::STRING.should == "1.0.0"
end
end

0 comments on commit 7b24cb1

Please sign in to comment.