diff --git a/.circleci/config.yml b/.circleci/config.yml index 9a68d1c..76b29b8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,19 +1,5 @@ version: 2.0 jobs: - "ruby-2.2": - docker: - - image: circleci/ruby:2.2 - steps: - - checkout - - run: bundle install - - run: bundle exec rake test TESTOPTS="--ci-dir=$CIRCLE_TEST_REPORTS/reports" - "ruby-2.3": - docker: - - image: circleci/ruby:2.3 - steps: - - checkout - - run: bundle install - - run: bundle exec rake test TESTOPTS="--ci-dir=$CIRCLE_TEST_REPORTS/reports" "ruby-2.4": docker: - image: circleci/ruby:2.4 @@ -28,11 +14,25 @@ jobs: - checkout - run: bundle install - run: bundle exec rake test TESTOPTS="--ci-dir=$CIRCLE_TEST_REPORTS/reports" + "ruby-2.6": + docker: + - image: circleci/ruby:2.6 + steps: + - checkout + - run: bundle install + - run: bundle exec rake test TESTOPTS="--ci-dir=$CIRCLE_TEST_REPORTS/reports" + "ruby-2.7": + docker: + - image: circleci/ruby:2.7 + steps: + - checkout + - run: bundle install + - run: bundle exec rake test TESTOPTS="--ci-dir=$CIRCLE_TEST_REPORTS/reports" workflows: version: 2 build: jobs: - - "ruby-2.2" - - "ruby-2.3" - "ruby-2.4" - "ruby-2.5" + - "ruby-2.6" + - "ruby-2.7" diff --git a/twine.gemspec b/twine.gemspec index cbec1ac..b32ca05 100644 --- a/twine.gemspec +++ b/twine.gemspec @@ -18,8 +18,8 @@ Gem::Specification.new do |s| s.files += Dir.glob("test/**/*") s.test_files = Dir.glob("test/test_*") - s.required_ruby_version = ">= 2.0" - s.add_runtime_dependency('rubyzip', "~> 1.1") + s.required_ruby_version = ">= 2.4" + s.add_runtime_dependency('rubyzip', "~> 2.0") s.add_runtime_dependency('safe_yaml', "~> 1.0") s.add_development_dependency('rake', "~> 13.0") s.add_development_dependency('minitest', "~> 5.5")