travis 1.5.6.travis.303.4 → 1.5.6.travis.304.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/README.md +1 -0
- data/lib/travis/cli/show.rb +1 -1
- data/lib/travis/client/build.rb +3 -6
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ZDU1OWQxZjUwYTgyODFkMWMyMDI4OGVhNjkzMWZjMDhhODYzYjVjMQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ODAzMzdhOTY4Yjk5NDU3YjNiMzdiZThlNjA1YzBjNTk3YjE0YzQzYw==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
OTEwZjU5NGJkOGI1Y2I3ZjkzMGJkOGFlNjM3N2M1OWNkOWZhMjFjNmE3NjQw
|
|
10
|
+
N2RlZDhhOTJkNTYzYWZjYTYwZDI3MGQ0NmVmNTllMTVhMjM3MTllZGEwODhk
|
|
11
|
+
YjJhZTc2MjBlYTE4ZmY1ZDY3NGU4YTdhNDIwOWQ4Njg1YjNjM2M=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ZjcwYjcyYTA2YTlhZGMwZGFhNTQzYjcwOTBkNDA0ZmExYTgyNmMxOTE1MmM2
|
|
14
|
+
ZTY4NTcwMDA4YzBkOTUxYzM2OTU2YjZmYmQwZjNjODM3Yzk4MzgyOWQ0NWU5
|
|
15
|
+
Yzc2OWU1ZWQ0Y2E5ZmZhZDU3ZDY3YjBiNWVhOTMwZjg2N2IzZTE=
|
data/README.md
CHANGED
|
@@ -1258,6 +1258,7 @@ If you have the old `travis-cli` gem installed, you should `gem uninstall travis
|
|
|
1258
1258
|
* Add `Account#repositories` to load all repos for a given account.
|
|
1259
1259
|
* Add `Repository#owner_name` and `Repository#owner` to load the account owning a repository.
|
|
1260
1260
|
* Add `Repository#member?` to check if the current user is a member of a repository.
|
|
1261
|
+
* Add `Build#pull_request_number` and `Build#pull_request_title`.
|
|
1261
1262
|
|
|
1262
1263
|
**1.5.5** (October 2, 2013)
|
|
1263
1264
|
|
data/lib/travis/cli/show.rb
CHANGED
data/lib/travis/client/build.rb
CHANGED
|
@@ -5,11 +5,12 @@ module Travis
|
|
|
5
5
|
class Build < Entity
|
|
6
6
|
include States, Restartable
|
|
7
7
|
|
|
8
|
-
# @!parse attr_reader :repository_id, :commit_id, :number, :pull_request, :config, :state, :started_at, :finished_at, :duration, :job_ids
|
|
9
|
-
attributes :repository_id, :commit_id, :number, :pull_request, :config, :state, :started_at, :finished_at, :duration, :job_ids
|
|
8
|
+
# @!parse attr_reader :repository_id, :commit_id, :number, :pull_request, :pull_request_number, :pull_request_title, :config, :state, :started_at, :finished_at, :duration, :job_ids
|
|
9
|
+
attributes :repository_id, :commit_id, :number, :pull_request, :pull_request_number, :pull_request_title, :config, :state, :started_at, :finished_at, :duration, :job_ids
|
|
10
10
|
time :started_at, :finished_at
|
|
11
11
|
|
|
12
12
|
alias pull_request? pull_request
|
|
13
|
+
alias pr_number pull_request_number
|
|
13
14
|
|
|
14
15
|
# @!parse attr_reader :repository, :commit, :jobs
|
|
15
16
|
has :repository, :commit, :jobs
|
|
@@ -22,10 +23,6 @@ module Travis
|
|
|
22
23
|
not pull_request?
|
|
23
24
|
end
|
|
24
25
|
|
|
25
|
-
def pr_number
|
|
26
|
-
commit.compare_url[/\d+$/] if pull_request?
|
|
27
|
-
end
|
|
28
|
-
|
|
29
26
|
def branch_info
|
|
30
27
|
pull_request? ? "Pull Request ##{pr_number}" : commit.branch
|
|
31
28
|
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.5.6.travis.
|
|
4
|
+
version: 1.5.6.travis.304.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Konstantin Haase
|
|
@@ -25,7 +25,7 @@ authors:
|
|
|
25
25
|
autorequire:
|
|
26
26
|
bindir: bin
|
|
27
27
|
cert_chain: []
|
|
28
|
-
date: 2013-10-
|
|
28
|
+
date: 2013-10-19 00:00:00.000000000 Z
|
|
29
29
|
dependencies:
|
|
30
30
|
- !ruby/object:Gem::Dependency
|
|
31
31
|
name: faraday
|