travis-client 0.1.0 → 3.0.0
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 +7 -0
- data/.gitignore +4 -2
- data/.rspec +3 -2
- data/.travis.yml +2 -9
- data/.yardopts +2 -0
- data/Gemfile +1 -3
- data/Gemfile.lock +59 -0
- data/lib/travis/client.rb +20 -104
- data/lib/travis/client/action.rb +128 -0
- data/lib/travis/client/collection.rb +66 -0
- data/lib/travis/client/connection.rb +104 -0
- data/lib/travis/client/context.rb +52 -0
- data/lib/travis/client/entity.rb +77 -0
- data/lib/travis/client/error.rb +47 -0
- data/lib/travis/client/generated.rb +2073 -0
- data/lib/travis/client/link.rb +34 -0
- data/lib/travis/client/session.rb +101 -0
- data/lib/travis/client/unknown.rb +5 -0
- data/lib/travis/client/version.rb +6 -0
- data/readme.md +187 -0
- data/script/generate +44 -0
- data/spec/http_responses/default/branches.http +715 -0
- data/spec/http_responses/default/find_owner.http +23 -0
- data/spec/http_responses/default/index.http +1518 -0
- data/spec/http_responses/default/repo.http +44 -0
- data/spec/http_responses/default/repo_branches_10.http +347 -0
- data/spec/http_responses/default/repo_branches_10_0.http +347 -0
- data/spec/http_responses/default/repo_branches_10_10.http +351 -0
- data/spec/http_responses/default/repo_branches_10_20.http +99 -0
- data/spec/http_responses/default/sync.http +12 -0
- data/spec/http_responses/default/user_repos.http +6315 -0
- data/spec/spec_helper.rb +4 -2
- data/spec/support/coverage.rb +8 -0
- data/spec/support/generate_http_response.rb +16 -0
- data/spec/support/http.rb +54 -0
- data/spec/travis/collection_spec.rb +19 -0
- data/spec/travis/connection_spec.rb +26 -0
- data/spec/travis/entity_spec.rb +27 -0
- data/spec/travis_spec.rb +18 -0
- data/travis-client.gemspec +21 -21
- metadata +103 -75
- data/README.textile +0 -111
- data/Rakefile +0 -8
- data/bin/travis +0 -21
- data/features/repositories.feature +0 -117
- data/features/step_definitions/repositories_steps.rb +0 -51
- data/features/support/env.rb +0 -2
- data/lib/travis.rb +0 -2
- data/lib/travis/api.rb +0 -3
- data/lib/travis/api/client.rb +0 -95
- data/lib/travis/api/client/repositories.rb +0 -234
- data/lib/travis/api/entity.rb +0 -44
- data/lib/travis/api/entity/build.rb +0 -129
- data/lib/travis/api/entity/repository.rb +0 -79
- data/lib/travis/client/repositories.rb +0 -345
- data/spec/travis/api/client/repositories_spec.rb +0 -2
- data/spec/travis/api/client_spec.rb +0 -15
- data/spec/travis/api/entity/build_spec.rb +0 -84
- data/spec/travis/api/entity/repository_spec.rb +0 -79
- data/spec/travis/api/entity_spec.rb +0 -46
- data/spec/travis/api/shared_client_examples.rb +0 -3
- data/spec/travis/api/shared_entity_examples.rb +0 -16
@@ -0,0 +1,52 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
module Travis::Client
|
3
|
+
module Context
|
4
|
+
WARNING = 'WARNING: It is not recommended to call %p.connect more than once (%s).'
|
5
|
+
private_constant :WARNING
|
6
|
+
|
7
|
+
attr_accessor :default_endpoint
|
8
|
+
attr_reader :session, :connection
|
9
|
+
|
10
|
+
def connect(**options)
|
11
|
+
@call_site ||= caller.first
|
12
|
+
if connected? and not defined? @warned
|
13
|
+
line = @call_site == caller.first ? @call_site : "#{@call_site} and #{caller.first}"
|
14
|
+
$stderr.puts(WARNING % [self, line])
|
15
|
+
@warned = true
|
16
|
+
end
|
17
|
+
|
18
|
+
@connection = new(**options)
|
19
|
+
@session = @connection.create_session
|
20
|
+
@session.define_constants(self)
|
21
|
+
@session
|
22
|
+
end
|
23
|
+
|
24
|
+
def new(**options)
|
25
|
+
Connection.new(**options)
|
26
|
+
end
|
27
|
+
|
28
|
+
def connected?
|
29
|
+
!session.nil?
|
30
|
+
end
|
31
|
+
|
32
|
+
def clear_cache
|
33
|
+
return unless connected?
|
34
|
+
session.response_cache.clear
|
35
|
+
end
|
36
|
+
|
37
|
+
def before_request(&block)
|
38
|
+
connection.before_request(&block)
|
39
|
+
end
|
40
|
+
|
41
|
+
def after_request(&block)
|
42
|
+
connection.after_request(&block)
|
43
|
+
end
|
44
|
+
|
45
|
+
def const_missing(const)
|
46
|
+
super
|
47
|
+
rescue NameError => error
|
48
|
+
message = connected? ? error.message : "#{error.message}, try running #{self.inspect}.connect"
|
49
|
+
raise error, message, caller(2)
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,77 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
module Travis::Client
|
3
|
+
class Entity
|
4
|
+
def self.add_attribute(name)
|
5
|
+
define_method(name) { self[name] } unless method_defined? name
|
6
|
+
define_method("#{name}?") { !!public_send(name) } unless method_defined? "#{name}?"
|
7
|
+
end
|
8
|
+
|
9
|
+
def self.add_action(resource_type, name, action, instance_only: false)
|
10
|
+
if name == action.name and !respond_to?(name, true) and !instance_only
|
11
|
+
define_singleton_method(name) { |params = {}| action.call(session, params) }
|
12
|
+
end
|
13
|
+
|
14
|
+
if action.instance_action?(resource_type) and not method_defined? name
|
15
|
+
define_method(name) { |params = {}| action.call(session, params.merge(resource_type => self)) }
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
def self.add_related_action(own_type, other_type, name, action)
|
20
|
+
if name == 'find' or name.start_with? 'for_'
|
21
|
+
add_action(own_type, other_type, action, instance_only: true)
|
22
|
+
end
|
23
|
+
|
24
|
+
if name != "for_#{own_type}"
|
25
|
+
add_action(own_type, "#{other_type}_#{name}", action, instance_only: true)
|
26
|
+
add_action(own_type, "#{name}_#{other_type}", action, instance_only: true)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
def self.for_session(session)
|
31
|
+
Class.new(self) { define_singleton_method(:session) { session } }
|
32
|
+
end
|
33
|
+
|
34
|
+
attr_reader :session
|
35
|
+
|
36
|
+
def initialize(session, href)
|
37
|
+
@session = session
|
38
|
+
@href = href
|
39
|
+
@payload = {}
|
40
|
+
end
|
41
|
+
|
42
|
+
def inspect
|
43
|
+
@href ? "#<%p:%p>" % [self.class, @href.path] : "#<%p>" % [self.class]
|
44
|
+
end
|
45
|
+
|
46
|
+
def to_h
|
47
|
+
@payload.dup
|
48
|
+
end
|
49
|
+
|
50
|
+
def to_entity
|
51
|
+
self
|
52
|
+
end
|
53
|
+
|
54
|
+
def [](key)
|
55
|
+
key = key.to_s
|
56
|
+
|
57
|
+
if @href and type = @payload['@type'] and not @payload.include? key
|
58
|
+
href = @href.dup
|
59
|
+
href.query_values = { 'include' => "#{type}.#{key}" }
|
60
|
+
@session.request('GET', href)
|
61
|
+
@payload.fetch(key) { @payload[key] = nil }
|
62
|
+
end
|
63
|
+
|
64
|
+
result = @payload[key]
|
65
|
+
result = result.fetch if result.is_a? Link
|
66
|
+
result
|
67
|
+
end
|
68
|
+
|
69
|
+
def merge!(data)
|
70
|
+
@payload.merge! data
|
71
|
+
end
|
72
|
+
|
73
|
+
def permission?(key)
|
74
|
+
Hash(self['@permissions'])[key.to_s]
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
module Travis::Client
|
3
|
+
class Error < StandardError
|
4
|
+
@entity_factory = Entity = Class.new(Travis::Client::Entity)
|
5
|
+
@default_message = 'unknown error'
|
6
|
+
|
7
|
+
def self.add_attribute(name)
|
8
|
+
entity_factory.add_attribute(name)
|
9
|
+
define_method(name) { entity.public_send(name) } unless method_defined? name
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.default_message=(message)
|
13
|
+
@default_message = message
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.for_session(session)
|
17
|
+
self
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.default_message
|
21
|
+
@default_message ||= superclass.default_message
|
22
|
+
end
|
23
|
+
|
24
|
+
def self.entity_factory
|
25
|
+
@entity_factory ||= Class.new(superclass.entity_factory)
|
26
|
+
end
|
27
|
+
|
28
|
+
attr_reader :entity
|
29
|
+
|
30
|
+
def initialize(session, message)
|
31
|
+
@entity = self.class.entity_factory.new(session, nil)
|
32
|
+
super(message)
|
33
|
+
end
|
34
|
+
|
35
|
+
def merge!(data)
|
36
|
+
entity.merge!(data)
|
37
|
+
end
|
38
|
+
|
39
|
+
def to_h
|
40
|
+
entity.to_h
|
41
|
+
end
|
42
|
+
|
43
|
+
def to_entity
|
44
|
+
entity
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,2073 @@
|
|
1
|
+
# @!parse
|
2
|
+
# class Travis::Home < Travis::Client::Entity
|
3
|
+
# def self.find(params = {})
|
4
|
+
# # This is a placeholder.
|
5
|
+
# end
|
6
|
+
#
|
7
|
+
# def config
|
8
|
+
# # This is a placeholder.
|
9
|
+
# end
|
10
|
+
#
|
11
|
+
# def errors
|
12
|
+
# # This is a placeholder.
|
13
|
+
# end
|
14
|
+
#
|
15
|
+
# def resources
|
16
|
+
# # This is a placeholder.
|
17
|
+
# end
|
18
|
+
#
|
19
|
+
# # Wheather or not #config returns a truthy value (anything but `nil` or `false`).
|
20
|
+
# def config?
|
21
|
+
# # This is a placeholder.
|
22
|
+
# end
|
23
|
+
#
|
24
|
+
# # Wheather or not #errors returns a truthy value (anything but `nil` or `false`).
|
25
|
+
# def errors?
|
26
|
+
# # This is a placeholder.
|
27
|
+
# end
|
28
|
+
#
|
29
|
+
# # Wheather or not #resources returns a truthy value (anything but `nil` or `false`).
|
30
|
+
# def resources?
|
31
|
+
# # This is a placeholder.
|
32
|
+
# end
|
33
|
+
# end
|
34
|
+
#
|
35
|
+
# class Travis::Resource < Travis::Client::Entity
|
36
|
+
# def attributes
|
37
|
+
# # This is a placeholder.
|
38
|
+
# end
|
39
|
+
#
|
40
|
+
# def permissions
|
41
|
+
# # This is a placeholder.
|
42
|
+
# end
|
43
|
+
#
|
44
|
+
# def actions
|
45
|
+
# # This is a placeholder.
|
46
|
+
# end
|
47
|
+
#
|
48
|
+
# # Wheather or not #actions returns a truthy value (anything but `nil` or `false`).
|
49
|
+
# def actions?
|
50
|
+
# # This is a placeholder.
|
51
|
+
# end
|
52
|
+
#
|
53
|
+
# # Wheather or not #attributes returns a truthy value (anything but `nil` or `false`).
|
54
|
+
# def attributes?
|
55
|
+
# # This is a placeholder.
|
56
|
+
# end
|
57
|
+
#
|
58
|
+
# def representations
|
59
|
+
# # This is a placeholder.
|
60
|
+
# end
|
61
|
+
#
|
62
|
+
# # Wheather or not #representations returns a truthy value (anything but `nil` or `false`).
|
63
|
+
# def representations?
|
64
|
+
# # This is a placeholder.
|
65
|
+
# end
|
66
|
+
#
|
67
|
+
# # Wheather or not #permissions returns a truthy value (anything but `nil` or `false`).
|
68
|
+
# def permissions?
|
69
|
+
# # This is a placeholder.
|
70
|
+
# end
|
71
|
+
#
|
72
|
+
# def access_rights
|
73
|
+
# # This is a placeholder.
|
74
|
+
# end
|
75
|
+
#
|
76
|
+
# # Wheather or not #access_rights returns a truthy value (anything but `nil` or `false`).
|
77
|
+
# def access_rights?
|
78
|
+
# # This is a placeholder.
|
79
|
+
# end
|
80
|
+
# end
|
81
|
+
#
|
82
|
+
# class Travis::Template < Travis::Client::Entity
|
83
|
+
# def request_method
|
84
|
+
# # This is a placeholder.
|
85
|
+
# end
|
86
|
+
#
|
87
|
+
# def uri_template
|
88
|
+
# # This is a placeholder.
|
89
|
+
# end
|
90
|
+
#
|
91
|
+
# def accepted_params
|
92
|
+
# # This is a placeholder.
|
93
|
+
# end
|
94
|
+
#
|
95
|
+
# # Wheather or not #request_method returns a truthy value (anything but `nil` or `false`).
|
96
|
+
# def request_method?
|
97
|
+
# # This is a placeholder.
|
98
|
+
# end
|
99
|
+
#
|
100
|
+
# # Wheather or not #uri_template returns a truthy value (anything but `nil` or `false`).
|
101
|
+
# def uri_template?
|
102
|
+
# # This is a placeholder.
|
103
|
+
# end
|
104
|
+
#
|
105
|
+
# # Wheather or not #accepted_params returns a truthy value (anything but `nil` or `false`).
|
106
|
+
# def accepted_params?
|
107
|
+
# # This is a placeholder.
|
108
|
+
# end
|
109
|
+
# end
|
110
|
+
#
|
111
|
+
# class Travis::Account < Travis::Client::Entity
|
112
|
+
# end
|
113
|
+
#
|
114
|
+
# class Travis::Active < Travis::Client::Entity
|
115
|
+
# def self.for_owner(params = {})
|
116
|
+
# # This is a placeholder.
|
117
|
+
# end
|
118
|
+
#
|
119
|
+
# # The active builds.
|
120
|
+
# def builds
|
121
|
+
# # This is a placeholder.
|
122
|
+
# end
|
123
|
+
#
|
124
|
+
# # Wheather or not #builds returns a truthy value (anything but `nil` or `false`).
|
125
|
+
# def builds?
|
126
|
+
# # This is a placeholder.
|
127
|
+
# end
|
128
|
+
# end
|
129
|
+
#
|
130
|
+
# class Travis::BetaFeature < Travis::Client::Entity
|
131
|
+
# def self.delete(params = {})
|
132
|
+
# # This is a placeholder.
|
133
|
+
# end
|
134
|
+
#
|
135
|
+
# def self.update(params = {})
|
136
|
+
# # This is a placeholder.
|
137
|
+
# end
|
138
|
+
#
|
139
|
+
# # The name of the feature.
|
140
|
+
# def name
|
141
|
+
# # This is a placeholder.
|
142
|
+
# end
|
143
|
+
#
|
144
|
+
# def delete(params = {})
|
145
|
+
# # This is a placeholder.
|
146
|
+
# end
|
147
|
+
#
|
148
|
+
# def update(params = {})
|
149
|
+
# # This is a placeholder.
|
150
|
+
# end
|
151
|
+
#
|
152
|
+
# # Wheather or not #enabled returns a truthy value (anything but `nil` or `false`).
|
153
|
+
# def enabled?
|
154
|
+
# # This is a placeholder.
|
155
|
+
# end
|
156
|
+
#
|
157
|
+
# # Longer description of the feature.
|
158
|
+
# def description
|
159
|
+
# # This is a placeholder.
|
160
|
+
# end
|
161
|
+
#
|
162
|
+
# # Value uniquely identifying the beta feature.
|
163
|
+
# def id
|
164
|
+
# # This is a placeholder.
|
165
|
+
# end
|
166
|
+
#
|
167
|
+
# # Wheather or not #id returns a truthy value (anything but `nil` or `false`).
|
168
|
+
# def id?
|
169
|
+
# # This is a placeholder.
|
170
|
+
# end
|
171
|
+
#
|
172
|
+
# # Wheather or not #name returns a truthy value (anything but `nil` or `false`).
|
173
|
+
# def name?
|
174
|
+
# # This is a placeholder.
|
175
|
+
# end
|
176
|
+
#
|
177
|
+
# # Wheather or not #description returns a truthy value (anything but `nil` or `false`).
|
178
|
+
# def description?
|
179
|
+
# # This is a placeholder.
|
180
|
+
# end
|
181
|
+
#
|
182
|
+
# # Indicates if the user has this feature turned on.
|
183
|
+
# def enabled
|
184
|
+
# # This is a placeholder.
|
185
|
+
# end
|
186
|
+
#
|
187
|
+
# # Url for users to leave Travis CI feedback on this feature.
|
188
|
+
# def feedback_url
|
189
|
+
# # This is a placeholder.
|
190
|
+
# end
|
191
|
+
#
|
192
|
+
# # Wheather or not #feedback_url returns a truthy value (anything but `nil` or `false`).
|
193
|
+
# def feedback_url?
|
194
|
+
# # This is a placeholder.
|
195
|
+
# end
|
196
|
+
# end
|
197
|
+
#
|
198
|
+
# class Travis::BetaFeatures < Travis::Client::Collection
|
199
|
+
# def self.find(params = {})
|
200
|
+
# # This is a placeholder.
|
201
|
+
# end
|
202
|
+
#
|
203
|
+
# end
|
204
|
+
#
|
205
|
+
# class Travis::Branch < Travis::Client::Entity
|
206
|
+
# def self.find(params = {})
|
207
|
+
# # This is a placeholder.
|
208
|
+
# end
|
209
|
+
#
|
210
|
+
# # Name of the git branch.
|
211
|
+
# def name
|
212
|
+
# # This is a placeholder.
|
213
|
+
# end
|
214
|
+
#
|
215
|
+
# def find(params = {})
|
216
|
+
# # This is a placeholder.
|
217
|
+
# end
|
218
|
+
#
|
219
|
+
# # GitHub user or organization the branch belongs to.
|
220
|
+
# def repository
|
221
|
+
# # This is a placeholder.
|
222
|
+
# end
|
223
|
+
#
|
224
|
+
# # Wheather or not #name returns a truthy value (anything but `nil` or `false`).
|
225
|
+
# def name?
|
226
|
+
# # This is a placeholder.
|
227
|
+
# end
|
228
|
+
#
|
229
|
+
# # Wheather or not #repository returns a truthy value (anything but `nil` or `false`).
|
230
|
+
# def repository?
|
231
|
+
# # This is a placeholder.
|
232
|
+
# end
|
233
|
+
#
|
234
|
+
# # Whether or not this is the resposiotry's default branch.
|
235
|
+
# def default_branch
|
236
|
+
# # This is a placeholder.
|
237
|
+
# end
|
238
|
+
#
|
239
|
+
# # Wheather or not #default_branch returns a truthy value (anything but `nil` or `false`).
|
240
|
+
# def default_branch?
|
241
|
+
# # This is a placeholder.
|
242
|
+
# end
|
243
|
+
#
|
244
|
+
# # Whether or not the branch still exists on GitHub.
|
245
|
+
# def exists_on_github
|
246
|
+
# # This is a placeholder.
|
247
|
+
# end
|
248
|
+
#
|
249
|
+
# # Wheather or not #exists_on_github returns a truthy value (anything but `nil` or `false`).
|
250
|
+
# def exists_on_github?
|
251
|
+
# # This is a placeholder.
|
252
|
+
# end
|
253
|
+
#
|
254
|
+
# # Last build on the branch.
|
255
|
+
# def last_build
|
256
|
+
# # This is a placeholder.
|
257
|
+
# end
|
258
|
+
#
|
259
|
+
# # Wheather or not #last_build returns a truthy value (anything but `nil` or `false`).
|
260
|
+
# def last_build?
|
261
|
+
# # This is a placeholder.
|
262
|
+
# end
|
263
|
+
#
|
264
|
+
# def cron(params = {})
|
265
|
+
# # This is a placeholder.
|
266
|
+
# end
|
267
|
+
#
|
268
|
+
# def cron_create(params = {})
|
269
|
+
# # This is a placeholder.
|
270
|
+
# end
|
271
|
+
#
|
272
|
+
# def create_cron(params = {})
|
273
|
+
# # This is a placeholder.
|
274
|
+
# end
|
275
|
+
# end
|
276
|
+
#
|
277
|
+
# class Travis::Branches < Travis::Client::Collection
|
278
|
+
# def self.find(params = {})
|
279
|
+
# # This is a placeholder.
|
280
|
+
# end
|
281
|
+
#
|
282
|
+
# end
|
283
|
+
#
|
284
|
+
# class Travis::Broadcast < Travis::Client::Entity
|
285
|
+
# # Message to display to the user.
|
286
|
+
# def message
|
287
|
+
# # This is a placeholder.
|
288
|
+
# end
|
289
|
+
#
|
290
|
+
# # Whether or not the brodacast should still be displayed.
|
291
|
+
# def active
|
292
|
+
# # This is a placeholder.
|
293
|
+
# end
|
294
|
+
#
|
295
|
+
# # Value uniquely identifying the broadcast.
|
296
|
+
# def id
|
297
|
+
# # This is a placeholder.
|
298
|
+
# end
|
299
|
+
#
|
300
|
+
# # Wheather or not #active returns a truthy value (anything but `nil` or `false`).
|
301
|
+
# def active?
|
302
|
+
# # This is a placeholder.
|
303
|
+
# end
|
304
|
+
#
|
305
|
+
# # When the broadcast was created.
|
306
|
+
# def created_at
|
307
|
+
# # This is a placeholder.
|
308
|
+
# end
|
309
|
+
#
|
310
|
+
# # Wheather or not #id returns a truthy value (anything but `nil` or `false`).
|
311
|
+
# def id?
|
312
|
+
# # This is a placeholder.
|
313
|
+
# end
|
314
|
+
#
|
315
|
+
# # Wheather or not #message returns a truthy value (anything but `nil` or `false`).
|
316
|
+
# def message?
|
317
|
+
# # This is a placeholder.
|
318
|
+
# end
|
319
|
+
#
|
320
|
+
# # Wheather or not #created_at returns a truthy value (anything but `nil` or `false`).
|
321
|
+
# def created_at?
|
322
|
+
# # This is a placeholder.
|
323
|
+
# end
|
324
|
+
#
|
325
|
+
# # Broadcast category (used for icon and color)
|
326
|
+
# def category
|
327
|
+
# # This is a placeholder.
|
328
|
+
# end
|
329
|
+
#
|
330
|
+
# # Wheather or not #category returns a truthy value (anything but `nil` or `false`).
|
331
|
+
# def category?
|
332
|
+
# # This is a placeholder.
|
333
|
+
# end
|
334
|
+
#
|
335
|
+
# # Either a user, organization or repository, or null for global.
|
336
|
+
# def recipient
|
337
|
+
# # This is a placeholder.
|
338
|
+
# end
|
339
|
+
#
|
340
|
+
# # Wheather or not #recipient returns a truthy value (anything but `nil` or `false`).
|
341
|
+
# def recipient?
|
342
|
+
# # This is a placeholder.
|
343
|
+
# end
|
344
|
+
# end
|
345
|
+
#
|
346
|
+
# class Travis::Broadcasts < Travis::Client::Collection
|
347
|
+
# def self.for_current_user(params = {})
|
348
|
+
# # This is a placeholder.
|
349
|
+
# end
|
350
|
+
#
|
351
|
+
# end
|
352
|
+
#
|
353
|
+
# class Travis::Build < Travis::Client::Entity
|
354
|
+
# def self.find(params = {})
|
355
|
+
# # This is a placeholder.
|
356
|
+
# end
|
357
|
+
#
|
358
|
+
# def self.cancel(params = {})
|
359
|
+
# # This is a placeholder.
|
360
|
+
# end
|
361
|
+
#
|
362
|
+
# def self.restart(params = {})
|
363
|
+
# # This is a placeholder.
|
364
|
+
# end
|
365
|
+
#
|
366
|
+
# def find(params = {})
|
367
|
+
# # This is a placeholder.
|
368
|
+
# end
|
369
|
+
#
|
370
|
+
# # Current state of the build.
|
371
|
+
# def state
|
372
|
+
# # This is a placeholder.
|
373
|
+
# end
|
374
|
+
#
|
375
|
+
# # Value uniquely identifying the build.
|
376
|
+
# def id
|
377
|
+
# # This is a placeholder.
|
378
|
+
# end
|
379
|
+
#
|
380
|
+
# # Incremental number for a repository's builds.
|
381
|
+
# def number
|
382
|
+
# # This is a placeholder.
|
383
|
+
# end
|
384
|
+
#
|
385
|
+
# # GitHub user or organization the build belongs to.
|
386
|
+
# def repository
|
387
|
+
# # This is a placeholder.
|
388
|
+
# end
|
389
|
+
#
|
390
|
+
# # The branch the build is associated with.
|
391
|
+
# def branch
|
392
|
+
# # This is a placeholder.
|
393
|
+
# end
|
394
|
+
#
|
395
|
+
# # When the build started.
|
396
|
+
# def started_at
|
397
|
+
# # This is a placeholder.
|
398
|
+
# end
|
399
|
+
#
|
400
|
+
# # Wheather or not #id returns a truthy value (anything but `nil` or `false`).
|
401
|
+
# def id?
|
402
|
+
# # This is a placeholder.
|
403
|
+
# end
|
404
|
+
#
|
405
|
+
# # Wheather or not #repository returns a truthy value (anything but `nil` or `false`).
|
406
|
+
# def repository?
|
407
|
+
# # This is a placeholder.
|
408
|
+
# end
|
409
|
+
#
|
410
|
+
# # Wheather or not #number returns a truthy value (anything but `nil` or `false`).
|
411
|
+
# def number?
|
412
|
+
# # This is a placeholder.
|
413
|
+
# end
|
414
|
+
#
|
415
|
+
# # Wheather or not #state returns a truthy value (anything but `nil` or `false`).
|
416
|
+
# def state?
|
417
|
+
# # This is a placeholder.
|
418
|
+
# end
|
419
|
+
#
|
420
|
+
# # Wall clock time in seconds.
|
421
|
+
# def duration
|
422
|
+
# # This is a placeholder.
|
423
|
+
# end
|
424
|
+
#
|
425
|
+
# # Wheather or not #duration returns a truthy value (anything but `nil` or `false`).
|
426
|
+
# def duration?
|
427
|
+
# # This is a placeholder.
|
428
|
+
# end
|
429
|
+
#
|
430
|
+
# # Event that triggered the build.
|
431
|
+
# def event_type
|
432
|
+
# # This is a placeholder.
|
433
|
+
# end
|
434
|
+
#
|
435
|
+
# # Wheather or not #event_type returns a truthy value (anything but `nil` or `false`).
|
436
|
+
# def event_type?
|
437
|
+
# # This is a placeholder.
|
438
|
+
# end
|
439
|
+
#
|
440
|
+
# # State of the previous build (useful to see if state changed)
|
441
|
+
# def previous_state
|
442
|
+
# # This is a placeholder.
|
443
|
+
# end
|
444
|
+
#
|
445
|
+
# # Wheather or not #previous_state returns a truthy value (anything but `nil` or `false`).
|
446
|
+
# def previous_state?
|
447
|
+
# # This is a placeholder.
|
448
|
+
# end
|
449
|
+
#
|
450
|
+
# def pull_request_title
|
451
|
+
# # This is a placeholder.
|
452
|
+
# end
|
453
|
+
#
|
454
|
+
# # Wheather or not #pull_request_title returns a truthy value (anything but `nil` or `false`).
|
455
|
+
# def pull_request_title?
|
456
|
+
# # This is a placeholder.
|
457
|
+
# end
|
458
|
+
#
|
459
|
+
# def pull_request_number
|
460
|
+
# # This is a placeholder.
|
461
|
+
# end
|
462
|
+
#
|
463
|
+
# # Wheather or not #pull_request_number returns a truthy value (anything but `nil` or `false`).
|
464
|
+
# def pull_request_number?
|
465
|
+
# # This is a placeholder.
|
466
|
+
# end
|
467
|
+
#
|
468
|
+
# # Wheather or not #started_at returns a truthy value (anything but `nil` or `false`).
|
469
|
+
# def started_at?
|
470
|
+
# # This is a placeholder.
|
471
|
+
# end
|
472
|
+
#
|
473
|
+
# # When the build finished.
|
474
|
+
# def finished_at
|
475
|
+
# # This is a placeholder.
|
476
|
+
# end
|
477
|
+
#
|
478
|
+
# # Wheather or not #finished_at returns a truthy value (anything but `nil` or `false`).
|
479
|
+
# def finished_at?
|
480
|
+
# # This is a placeholder.
|
481
|
+
# end
|
482
|
+
#
|
483
|
+
# # Wheather or not #branch returns a truthy value (anything but `nil` or `false`).
|
484
|
+
# def branch?
|
485
|
+
# # This is a placeholder.
|
486
|
+
# end
|
487
|
+
#
|
488
|
+
# # The commit the build is associated with.
|
489
|
+
# def commit
|
490
|
+
# # This is a placeholder.
|
491
|
+
# end
|
492
|
+
#
|
493
|
+
# # Wheather or not #commit returns a truthy value (anything but `nil` or `false`).
|
494
|
+
# def commit?
|
495
|
+
# # This is a placeholder.
|
496
|
+
# end
|
497
|
+
#
|
498
|
+
# # List of jobs that are part of the build's matrix.
|
499
|
+
# def jobs
|
500
|
+
# # This is a placeholder.
|
501
|
+
# end
|
502
|
+
#
|
503
|
+
# # Wheather or not #jobs returns a truthy value (anything but `nil` or `false`).
|
504
|
+
# def jobs?
|
505
|
+
# # This is a placeholder.
|
506
|
+
# end
|
507
|
+
#
|
508
|
+
# def stages
|
509
|
+
# # This is a placeholder.
|
510
|
+
# end
|
511
|
+
#
|
512
|
+
# # Wheather or not #stages returns a truthy value (anything but `nil` or `false`).
|
513
|
+
# def stages?
|
514
|
+
# # This is a placeholder.
|
515
|
+
# end
|
516
|
+
#
|
517
|
+
# def cancel(params = {})
|
518
|
+
# # This is a placeholder.
|
519
|
+
# end
|
520
|
+
#
|
521
|
+
# def restart(params = {})
|
522
|
+
# # This is a placeholder.
|
523
|
+
# end
|
524
|
+
#
|
525
|
+
# def jobs_find(params = {})
|
526
|
+
# # This is a placeholder.
|
527
|
+
# end
|
528
|
+
#
|
529
|
+
# def find_jobs(params = {})
|
530
|
+
# # This is a placeholder.
|
531
|
+
# end
|
532
|
+
# end
|
533
|
+
#
|
534
|
+
# class Travis::Builds < Travis::Client::Collection
|
535
|
+
# def self.find(params = {})
|
536
|
+
# # This is a placeholder.
|
537
|
+
# end
|
538
|
+
#
|
539
|
+
# end
|
540
|
+
#
|
541
|
+
# class Travis::Caches < Travis::Client::Entity
|
542
|
+
# def self.find(params = {})
|
543
|
+
# # This is a placeholder.
|
544
|
+
# end
|
545
|
+
#
|
546
|
+
# def self.delete(params = {})
|
547
|
+
# # This is a placeholder.
|
548
|
+
# end
|
549
|
+
#
|
550
|
+
# # The string to match against the cache name.
|
551
|
+
# def match
|
552
|
+
# # This is a placeholder.
|
553
|
+
# end
|
554
|
+
#
|
555
|
+
# # Wheather or not #match returns a truthy value (anything but `nil` or `false`).
|
556
|
+
# def match?
|
557
|
+
# # This is a placeholder.
|
558
|
+
# end
|
559
|
+
#
|
560
|
+
# # The branch the cache belongs to.
|
561
|
+
# def branch
|
562
|
+
# # This is a placeholder.
|
563
|
+
# end
|
564
|
+
#
|
565
|
+
# # Wheather or not #branch returns a truthy value (anything but `nil` or `false`).
|
566
|
+
# def branch?
|
567
|
+
# # This is a placeholder.
|
568
|
+
# end
|
569
|
+
# end
|
570
|
+
#
|
571
|
+
# class Travis::Commit < Travis::Client::Entity
|
572
|
+
# # Commit mesage.
|
573
|
+
# def message
|
574
|
+
# # This is a placeholder.
|
575
|
+
# end
|
576
|
+
#
|
577
|
+
# # Committer data.
|
578
|
+
# def author
|
579
|
+
# # This is a placeholder.
|
580
|
+
# end
|
581
|
+
#
|
582
|
+
# # Value uniquely identifying the commit.
|
583
|
+
# def id
|
584
|
+
# # This is a placeholder.
|
585
|
+
# end
|
586
|
+
#
|
587
|
+
# # Named reference the commit has in git.
|
588
|
+
# def ref
|
589
|
+
# # This is a placeholder.
|
590
|
+
# end
|
591
|
+
#
|
592
|
+
# # Wheather or not #id returns a truthy value (anything but `nil` or `false`).
|
593
|
+
# def id?
|
594
|
+
# # This is a placeholder.
|
595
|
+
# end
|
596
|
+
#
|
597
|
+
# # Wheather or not #message returns a truthy value (anything but `nil` or `false`).
|
598
|
+
# def message?
|
599
|
+
# # This is a placeholder.
|
600
|
+
# end
|
601
|
+
#
|
602
|
+
# # Checksum the commit has in git and is identified by.
|
603
|
+
# def sha
|
604
|
+
# # This is a placeholder.
|
605
|
+
# end
|
606
|
+
#
|
607
|
+
# # Wheather or not #sha returns a truthy value (anything but `nil` or `false`).
|
608
|
+
# def sha?
|
609
|
+
# # This is a placeholder.
|
610
|
+
# end
|
611
|
+
#
|
612
|
+
# # Wheather or not #ref returns a truthy value (anything but `nil` or `false`).
|
613
|
+
# def ref?
|
614
|
+
# # This is a placeholder.
|
615
|
+
# end
|
616
|
+
#
|
617
|
+
# # URL to the commit's diff on GitHub.
|
618
|
+
# def compare_url
|
619
|
+
# # This is a placeholder.
|
620
|
+
# end
|
621
|
+
#
|
622
|
+
# # Wheather or not #compare_url returns a truthy value (anything but `nil` or `false`).
|
623
|
+
# def compare_url?
|
624
|
+
# # This is a placeholder.
|
625
|
+
# end
|
626
|
+
#
|
627
|
+
# # Commit date from git.
|
628
|
+
# def committed_at
|
629
|
+
# # This is a placeholder.
|
630
|
+
# end
|
631
|
+
#
|
632
|
+
# # Wheather or not #committed_at returns a truthy value (anything but `nil` or `false`).
|
633
|
+
# def committed_at?
|
634
|
+
# # This is a placeholder.
|
635
|
+
# end
|
636
|
+
#
|
637
|
+
# # Committer data.
|
638
|
+
# def committer
|
639
|
+
# # This is a placeholder.
|
640
|
+
# end
|
641
|
+
#
|
642
|
+
# # Wheather or not #committer returns a truthy value (anything but `nil` or `false`).
|
643
|
+
# def committer?
|
644
|
+
# # This is a placeholder.
|
645
|
+
# end
|
646
|
+
#
|
647
|
+
# # Wheather or not #author returns a truthy value (anything but `nil` or `false`).
|
648
|
+
# def author?
|
649
|
+
# # This is a placeholder.
|
650
|
+
# end
|
651
|
+
# end
|
652
|
+
#
|
653
|
+
# class Travis::Cron < Travis::Client::Entity
|
654
|
+
# def self.find(params = {})
|
655
|
+
# # This is a placeholder.
|
656
|
+
# end
|
657
|
+
#
|
658
|
+
# def self.delete(params = {})
|
659
|
+
# # This is a placeholder.
|
660
|
+
# end
|
661
|
+
#
|
662
|
+
# def self.create(params = {})
|
663
|
+
# # This is a placeholder.
|
664
|
+
# end
|
665
|
+
#
|
666
|
+
# def self.for_branch(params = {})
|
667
|
+
# # This is a placeholder.
|
668
|
+
# end
|
669
|
+
#
|
670
|
+
# def find(params = {})
|
671
|
+
# # This is a placeholder.
|
672
|
+
# end
|
673
|
+
#
|
674
|
+
# def delete(params = {})
|
675
|
+
# # This is a placeholder.
|
676
|
+
# end
|
677
|
+
#
|
678
|
+
# # Value uniquely identifying the cron.
|
679
|
+
# def id
|
680
|
+
# # This is a placeholder.
|
681
|
+
# end
|
682
|
+
#
|
683
|
+
# # Github repository to which this cron belongs.
|
684
|
+
# def repository
|
685
|
+
# # This is a placeholder.
|
686
|
+
# end
|
687
|
+
#
|
688
|
+
# # Git branch of repository to which this cron belongs.
|
689
|
+
# def branch
|
690
|
+
# # This is a placeholder.
|
691
|
+
# end
|
692
|
+
#
|
693
|
+
# # When the cron was created.
|
694
|
+
# def created_at
|
695
|
+
# # This is a placeholder.
|
696
|
+
# end
|
697
|
+
#
|
698
|
+
# # Wheather or not #id returns a truthy value (anything but `nil` or `false`).
|
699
|
+
# def id?
|
700
|
+
# # This is a placeholder.
|
701
|
+
# end
|
702
|
+
#
|
703
|
+
# # Wheather or not #repository returns a truthy value (anything but `nil` or `false`).
|
704
|
+
# def repository?
|
705
|
+
# # This is a placeholder.
|
706
|
+
# end
|
707
|
+
#
|
708
|
+
# # Wheather or not #created_at returns a truthy value (anything but `nil` or `false`).
|
709
|
+
# def created_at?
|
710
|
+
# # This is a placeholder.
|
711
|
+
# end
|
712
|
+
#
|
713
|
+
# # Wheather or not #branch returns a truthy value (anything but `nil` or `false`).
|
714
|
+
# def branch?
|
715
|
+
# # This is a placeholder.
|
716
|
+
# end
|
717
|
+
#
|
718
|
+
# # Interval at which the cron will run (can be "daily", "weekly" or "monthly")
|
719
|
+
# def interval
|
720
|
+
# # This is a placeholder.
|
721
|
+
# end
|
722
|
+
#
|
723
|
+
# # Wheather or not #interval returns a truthy value (anything but `nil` or `false`).
|
724
|
+
# def interval?
|
725
|
+
# # This is a placeholder.
|
726
|
+
# end
|
727
|
+
#
|
728
|
+
# # Whether a cron build should run if there has been a build on this branch in the last 24 hours.
|
729
|
+
# def dont_run_if_recent_build_exists
|
730
|
+
# # This is a placeholder.
|
731
|
+
# end
|
732
|
+
#
|
733
|
+
# # Wheather or not #dont_run_if_recent_build_exists returns a truthy value (anything but `nil` or `false`).
|
734
|
+
# def dont_run_if_recent_build_exists?
|
735
|
+
# # This is a placeholder.
|
736
|
+
# end
|
737
|
+
#
|
738
|
+
# # When the cron ran last.
|
739
|
+
# def last_run
|
740
|
+
# # This is a placeholder.
|
741
|
+
# end
|
742
|
+
#
|
743
|
+
# # Wheather or not #last_run returns a truthy value (anything but `nil` or `false`).
|
744
|
+
# def last_run?
|
745
|
+
# # This is a placeholder.
|
746
|
+
# end
|
747
|
+
#
|
748
|
+
# # When the cron is scheduled to run next.
|
749
|
+
# def next_run
|
750
|
+
# # This is a placeholder.
|
751
|
+
# end
|
752
|
+
#
|
753
|
+
# # Wheather or not #next_run returns a truthy value (anything but `nil` or `false`).
|
754
|
+
# def next_run?
|
755
|
+
# # This is a placeholder.
|
756
|
+
# end
|
757
|
+
# end
|
758
|
+
#
|
759
|
+
# class Travis::Crons < Travis::Client::Collection
|
760
|
+
# def self.for_repository(params = {})
|
761
|
+
# # This is a placeholder.
|
762
|
+
# end
|
763
|
+
#
|
764
|
+
# end
|
765
|
+
#
|
766
|
+
# class Travis::EnvVar < Travis::Client::Entity
|
767
|
+
# def self.find(params = {})
|
768
|
+
# # This is a placeholder.
|
769
|
+
# end
|
770
|
+
#
|
771
|
+
# def self.delete(params = {})
|
772
|
+
# # This is a placeholder.
|
773
|
+
# end
|
774
|
+
#
|
775
|
+
# def self.update(params = {})
|
776
|
+
# # This is a placeholder.
|
777
|
+
# end
|
778
|
+
#
|
779
|
+
# # The environment variable name, e.g. FOO.
|
780
|
+
# def name
|
781
|
+
# # This is a placeholder.
|
782
|
+
# end
|
783
|
+
#
|
784
|
+
# def find(params = {})
|
785
|
+
# # This is a placeholder.
|
786
|
+
# end
|
787
|
+
#
|
788
|
+
# def delete(params = {})
|
789
|
+
# # This is a placeholder.
|
790
|
+
# end
|
791
|
+
#
|
792
|
+
# # The environment variable's value, e.g. bar.
|
793
|
+
# def value
|
794
|
+
# # This is a placeholder.
|
795
|
+
# end
|
796
|
+
#
|
797
|
+
# # Whether this environment variable should be publicly visible or not.
|
798
|
+
# def public
|
799
|
+
# # This is a placeholder.
|
800
|
+
# end
|
801
|
+
#
|
802
|
+
# def update(params = {})
|
803
|
+
# # This is a placeholder.
|
804
|
+
# end
|
805
|
+
#
|
806
|
+
# # Wheather or not #value returns a truthy value (anything but `nil` or `false`).
|
807
|
+
# def value?
|
808
|
+
# # This is a placeholder.
|
809
|
+
# end
|
810
|
+
#
|
811
|
+
# def id
|
812
|
+
# # This is a placeholder.
|
813
|
+
# end
|
814
|
+
#
|
815
|
+
# # Wheather or not #public returns a truthy value (anything but `nil` or `false`).
|
816
|
+
# def public?
|
817
|
+
# # This is a placeholder.
|
818
|
+
# end
|
819
|
+
#
|
820
|
+
# # Wheather or not #id returns a truthy value (anything but `nil` or `false`).
|
821
|
+
# def id?
|
822
|
+
# # This is a placeholder.
|
823
|
+
# end
|
824
|
+
#
|
825
|
+
# # Wheather or not #name returns a truthy value (anything but `nil` or `false`).
|
826
|
+
# def name?
|
827
|
+
# # This is a placeholder.
|
828
|
+
# end
|
829
|
+
# end
|
830
|
+
#
|
831
|
+
# class Travis::EnvVars < Travis::Client::Collection
|
832
|
+
# def self.create(params = {})
|
833
|
+
# # This is a placeholder.
|
834
|
+
# end
|
835
|
+
#
|
836
|
+
# def self.for_repository(params = {})
|
837
|
+
# # This is a placeholder.
|
838
|
+
# end
|
839
|
+
#
|
840
|
+
# end
|
841
|
+
#
|
842
|
+
# class Travis::Error < Travis::Client::Entity
|
843
|
+
# def self.default_message
|
844
|
+
# # This is a placeholder.
|
845
|
+
# end
|
846
|
+
#
|
847
|
+
# def self.default_message=(message)
|
848
|
+
# # This is a placeholder.
|
849
|
+
# end
|
850
|
+
#
|
851
|
+
# def self.entity_factory
|
852
|
+
# # This is a placeholder.
|
853
|
+
# end
|
854
|
+
#
|
855
|
+
# def self.exception
|
856
|
+
# # This is a placeholder.
|
857
|
+
# end
|
858
|
+
#
|
859
|
+
# # The error's message.
|
860
|
+
# def error_message
|
861
|
+
# # This is a placeholder.
|
862
|
+
# end
|
863
|
+
#
|
864
|
+
# # The error's type.
|
865
|
+
# def error_type
|
866
|
+
# # This is a placeholder.
|
867
|
+
# end
|
868
|
+
#
|
869
|
+
# # The error's resource type.
|
870
|
+
# def resource_type
|
871
|
+
# # This is a placeholder.
|
872
|
+
# end
|
873
|
+
#
|
874
|
+
# # The error's permission.
|
875
|
+
# def permission
|
876
|
+
# # This is a placeholder.
|
877
|
+
# end
|
878
|
+
#
|
879
|
+
# def entity
|
880
|
+
# # This is a placeholder.
|
881
|
+
# end
|
882
|
+
#
|
883
|
+
# def exception
|
884
|
+
# # This is a placeholder.
|
885
|
+
# end
|
886
|
+
#
|
887
|
+
# def message
|
888
|
+
# # This is a placeholder.
|
889
|
+
# end
|
890
|
+
#
|
891
|
+
# def backtrace
|
892
|
+
# # This is a placeholder.
|
893
|
+
# end
|
894
|
+
#
|
895
|
+
# def backtrace_locations
|
896
|
+
# # This is a placeholder.
|
897
|
+
# end
|
898
|
+
#
|
899
|
+
# def set_backtrace
|
900
|
+
# # This is a placeholder.
|
901
|
+
# end
|
902
|
+
#
|
903
|
+
# def cause
|
904
|
+
# # This is a placeholder.
|
905
|
+
# end
|
906
|
+
# end
|
907
|
+
#
|
908
|
+
# class Travis::Job < Travis::Client::Entity
|
909
|
+
# def self.find(params = {})
|
910
|
+
# # This is a placeholder.
|
911
|
+
# end
|
912
|
+
#
|
913
|
+
# def self.debug(params = {})
|
914
|
+
# # This is a placeholder.
|
915
|
+
# end
|
916
|
+
#
|
917
|
+
# def self.cancel(params = {})
|
918
|
+
# # This is a placeholder.
|
919
|
+
# end
|
920
|
+
#
|
921
|
+
# def self.restart(params = {})
|
922
|
+
# # This is a placeholder.
|
923
|
+
# end
|
924
|
+
#
|
925
|
+
# def find(params = {})
|
926
|
+
# # This is a placeholder.
|
927
|
+
# end
|
928
|
+
#
|
929
|
+
# # Current state of the job.
|
930
|
+
# def state
|
931
|
+
# # This is a placeholder.
|
932
|
+
# end
|
933
|
+
#
|
934
|
+
# # GitHub user or organization the job belongs to.
|
935
|
+
# def owner
|
936
|
+
# # This is a placeholder.
|
937
|
+
# end
|
938
|
+
#
|
939
|
+
# def log(params = {})
|
940
|
+
# # This is a placeholder.
|
941
|
+
# end
|
942
|
+
#
|
943
|
+
# # The build the job is associated with.
|
944
|
+
# def build
|
945
|
+
# # This is a placeholder.
|
946
|
+
# end
|
947
|
+
#
|
948
|
+
# def debug(params = {})
|
949
|
+
# # This is a placeholder.
|
950
|
+
# end
|
951
|
+
#
|
952
|
+
# # Value uniquely identifying the job.
|
953
|
+
# def id
|
954
|
+
# # This is a placeholder.
|
955
|
+
# end
|
956
|
+
#
|
957
|
+
# # Incremental number for a repository's builds.
|
958
|
+
# def number
|
959
|
+
# # This is a placeholder.
|
960
|
+
# end
|
961
|
+
#
|
962
|
+
# # GitHub user or organization the job belongs to.
|
963
|
+
# def repository
|
964
|
+
# # This is a placeholder.
|
965
|
+
# end
|
966
|
+
#
|
967
|
+
# # When the job started.
|
968
|
+
# def started_at
|
969
|
+
# # This is a placeholder.
|
970
|
+
# end
|
971
|
+
#
|
972
|
+
# # Wheather or not #id returns a truthy value (anything but `nil` or `false`).
|
973
|
+
# def id?
|
974
|
+
# # This is a placeholder.
|
975
|
+
# end
|
976
|
+
#
|
977
|
+
# # Wheather or not #repository returns a truthy value (anything but `nil` or `false`).
|
978
|
+
# def repository?
|
979
|
+
# # This is a placeholder.
|
980
|
+
# end
|
981
|
+
#
|
982
|
+
# # Wheather or not #number returns a truthy value (anything but `nil` or `false`).
|
983
|
+
# def number?
|
984
|
+
# # This is a placeholder.
|
985
|
+
# end
|
986
|
+
#
|
987
|
+
# # Wheather or not #state returns a truthy value (anything but `nil` or `false`).
|
988
|
+
# def state?
|
989
|
+
# # This is a placeholder.
|
990
|
+
# end
|
991
|
+
#
|
992
|
+
# # Wheather or not #started_at returns a truthy value (anything but `nil` or `false`).
|
993
|
+
# def started_at?
|
994
|
+
# # This is a placeholder.
|
995
|
+
# end
|
996
|
+
#
|
997
|
+
# # When the job finished.
|
998
|
+
# def finished_at
|
999
|
+
# # This is a placeholder.
|
1000
|
+
# end
|
1001
|
+
#
|
1002
|
+
# # Wheather or not #finished_at returns a truthy value (anything but `nil` or `false`).
|
1003
|
+
# def finished_at?
|
1004
|
+
# # This is a placeholder.
|
1005
|
+
# end
|
1006
|
+
#
|
1007
|
+
# # The commit the job is associated with.
|
1008
|
+
# def commit
|
1009
|
+
# # This is a placeholder.
|
1010
|
+
# end
|
1011
|
+
#
|
1012
|
+
# # Wheather or not #commit returns a truthy value (anything but `nil` or `false`).
|
1013
|
+
# def commit?
|
1014
|
+
# # This is a placeholder.
|
1015
|
+
# end
|
1016
|
+
#
|
1017
|
+
# # Wheather or not #build returns a truthy value (anything but `nil` or `false`).
|
1018
|
+
# def build?
|
1019
|
+
# # This is a placeholder.
|
1020
|
+
# end
|
1021
|
+
#
|
1022
|
+
# # Worker queue this job is/was scheduled on.
|
1023
|
+
# def queue
|
1024
|
+
# # This is a placeholder.
|
1025
|
+
# end
|
1026
|
+
#
|
1027
|
+
# # Wheather or not #queue returns a truthy value (anything but `nil` or `false`).
|
1028
|
+
# def queue?
|
1029
|
+
# # This is a placeholder.
|
1030
|
+
# end
|
1031
|
+
#
|
1032
|
+
# # Wheather or not #owner returns a truthy value (anything but `nil` or `false`).
|
1033
|
+
# def owner?
|
1034
|
+
# # This is a placeholder.
|
1035
|
+
# end
|
1036
|
+
#
|
1037
|
+
# def stage
|
1038
|
+
# # This is a placeholder.
|
1039
|
+
# end
|
1040
|
+
#
|
1041
|
+
# # Wheather or not #stage returns a truthy value (anything but `nil` or `false`).
|
1042
|
+
# def stage?
|
1043
|
+
# # This is a placeholder.
|
1044
|
+
# end
|
1045
|
+
#
|
1046
|
+
# def cancel(params = {})
|
1047
|
+
# # This is a placeholder.
|
1048
|
+
# end
|
1049
|
+
#
|
1050
|
+
# def restart(params = {})
|
1051
|
+
# # This is a placeholder.
|
1052
|
+
# end
|
1053
|
+
#
|
1054
|
+
# def log_find(params = {})
|
1055
|
+
# # This is a placeholder.
|
1056
|
+
# end
|
1057
|
+
#
|
1058
|
+
# def find_log(params = {})
|
1059
|
+
# # This is a placeholder.
|
1060
|
+
# end
|
1061
|
+
#
|
1062
|
+
# def log_delete(params = {})
|
1063
|
+
# # This is a placeholder.
|
1064
|
+
# end
|
1065
|
+
#
|
1066
|
+
# def delete_log(params = {})
|
1067
|
+
# # This is a placeholder.
|
1068
|
+
# end
|
1069
|
+
# end
|
1070
|
+
#
|
1071
|
+
# class Travis::Jobs < Travis::Client::Collection
|
1072
|
+
# def self.find(params = {})
|
1073
|
+
# # This is a placeholder.
|
1074
|
+
# end
|
1075
|
+
#
|
1076
|
+
# end
|
1077
|
+
#
|
1078
|
+
# class Travis::KeyPair < Travis::Client::Entity
|
1079
|
+
# def self.find(params = {})
|
1080
|
+
# # This is a placeholder.
|
1081
|
+
# end
|
1082
|
+
#
|
1083
|
+
# def self.delete(params = {})
|
1084
|
+
# # This is a placeholder.
|
1085
|
+
# end
|
1086
|
+
#
|
1087
|
+
# def self.update(params = {})
|
1088
|
+
# # This is a placeholder.
|
1089
|
+
# end
|
1090
|
+
#
|
1091
|
+
# def self.create(params = {})
|
1092
|
+
# # This is a placeholder.
|
1093
|
+
# end
|
1094
|
+
#
|
1095
|
+
# # The private key.
|
1096
|
+
# def value
|
1097
|
+
# # This is a placeholder.
|
1098
|
+
# end
|
1099
|
+
#
|
1100
|
+
# # Wheather or not #value returns a truthy value (anything but `nil` or `false`).
|
1101
|
+
# def value?
|
1102
|
+
# # This is a placeholder.
|
1103
|
+
# end
|
1104
|
+
#
|
1105
|
+
# # A text description.
|
1106
|
+
# def description
|
1107
|
+
# # This is a placeholder.
|
1108
|
+
# end
|
1109
|
+
#
|
1110
|
+
# # The public key.
|
1111
|
+
# def public_key
|
1112
|
+
# # This is a placeholder.
|
1113
|
+
# end
|
1114
|
+
#
|
1115
|
+
# # Wheather or not #public_key returns a truthy value (anything but `nil` or `false`).
|
1116
|
+
# def public_key?
|
1117
|
+
# # This is a placeholder.
|
1118
|
+
# end
|
1119
|
+
#
|
1120
|
+
# # Wheather or not #description returns a truthy value (anything but `nil` or `false`).
|
1121
|
+
# def description?
|
1122
|
+
# # This is a placeholder.
|
1123
|
+
# end
|
1124
|
+
#
|
1125
|
+
# # The fingerprint.
|
1126
|
+
# def fingerprint
|
1127
|
+
# # This is a placeholder.
|
1128
|
+
# end
|
1129
|
+
#
|
1130
|
+
# # Wheather or not #fingerprint returns a truthy value (anything but `nil` or `false`).
|
1131
|
+
# def fingerprint?
|
1132
|
+
# # This is a placeholder.
|
1133
|
+
# end
|
1134
|
+
# end
|
1135
|
+
#
|
1136
|
+
# class Travis::KeyPairGenerated < Travis::Client::Entity
|
1137
|
+
# def self.find(params = {})
|
1138
|
+
# # This is a placeholder.
|
1139
|
+
# end
|
1140
|
+
#
|
1141
|
+
# def self.create(params = {})
|
1142
|
+
# # This is a placeholder.
|
1143
|
+
# end
|
1144
|
+
#
|
1145
|
+
# # A text description.
|
1146
|
+
# def description
|
1147
|
+
# # This is a placeholder.
|
1148
|
+
# end
|
1149
|
+
#
|
1150
|
+
# # The public key.
|
1151
|
+
# def public_key
|
1152
|
+
# # This is a placeholder.
|
1153
|
+
# end
|
1154
|
+
#
|
1155
|
+
# # Wheather or not #public_key returns a truthy value (anything but `nil` or `false`).
|
1156
|
+
# def public_key?
|
1157
|
+
# # This is a placeholder.
|
1158
|
+
# end
|
1159
|
+
#
|
1160
|
+
# # Wheather or not #description returns a truthy value (anything but `nil` or `false`).
|
1161
|
+
# def description?
|
1162
|
+
# # This is a placeholder.
|
1163
|
+
# end
|
1164
|
+
#
|
1165
|
+
# # The fingerprint.
|
1166
|
+
# def fingerprint
|
1167
|
+
# # This is a placeholder.
|
1168
|
+
# end
|
1169
|
+
#
|
1170
|
+
# # Wheather or not #fingerprint returns a truthy value (anything but `nil` or `false`).
|
1171
|
+
# def fingerprint?
|
1172
|
+
# # This is a placeholder.
|
1173
|
+
# end
|
1174
|
+
# end
|
1175
|
+
#
|
1176
|
+
# class Travis::Lint < Travis::Client::Entity
|
1177
|
+
# def self.lint(params = {})
|
1178
|
+
# # This is a placeholder.
|
1179
|
+
# end
|
1180
|
+
#
|
1181
|
+
# # An array of hashes with keys and warnings.
|
1182
|
+
# def warnings
|
1183
|
+
# # This is a placeholder.
|
1184
|
+
# end
|
1185
|
+
#
|
1186
|
+
# # Wheather or not #warnings returns a truthy value (anything but `nil` or `false`).
|
1187
|
+
# def warnings?
|
1188
|
+
# # This is a placeholder.
|
1189
|
+
# end
|
1190
|
+
# end
|
1191
|
+
#
|
1192
|
+
# class Travis::Log < Travis::Client::Entity
|
1193
|
+
# def self.find(params = {})
|
1194
|
+
# # This is a placeholder.
|
1195
|
+
# end
|
1196
|
+
#
|
1197
|
+
# def self.delete(params = {})
|
1198
|
+
# # This is a placeholder.
|
1199
|
+
# end
|
1200
|
+
#
|
1201
|
+
# end
|
1202
|
+
#
|
1203
|
+
# class Travis::Organization < Travis::Client::Entity
|
1204
|
+
# def self.find(params = {})
|
1205
|
+
# # This is a placeholder.
|
1206
|
+
# end
|
1207
|
+
#
|
1208
|
+
# # Name set on GitHub.
|
1209
|
+
# def name
|
1210
|
+
# # This is a placeholder.
|
1211
|
+
# end
|
1212
|
+
#
|
1213
|
+
# def find(params = {})
|
1214
|
+
# # This is a placeholder.
|
1215
|
+
# end
|
1216
|
+
#
|
1217
|
+
# def owner(params = {})
|
1218
|
+
# # This is a placeholder.
|
1219
|
+
# end
|
1220
|
+
#
|
1221
|
+
# def active(params = {})
|
1222
|
+
# # This is a placeholder.
|
1223
|
+
# end
|
1224
|
+
#
|
1225
|
+
# # Value uniquely identifying the organization.
|
1226
|
+
# def id
|
1227
|
+
# # This is a placeholder.
|
1228
|
+
# end
|
1229
|
+
#
|
1230
|
+
# # Wheather or not #id returns a truthy value (anything but `nil` or `false`).
|
1231
|
+
# def id?
|
1232
|
+
# # This is a placeholder.
|
1233
|
+
# end
|
1234
|
+
#
|
1235
|
+
# # Wheather or not #name returns a truthy value (anything but `nil` or `false`).
|
1236
|
+
# def name?
|
1237
|
+
# # This is a placeholder.
|
1238
|
+
# end
|
1239
|
+
#
|
1240
|
+
# # Login set on GitHub.
|
1241
|
+
# def login
|
1242
|
+
# # This is a placeholder.
|
1243
|
+
# end
|
1244
|
+
#
|
1245
|
+
# # Wheather or not #login returns a truthy value (anything but `nil` or `false`).
|
1246
|
+
# def login?
|
1247
|
+
# # This is a placeholder.
|
1248
|
+
# end
|
1249
|
+
#
|
1250
|
+
# def github_id
|
1251
|
+
# # This is a placeholder.
|
1252
|
+
# end
|
1253
|
+
#
|
1254
|
+
# # Wheather or not #github_id returns a truthy value (anything but `nil` or `false`).
|
1255
|
+
# def github_id?
|
1256
|
+
# # This is a placeholder.
|
1257
|
+
# end
|
1258
|
+
#
|
1259
|
+
# # Avatar_url set on GitHub.
|
1260
|
+
# def avatar_url
|
1261
|
+
# # This is a placeholder.
|
1262
|
+
# end
|
1263
|
+
#
|
1264
|
+
# # Wheather or not #avatar_url returns a truthy value (anything but `nil` or `false`).
|
1265
|
+
# def avatar_url?
|
1266
|
+
# # This is a placeholder.
|
1267
|
+
# end
|
1268
|
+
#
|
1269
|
+
# # Repositories belonging to this organization.
|
1270
|
+
# def repositories
|
1271
|
+
# # This is a placeholder.
|
1272
|
+
# end
|
1273
|
+
#
|
1274
|
+
# # Wheather or not #repositories returns a truthy value (anything but `nil` or `false`).
|
1275
|
+
# def repositories?
|
1276
|
+
# # This is a placeholder.
|
1277
|
+
# end
|
1278
|
+
#
|
1279
|
+
# def active_for_owner(params = {})
|
1280
|
+
# # This is a placeholder.
|
1281
|
+
# end
|
1282
|
+
#
|
1283
|
+
# def for_owner_active(params = {})
|
1284
|
+
# # This is a placeholder.
|
1285
|
+
# end
|
1286
|
+
#
|
1287
|
+
# def owner_find(params = {})
|
1288
|
+
# # This is a placeholder.
|
1289
|
+
# end
|
1290
|
+
#
|
1291
|
+
# def find_owner(params = {})
|
1292
|
+
# # This is a placeholder.
|
1293
|
+
# end
|
1294
|
+
#
|
1295
|
+
# def repositories_for_owner(params = {})
|
1296
|
+
# # This is a placeholder.
|
1297
|
+
# end
|
1298
|
+
#
|
1299
|
+
# def for_owner_repositories(params = {})
|
1300
|
+
# # This is a placeholder.
|
1301
|
+
# end
|
1302
|
+
# end
|
1303
|
+
#
|
1304
|
+
# class Travis::Organizations < Travis::Client::Collection
|
1305
|
+
# def self.for_current_user(params = {})
|
1306
|
+
# # This is a placeholder.
|
1307
|
+
# end
|
1308
|
+
#
|
1309
|
+
# end
|
1310
|
+
#
|
1311
|
+
# class Travis::Owner < Travis::Client::Entity
|
1312
|
+
# def self.find(params = {})
|
1313
|
+
# # This is a placeholder.
|
1314
|
+
# end
|
1315
|
+
#
|
1316
|
+
# # User or organization name set on GitHub.
|
1317
|
+
# def name
|
1318
|
+
# # This is a placeholder.
|
1319
|
+
# end
|
1320
|
+
#
|
1321
|
+
# def find(params = {})
|
1322
|
+
# # This is a placeholder.
|
1323
|
+
# end
|
1324
|
+
#
|
1325
|
+
# def active(params = {})
|
1326
|
+
# # This is a placeholder.
|
1327
|
+
# end
|
1328
|
+
#
|
1329
|
+
# # Value uniquely identifying the owner.
|
1330
|
+
# def id
|
1331
|
+
# # This is a placeholder.
|
1332
|
+
# end
|
1333
|
+
#
|
1334
|
+
# # Wheather or not #id returns a truthy value (anything but `nil` or `false`).
|
1335
|
+
# def id?
|
1336
|
+
# # This is a placeholder.
|
1337
|
+
# end
|
1338
|
+
#
|
1339
|
+
# # Wheather or not #name returns a truthy value (anything but `nil` or `false`).
|
1340
|
+
# def name?
|
1341
|
+
# # This is a placeholder.
|
1342
|
+
# end
|
1343
|
+
#
|
1344
|
+
# # User or organization login set on GitHub.
|
1345
|
+
# def login
|
1346
|
+
# # This is a placeholder.
|
1347
|
+
# end
|
1348
|
+
#
|
1349
|
+
# # Wheather or not #login returns a truthy value (anything but `nil` or `false`).
|
1350
|
+
# def login?
|
1351
|
+
# # This is a placeholder.
|
1352
|
+
# end
|
1353
|
+
#
|
1354
|
+
# # User or organization id set on GitHub.
|
1355
|
+
# def github_id
|
1356
|
+
# # This is a placeholder.
|
1357
|
+
# end
|
1358
|
+
#
|
1359
|
+
# # Wheather or not #github_id returns a truthy value (anything but `nil` or `false`).
|
1360
|
+
# def github_id?
|
1361
|
+
# # This is a placeholder.
|
1362
|
+
# end
|
1363
|
+
#
|
1364
|
+
# # Link to user or organization avatar (image) set on GitHub.
|
1365
|
+
# def avatar_url
|
1366
|
+
# # This is a placeholder.
|
1367
|
+
# end
|
1368
|
+
#
|
1369
|
+
# # Wheather or not #avatar_url returns a truthy value (anything but `nil` or `false`).
|
1370
|
+
# def avatar_url?
|
1371
|
+
# # This is a placeholder.
|
1372
|
+
# end
|
1373
|
+
#
|
1374
|
+
# # Repositories belonging to this account.
|
1375
|
+
# def repositories
|
1376
|
+
# # This is a placeholder.
|
1377
|
+
# end
|
1378
|
+
#
|
1379
|
+
# # Wheather or not #repositories returns a truthy value (anything but `nil` or `false`).
|
1380
|
+
# def repositories?
|
1381
|
+
# # This is a placeholder.
|
1382
|
+
# end
|
1383
|
+
# end
|
1384
|
+
#
|
1385
|
+
# class Travis::Repositories < Travis::Client::Collection
|
1386
|
+
# def self.for_owner(params = {})
|
1387
|
+
# # This is a placeholder.
|
1388
|
+
# end
|
1389
|
+
#
|
1390
|
+
# def self.for_current_user(params = {})
|
1391
|
+
# # This is a placeholder.
|
1392
|
+
# end
|
1393
|
+
#
|
1394
|
+
# end
|
1395
|
+
#
|
1396
|
+
# class Travis::Repository < Travis::Client::Entity
|
1397
|
+
# def self.find(params = {})
|
1398
|
+
# # This is a placeholder.
|
1399
|
+
# end
|
1400
|
+
#
|
1401
|
+
# def self.activate(params = {})
|
1402
|
+
# # This is a placeholder.
|
1403
|
+
# end
|
1404
|
+
#
|
1405
|
+
# def self.deactivate(params = {})
|
1406
|
+
# # This is a placeholder.
|
1407
|
+
# end
|
1408
|
+
#
|
1409
|
+
# def self.star(params = {})
|
1410
|
+
# # This is a placeholder.
|
1411
|
+
# end
|
1412
|
+
#
|
1413
|
+
# def self.unstar(params = {})
|
1414
|
+
# # This is a placeholder.
|
1415
|
+
# end
|
1416
|
+
#
|
1417
|
+
# def key_pair(params = {})
|
1418
|
+
# # This is a placeholder.
|
1419
|
+
# end
|
1420
|
+
#
|
1421
|
+
# def key_pair_find(params = {})
|
1422
|
+
# # This is a placeholder.
|
1423
|
+
# end
|
1424
|
+
#
|
1425
|
+
# def find_key_pair(params = {})
|
1426
|
+
# # This is a placeholder.
|
1427
|
+
# end
|
1428
|
+
#
|
1429
|
+
# def key_pair_create(params = {})
|
1430
|
+
# # This is a placeholder.
|
1431
|
+
# end
|
1432
|
+
#
|
1433
|
+
# def create_key_pair(params = {})
|
1434
|
+
# # This is a placeholder.
|
1435
|
+
# end
|
1436
|
+
#
|
1437
|
+
# def key_pair_update(params = {})
|
1438
|
+
# # This is a placeholder.
|
1439
|
+
# end
|
1440
|
+
#
|
1441
|
+
# def update_key_pair(params = {})
|
1442
|
+
# # This is a placeholder.
|
1443
|
+
# end
|
1444
|
+
#
|
1445
|
+
# def key_pair_delete(params = {})
|
1446
|
+
# # This is a placeholder.
|
1447
|
+
# end
|
1448
|
+
#
|
1449
|
+
# def caches(params = {})
|
1450
|
+
# # This is a placeholder.
|
1451
|
+
# end
|
1452
|
+
#
|
1453
|
+
# # The repository's name on GitHub.
|
1454
|
+
# def name
|
1455
|
+
# # This is a placeholder.
|
1456
|
+
# end
|
1457
|
+
#
|
1458
|
+
# # The repository's description from GitHub.
|
1459
|
+
# def description
|
1460
|
+
# # This is a placeholder.
|
1461
|
+
# end
|
1462
|
+
#
|
1463
|
+
# # Whether or not this repository is currently enabled on Travis CI.
|
1464
|
+
# def active
|
1465
|
+
# # This is a placeholder.
|
1466
|
+
# end
|
1467
|
+
#
|
1468
|
+
# def key_pair_generated(params = {})
|
1469
|
+
# # This is a placeholder.
|
1470
|
+
# end
|
1471
|
+
#
|
1472
|
+
# def key_pair_generated_find(params = {})
|
1473
|
+
# # This is a placeholder.
|
1474
|
+
# end
|
1475
|
+
#
|
1476
|
+
# def delete_key_pair(params = {})
|
1477
|
+
# # This is a placeholder.
|
1478
|
+
# end
|
1479
|
+
#
|
1480
|
+
# def key_pair_generated_create(params = {})
|
1481
|
+
# # This is a placeholder.
|
1482
|
+
# end
|
1483
|
+
#
|
1484
|
+
# # Whether or not this repository is private.
|
1485
|
+
# def private
|
1486
|
+
# # This is a placeholder.
|
1487
|
+
# end
|
1488
|
+
#
|
1489
|
+
# def crons(params = {})
|
1490
|
+
# # This is a placeholder.
|
1491
|
+
# end
|
1492
|
+
#
|
1493
|
+
# def env_vars(params = {})
|
1494
|
+
# # This is a placeholder.
|
1495
|
+
# end
|
1496
|
+
#
|
1497
|
+
# def create_key_pair_generated(params = {})
|
1498
|
+
# # This is a placeholder.
|
1499
|
+
# end
|
1500
|
+
#
|
1501
|
+
# def find_key_pair_generated(params = {})
|
1502
|
+
# # This is a placeholder.
|
1503
|
+
# end
|
1504
|
+
#
|
1505
|
+
# # Value uniquely identifying the repository.
|
1506
|
+
# def id
|
1507
|
+
# # This is a placeholder.
|
1508
|
+
# end
|
1509
|
+
#
|
1510
|
+
# # Wheather or not #owner returns a truthy value (anything but `nil` or `false`).
|
1511
|
+
# def owner?
|
1512
|
+
# # This is a placeholder.
|
1513
|
+
# end
|
1514
|
+
#
|
1515
|
+
# def requests(params = {})
|
1516
|
+
# # This is a placeholder.
|
1517
|
+
# end
|
1518
|
+
#
|
1519
|
+
# def deactivate(params = {})
|
1520
|
+
# # This is a placeholder.
|
1521
|
+
# end
|
1522
|
+
#
|
1523
|
+
# def star(params = {})
|
1524
|
+
# # This is a placeholder.
|
1525
|
+
# end
|
1526
|
+
#
|
1527
|
+
# def unstar(params = {})
|
1528
|
+
# # This is a placeholder.
|
1529
|
+
# end
|
1530
|
+
#
|
1531
|
+
# def requests_find(params = {})
|
1532
|
+
# # This is a placeholder.
|
1533
|
+
# end
|
1534
|
+
#
|
1535
|
+
# # Same as {repository.owner.name}/{repository.name}
|
1536
|
+
# def slug
|
1537
|
+
# # This is a placeholder.
|
1538
|
+
# end
|
1539
|
+
#
|
1540
|
+
# # Wheather or not #slug returns a truthy value (anything but `nil` or `false`).
|
1541
|
+
# def slug?
|
1542
|
+
# # This is a placeholder.
|
1543
|
+
# end
|
1544
|
+
#
|
1545
|
+
# # The main programming language used according to GitHub.
|
1546
|
+
# def github_language
|
1547
|
+
# # This is a placeholder.
|
1548
|
+
# end
|
1549
|
+
#
|
1550
|
+
# # Wheather or not #github_language returns a truthy value (anything but `nil` or `false`).
|
1551
|
+
# def github_language?
|
1552
|
+
# # This is a placeholder.
|
1553
|
+
# end
|
1554
|
+
#
|
1555
|
+
# def starred
|
1556
|
+
# # This is a placeholder.
|
1557
|
+
# end
|
1558
|
+
#
|
1559
|
+
# # Wheather or not #starred returns a truthy value (anything but `nil` or `false`).
|
1560
|
+
# def starred?
|
1561
|
+
# # This is a placeholder.
|
1562
|
+
# end
|
1563
|
+
#
|
1564
|
+
# def current_build
|
1565
|
+
# # This is a placeholder.
|
1566
|
+
# end
|
1567
|
+
#
|
1568
|
+
# # Wheather or not #current_build returns a truthy value (anything but `nil` or `false`).
|
1569
|
+
# def current_build?
|
1570
|
+
# # This is a placeholder.
|
1571
|
+
# end
|
1572
|
+
#
|
1573
|
+
# def find(params = {})
|
1574
|
+
# # This is a placeholder.
|
1575
|
+
# end
|
1576
|
+
#
|
1577
|
+
# def setting(params = {})
|
1578
|
+
# # This is a placeholder.
|
1579
|
+
# end
|
1580
|
+
#
|
1581
|
+
# def find_requests(params = {})
|
1582
|
+
# # This is a placeholder.
|
1583
|
+
# end
|
1584
|
+
#
|
1585
|
+
# def requests_create(params = {})
|
1586
|
+
# # This is a placeholder.
|
1587
|
+
# end
|
1588
|
+
#
|
1589
|
+
# def create_requests(params = {})
|
1590
|
+
# # This is a placeholder.
|
1591
|
+
# end
|
1592
|
+
#
|
1593
|
+
# def update_setting(params = {})
|
1594
|
+
# # This is a placeholder.
|
1595
|
+
# end
|
1596
|
+
#
|
1597
|
+
# def setting_find(params = {})
|
1598
|
+
# # This is a placeholder.
|
1599
|
+
# end
|
1600
|
+
#
|
1601
|
+
# def find_setting(params = {})
|
1602
|
+
# # This is a placeholder.
|
1603
|
+
# end
|
1604
|
+
#
|
1605
|
+
# def setting_update(params = {})
|
1606
|
+
# # This is a placeholder.
|
1607
|
+
# end
|
1608
|
+
#
|
1609
|
+
# def branch_find(params = {})
|
1610
|
+
# # This is a placeholder.
|
1611
|
+
# end
|
1612
|
+
#
|
1613
|
+
# def find_branch(params = {})
|
1614
|
+
# # This is a placeholder.
|
1615
|
+
# end
|
1616
|
+
#
|
1617
|
+
# def branches_find(params = {})
|
1618
|
+
# # This is a placeholder.
|
1619
|
+
# end
|
1620
|
+
#
|
1621
|
+
# def find_branches(params = {})
|
1622
|
+
# # This is a placeholder.
|
1623
|
+
# end
|
1624
|
+
#
|
1625
|
+
# def builds(params = {})
|
1626
|
+
# # This is a placeholder.
|
1627
|
+
# end
|
1628
|
+
#
|
1629
|
+
# # Wheather or not #id returns a truthy value (anything but `nil` or `false`).
|
1630
|
+
# def id?
|
1631
|
+
# # This is a placeholder.
|
1632
|
+
# end
|
1633
|
+
#
|
1634
|
+
# # Wheather or not #name returns a truthy value (anything but `nil` or `false`).
|
1635
|
+
# def name?
|
1636
|
+
# # This is a placeholder.
|
1637
|
+
# end
|
1638
|
+
#
|
1639
|
+
# # Wheather or not #description returns a truthy value (anything but `nil` or `false`).
|
1640
|
+
# def description?
|
1641
|
+
# # This is a placeholder.
|
1642
|
+
# end
|
1643
|
+
#
|
1644
|
+
# def activate(params = {})
|
1645
|
+
# # This is a placeholder.
|
1646
|
+
# end
|
1647
|
+
#
|
1648
|
+
# def builds_find(params = {})
|
1649
|
+
# # This is a placeholder.
|
1650
|
+
# end
|
1651
|
+
#
|
1652
|
+
# # GitHub user or organization the repository belongs to.
|
1653
|
+
# def owner
|
1654
|
+
# # This is a placeholder.
|
1655
|
+
# end
|
1656
|
+
#
|
1657
|
+
# # Wheather or not #default_branch returns a truthy value (anything but `nil` or `false`).
|
1658
|
+
# def default_branch?
|
1659
|
+
# # This is a placeholder.
|
1660
|
+
# end
|
1661
|
+
#
|
1662
|
+
# def find_caches(params = {})
|
1663
|
+
# # This is a placeholder.
|
1664
|
+
# end
|
1665
|
+
#
|
1666
|
+
# def branch(params = {})
|
1667
|
+
# # This is a placeholder.
|
1668
|
+
# end
|
1669
|
+
#
|
1670
|
+
# def caches_find(params = {})
|
1671
|
+
# # This is a placeholder.
|
1672
|
+
# end
|
1673
|
+
#
|
1674
|
+
# def delete_caches(params = {})
|
1675
|
+
# # This is a placeholder.
|
1676
|
+
# end
|
1677
|
+
#
|
1678
|
+
# def branches(params = {})
|
1679
|
+
# # This is a placeholder.
|
1680
|
+
# end
|
1681
|
+
#
|
1682
|
+
# def settings(params = {})
|
1683
|
+
# # This is a placeholder.
|
1684
|
+
# end
|
1685
|
+
#
|
1686
|
+
# def caches_delete(params = {})
|
1687
|
+
# # This is a placeholder.
|
1688
|
+
# end
|
1689
|
+
#
|
1690
|
+
# # The default branch on GitHub.
|
1691
|
+
# def default_branch
|
1692
|
+
# # This is a placeholder.
|
1693
|
+
# end
|
1694
|
+
#
|
1695
|
+
# def cron(params = {})
|
1696
|
+
# # This is a placeholder.
|
1697
|
+
# end
|
1698
|
+
#
|
1699
|
+
# def cron_for_branch(params = {})
|
1700
|
+
# # This is a placeholder.
|
1701
|
+
# end
|
1702
|
+
#
|
1703
|
+
# def for_branch_cron(params = {})
|
1704
|
+
# # This is a placeholder.
|
1705
|
+
# end
|
1706
|
+
#
|
1707
|
+
# def cron_create(params = {})
|
1708
|
+
# # This is a placeholder.
|
1709
|
+
# end
|
1710
|
+
#
|
1711
|
+
# def find_builds(params = {})
|
1712
|
+
# # This is a placeholder.
|
1713
|
+
# end
|
1714
|
+
#
|
1715
|
+
# def create_cron(params = {})
|
1716
|
+
# # This is a placeholder.
|
1717
|
+
# end
|
1718
|
+
#
|
1719
|
+
# def env_var(params = {})
|
1720
|
+
# # This is a placeholder.
|
1721
|
+
# end
|
1722
|
+
#
|
1723
|
+
# # Wheather or not #private returns a truthy value (anything but `nil` or `false`).
|
1724
|
+
# def private?
|
1725
|
+
# # This is a placeholder.
|
1726
|
+
# end
|
1727
|
+
#
|
1728
|
+
# def env_var_find(params = {})
|
1729
|
+
# # This is a placeholder.
|
1730
|
+
# end
|
1731
|
+
#
|
1732
|
+
# def find_env_var(params = {})
|
1733
|
+
# # This is a placeholder.
|
1734
|
+
# end
|
1735
|
+
#
|
1736
|
+
# def env_var_update(params = {})
|
1737
|
+
# # This is a placeholder.
|
1738
|
+
# end
|
1739
|
+
#
|
1740
|
+
# def update_env_var(params = {})
|
1741
|
+
# # This is a placeholder.
|
1742
|
+
# end
|
1743
|
+
#
|
1744
|
+
# def env_var_delete(params = {})
|
1745
|
+
# # This is a placeholder.
|
1746
|
+
# end
|
1747
|
+
#
|
1748
|
+
# def delete_env_var(params = {})
|
1749
|
+
# # This is a placeholder.
|
1750
|
+
# end
|
1751
|
+
#
|
1752
|
+
# def env_vars_create(params = {})
|
1753
|
+
# # This is a placeholder.
|
1754
|
+
# end
|
1755
|
+
#
|
1756
|
+
# def create_env_vars(params = {})
|
1757
|
+
# # This is a placeholder.
|
1758
|
+
# end
|
1759
|
+
#
|
1760
|
+
# # Wheather or not #active returns a truthy value (anything but `nil` or `false`).
|
1761
|
+
# def active?
|
1762
|
+
# # This is a placeholder.
|
1763
|
+
# end
|
1764
|
+
# end
|
1765
|
+
#
|
1766
|
+
# class Travis::Request < Travis::Client::Entity
|
1767
|
+
# # Travis-ci status message attached to the request.
|
1768
|
+
# def message
|
1769
|
+
# # This is a placeholder.
|
1770
|
+
# end
|
1771
|
+
#
|
1772
|
+
# # The result returned after running the build (eg, passed, failed, canceled, etc)
|
1773
|
+
# def result
|
1774
|
+
# # This is a placeholder.
|
1775
|
+
# end
|
1776
|
+
#
|
1777
|
+
# # GitHub user or organization the request belongs to.
|
1778
|
+
# def owner
|
1779
|
+
# # This is a placeholder.
|
1780
|
+
# end
|
1781
|
+
#
|
1782
|
+
# # Value uniquely identifying the request.
|
1783
|
+
# def id
|
1784
|
+
# # This is a placeholder.
|
1785
|
+
# end
|
1786
|
+
#
|
1787
|
+
# # GitHub user or organization the request belongs to.
|
1788
|
+
# def repository
|
1789
|
+
# # This is a placeholder.
|
1790
|
+
# end
|
1791
|
+
#
|
1792
|
+
# # When Travis CI created the request.
|
1793
|
+
# def created_at
|
1794
|
+
# # This is a placeholder.
|
1795
|
+
# end
|
1796
|
+
#
|
1797
|
+
# # Wheather or not #id returns a truthy value (anything but `nil` or `false`).
|
1798
|
+
# def id?
|
1799
|
+
# # This is a placeholder.
|
1800
|
+
# end
|
1801
|
+
#
|
1802
|
+
# # Wheather or not #repository returns a truthy value (anything but `nil` or `false`).
|
1803
|
+
# def repository?
|
1804
|
+
# # This is a placeholder.
|
1805
|
+
# end
|
1806
|
+
#
|
1807
|
+
# # Wheather or not #message returns a truthy value (anything but `nil` or `false`).
|
1808
|
+
# def message?
|
1809
|
+
# # This is a placeholder.
|
1810
|
+
# end
|
1811
|
+
#
|
1812
|
+
# # Wheather or not #created_at returns a truthy value (anything but `nil` or `false`).
|
1813
|
+
# def created_at?
|
1814
|
+
# # This is a placeholder.
|
1815
|
+
# end
|
1816
|
+
#
|
1817
|
+
# # Origin of request (push, pull request, api)
|
1818
|
+
# def event_type
|
1819
|
+
# # This is a placeholder.
|
1820
|
+
# end
|
1821
|
+
#
|
1822
|
+
# # Wheather or not #event_type returns a truthy value (anything but `nil` or `false`).
|
1823
|
+
# def event_type?
|
1824
|
+
# # This is a placeholder.
|
1825
|
+
# end
|
1826
|
+
#
|
1827
|
+
# # The commit the request is associated with.
|
1828
|
+
# def commit
|
1829
|
+
# # This is a placeholder.
|
1830
|
+
# end
|
1831
|
+
#
|
1832
|
+
# # Wheather or not #commit returns a truthy value (anything but `nil` or `false`).
|
1833
|
+
# def commit?
|
1834
|
+
# # This is a placeholder.
|
1835
|
+
# end
|
1836
|
+
#
|
1837
|
+
# # Wheather or not #owner returns a truthy value (anything but `nil` or `false`).
|
1838
|
+
# def owner?
|
1839
|
+
# # This is a placeholder.
|
1840
|
+
# end
|
1841
|
+
#
|
1842
|
+
# def branch_name
|
1843
|
+
# # This is a placeholder.
|
1844
|
+
# end
|
1845
|
+
#
|
1846
|
+
# # Wheather or not #branch_name returns a truthy value (anything but `nil` or `false`).
|
1847
|
+
# def branch_name?
|
1848
|
+
# # This is a placeholder.
|
1849
|
+
# end
|
1850
|
+
#
|
1851
|
+
# # Wheather or not #result returns a truthy value (anything but `nil` or `false`).
|
1852
|
+
# def result?
|
1853
|
+
# # This is a placeholder.
|
1854
|
+
# end
|
1855
|
+
# end
|
1856
|
+
#
|
1857
|
+
# class Travis::Requests < Travis::Client::Collection
|
1858
|
+
# def self.find(params = {})
|
1859
|
+
# # This is a placeholder.
|
1860
|
+
# end
|
1861
|
+
#
|
1862
|
+
# def self.create(params = {})
|
1863
|
+
# # This is a placeholder.
|
1864
|
+
# end
|
1865
|
+
#
|
1866
|
+
# end
|
1867
|
+
#
|
1868
|
+
# class Travis::Setting < Travis::Client::Entity
|
1869
|
+
# def self.find(params = {})
|
1870
|
+
# # This is a placeholder.
|
1871
|
+
# end
|
1872
|
+
#
|
1873
|
+
# def self.update(params = {})
|
1874
|
+
# # This is a placeholder.
|
1875
|
+
# end
|
1876
|
+
#
|
1877
|
+
# # The setting's name.
|
1878
|
+
# def name
|
1879
|
+
# # This is a placeholder.
|
1880
|
+
# end
|
1881
|
+
#
|
1882
|
+
# def find(params = {})
|
1883
|
+
# # This is a placeholder.
|
1884
|
+
# end
|
1885
|
+
#
|
1886
|
+
# # The setting's value.
|
1887
|
+
# def value
|
1888
|
+
# # This is a placeholder.
|
1889
|
+
# end
|
1890
|
+
#
|
1891
|
+
# def update(params = {})
|
1892
|
+
# # This is a placeholder.
|
1893
|
+
# end
|
1894
|
+
#
|
1895
|
+
# # Wheather or not #value returns a truthy value (anything but `nil` or `false`).
|
1896
|
+
# def value?
|
1897
|
+
# # This is a placeholder.
|
1898
|
+
# end
|
1899
|
+
#
|
1900
|
+
# # Wheather or not #name returns a truthy value (anything but `nil` or `false`).
|
1901
|
+
# def name?
|
1902
|
+
# # This is a placeholder.
|
1903
|
+
# end
|
1904
|
+
# end
|
1905
|
+
#
|
1906
|
+
# class Travis::Settings < Travis::Client::Collection
|
1907
|
+
# def self.for_repository(params = {})
|
1908
|
+
# # This is a placeholder.
|
1909
|
+
# end
|
1910
|
+
#
|
1911
|
+
# end
|
1912
|
+
#
|
1913
|
+
# class Travis::User < Travis::Client::Entity
|
1914
|
+
# def self.find(params = {})
|
1915
|
+
# # This is a placeholder.
|
1916
|
+
# end
|
1917
|
+
#
|
1918
|
+
# def self.sync(params = {})
|
1919
|
+
# # This is a placeholder.
|
1920
|
+
# end
|
1921
|
+
#
|
1922
|
+
# def self.current(params = {})
|
1923
|
+
# # This is a placeholder.
|
1924
|
+
# end
|
1925
|
+
#
|
1926
|
+
# # Name set on GitHub.
|
1927
|
+
# def name
|
1928
|
+
# # This is a placeholder.
|
1929
|
+
# end
|
1930
|
+
#
|
1931
|
+
# def find(params = {})
|
1932
|
+
# # This is a placeholder.
|
1933
|
+
# end
|
1934
|
+
#
|
1935
|
+
# def sync(params = {})
|
1936
|
+
# # This is a placeholder.
|
1937
|
+
# end
|
1938
|
+
#
|
1939
|
+
# def owner(params = {})
|
1940
|
+
# # This is a placeholder.
|
1941
|
+
# end
|
1942
|
+
#
|
1943
|
+
# def active(params = {})
|
1944
|
+
# # This is a placeholder.
|
1945
|
+
# end
|
1946
|
+
#
|
1947
|
+
# # Value uniquely identifying the user.
|
1948
|
+
# def id
|
1949
|
+
# # This is a placeholder.
|
1950
|
+
# end
|
1951
|
+
#
|
1952
|
+
# # Wheather or not #id returns a truthy value (anything but `nil` or `false`).
|
1953
|
+
# def id?
|
1954
|
+
# # This is a placeholder.
|
1955
|
+
# end
|
1956
|
+
#
|
1957
|
+
# # Wheather or not #name returns a truthy value (anything but `nil` or `false`).
|
1958
|
+
# def name?
|
1959
|
+
# # This is a placeholder.
|
1960
|
+
# end
|
1961
|
+
#
|
1962
|
+
# def beta_features(params = {})
|
1963
|
+
# # This is a placeholder.
|
1964
|
+
# end
|
1965
|
+
#
|
1966
|
+
# # Login set on Github.
|
1967
|
+
# def login
|
1968
|
+
# # This is a placeholder.
|
1969
|
+
# end
|
1970
|
+
#
|
1971
|
+
# # Wheather or not #login returns a truthy value (anything but `nil` or `false`).
|
1972
|
+
# def login?
|
1973
|
+
# # This is a placeholder.
|
1974
|
+
# end
|
1975
|
+
#
|
1976
|
+
# # Id set on GitHub.
|
1977
|
+
# def github_id
|
1978
|
+
# # This is a placeholder.
|
1979
|
+
# end
|
1980
|
+
#
|
1981
|
+
# # Wheather or not #github_id returns a truthy value (anything but `nil` or `false`).
|
1982
|
+
# def github_id?
|
1983
|
+
# # This is a placeholder.
|
1984
|
+
# end
|
1985
|
+
#
|
1986
|
+
# # Avatar URL set on GitHub.
|
1987
|
+
# def avatar_url
|
1988
|
+
# # This is a placeholder.
|
1989
|
+
# end
|
1990
|
+
#
|
1991
|
+
# # Wheather or not #avatar_url returns a truthy value (anything but `nil` or `false`).
|
1992
|
+
# def avatar_url?
|
1993
|
+
# # This is a placeholder.
|
1994
|
+
# end
|
1995
|
+
#
|
1996
|
+
# # Repositories belonging to this user.
|
1997
|
+
# def repositories
|
1998
|
+
# # This is a placeholder.
|
1999
|
+
# end
|
2000
|
+
#
|
2001
|
+
# # Wheather or not #repositories returns a truthy value (anything but `nil` or `false`).
|
2002
|
+
# def repositories?
|
2003
|
+
# # This is a placeholder.
|
2004
|
+
# end
|
2005
|
+
#
|
2006
|
+
# # Whether or not the user is currently being synced with Github.
|
2007
|
+
# def is_syncing
|
2008
|
+
# # This is a placeholder.
|
2009
|
+
# end
|
2010
|
+
#
|
2011
|
+
# # Wheather or not #is_syncing returns a truthy value (anything but `nil` or `false`).
|
2012
|
+
# def is_syncing?
|
2013
|
+
# # This is a placeholder.
|
2014
|
+
# end
|
2015
|
+
#
|
2016
|
+
# # The last time the user was synced with GitHub.
|
2017
|
+
# def synced_at
|
2018
|
+
# # This is a placeholder.
|
2019
|
+
# end
|
2020
|
+
#
|
2021
|
+
# # Wheather or not #synced_at returns a truthy value (anything but `nil` or `false`).
|
2022
|
+
# def synced_at?
|
2023
|
+
# # This is a placeholder.
|
2024
|
+
# end
|
2025
|
+
#
|
2026
|
+
# def active_for_owner(params = {})
|
2027
|
+
# # This is a placeholder.
|
2028
|
+
# end
|
2029
|
+
#
|
2030
|
+
# def for_owner_active(params = {})
|
2031
|
+
# # This is a placeholder.
|
2032
|
+
# end
|
2033
|
+
#
|
2034
|
+
# def beta_feature_update(params = {})
|
2035
|
+
# # This is a placeholder.
|
2036
|
+
# end
|
2037
|
+
#
|
2038
|
+
# def update_beta_feature(params = {})
|
2039
|
+
# # This is a placeholder.
|
2040
|
+
# end
|
2041
|
+
#
|
2042
|
+
# def beta_feature_delete(params = {})
|
2043
|
+
# # This is a placeholder.
|
2044
|
+
# end
|
2045
|
+
#
|
2046
|
+
# def delete_beta_feature(params = {})
|
2047
|
+
# # This is a placeholder.
|
2048
|
+
# end
|
2049
|
+
#
|
2050
|
+
# def beta_features_find(params = {})
|
2051
|
+
# # This is a placeholder.
|
2052
|
+
# end
|
2053
|
+
#
|
2054
|
+
# def find_beta_features(params = {})
|
2055
|
+
# # This is a placeholder.
|
2056
|
+
# end
|
2057
|
+
#
|
2058
|
+
# def owner_find(params = {})
|
2059
|
+
# # This is a placeholder.
|
2060
|
+
# end
|
2061
|
+
#
|
2062
|
+
# def find_owner(params = {})
|
2063
|
+
# # This is a placeholder.
|
2064
|
+
# end
|
2065
|
+
#
|
2066
|
+
# def repositories_for_owner(params = {})
|
2067
|
+
# # This is a placeholder.
|
2068
|
+
# end
|
2069
|
+
#
|
2070
|
+
# def for_owner_repositories(params = {})
|
2071
|
+
# # This is a placeholder.
|
2072
|
+
# end
|
2073
|
+
# end
|