forked from bootstrap-ruby/bootstrap_form
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This allows running tests on the root of the project freshly checked …
…out (bootstrap-ruby#651) * This allows running tests on the root of the project freshly checked out * Put move REQUIRED_RAILS_VERSION to BootstrapForm::REQUIRED_RAILS_VERSION so it can easily be required * Require 'bootstrap_form/version' with absolute path to enable use before load path is complete Co-authored-by: Uwe Kubosch <[email protected]>
- Loading branch information
1 parent
979474f
commit 0a75c79
Showing
9 changed files
with
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,6 @@ | ||
source "http://rubygems.org" | ||
gems = "#{__dir__}/gemfiles/common.gemfile" | ||
eval File.read(gems), binding, gems # rubocop: disable Security/Eval | ||
|
||
gemspec path: __dir__ | ||
require "#{__dir__}/lib/bootstrap_form/version" | ||
|
||
# To test with different Rails versions, use the files in `./gemfiles` | ||
|
||
group :development do | ||
gem "htmlbeautifier" | ||
gem "rubocop-performance", require: false | ||
gem "rubocop-rails", require: false | ||
gem "webpacker" | ||
end | ||
|
||
group :test do | ||
gem "diffy" | ||
gem "equivalent-xml" | ||
gem "mocha" | ||
gem "sqlite3" | ||
end | ||
|
||
group :ci do | ||
gem "danger" | ||
end | ||
gem "rails", BootstrapForm::REQUIRED_RAILS_VERSION |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
gems = "#{File.dirname __dir__}/Gemfile" | ||
gems = "#{__dir__}/common.gemfile" | ||
eval File.read(gems), binding, gems # rubocop: disable Security/Eval | ||
|
||
gem "rails", "~> 5.2.0" |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
gems = "#{File.dirname __dir__}/Gemfile" | ||
gems = "#{__dir__}/common.gemfile" | ||
eval File.read(gems), binding, gems # rubocop: disable Security/Eval | ||
|
||
gem "rails", "~> 6.0.0" |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
gems = "#{File.dirname __dir__}/Gemfile" | ||
gems = "#{__dir__}/common.gemfile" | ||
eval File.read(gems), binding, gems # rubocop: disable Security/Eval | ||
|
||
gem "rails", "~> 6.1.0" |
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,23 @@ | ||
source "http://rubygems.org" | ||
|
||
gemspec path: File.dirname(__dir__) | ||
|
||
# To test with different Rails versions, use the files in `./gemfiles` | ||
|
||
group :development do | ||
gem "htmlbeautifier" | ||
gem "rubocop-performance", require: false | ||
gem "rubocop-rails", require: false | ||
gem "webpacker" | ||
end | ||
|
||
group :test do | ||
gem "diffy" | ||
gem "equivalent-xml" | ||
gem "mocha" | ||
gem "sqlite3" | ||
end | ||
|
||
group :ci do | ||
gem "danger" | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
gems = "#{File.dirname __dir__}/Gemfile" | ||
gems = "#{__dir__}/common.gemfile" | ||
eval File.read(gems), binding, gems # rubocop: disable Security/Eval | ||
|
||
gem "rails", git: "https://github.com/rails/rails.git" |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
module BootstrapForm | ||
VERSION = "5.1.0".freeze | ||
REQUIRED_RAILS_VERSION = ">= 5.2".freeze | ||
end |