-
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.
Merge pull request #7 from customink/coding-bunny/fix_loading
[Inkovate] Add Support for Rails versions
- Loading branch information
Showing
12 changed files
with
178 additions
and
35 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 |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
Gemfile.lock | ||
InstalledFiles | ||
_yardoc | ||
gemfiles/*.gemfile.lock | ||
coverage | ||
doc/ | ||
lib/bundler/man | ||
|
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,30 @@ | ||
# This is the appraisal file that determines which specific gems should be | ||
# tested in various situations. Because Appraisal was originally developed | ||
# for the Travis CI system, a few minor tweaks are added to this file, | ||
# to ensure we can actually run this properly on CircleCI. | ||
# | ||
# The core change is that we perform a Ruby version check in this file to | ||
# exclude certain configurations from specific Ruby machines to simulate | ||
# the configuration we had in Travis CI where we excluded a specific Gemfile from | ||
# a build. That feature does not exist in CircleCI, so to ensure that the | ||
# "bundle exec appraisal install" command works, | ||
# we exclude certain appraisals when the Ruby version doesn't match. | ||
appraise 'rails5.0' do | ||
gem 'rails', '~> 5.0.0' | ||
end | ||
|
||
appraise 'rails5.1' do | ||
gem 'rails', '~> 5.1.0' | ||
end | ||
|
||
appraise 'rails5.2' do | ||
gem 'rails', '~> 5.2.0' | ||
end | ||
|
||
appraise 'rails6.0' do | ||
gem 'rails', '~> 6.0.0' | ||
end | ||
|
||
appraise 'rails6.1' do | ||
gem 'rails', '~> 6.1.0' | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "rails", "~> 5.0.0" | ||
|
||
group :test do | ||
gem "appraisal" | ||
gem "minitest-ci", require: false | ||
gem "simplecov", require: false | ||
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,13 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "rails", "~> 5.1.0" | ||
|
||
group :test do | ||
gem "appraisal" | ||
gem "minitest-ci", require: false | ||
gem "simplecov", require: false | ||
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,13 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "rails", "~> 5.2.0" | ||
|
||
group :test do | ||
gem "appraisal" | ||
gem "minitest-ci", require: false | ||
gem "simplecov", require: false | ||
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,13 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "rails", "~> 6.0.0" | ||
|
||
group :test do | ||
gem "appraisal" | ||
gem "minitest-ci", require: false | ||
gem "simplecov", require: false | ||
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,13 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "rails", "~> 6.1.0" | ||
|
||
group :test do | ||
gem "appraisal" | ||
gem "minitest-ci", require: false | ||
gem "simplecov", require: false | ||
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 |
---|---|---|
@@ -1,7 +1,12 @@ | ||
require "rack" | ||
|
||
# This module defines our Gem, and automatically requires the needed files to ensure that the gem can hook into | ||
# the application's middleware stack when needed, or triggers the Rails boot process properly using the Railtie | ||
# framework. | ||
# Do not swap this code to rely on autoload, since this behavior is not compatible with higher Ruby releases. | ||
# We need to code to be loaded immediately, and not on-demand as this will be too late for the Rails boot process. | ||
module IsItUp | ||
autoload :VERSION, "is_it_up/version" | ||
autoload :Middleware, "is_it_up/middleware" | ||
autoload :Railtie, "is_it_up/railtie" if defined?(Rails::Railtie) | ||
require_relative 'is_it_up/version' | ||
require_relative 'is_it_up/middleware' | ||
require_relative 'is_it_up/railtie' if defined?(::Rails::Railtie) | ||
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,3 +1,5 @@ | ||
module IsItUp | ||
VERSION = "0.0.5" | ||
VERSION = '1.0.0'.freeze | ||
|
||
public_constant :VERSION | ||
end |