diff --git a/Gemfile b/Gemfile index 645dc7a1..3af8a6b4 100644 --- a/Gemfile +++ b/Gemfile @@ -3,7 +3,7 @@ source 'https://rubygems.org' gemspec -gem 'gh', git: 'https://github.com/travis-ci/gh' +gem 'travis-gh' gem 'rake' gem 'activesupport', '~> 7.0.6' diff --git a/README.md b/README.md index d664dfbe..90206076 100644 --- a/README.md +++ b/README.md @@ -2007,7 +2007,7 @@ If you do not have write access to the system gem directory, you'll need to perf Now make sure everything is working: $ travis version - 1.10.0 + 1.13.1 See also [Note on Ubuntu](#ubuntu) below. diff --git a/lib/travis/tools/completion.rb b/lib/travis/tools/completion.rb index e20d88b0..d6d06f6a 100644 --- a/lib/travis/tools/completion.rb +++ b/lib/travis/tools/completion.rb @@ -34,8 +34,8 @@ def install_completion end def update_completion - mkdir_p(config_path) - cp(Assets['travis.sh'], cmp_file) + FileUtils.mkdir_p(config_path) + FileUtils.cp(Assets['travis.sh'], cmp_file) end def completion_installed? diff --git a/lib/travis/version.rb b/lib/travis/version.rb index 2cfca748..a749588f 100644 --- a/lib/travis/version.rb +++ b/lib/travis/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Travis - VERSION = '1.13.0' + VERSION = '1.13.1' end diff --git a/travis.gemspec b/travis.gemspec index 7271a225..d00438ff 100644 --- a/travis.gemspec +++ b/travis.gemspec @@ -1,10 +1,10 @@ # frozen_string_literal: true - +require_relative 'lib/travis/version' # Run `rake travis.gemspec` to update the gemspec. Gem::Specification.new do |s| # general info s.name = 'travis' - s.version = '1.13.0' + s.version = Travis::VERSION s.required_ruby_version = '>= 3.2.0' s.description = 'CLI and Ruby client library for Travis CI' s.homepage = 'https://github.com/travis-ci/travis.rb'