travis 1.7.3.travis.647.5 → 1.7.3.travis.649.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/travis/cli/login.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTE2ZTI2YmRjODI3MzlkYjNkMDVlZmYyNTc3NTQ4YzNkZWJkOTQ3OA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjQ3ZDRlMzdkZmU1ODk2YjE0NDFkYzkyNGI2M2YyYjJkYWI0YTNjNQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OGM0YmFjNTYzNzJlNDkxM2IyN2FkMmU1YzU1YjBmNWZjMDM3NzNkYjdhNjg1
|
10
|
+
YmVmYjg0MDM1YWIwMDkxZmI3YzM1NjMzODgyZDBiMGJkMDM0ZmM0NWQwZDI4
|
11
|
+
NDJmZWI0OTUxOWI5MGQxMDFkOTExOWQ3Zjk1NjczYmRhMmU5MjQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
M2I3MzFhNTc0NzFhNzJjODYyMjYwZWRkMjcyYzg4YTdmNDEwNTVjZDkwZTFl
|
14
|
+
NjEwZTZmMGVhMzUzYTUwODcyZGVlNTc0MjQzY2MzMzg4ZjNkOWJiODUyZGMz
|
15
|
+
ZmU1MWNkMTgyZDdiZTM5ZmQ4ZjgyZDA3ZTQ2MmQxNWIwOGFlMzE=
|
data/lib/travis/cli/login.rb
CHANGED
@@ -31,6 +31,7 @@ module Travis
|
|
31
31
|
github.with_token do |token|
|
32
32
|
endpoint_config['access_token'] = github_auth(token)
|
33
33
|
error("user mismatch: logged in as %p instead of %p" % [user.login, user_login]) if user_login and user.login != user_login
|
34
|
+
error("#{user.login} has not granted Travis CI the required permissions, please log in via #{session.config['host']}") unless user.correct_scopes?
|
34
35
|
success("Successfully logged in as #{user.login}!")
|
35
36
|
end
|
36
37
|
end
|
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.7.3.travis.
|
4
|
+
version: 1.7.3.travis.649.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Haase
|
@@ -41,7 +41,7 @@ authors:
|
|
41
41
|
autorequire:
|
42
42
|
bindir: bin
|
43
43
|
cert_chain: []
|
44
|
-
date: 2014-10-
|
44
|
+
date: 2014-10-13 00:00:00.000000000 Z
|
45
45
|
dependencies:
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: faraday
|