travis 1.10.0.pre.rc1 → 1.10.0.pre.rc2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52acb807fd54ad77efdb9f61b343c3d597effe6eff5c880daf9442f99d4d46d9
4
- data.tar.gz: 1c0945ff27d47d7fe680d3411a3ccf0e2c7d829f66a40691f5fd4aa682eb0ce7
3
+ metadata.gz: c89e5a312e0d9ab1acea4d17afec2518e0e57773f229b6d7f70b9f6ace628203
4
+ data.tar.gz: 1fa91dae4b7d88f62528289203ac3ca957df45b683f6ade94c6bfd3fd2a3fe25
5
5
  SHA512:
6
- metadata.gz: 8b44fc9c464cb7ba06757527bf0000daf90399e118ca8cf89dbc073d1df48200a6bdce3c72a42620e270978be5da2b7e5c6a3c86dea10be3c2d4d54b811bd8f1
7
- data.tar.gz: 8c4eff418c5407b8a59238b1f509b8fb47eae9e79f9a0005c9669fdd49efc40e9f9a79cbb9873e53a76d344a2608f3224ddb238892f8a2ba2add5695f36b4eb7
6
+ metadata.gz: b016ed58fdad7292c200dcc9b2a221179dae398e6e4d499473b501c800856d1d527243ed68d23853ec335ade12012e96b332c4b4e98348a9c1743a6d5e0c7ddf
7
+ data.tar.gz: 1b5a0e575db8551c19aba759e22862551207f1e2242dcc3cd0ec90a3f67bc76bbb941e1198bede9a926a2c9fe1bd021e03ca7e3ce0d36cd440722d68d54a0ae0
@@ -62,7 +62,7 @@ module Travis
62
62
  g.auto_password = auto_password
63
63
  g.github_login = user_login
64
64
  g.check_token = !skip_token_check?
65
- g.drop_token = true
65
+ g.drop_token = !list_github_token
66
66
  g.ask_login = proc { ask("Username: ") }
67
67
  g.ask_password = proc { |user| ask("Password for #{user}: ") { |q| q.echo = "*" } }
68
68
  g.ask_otp = proc { |user| ask("Two-factor authentication code for #{user}: ") }
@@ -76,7 +76,7 @@ module Travis
76
76
  def has?(command)
77
77
  return false unless unix?
78
78
  @has ||= {}
79
- @has.fetch(command) { @has[command] = system "which #{command} 2>/dev/null >/dev/null" }
79
+ @has.fetch(command) { @has[command] = system "command -v #{command} 2>/dev/null >/dev/null" }
80
80
  end
81
81
 
82
82
  def running?(app)
@@ -1,3 +1,3 @@
1
1
  module Travis
2
- VERSION = '1.10.0.pre.rc1'
2
+ VERSION = '1.10.0.pre.rc2'
3
3
  end
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  # general info
4
4
  s.name = "travis"
5
- s.version = "1.10.0.pre.rc1"
5
+ s.version = "1.10.0.pre.rc2"
6
6
  s.required_ruby_version = ">= 2.3.0"
7
7
  s.description = "CLI and Ruby client library for Travis CI"
8
8
  s.homepage = "https://github.com/travis-ci/travis.rb"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: travis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0.pre.rc1
4
+ version: 1.10.0.pre.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
@@ -105,7 +105,7 @@ authors:
105
105
  autorequire:
106
106
  bindir: bin
107
107
  cert_chain: []
108
- date: 2020-08-07 00:00:00.000000000 Z
108
+ date: 2020-09-21 00:00:00.000000000 Z
109
109
  dependencies:
110
110
  - !ruby/object:Gem::Dependency
111
111
  name: faraday