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
1 parent
532128a
commit f341d24
Showing
20 changed files
with
100 additions
and
380 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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,7 +1,33 @@ | |||
sudo: false | |||
language: ruby | language: ruby | ||
sudo: false | |||
|
|||
before_install: | |||
- gem update --system | |||
|
|||
rvm: | rvm: | ||
- 2.2 | |||
- 2.3 | |||
- 2.4 | - 2.4 | ||
- 2.5 | |||
- ruby-head | |||
|
|||
gemfile: | |||
- Gemfile-rails.4.2.x | |||
- Gemfile-rails.5.0.x | |||
- Gemfile-rails.5.1.x | |||
- Gemfile-rails.5.2.x | |||
|
|||
cache: | |||
bundler: true | |||
yarn: true | |||
|
|||
install: | |||
- bundle install | |||
- nvm install node | |||
- node -v | |||
- npm i -g yarn | |||
- yarn | |||
|
|||
script: | script: | ||
- bundle exec rubocop | - bundle exec rubocop | ||
- bundle exec rake test | - bundle exec rake test |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,18 +0,0 @@ | |||
After do | |||
set_environment_variable "BUNDLE_GEMFILE", "" | |||
end | |||
|
|||
Given("I remove {string} gem") do |gem_name| | |||
file_name = "Gemfile-rails" | |||
file_name = expand_path(file_name) | |||
|
|||
tmp = Tempfile.new | |||
|
|||
File.foreach(file_name) do |line| | |||
tmp.puts(line) unless /#{gem_name}/ =~ line | |||
end | |||
|
|||
tmp.close | |||
FileUtils.mv(tmp.path, file_name) | |||
tmp.unlink | |||
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,4 +0,0 @@ | |||
Before do | |||
delete_environment_variable 'RUBYOPT' | |||
delete_environment_variable 'BUNDLE_GEMFILE' | |||
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,5 +1,5 @@ | |||
require 'aruba/cucumber' | require 'aruba/cucumber' | ||
|
|
||
Aruba.configure do |config| | Aruba.configure do |config| | ||
config.io_wait_timeout = 5 | config.io_wait_timeout = 15 | ||
end | end |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.