forked from RolifyCommunity/rolify
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
54 additions
and
23 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