travis 1.6.8.travis.455.6 → 1.6.8.travis.456.6

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
- N2FiZTM0NGVjNWJiNDk0MWIyOWE4ODI5NTY1OTdlOWRmYTgyZThkMA==
4
+ NDhjMjc4YmU4ODBiODM1NTQ5MGY1YWRmOGU5MDQwYzg2NDg3ZTNhMw==
5
5
  data.tar.gz: !binary |-
6
- YTA4MTc4Y2E1YmUzODM2OGI1YjYxMmNkN2RkZjRhMThjY2ZjYmI2Ng==
6
+ YTA5ODExZTEzZmY2ZmU3YmJhMDlhYjlmY2QwOTBjMDY4YzBlYjM3ZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MTE5ZmRjNWM4OTExNDRmODg1YTg2NDQ2NWU1NDJiZTI1NjljMmU4YjkwNDY5
10
- MDIxNTFlM2ZiNjQ0OWIxYTU3MGFkYzc1ZWEyN2E1M2IyM2UzZDUxYmRkMzVm
11
- MmZjMjVmNTY0NGI4YzU5ZjM4NTBkNjE3MjdlM2RmYmY3MTRhYTg=
9
+ NGNjOWNhNzM4YjYzZGZiN2I5NWQ1MzViY2E3ZGE2OWIwZjg2MzA1NTk4YTU5
10
+ YWQzN2IwNTBkMGM4YWM0NjgzYjRjZTIyMDdhODY2NTY2NzFmYjRjZDM3NmE5
11
+ MGM0NzZhODMyMjU1ZGNhY2JjY2E1YzJiNzNlYzZlNjI3NjZkNzE=
12
12
  data.tar.gz: !binary |-
13
- NGIxYTYwMzUwM2JiYzZmYTIxMTYwMTdlNDhkZjY4OTQ0NzI1ZjE3MjlkY2M5
14
- YzkxZDg3ZjIxYjI2MzE0OWYwNTY1NGIyZDRmYTg3M2FkMTk5NzMzMWYxMWEz
15
- MTcyM2E1YTUzNWM5MzZiNjkwNTI5OGVkYmMzYTFkNzU1ZmQzMzA=
13
+ YjBlNzNmNDU0OTdjYzI1ZTY4NmY4YjEwMjdiZTZhNWRiZGU1NzZkODJlNzdj
14
+ ODA4Mzg1NGJiYjE3NzU4NGJlNTNkNDI3MWQwMGJiM2IyZDQ4OGZkOWMzNTIw
15
+ ZjFmZDg2NDE3NDM5ZWRhMTA5ZTY0Y2QyMDlkYzFkNzRkMWVhNmQ=
data/README.md CHANGED
@@ -35,6 +35,7 @@ The [travis gem](https://rubygems.org/gems/travis) includes both a [command line
35
35
  * [`logs`](#logs) - streams test logs
36
36
  * [`open`](#open) - opens a build or job in the browser
37
37
  * [`pubkey`](#pubkey) - prints out a repository's public key
38
+ * [`requests`](#requests) - list build requests
38
39
  * [`restart`](#restart) - restarts a build or job
39
40
  * [`settings`](#settings) - access repository settings
40
41
  * [`setup`](#setup) - sets up an addon or deploy target
@@ -812,6 +813,19 @@ The `--pem` flag will print out the key PEM encoded:
812
813
  ...
813
814
  -----END PUBLIC KEY-----
814
815
 
816
+ #### `requests`
817
+
818
+ With the `requests` command, you can list the build requests received by Travis CI from GitHub. This is handy for figuring out why a repository might not be building.
819
+
820
+ $ travis requests -r sinatra/sinatra
821
+ push to master accepted (triggered new build)
822
+ abc51e2 - Merge pull request #847 from gogotanaka/add_readme_ja
823
+ received at: 2014-02-16 09:26:36
824
+
825
+ PR #843 rejected (skipped through commit message)
826
+ 752201c - Update Spanish README with tense, verb, and word corrections. [ci skip]
827
+ received at: 2014-02-16 05:07:16
828
+
815
829
  #### `restart`
816
830
 
817
831
  This command will restart the latest build:
@@ -1557,7 +1571,7 @@ Arch Linux:
1557
1571
 
1558
1572
  #### Ruby versioning tools
1559
1573
 
1560
- Alternatively, you can use a Ruby version management tool such as [rvm](https://rvm.io/rvm/install/), [rbenv](http://rbenv.org/) or [https://github.com/postmodern/chruby](chruby). This is only recommended if you need to run multiple versions of Ruby.
1574
+ Alternatively, you can use a Ruby version management tool such as [rvm](https://rvm.io/rvm/install/), [rbenv](http://rbenv.org/) or [chruby](https://github.com/postmodern/chruby). This is only recommended if you need to run multiple versions of Ruby.
1561
1575
 
1562
1576
  You can of course always compile Ruby from source, though then you are left with the hassle of keeping it up to date and making sure that everything is set up properly.
1563
1577
 
@@ -1570,7 +1584,10 @@ If you have the old `travis-cli` gem installed, you should `gem uninstall travis
1570
1584
  **1.6.8** (not yet released)
1571
1585
 
1572
1586
  * Display annotations in `travis show`.
1587
+ * Add `travis requests` to see build requests Travis CI has received.
1573
1588
  * Improve annotation support in the Ruby library.
1589
+ * Add `Repository#requests` to Ruby library.
1590
+ * Fix behavior for missing entities.
1574
1591
 
1575
1592
  **1.6.7** (January 30, 2014)
1576
1593
 
data/lib/travis/cli.rb CHANGED
@@ -40,6 +40,7 @@ module Travis
40
40
  autoload :Report, 'travis/cli/report'
41
41
  autoload :Repos, 'travis/cli/repos'
42
42
  autoload :Restart, 'travis/cli/restart'
43
+ autoload :Requests, 'travis/cli/requests'
43
44
  autoload :Settings, 'travis/cli/settings'
44
45
  autoload :Setup, 'travis/cli/setup'
45
46
  autoload :Show, 'travis/cli/show'
data/lib/travis/client.rb CHANGED
@@ -18,6 +18,7 @@ require 'travis/client/namespace'
18
18
  require 'travis/client/account'
19
19
  require 'travis/client/broadcast'
20
20
  require 'travis/client/settings'
21
+ require 'travis/client/request'
21
22
  require 'travis/client/listener'
22
23
 
23
24
  module Travis
@@ -184,6 +184,10 @@ module Travis
184
184
  session.account(owner_name)
185
185
  end
186
186
 
187
+ def requests
188
+ attributes['requests'] ||= session.find_many(Request, :repository_id => id)
189
+ end
190
+
187
191
  def settings
188
192
  attributes['settings'] ||= begin
189
193
  settings = session.get("/repos/#{id}/settings")['settings']
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.6.8.travis.455.6
4
+ version: 1.6.8.travis.456.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
@@ -32,7 +32,7 @@ authors:
32
32
  autorequire:
33
33
  bindir: bin
34
34
  cert_chain: []
35
- date: 2014-02-04 00:00:00.000000000 Z
35
+ date: 2014-03-11 00:00:00.000000000 Z
36
36
  dependencies:
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: faraday