-
Notifications
You must be signed in to change notification settings - Fork 116
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
11 changed files
with
175 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,5 @@ wiki | |
.ruby-version | ||
.ruby-gemset | ||
Gemfile.lock | ||
gemfiles/*.gemfile.lock | ||
tmp | ||
|
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,27 @@ | ||
appraise "rails-6.1" do | ||
group :development do | ||
gem "rails", "~> 6.1.0" | ||
end | ||
end | ||
|
||
appraise "rails-7.0" do | ||
group :development do | ||
gem "rails", "~> 7.0.0" | ||
end | ||
end | ||
|
||
appraise "rails-7.1" do | ||
group :development do | ||
gem "rails", "~> 7.1.0" | ||
end | ||
end | ||
|
||
appraise "rails-7.2" do | ||
group :development do | ||
gem "rails", "~> 7.2.0" | ||
gem "sqlite3", "~> 2.0.0" | ||
group :mongo do | ||
gem "mongoid", github: "mongodb/mongoid" | ||
end | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Contributing to Datagrid | ||
|
||
## Issues | ||
|
||
Please use GitHub issues for bug reports and feature suggestions. | ||
|
||
## Development | ||
|
||
### Testing | ||
|
||
Tests can be run against different versions of Rails: | ||
|
||
**Using appraisals (recommended)** | ||
|
||
``` shell | ||
# Install the dependencies for each appraisal | ||
bundle install | ||
bundle exec appraisal install | ||
|
||
# Run tests against Rails 7.2 | ||
bundle exec appraisal rails-7.2 rake | ||
|
||
# Run tests against Rails 6.1 | ||
bundle exec appraisal rails-6.1 rake | ||
``` | ||
|
||
**Using BUNDLE_GEMFILE** | ||
|
||
``` shell | ||
# Run tests against Rails 7.2 | ||
BUNDLE_GEMFILE=gemfiles/rails_7.2.gemfile bundle install | ||
BUNDLE_GEMFILE=gemfiles/rails_7.2.gemfile bundle exec rake | ||
|
||
# Run tests against Rails 6.1 | ||
BUNDLE_GEMFILE=gemfiles/rails_6.1.gemfile bundle install | ||
BUNDLE_GEMFILE=gemfiles/rails_6.1.gemfile bundle exec rake | ||
``` |
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,22 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
group :development do | ||
gem "appraisal" | ||
gem "bump" | ||
gem "csv" | ||
gem "nokogiri" | ||
gem "pry-byebug" | ||
gem "rspec" | ||
gem "sequel" | ||
gem "sqlite3", "~> 1.7.0" | ||
gem "rails", "~> 6.1.0" | ||
|
||
group :mongo do | ||
gem "bson" | ||
gem "mongoid", "~> 9.0" | ||
end | ||
end | ||
|
||
gemspec path: "../" |
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,22 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
group :development do | ||
gem "appraisal" | ||
gem "bump" | ||
gem "csv" | ||
gem "nokogiri" | ||
gem "pry-byebug" | ||
gem "rspec" | ||
gem "sequel" | ||
gem "sqlite3", "~> 1.7.0" | ||
gem "rails", "~> 7.0.0" | ||
|
||
group :mongo do | ||
gem "bson" | ||
gem "mongoid", "~> 9.0" | ||
end | ||
end | ||
|
||
gemspec path: "../" |
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,22 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
group :development do | ||
gem "appraisal" | ||
gem "bump" | ||
gem "csv" | ||
gem "nokogiri" | ||
gem "pry-byebug" | ||
gem "rspec" | ||
gem "sequel" | ||
gem "sqlite3", "~> 1.7.0" | ||
gem "rails", "~> 7.1.0" | ||
|
||
group :mongo do | ||
gem "bson" | ||
gem "mongoid", "~> 9.0" | ||
end | ||
end | ||
|
||
gemspec path: "../" |
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,22 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
group :development do | ||
gem "appraisal" | ||
gem "bump" | ||
gem "csv" | ||
gem "nokogiri" | ||
gem "pry-byebug" | ||
gem "rspec" | ||
gem "sequel" | ||
gem "sqlite3", "~> 2.0.0" | ||
gem "rails", "~> 7.2.0" | ||
|
||
group :mongo do | ||
gem "bson" | ||
gem "mongoid", github: "mongodb/mongoid" | ||
end | ||
end | ||
|
||
gemspec path: "../" |