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 +4 -4
- data/lib/travis/cli/login.rb +1 -1
- data/lib/travis/tools/system.rb +1 -1
- data/lib/travis/version.rb +1 -1
- data/travis.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c89e5a312e0d9ab1acea4d17afec2518e0e57773f229b6d7f70b9f6ace628203
|
4
|
+
data.tar.gz: 1fa91dae4b7d88f62528289203ac3ca957df45b683f6ade94c6bfd3fd2a3fe25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b016ed58fdad7292c200dcc9b2a221179dae398e6e4d499473b501c800856d1d527243ed68d23853ec335ade12012e96b332c4b4e98348a9c1743a6d5e0c7ddf
|
7
|
+
data.tar.gz: 1b5a0e575db8551c19aba759e22862551207f1e2242dcc3cd0ec90a3f67bc76bbb941e1198bede9a926a2c9fe1bd021e03ca7e3ce0d36cd440722d68d54a0ae0
|
data/lib/travis/cli/login.rb
CHANGED
@@ -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 =
|
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}: ") }
|
data/lib/travis/tools/system.rb
CHANGED
@@ -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 "
|
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)
|
data/lib/travis/version.rb
CHANGED
data/travis.gemspec
CHANGED
@@ -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.
|
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.
|
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-
|
108
|
+
date: 2020-09-21 00:00:00.000000000 Z
|
109
109
|
dependencies:
|
110
110
|
- !ruby/object:Gem::Dependency
|
111
111
|
name: faraday
|