travis 1.7.2.travis.633.5 → 1.7.2.travis.634.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTcxMjU2NzQ4OTEwMjgyMDMxOWJjMmQ4ZjQwM2YzYzc5OTFlY2FlOQ==
4
+ MzRjOGY2ZTlkYTg0ZGQ0YjA4Mjc2NzU0NWRjMmJiODE1Mjk4NDdhYw==
5
5
  data.tar.gz: !binary |-
6
- NzQwOTMzNWM0Mjg3NThmYjQ4YTc2ZmJlODQ3MWIxMTRhZGQ5NDI3Zg==
6
+ MDNlOGExZThkN2VjYTA1OTM3ZjNjYzMwNDY2ZDhjOGNmMGI2OGJmYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MTNjYjI2Yzk4NjBhYjk5YmU0NzAwZjRhMjZkMjYzMjYxN2Q3ODg0ZjQ4MTYw
10
- MzY3ODBkYTM4ZThjMTg3MTQ0NWFjOTRiYTdmZGJhY2ZiZTVhNDM1YzYwMWI4
11
- NWE3MDZjYmZlYjgzOGI3ZTJmYWIwOWJkZTZlY2FhZGFiNDEzNmE=
9
+ ZmEyMzgyZmQ3YjRiOTVkNTVmNzcxYzkzOGIzYTYyYjBkYTQyNjI1ZDdiNzVi
10
+ YmUwMDdjYWJmMjE4YjEzNjJjODFhN2M3ZDEyMjA2NGI4MjQ3ZWU0NjBlMGQx
11
+ NDMyZjEzZDEwOTE0MTcyZTdhMmY3ZWViYjg3ODk4YjM2ODg2MWQ=
12
12
  data.tar.gz: !binary |-
13
- ZjUwOGRlMTUzYWYwNDJmOWMyODNkODhmNTk1ZWQ2MDQzZGVhZTBhMjgzOGJh
14
- YjBlYjM1OTZlYzE5NmYyZWU4OTY0NjcyOWM3OTYxYTIwYmQwN2IxMWVmNmMy
15
- MGFhNDZmOWEwZTBiNDIzYTJhNzhmNmI1YmE4NzM1YzYxMGM5OGM=
13
+ ZjBhMGYyNzc2MmVkOTdlMDgzNmRkZWE5ZjBjN2RmYjAyNmNhZWIzZGM1NDMx
14
+ YmNlMGU5NDk0Yzk3MzkyOWIwYjUwYjA0YTJiNmRmMjVmMWVmMzYyOGU2ZTdi
15
+ ZGUxZTU4YmQzNDFlM2RkZDM1Y2E5NTkzZjQ4YTVhMmRmNGNlZjg=
@@ -10,6 +10,7 @@ module Travis
10
10
  on('-f', '--fingerprint', 'display fingerprint') { |c,_| c.key_format = :fingerprint }
11
11
 
12
12
  def run
13
+ error "#{key_format} format not supported by #{api_endpoint}" unless key
13
14
  say key, "Public key for #{color(repository.slug, :info)}:\n\n%s", :bold
14
15
  end
15
16
 
@@ -53,7 +53,7 @@ module Travis
53
53
  def public_key
54
54
  attributes["public_key"] ||= begin
55
55
  payload = session.get_raw("/repos/#{id}/key")
56
- Key.new(payload.fetch('key'), payload.fetch('fingerprint'))
56
+ Key.new(payload.fetch('key'), payload['fingerprint'])
57
57
  end
58
58
  end
59
59
 
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.2.travis.633.5
4
+ version: 1.7.2.travis.634.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
@@ -40,7 +40,7 @@ authors:
40
40
  autorequire:
41
41
  bindir: bin
42
42
  cert_chain: []
43
- date: 2014-09-12 00:00:00.000000000 Z
43
+ date: 2014-09-17 00:00:00.000000000 Z
44
44
  dependencies:
45
45
  - !ruby/object:Gem::Dependency
46
46
  name: faraday