Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: unlock dependencies & add tests across multiple Rails versions
- Loading branch information
Showing
14 changed files
with
1,015 additions
and
12 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,11 +1,21 @@ | ||
language: ruby | ||
|
||
sudo: false | ||
|
||
cache: bundler | ||
|
||
rvm: | ||
- 2.2.2 | ||
- 2.2.5 | ||
- 2.4.3 | ||
|
||
gemfile: | ||
- gemfiles/rails_4.1.gemfile | ||
- gemfiles/rails_4.2.gemfile | ||
- gemfiles/rails_5.0.gemfile | ||
- gemfiles/rails_5.1.gemfile | ||
- gemfiles/rails_5.2.gemfile | ||
|
||
before_install: | ||
- gem update --system --no-doc | ||
- gem install bundler | ||
|
||
notifications: | ||
email: false |
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,19 @@ | ||
appraise 'rails_4.1' do | ||
gem 'rails', '~> 4.1' | ||
end | ||
|
||
appraise 'rails_4.2' do | ||
gem 'rails', '~> 4.2' | ||
end | ||
|
||
appraise 'rails_5.0' do | ||
gem 'rails', '~> 5.0' | ||
end | ||
|
||
appraise 'rails_5.1' do | ||
gem 'rails', '~> 5.1' | ||
end | ||
|
||
appraise 'rails_5.2' do | ||
gem 'rails', '~> 5.2' | ||
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,7 @@ | ||
source 'https://rubygems.org' | ||
|
||
# Specify your gem's dependencies in foundation-rails.gemspec | ||
gemspec | ||
|
||
gem 'rails' | ||
gem 'sass' | ||
gem 'railties' | ||
gem 'sprockets-es6' |
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 |
---|---|---|
|
@@ -18,17 +18,13 @@ Gem::Specification.new do |spec| | |
spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) | ||
spec.require_paths = ["lib"] | ||
|
||
spec.add_dependency "sass", [">= 3.3.0", "< 3.5"] | ||
spec.add_dependency "railties", [">= 3.1.0"] | ||
spec.add_dependency "sprockets-es6", [">= 0.9.0"] | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
khiet
|
||
|
||
spec.add_development_dependency "bundler", "~> 1.3" | ||
spec.add_development_dependency "capybara" | ||
spec.add_development_dependency "rake" | ||
spec.add_development_dependency "rails" | ||
spec.add_development_dependency "rspec", "~> 3.2" | ||
spec.add_development_dependency "appraisal" | ||
|
||
# Required by dummy app | ||
spec.add_development_dependency "bootsnap", "~> 1.3" | ||
spec.add_development_dependency "listen", "~> 3.0" | ||
spec.add_development_dependency "bootsnap" | ||
spec.add_development_dependency "listen" | ||
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "rails", "~> 4.1" | ||
gem "sass" | ||
gem "railties" | ||
gem "sprockets-es6" | ||
|
||
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,176 @@ | ||
PATH | ||
remote: .. | ||
specs: | ||
foundation-rails (6.4.3.0) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
actionmailer (4.2.10) | ||
actionpack (= 4.2.10) | ||
actionview (= 4.2.10) | ||
activejob (= 4.2.10) | ||
mail (~> 2.5, >= 2.5.4) | ||
rails-dom-testing (~> 1.0, >= 1.0.5) | ||
actionpack (4.2.10) | ||
actionview (= 4.2.10) | ||
activesupport (= 4.2.10) | ||
rack (~> 1.6) | ||
rack-test (~> 0.6.2) | ||
rails-dom-testing (~> 1.0, >= 1.0.5) | ||
rails-html-sanitizer (~> 1.0, >= 1.0.2) | ||
actionview (4.2.10) | ||
activesupport (= 4.2.10) | ||
builder (~> 3.1) | ||
erubis (~> 2.7.0) | ||
rails-dom-testing (~> 1.0, >= 1.0.5) | ||
rails-html-sanitizer (~> 1.0, >= 1.0.3) | ||
activejob (4.2.10) | ||
activesupport (= 4.2.10) | ||
globalid (>= 0.3.0) | ||
activemodel (4.2.10) | ||
activesupport (= 4.2.10) | ||
builder (~> 3.1) | ||
activerecord (4.2.10) | ||
activemodel (= 4.2.10) | ||
activesupport (= 4.2.10) | ||
arel (~> 6.0) | ||
activesupport (4.2.10) | ||
i18n (~> 0.7) | ||
minitest (~> 5.1) | ||
thread_safe (~> 0.3, >= 0.3.4) | ||
tzinfo (~> 1.1) | ||
addressable (2.5.2) | ||
public_suffix (>= 2.0.2, < 4.0) | ||
appraisal (2.2.0) | ||
bundler | ||
rake | ||
thor (>= 0.14.0) | ||
arel (6.0.4) | ||
babel-source (5.8.35) | ||
babel-transpiler (0.7.0) | ||
babel-source (>= 4.0, < 6) | ||
execjs (~> 2.0) | ||
bootsnap (1.3.0) | ||
msgpack (~> 1.0) | ||
builder (3.2.3) | ||
capybara (3.1.0) | ||
addressable | ||
mini_mime (>= 0.1.3) | ||
nokogiri (~> 1.8) | ||
rack (>= 1.6.0) | ||
rack-test (>= 0.6.3) | ||
xpath (~> 3.0) | ||
concurrent-ruby (1.0.5) | ||
crass (1.0.4) | ||
diff-lcs (1.3) | ||
erubis (2.7.0) | ||
execjs (2.7.0) | ||
ffi (1.9.23) | ||
globalid (0.4.1) | ||
activesupport (>= 4.2.0) | ||
i18n (0.9.5) | ||
concurrent-ruby (~> 1.0) | ||
listen (3.1.5) | ||
rb-fsevent (~> 0.9, >= 0.9.4) | ||
rb-inotify (~> 0.9, >= 0.9.7) | ||
ruby_dep (~> 1.2) | ||
loofah (2.2.2) | ||
crass (~> 1.0.2) | ||
nokogiri (>= 1.5.9) | ||
mail (2.7.0) | ||
mini_mime (>= 0.1.1) | ||
mini_mime (1.0.0) | ||
mini_portile2 (2.3.0) | ||
minitest (5.11.3) | ||
msgpack (1.2.4) | ||
nokogiri (1.8.2) | ||
mini_portile2 (~> 2.3.0) | ||
public_suffix (3.0.2) | ||
rack (1.6.10) | ||
rack-test (0.6.3) | ||
rack (>= 1.0) | ||
rails (4.2.10) | ||
actionmailer (= 4.2.10) | ||
actionpack (= 4.2.10) | ||
actionview (= 4.2.10) | ||
activejob (= 4.2.10) | ||
activemodel (= 4.2.10) | ||
activerecord (= 4.2.10) | ||
activesupport (= 4.2.10) | ||
bundler (>= 1.3.0, < 2.0) | ||
railties (= 4.2.10) | ||
sprockets-rails | ||
rails-deprecated_sanitizer (1.0.3) | ||
activesupport (>= 4.2.0.alpha) | ||
rails-dom-testing (1.0.9) | ||
activesupport (>= 4.2.0, < 5.0) | ||
nokogiri (~> 1.6) | ||
rails-deprecated_sanitizer (>= 1.0.1) | ||
rails-html-sanitizer (1.0.4) | ||
loofah (~> 2.2, >= 2.2.2) | ||
railties (4.2.10) | ||
actionpack (= 4.2.10) | ||
activesupport (= 4.2.10) | ||
rake (>= 0.8.7) | ||
thor (>= 0.18.1, < 2.0) | ||
rake (12.3.1) | ||
rb-fsevent (0.10.3) | ||
rb-inotify (0.9.10) | ||
ffi (>= 0.5.0, < 2) | ||
rspec (3.7.0) | ||
rspec-core (~> 3.7.0) | ||
rspec-expectations (~> 3.7.0) | ||
rspec-mocks (~> 3.7.0) | ||
rspec-core (3.7.1) | ||
rspec-support (~> 3.7.0) | ||
rspec-expectations (3.7.0) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.7.0) | ||
rspec-mocks (3.7.0) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.7.0) | ||
rspec-support (3.7.1) | ||
ruby_dep (1.5.0) | ||
sass (3.5.6) | ||
sass-listen (~> 4.0.0) | ||
sass-listen (4.0.0) | ||
rb-fsevent (~> 0.9, >= 0.9.4) | ||
rb-inotify (~> 0.9, >= 0.9.7) | ||
sprockets (3.7.1) | ||
concurrent-ruby (~> 1.0) | ||
rack (> 1, < 3) | ||
sprockets-es6 (0.9.2) | ||
babel-source (>= 5.8.11) | ||
babel-transpiler | ||
sprockets (>= 3.0.0) | ||
sprockets-rails (3.2.1) | ||
actionpack (>= 4.0) | ||
activesupport (>= 4.0) | ||
sprockets (>= 3.0.0) | ||
thor (0.20.0) | ||
thread_safe (0.3.6) | ||
tzinfo (1.2.5) | ||
thread_safe (~> 0.1) | ||
xpath (3.0.0) | ||
nokogiri (~> 1.8) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
appraisal | ||
bootsnap | ||
bundler (~> 1.3) | ||
capybara | ||
foundation-rails! | ||
listen | ||
rails (~> 4.1) | ||
railties | ||
rake | ||
rspec (~> 3.2) | ||
sass | ||
sprockets-es6 | ||
|
||
BUNDLED WITH | ||
1.16.1 |
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,10 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "rails", "~> 4.2" | ||
gem "sass" | ||
gem "railties" | ||
gem "sprockets-es6" | ||
|
||
gemspec path: "../" |
Oops, something went wrong.
@ncoden In a fresh installation I need to add
sprockets-es6
in myGemfile
now. Otherwisebundle install
complains about the missing missing file: