travis 1.0.3 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +786 -86
- data/Rakefile +3 -0
- data/lib/travis/cli/api_command.rb +22 -0
- data/lib/travis/cli/command.rb +36 -15
- data/lib/travis/cli/console.rb +13 -0
- data/lib/travis/cli/disable.rb +13 -0
- data/lib/travis/cli/enable.rb +29 -0
- data/lib/travis/cli/encrypt.rb +17 -4
- data/lib/travis/cli/history.rb +43 -0
- data/lib/travis/cli/logs.rb +18 -0
- data/lib/travis/cli/open.rb +36 -0
- data/lib/travis/cli/parser.rb +3 -3
- data/lib/travis/cli/repo_command.rb +16 -1
- data/lib/travis/cli/restart.rb +14 -0
- data/lib/travis/cli/show.rb +50 -0
- data/lib/travis/cli/status.rb +17 -0
- data/lib/travis/cli/sync.rb +28 -0
- data/lib/travis/cli/whatsup.rb +16 -0
- data/lib/travis/cli.rb +11 -0
- data/lib/travis/client/artifact.rb +25 -0
- data/lib/travis/client/build.rb +41 -0
- data/lib/travis/client/commit.rb +26 -0
- data/lib/travis/client/entity.rb +47 -3
- data/lib/travis/client/job.rb +52 -0
- data/lib/travis/client/methods.rb +22 -1
- data/lib/travis/client/repository.rb +70 -5
- data/lib/travis/client/session.rb +40 -8
- data/lib/travis/client/states.rb +85 -0
- data/lib/travis/client/user.rb +6 -0
- data/lib/travis/client.rb +5 -0
- data/lib/travis/tools/formatter.rb +38 -0
- data/lib/travis/version.rb +1 -1
- data/spec/cli/encrypt_spec.rb +16 -1
- data/spec/cli/history_spec.rb +28 -0
- data/spec/cli/logs_spec.rb +8 -0
- data/spec/cli/open_spec.rb +33 -0
- data/spec/cli/restart_spec.rb +15 -0
- data/spec/cli/show_spec.rb +9 -0
- data/spec/cli/status_spec.rb +28 -0
- data/spec/client/build_spec.rb +31 -0
- data/spec/client/commit_spec.rb +18 -0
- data/spec/client/job_spec.rb +30 -0
- data/spec/client/repository_spec.rb +15 -0
- data/spec/client/session_spec.rb +4 -0
- data/spec/spec_helper.rb +4 -1
- data/spec/support/fake_api.rb +616 -1
- data/travis.gemspec +37 -3
- metadata +66 -2
data/travis.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
# general infos
|
4
4
|
s.name = "travis"
|
5
|
-
s.version = "1.0
|
5
|
+
s.version = "1.1.0"
|
6
6
|
s.description = "CLI and Ruby client library for Travis CI"
|
7
7
|
s.homepage = "https://github.com/travis-ci/travis"
|
8
8
|
s.summary = "Travis CI client"
|
@@ -11,12 +11,18 @@ Gem::Specification.new do |s|
|
|
11
11
|
|
12
12
|
# generated from git shortlog -sn
|
13
13
|
s.authors = [
|
14
|
-
"Konstantin Haase"
|
14
|
+
"Konstantin Haase",
|
15
|
+
"Henrik Hodne",
|
16
|
+
"Adrien Brault",
|
17
|
+
"Piotr Sarnacki"
|
15
18
|
]
|
16
19
|
|
17
20
|
# generated from git shortlog -sne
|
18
21
|
s.email = [
|
19
|
-
"konstantin.mailinglists@googlemail.com"
|
22
|
+
"konstantin.mailinglists@googlemail.com",
|
23
|
+
"me@henrikhodne.com",
|
24
|
+
"adrien.brault@gmail.com",
|
25
|
+
"drogus@gmail.com"
|
20
26
|
]
|
21
27
|
|
22
28
|
# generated from git ls-files
|
@@ -31,32 +37,58 @@ Gem::Specification.new do |s|
|
|
31
37
|
"lib/travis/cli.rb",
|
32
38
|
"lib/travis/cli/api_command.rb",
|
33
39
|
"lib/travis/cli/command.rb",
|
40
|
+
"lib/travis/cli/console.rb",
|
41
|
+
"lib/travis/cli/disable.rb",
|
42
|
+
"lib/travis/cli/enable.rb",
|
34
43
|
"lib/travis/cli/encrypt.rb",
|
35
44
|
"lib/travis/cli/endpoint.rb",
|
36
45
|
"lib/travis/cli/help.rb",
|
46
|
+
"lib/travis/cli/history.rb",
|
37
47
|
"lib/travis/cli/login.rb",
|
48
|
+
"lib/travis/cli/logs.rb",
|
49
|
+
"lib/travis/cli/open.rb",
|
38
50
|
"lib/travis/cli/parser.rb",
|
39
51
|
"lib/travis/cli/raw.rb",
|
40
52
|
"lib/travis/cli/repo_command.rb",
|
53
|
+
"lib/travis/cli/restart.rb",
|
54
|
+
"lib/travis/cli/show.rb",
|
55
|
+
"lib/travis/cli/status.rb",
|
56
|
+
"lib/travis/cli/sync.rb",
|
41
57
|
"lib/travis/cli/version.rb",
|
58
|
+
"lib/travis/cli/whatsup.rb",
|
42
59
|
"lib/travis/cli/whoami.rb",
|
43
60
|
"lib/travis/client.rb",
|
61
|
+
"lib/travis/client/artifact.rb",
|
62
|
+
"lib/travis/client/build.rb",
|
63
|
+
"lib/travis/client/commit.rb",
|
44
64
|
"lib/travis/client/entity.rb",
|
45
65
|
"lib/travis/client/error.rb",
|
66
|
+
"lib/travis/client/job.rb",
|
46
67
|
"lib/travis/client/methods.rb",
|
47
68
|
"lib/travis/client/namespace.rb",
|
48
69
|
"lib/travis/client/repository.rb",
|
49
70
|
"lib/travis/client/session.rb",
|
71
|
+
"lib/travis/client/states.rb",
|
50
72
|
"lib/travis/client/user.rb",
|
51
73
|
"lib/travis/pro.rb",
|
74
|
+
"lib/travis/tools/formatter.rb",
|
52
75
|
"lib/travis/tools/token_finder.rb",
|
53
76
|
"lib/travis/version.rb",
|
54
77
|
"spec/cli/encrypt_spec.rb",
|
55
78
|
"spec/cli/endpoint_spec.rb",
|
56
79
|
"spec/cli/help_spec.rb",
|
80
|
+
"spec/cli/history_spec.rb",
|
57
81
|
"spec/cli/login_spec.rb",
|
82
|
+
"spec/cli/logs_spec.rb",
|
83
|
+
"spec/cli/open_spec.rb",
|
84
|
+
"spec/cli/restart_spec.rb",
|
85
|
+
"spec/cli/show_spec.rb",
|
86
|
+
"spec/cli/status_spec.rb",
|
58
87
|
"spec/cli/version_spec.rb",
|
59
88
|
"spec/cli/whoami_spec.rb",
|
89
|
+
"spec/client/build_spec.rb",
|
90
|
+
"spec/client/commit_spec.rb",
|
91
|
+
"spec/client/job_spec.rb",
|
60
92
|
"spec/client/methods_spec.rb",
|
61
93
|
"spec/client/namespace_spec.rb",
|
62
94
|
"spec/client/repository_spec.rb",
|
@@ -79,7 +111,9 @@ Gem::Specification.new do |s|
|
|
79
111
|
s.add_dependency "netrc", "~> 0.7"
|
80
112
|
s.add_dependency "gh", "~> 0.9"
|
81
113
|
s.add_dependency "backports", "~> 2.6"
|
114
|
+
s.add_dependency "launchy", "~> 2.1"
|
82
115
|
s.add_development_dependency "rspec", "~> 2.12"
|
83
116
|
s.add_development_dependency "sinatra", "~> 1.3"
|
117
|
+
s.add_development_dependency "pry", "~> 0.9"
|
84
118
|
s.add_development_dependency "rack-test", "~> 0.6"
|
85
119
|
end
|
metadata
CHANGED
@@ -1,15 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: travis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Konstantin Haase
|
9
|
+
- Henrik Hodne
|
10
|
+
- Adrien Brault
|
11
|
+
- Piotr Sarnacki
|
9
12
|
autorequire:
|
10
13
|
bindir: bin
|
11
14
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
15
|
+
date: 2013-01-21 00:00:00.000000000 Z
|
13
16
|
dependencies:
|
14
17
|
- !ruby/object:Gem::Dependency
|
15
18
|
name: faraday
|
@@ -107,6 +110,22 @@ dependencies:
|
|
107
110
|
- - ~>
|
108
111
|
- !ruby/object:Gem::Version
|
109
112
|
version: '2.6'
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: launchy
|
115
|
+
requirement: !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - ~>
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '2.1'
|
121
|
+
type: :runtime
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: !ruby/object:Gem::Requirement
|
124
|
+
none: false
|
125
|
+
requirements:
|
126
|
+
- - ~>
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '2.1'
|
110
129
|
- !ruby/object:Gem::Dependency
|
111
130
|
name: rspec
|
112
131
|
requirement: !ruby/object:Gem::Requirement
|
@@ -139,6 +158,22 @@ dependencies:
|
|
139
158
|
- - ~>
|
140
159
|
- !ruby/object:Gem::Version
|
141
160
|
version: '1.3'
|
161
|
+
- !ruby/object:Gem::Dependency
|
162
|
+
name: pry
|
163
|
+
requirement: !ruby/object:Gem::Requirement
|
164
|
+
none: false
|
165
|
+
requirements:
|
166
|
+
- - ~>
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '0.9'
|
169
|
+
type: :development
|
170
|
+
prerelease: false
|
171
|
+
version_requirements: !ruby/object:Gem::Requirement
|
172
|
+
none: false
|
173
|
+
requirements:
|
174
|
+
- - ~>
|
175
|
+
- !ruby/object:Gem::Version
|
176
|
+
version: '0.9'
|
142
177
|
- !ruby/object:Gem::Dependency
|
143
178
|
name: rack-test
|
144
179
|
requirement: !ruby/object:Gem::Requirement
|
@@ -158,6 +193,9 @@ dependencies:
|
|
158
193
|
description: CLI and Ruby client library for Travis CI
|
159
194
|
email:
|
160
195
|
- konstantin.mailinglists@googlemail.com
|
196
|
+
- me@henrikhodne.com
|
197
|
+
- adrien.brault@gmail.com
|
198
|
+
- drogus@gmail.com
|
161
199
|
executables:
|
162
200
|
- travis
|
163
201
|
extensions: []
|
@@ -173,32 +211,58 @@ files:
|
|
173
211
|
- lib/travis/cli.rb
|
174
212
|
- lib/travis/cli/api_command.rb
|
175
213
|
- lib/travis/cli/command.rb
|
214
|
+
- lib/travis/cli/console.rb
|
215
|
+
- lib/travis/cli/disable.rb
|
216
|
+
- lib/travis/cli/enable.rb
|
176
217
|
- lib/travis/cli/encrypt.rb
|
177
218
|
- lib/travis/cli/endpoint.rb
|
178
219
|
- lib/travis/cli/help.rb
|
220
|
+
- lib/travis/cli/history.rb
|
179
221
|
- lib/travis/cli/login.rb
|
222
|
+
- lib/travis/cli/logs.rb
|
223
|
+
- lib/travis/cli/open.rb
|
180
224
|
- lib/travis/cli/parser.rb
|
181
225
|
- lib/travis/cli/raw.rb
|
182
226
|
- lib/travis/cli/repo_command.rb
|
227
|
+
- lib/travis/cli/restart.rb
|
228
|
+
- lib/travis/cli/show.rb
|
229
|
+
- lib/travis/cli/status.rb
|
230
|
+
- lib/travis/cli/sync.rb
|
183
231
|
- lib/travis/cli/version.rb
|
232
|
+
- lib/travis/cli/whatsup.rb
|
184
233
|
- lib/travis/cli/whoami.rb
|
185
234
|
- lib/travis/client.rb
|
235
|
+
- lib/travis/client/artifact.rb
|
236
|
+
- lib/travis/client/build.rb
|
237
|
+
- lib/travis/client/commit.rb
|
186
238
|
- lib/travis/client/entity.rb
|
187
239
|
- lib/travis/client/error.rb
|
240
|
+
- lib/travis/client/job.rb
|
188
241
|
- lib/travis/client/methods.rb
|
189
242
|
- lib/travis/client/namespace.rb
|
190
243
|
- lib/travis/client/repository.rb
|
191
244
|
- lib/travis/client/session.rb
|
245
|
+
- lib/travis/client/states.rb
|
192
246
|
- lib/travis/client/user.rb
|
193
247
|
- lib/travis/pro.rb
|
248
|
+
- lib/travis/tools/formatter.rb
|
194
249
|
- lib/travis/tools/token_finder.rb
|
195
250
|
- lib/travis/version.rb
|
196
251
|
- spec/cli/encrypt_spec.rb
|
197
252
|
- spec/cli/endpoint_spec.rb
|
198
253
|
- spec/cli/help_spec.rb
|
254
|
+
- spec/cli/history_spec.rb
|
199
255
|
- spec/cli/login_spec.rb
|
256
|
+
- spec/cli/logs_spec.rb
|
257
|
+
- spec/cli/open_spec.rb
|
258
|
+
- spec/cli/restart_spec.rb
|
259
|
+
- spec/cli/show_spec.rb
|
260
|
+
- spec/cli/status_spec.rb
|
200
261
|
- spec/cli/version_spec.rb
|
201
262
|
- spec/cli/whoami_spec.rb
|
263
|
+
- spec/client/build_spec.rb
|
264
|
+
- spec/client/commit_spec.rb
|
265
|
+
- spec/client/job_spec.rb
|
202
266
|
- spec/client/methods_spec.rb
|
203
267
|
- spec/client/namespace_spec.rb
|
204
268
|
- spec/client/repository_spec.rb
|