sue445
2017/04/20 Meguro.rb#2
rvm:
- 2.1
- 2.2.2
- 2.3.1
# ここに2.4を追加したい
https://github.com/sue445/index_shotgun/pull/28/files
https://github.com/amatsuda/database_rewinder/commit/6a1f87c3a0729391bd24c68f38d28622d385479b
「CI against 〜」は使いやすいので定型句として覚えていていい
https://github.com/activeadmin/activeadmin/commit/7a861b723bd65ea174541cf2f23048143575cba8
「Relax ◯◯ dependency for △△△」も使いやすいので定型句として覚えていていい
bundle install
できるのでPR送るif Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.2.2")
# activesupport 5+ requires MRI 2.2.2+
gem "activesupport", "< 5.0.0"
end
"2.1.10" > "2.1.2"
#=> false
Gem::Version.create("2.1.10") > Gem::Version.create("2.1.2")
#=> true
"5.1.0" > "5.1.0.rc1"
#=> false
Gem::Version.create("5.1.0") > Gem::Version.create("5.1.0.rc1")
#=> true
https://github.com/mitaku/komachi_heartbeat/pull/22
gemfiles/rails5_1.gemfile
source "https://rubygems.org"
gem 'rails', "~> 5.1.0.rc1"
gemspec path: '../'
.travis.yml
gemfile:
- gemfiles/rails4_1.gemfile
- gemfiles/rails4_2.gemfile
- gemfiles/rails5_0.gemfile
- gemfiles/rails5_1.gemfile # <- 1行追加
matrix:
allow_failures:
# NOTE: There are unstable versions
- rvm: ruby-head
- gemfile: gemfiles/rails5_1.gemfile # TODO: Remove this after rails5.1 is released!