forked from RolifyCommunity/rolify
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Began merging all the pull requests from the main Rolify repo.
- Loading branch information
Wellington Cordeiro
committed
Jun 6, 2014
1 parent
befc8db
commit 645897f
Showing
7 changed files
with
68 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
source "https://rubygems.org" | ||
|
||
platforms :rbx do | ||
gem 'psych' | ||
gem 'rubinius-coverage', '~> 2.0' | ||
end | ||
|
||
group :test do | ||
gem 'rails', github: 'rails/rails', branch: '4-1-stable' | ||
# There is currently an active record bug in Rails 4.1.0, this is a workaround until 4.1.1 is released | ||
# See https://github.com/rails/rails/issues/13648 | ||
# Without this patch, Resource.with_role(:role, User.first).count throws an SQL syntax exception | ||
#gem "railties", "~> 4.1.0" | ||
gem "ammeter" | ||
gem "rake" | ||
gem "rspec" | ||
gem "rspec-rails" | ||
gem "fuubar" | ||
gem "bundler" | ||
|
||
gem 'coveralls', :require => false | ||
|
||
case ENV["ADAPTER"] | ||
when nil, "active_record" | ||
gem "activerecord", "~> 4.1.0", :require => "active_record" | ||
gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.5", :platform => "jruby" | ||
#Fix sqlite3 version for rbx until rubinus is updated | ||
#https://github.com/travis-ci/travis-ci/issues/2006 | ||
gem "sqlite3", "1.3.8", :platform => "ruby" | ||
when "mongoid" | ||
gem "mongoid", github: 'mongoid/mongoid' | ||
gem "bson_ext", :platform => "ruby" | ||
else | ||
raise "Unknown model adapter: #{ENV["ADAPTER"]}" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters