Skip to content

Commit

Permalink
Enable CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jodosha committed Aug 28, 2013
1 parent e377274 commit 6023bbe
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 13 deletions.
14 changes: 14 additions & 0 deletions .travis.yml
@@ -0,0 +1,14 @@
language: ruby
script: 'bundle exec rake'
rvm:
- 1.9.3
- 2.0.0
- ruby-head
- rbx-19mode
- jruby-19mode
- jruby-head

matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
16 changes: 5 additions & 11 deletions Gemfile
@@ -1,16 +1,10 @@
source 'https://rubygems.org'
gemspec

gem 'redis-store', '~> 1.1.0', path: '../redis-store'
gem 'redis-rack', '~> 1.5.0', path: '../redis-rack'

version = ENV["RAILS_VERSION"] || "4"

rails = case version
when "master"
{:github => "rails/rails"}
else
"~> #{version}.0"
if ::File.directory?(gem_path = '../redis-store')
gem 'redis-store', '~> 1.1.0', path: gem_path
end

gem "rails", rails
if ::File.directory?(gem_path = '../redis-rack')
gem 'redis-rack', '~> 1.5.0', path: gem_path
end
8 changes: 6 additions & 2 deletions README.md
Expand Up @@ -9,7 +9,7 @@ __`redis-actionpack`__ provides a session store for __ActionPack__, specifically
gem 'redis-actionpack'
```

### Usage
## Usage

If you are using redis-store with Rails, consider using the [redis-rails gem](https://github.com/redis-store/redis-rails) instead. For standalone usage:

Expand All @@ -29,6 +29,10 @@ bundle exec rake

If you are on **Snow Leopard** you have to run `env ARCHFLAGS="-arch x86_64" bundle exec rake`

## Status

[![Gem Version](https://badge.fury.io/rb/redis-actionpack.png)](http://badge.fury.io/rb/redis-actionpack) [![Build Status](https://secure.travis-ci.org/redis-store/redis-actionpack.png?branch=master)](http://travis-ci.org/jodosha/redis-actionpack?branch=master) [![Code Climate](https://codeclimate.com/github/jodosha/redis-store.png)](https://codeclimate.com/github/redis-store/redis-actionpack)

## Copyright

(c) 2009 - 2013 Luca Guidi - [http://lucaguidi.com](http://lucaguidi.com), released under the MIT license
2009 - 2013 Luca Guidi - [http://lucaguidi.com](http://lucaguidi.com), released under the MIT license

0 comments on commit 6023bbe

Please sign in to comment.