Skip to content

Commit

Permalink
attempt to add travis
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislaw committed Jun 27, 2012
1 parent 0470716 commit 9d26619
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: ruby
rvm:
- 1.8.7
- 1.9.3
script: "bundle exec rspec spec"
gemfile:
- Gemfile
env:
- DB=sqlite
- DB=mysql
before_script:
- "mysql -e 'create database myapp_test;' >/dev/null"
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ group :development, :test do
gem 'jeweler'
gem 'cutter'
gem 'rspec'
gem 'factory_girl'
gem 'factory_girl', '2.6.4'
end
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ user.has_role?(:blogger) # => false

### Both strategies

For each of valid role both strategies automatically define scope methods in User models:
For each of valid role both strategies automatically define scope methods in User model:

```ruby
SimpleRoles.config.valid_roles # => [:user, :admin, :editor]
Expand Down

0 comments on commit 9d26619

Please sign in to comment.