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.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/travis/cli/login.rb +1 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YWJkNGZlNWZjMDY3YjczMTI0MTQzZDE1MTQwNDljNGYxNzcyMzQyZQ==
4
+ OTE2ZTI2YmRjODI3MzlkYjNkMDVlZmYyNTc3NTQ4YzNkZWJkOTQ3OA==
5
5
  data.tar.gz: !binary |-
6
- YTFhMTlkOGJjZDk4ODg1ZGNkM2JjMTIzYmRkYzgyNDYzOGY3YjdjMw==
6
+ MjQ3ZDRlMzdkZmU1ODk2YjE0NDFkYzkyNGI2M2YyYjJkYWI0YTNjNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MGQzNmI2YmE4MTkwMjExYWU1ZGNiYjA4MmQ5MTU0OWQ0ZTU5Yjc4M2Y2M2Zi
10
- MjA2YWNlOWNiYjVmNDkwNzE3ZDBlMTg2ZDE4YmU0NzFjZTExYjY3NGExYjFm
11
- MTAwOTY2YTI0YWI5Njc5ZTBmM2E3ZjhmNmI3Y2M1NWFkNmM5ZTc=
9
+ OGM0YmFjNTYzNzJlNDkxM2IyN2FkMmU1YzU1YjBmNWZjMDM3NzNkYjdhNjg1
10
+ YmVmYjg0MDM1YWIwMDkxZmI3YzM1NjMzODgyZDBiMGJkMDM0ZmM0NWQwZDI4
11
+ NDJmZWI0OTUxOWI5MGQxMDFkOTExOWQ3Zjk1NjczYmRhMmU5MjQ=
12
12
  data.tar.gz: !binary |-
13
- ZjYzZWM4MGU0MDU4YTM0MzBjOTM1ZjhmYTExY2FhZjkwNGEyMWZkODZmOTJm
14
- NTkwOWQ3N2M2ZjQzMjlmZDczMTdhOGFiNmNmOThmMzYxZTRhMTQ4MzVlNjll
15
- NWQwNTJkNjJkNWNmMmI0MjJjMjdiZTVhYmVhYzM1NjA2MDc5MWU=
13
+ M2I3MzFhNTc0NzFhNzJjODYyMjYwZWRkMjcyYzg4YTdmNDEwNTVjZDkwZTFl
14
+ NjEwZTZmMGVhMzUzYTUwODcyZGVlNTc0MjQzY2MzMzg4ZjNkOWJiODUyZGMz
15
+ ZmU1MWNkMTgyZDdiZTM5ZmQ4ZjgyZDA3ZTQ2MmQxNWIwOGFlMzE=
@@ -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.647.5
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-04 00:00:00.000000000 Z
44
+ date: 2014-10-13 00:00:00.000000000 Z
45
45
  dependencies:
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: faraday