travis 1.7.7.travis.681.5 → 1.7.7.travis.683.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/whatsup.rb +6 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Y2U0ZWM0N2FkZGY4ZGEzOGUxMzM2ZDMyMTIxODgwODQ1MGM1ZGYxZg==
4
+ ZDM1ZWE4M2NmMjFiMzY1ZTk5Mjk5NjQ4ZGIyMWZiODE5NjliZmQ0Yw==
5
5
  data.tar.gz: !binary |-
6
- YjZlMTc5ZjkxMmU1OTkyZmE4MzkxMmNmNDM0ZmI4N2FmNzA3MWEwOQ==
6
+ ZGUyODA0ZWQ5NGEwMDkwODQyODIwMzQxYTIwN2I4NzcyOTliNjEzZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NmEzODhmY2ZiYWJjOGE0ZjBmZGI4NmUyZjRmNDJjNjlkOTk3MDQ4MDRlOWJi
10
- NDkwZTc5ZjQwYTczZjA5ZTgzZTVlYWExNGQ3MWFhNjBhNTAxZmRiMjk5Njhk
11
- YjA2MGM1MTM4NmMxMDg3ZWQzODExMGRjMzZlNzQ1MWY3ZTIwZjM=
9
+ YjZjNjc2MDlkZTQ1YjU2NTdkNDIyYTA0ZjE2NTIwZjA4NTE2MzEzYjQ1ZmMw
10
+ MjgzMjMzMTQxNDg4ZTRhOTY3MDFlNzQ3Y2VhZDJlYTQyMGVlOGY1ZmNjYTQ3
11
+ NDQzMDFlOWI5OWUxNDM1ZDc1ZjY4NDQ0YmVmOTUwMTM3ZDUyZTU=
12
12
  data.tar.gz: !binary |-
13
- MGNmMDQxMTcxNjJkNTAxN2M1NGRlODdkYzE5MWRhMTM2ZGU2ZTI0ZjA1YTUw
14
- MDhmZjYwNGM3MGI1ZmI3ZjAyNzRiNzA3MTEwMzA4MzA4NzA4MmFiNDZiMjU5
15
- OTBmZDIxZDUwYWRjMzRmMGM2NDJkMjM4YmUwYzhmNDgwZTk2NGQ=
13
+ ZDIxZjI4ZGZmZDY1YjAwZmQ1ODFlODkwNDU3NGIzNzE1M2JiMjYxZGVjYzc3
14
+ MTJmOTQ1MmRiMDAwZjI2OTQzZjczODhkYzc2NzUzZjQwNDc3NDhlYzM4Mzlk
15
+ MzQ0NjlkMWQzODA0MTllZTIxNjI4ZjcxZDBlMGYyNzUxOTFjZTY=
@@ -7,6 +7,8 @@ module Travis
7
7
  on('-m', '--my-repos', 'Only display my own repositories')
8
8
 
9
9
  def run
10
+ say "nothing to show" if recent.empty?
11
+
10
12
  recent.each do |repo|
11
13
  say [
12
14
  color(repo.slug, [:bold, repo.color]),
@@ -18,8 +20,10 @@ module Travis
18
20
  private
19
21
 
20
22
  def recent
21
- return repos unless my_repos
22
- repos(:member => user.login)
23
+ @recent ||= begin
24
+ recent = my_repos ? repos : repos(:member => user.login)
25
+ recent.select { |repo| repo.last_build }
26
+ end
23
27
  end
24
28
  end
25
29
  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.7.travis.681.5
4
+ version: 1.7.7.travis.683.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
@@ -48,7 +48,7 @@ authors:
48
48
  autorequire:
49
49
  bindir: bin
50
50
  cert_chain: []
51
- date: 2015-05-13 00:00:00.000000000 Z
51
+ date: 2015-05-26 00:00:00.000000000 Z
52
52
  dependencies:
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: faraday