From 320dbcc224a7930872f44b6a3eed2f423d6ea96c Mon Sep 17 00:00:00 2001 From: Wei-Ping Liao Date: Fri, 24 May 2019 15:18:38 -0700 Subject: [PATCH] wl - Ruby 2.6.3 --- .circleci/config.yml | 8 ++++++++ .ruby-version | 2 +- Appraisals | 2 +- Rakefile | 2 +- gemfiles/ruby_2.6.3.gemfile | 10 ++++++++++ 5 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 gemfiles/ruby_2.6.3.gemfile diff --git a/.circleci/config.yml b/.circleci/config.yml index 191446f..ed149ab 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,8 +14,16 @@ jobs: docker: - image: circleci/ruby:2.5.3 + test-ruby-263: + steps: + - bundle_install_and_test + docker: + - image: circleci/ruby:2.6.3 + workflows: rc: jobs: - test-ruby-253: context: appfolio_test_context + - test-ruby-263: + context: appfolio_test_context diff --git a/.ruby-version b/.ruby-version index aedc15b..ec1cf33 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.5.3 +2.6.3 diff --git a/Appraisals b/Appraisals index 1ac4aef..e0dee7d 100644 --- a/Appraisals +++ b/Appraisals @@ -1,6 +1,6 @@ case(RUBY_VERSION) - when '2.5.3' then + when '2.5.3', '2.6.3' then appraise "ruby-#{RUBY_VERSION}" do end diff --git a/Rakefile b/Rakefile index 99cb26a..7d3f42e 100644 --- a/Rakefile +++ b/Rakefile @@ -9,7 +9,7 @@ Rake::TestTask.new(:test) do |t| end namespace :test do - AfGems::RubyAppraisalTask.new(:all, ['ruby-2.5.3']) + AfGems::RubyAppraisalTask.new(:all, ['ruby-2.5.3', 'ruby-2.6.3']) end task :default => :test diff --git a/gemfiles/ruby_2.6.3.gemfile b/gemfiles/ruby_2.6.3.gemfile new file mode 100644 index 0000000..da110c3 --- /dev/null +++ b/gemfiles/ruby_2.6.3.gemfile @@ -0,0 +1,10 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +source "https://gemini.atl.appfolio.net" do + gem "af_gems", "~> 6.0" + gem "af_testing", "~> 5.5" +end + +gemspec path: "../"