travis 1.9.1.travis.1207.9 → 1.9.1.travis.1208.9

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: fbea636280cbb2b81e1bdbaa6caa7cb13e4d571759e47733e57cde96805b8640
4
- data.tar.gz: cdd0cc61a9675a9a9b173cff1f76ec83f418b0d200b960cff27590d8177104cc
3
+ metadata.gz: 03a386fa841e645d7a0ed07bcddbe52afdd253d749f5ccacb5de1aabaf857e6d
4
+ data.tar.gz: 7ab75cf994bae93a314c26c3e88abbd41df5ad046d13dea53d01f2be1d988519
5
5
  SHA512:
6
- metadata.gz: 60665bb2a3359a36c248638f5293570d5197107cfd4195b16ec58cfd9218b246549cd2904ddd8bdc5ed903390d9775498b9a62355758378625146d1e2a9a53f3
7
- data.tar.gz: ae807c042e929b7bd12c50ade793289f2c473756c0f1ebd9c1fa7da66137c0e737c7586c786a3fbf98b9f85830f2976daabef510f40e4f0f57a98cead75e9b4c
6
+ metadata.gz: 121f2c400dde121ec0ce22148e1057588c7e44055b504a0e8a26145ca3219fdee5f064ddcf12dcb1edded673b2fee835c58db48e66f6d09b9da51864e81b9612
7
+ data.tar.gz: 12a03fdff86b5883c0e43c8219aa0f8ebaf5d5e82415b33c338812e2a57500aaf35813e3ee0a3252e0213693d181bf697c05a9854a0e2b5dc39491d3f4da6152
data/README.md CHANGED
@@ -2128,6 +2128,8 @@ If you have the old `travis-cli` gem installed, you should `gem uninstall travis
2128
2128
 
2129
2129
  * Fix `--no-interactive` flag in `encrypt` and `encryt-file` commands https://github.com/travis-ci/travis.rb/pull/738
2130
2130
  * Display commit SHA in `show` https://github.com/travis-ci/travis.rb/pull/739
2131
+ * Display more helpful message when GitHub token given by `--github-token` is
2132
+ deficient https://github.com/travis-ci/travis.rb/issues/708
2131
2133
 
2132
2134
  ### 1.9.0 (April 27, 2020)
2133
2135
 
@@ -34,6 +34,10 @@ module Travis
34
34
  error("#{user.login} has not granted Travis CI the required permissions, please log in via #{session.config['host']}") unless user.correct_scopes?
35
35
  success("Successfully logged in as #{user.login}!")
36
36
  end
37
+
38
+ unless session.access_token
39
+ raise Travis::Client::GitHubLoginFailed, "all GitHub tokens given were invalid"
40
+ end
37
41
  end
38
42
 
39
43
  def run
@@ -17,6 +17,9 @@ module Travis
17
17
  class InvalidTokenError < Error
18
18
  end
19
19
 
20
+ class GitHubLoginFailed < Error
21
+ end
22
+
20
23
  class RepositoryMigrated < Error
21
24
  end
22
25
 
@@ -33,7 +33,6 @@ Gem::Specification.new do |s|
33
33
  "Andreas Tiefenthaler",
34
34
  "Beau Bouchard",
35
35
  "Corinna Wiesner",
36
- "Dan Buch",
37
36
  "David Rodr\xC3\xADguez",
38
37
  "Eugene",
39
38
  "Eugene Shubin",
@@ -47,6 +46,7 @@ Gem::Specification.new do |s|
47
46
  "Alfie John",
48
47
  "Basarat Ali Syed",
49
48
  "Christian H\xC3\xB6ltje",
49
+ "Dan Buch",
50
50
  "Dani Hodovic",
51
51
  "Dominic Jodoin",
52
52
  "Eric Herot",
@@ -106,7 +106,6 @@ Gem::Specification.new do |s|
106
106
  "at@an-ti.eu",
107
107
  "127320+BeauBouchard@users.noreply.github.com",
108
108
  "wiesner@avarteq.de",
109
- "dan@meatballhat.com",
110
109
  "deivid.rodriguez@gmail.com",
111
110
  "eugene@travis-ci.org",
112
111
  "51701929+eugene-travis@users.noreply.github.com",
@@ -119,6 +118,7 @@ Gem::Specification.new do |s|
119
118
  "33c6c91f3bb4a391082e8a29642cafaf@alfie.wtf",
120
119
  "basaratali@gmail.com",
121
120
  "docwhat@gerf.org",
121
+ "dan@meatballhat.com",
122
122
  "danihodovic@users.noreply.github.com",
123
123
  "dominic@travis-ci.com",
124
124
  "eric.github@herot.com",
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.9.1.travis.1207.9
4
+ version: 1.9.1.travis.1208.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiro Asari
@@ -25,7 +25,6 @@ authors:
25
25
  - Andreas Tiefenthaler
26
26
  - Beau Bouchard
27
27
  - Corinna Wiesner
28
- - Dan Buch
29
28
  - David Rodríguez
30
29
  - Eugene
31
30
  - Eugene Shubin
@@ -39,6 +38,7 @@ authors:
39
38
  - Alfie John
40
39
  - Basarat Ali Syed
41
40
  - Christian Höltje
41
+ - Dan Buch
42
42
  - Dani Hodovic
43
43
  - Dominic Jodoin
44
44
  - Eric Herot
@@ -275,7 +275,6 @@ email:
275
275
  - at@an-ti.eu
276
276
  - 127320+BeauBouchard@users.noreply.github.com
277
277
  - wiesner@avarteq.de
278
- - dan@meatballhat.com
279
278
  - deivid.rodriguez@gmail.com
280
279
  - eugene@travis-ci.org
281
280
  - 51701929+eugene-travis@users.noreply.github.com
@@ -288,6 +287,7 @@ email:
288
287
  - 33c6c91f3bb4a391082e8a29642cafaf@alfie.wtf
289
288
  - basaratali@gmail.com
290
289
  - docwhat@gerf.org
290
+ - dan@meatballhat.com
291
291
  - danihodovic@users.noreply.github.com
292
292
  - dominic@travis-ci.com
293
293
  - eric.github@herot.com