travis 1.5.7.travis.345.4 → 1.5.7
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 +6 -14
- data/README.md +30 -3
- data/Rakefile +2 -6
- data/{lib/travis → assets}/cacert.pem +0 -0
- data/{lib/travis/cli → assets}/init/c.yml +0 -0
- data/{lib/travis/cli → assets}/init/clojure.yml +0 -0
- data/{lib/travis/cli → assets}/init/cpp.yml +0 -0
- data/{lib/travis/cli → assets}/init/erlang.yml +0 -0
- data/{lib/travis/cli → assets}/init/go.yml +0 -0
- data/{lib/travis/cli → assets}/init/groovy.yml +0 -0
- data/{lib/travis/cli → assets}/init/haskell.yml +0 -0
- data/{lib/travis/cli → assets}/init/java.yml +0 -0
- data/{lib/travis/cli → assets}/init/node_js.yml +0 -0
- data/{lib/travis/cli → assets}/init/objective-c.yml +0 -0
- data/{lib/travis/cli → assets}/init/perl.yml +0 -0
- data/{lib/travis/cli → assets}/init/php.yml +0 -0
- data/{lib/travis/cli → assets}/init/python.yml +0 -0
- data/{lib/travis/cli → assets}/init/ruby.yml +0 -0
- data/{lib/travis/cli → assets}/init/scala.yml +0 -0
- data/assets/notifications/Travis CI.app/Contents/Info.plist +52 -0
- data/assets/notifications/Travis CI.app/Contents/MacOS/Travis CI +0 -0
- data/assets/notifications/Travis CI.app/Contents/PkgInfo +1 -0
- data/assets/notifications/Travis CI.app/Contents/Resources/Travis CI.icns +0 -0
- data/assets/notifications/Travis CI.app/Contents/Resources/en.lproj/Credits.rtf +29 -0
- data/assets/notifications/Travis CI.app/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- data/assets/notifications/Travis CI.app/Contents/Resources/en.lproj/MainMenu.nib +0 -0
- data/assets/notifications/icon.png +0 -0
- data/assets/travis.sh +132 -0
- data/{completion → assets}/travis.sh.erb +0 -0
- data/lib/travis/cli/api_command.rb +6 -3
- data/lib/travis/cli/command.rb +23 -9
- data/lib/travis/cli/init.rb +2 -3
- data/lib/travis/cli/monitor.rb +23 -3
- data/lib/travis/cli/repo_command.rb +5 -1
- data/lib/travis/client/listener.rb +14 -1
- data/lib/travis/client/session.rb +3 -1
- data/lib/travis/tools/assets.rb +21 -0
- data/lib/travis/tools/completion.rb +50 -0
- data/lib/travis/tools/notification.rb +10 -5
- data/lib/travis/version.rb +1 -1
- data/spec/support/helpers.rb +1 -1
- data/travis.gemspec +30 -23
- metadata +39 -50
- data/completion/extconf.rb +0 -18
- data/completion/travis.sh +0 -132
data/lib/travis/cli/init.rb
CHANGED
@@ -34,8 +34,7 @@ module Travis
|
|
34
34
|
attr_writer :travis_config
|
35
35
|
|
36
36
|
def self.languages
|
37
|
-
|
38
|
-
Dir[pattern].map { |f| File.basename(f, '.yml') }.sort
|
37
|
+
Dir[asset_path('init/*.yml')].map { |f| File.basename(f, '.yml') }.sort
|
39
38
|
end
|
40
39
|
|
41
40
|
def help
|
@@ -64,7 +63,7 @@ module Travis
|
|
64
63
|
private
|
65
64
|
|
66
65
|
def template_name(language)
|
67
|
-
|
66
|
+
asset_path "init/#{language}.yml"
|
68
67
|
end
|
69
68
|
|
70
69
|
def template(language)
|
data/lib/travis/cli/monitor.rb
CHANGED
@@ -16,6 +16,10 @@ module Travis
|
|
16
16
|
c.setup_notification(type)
|
17
17
|
end
|
18
18
|
|
19
|
+
on('-b', '--builds', 'only monitor builds, not jobs')
|
20
|
+
on('-p', '--push', 'monitor push events')
|
21
|
+
on('-P', '--pull', 'monitor pull request events')
|
22
|
+
|
19
23
|
attr_reader :repos, :notification
|
20
24
|
|
21
25
|
def initialize(*)
|
@@ -53,18 +57,34 @@ module Travis
|
|
53
57
|
end
|
54
58
|
end
|
55
59
|
|
60
|
+
def events
|
61
|
+
events = %w[build:started build:finished]
|
62
|
+
events << 'job:started' << 'job:finished' unless builds?
|
63
|
+
events
|
64
|
+
end
|
65
|
+
|
66
|
+
def all?
|
67
|
+
!pull? and !push?
|
68
|
+
end
|
69
|
+
|
70
|
+
def monitor?(entity)
|
71
|
+
return true if all?
|
72
|
+
entity.pull_request? ? pull? : push?
|
73
|
+
end
|
74
|
+
|
56
75
|
def run
|
57
76
|
listen(*repos) do |listener|
|
58
|
-
listener.on_connect { say description,
|
59
|
-
listener.on
|
77
|
+
listener.on_connect { say description, "Monitoring #{"builds for " if builds?}%s:" }
|
78
|
+
listener.on(*events) do |event|
|
60
79
|
entity = event.job || event.build
|
61
80
|
time = entity.finished_at || entity.started_at
|
81
|
+
next unless monitor? entity
|
62
82
|
say [
|
63
83
|
color(formatter.time(time), entity.color),
|
64
84
|
color(entity.inspect_info, [entity.color, :bold]),
|
65
85
|
color(entity.state, entity.color)
|
66
86
|
].join(" ")
|
67
|
-
notification.notify(
|
87
|
+
notification.notify(entity.repository.slug, "#{entity.class.name[/[^:]+$/]} ##{entity.number} #{entity.state}")
|
68
88
|
end
|
69
89
|
end
|
70
90
|
end
|
@@ -6,12 +6,14 @@ module Travis
|
|
6
6
|
module CLI
|
7
7
|
class RepoCommand < ApiCommand
|
8
8
|
GIT_REGEX = %r{/?(.*/.+?)(\.git)?$}
|
9
|
+
TRAVIS = %r{^https://(staging-)?api\.travis-ci\.(org|com)}
|
9
10
|
on('-r', '--repo SLUG', 'repository to use (will try to detect from current git clone)') { |c, slug| c.slug = slug }
|
10
11
|
|
11
12
|
attr_accessor :slug
|
12
13
|
abstract
|
13
14
|
|
14
15
|
def setup
|
16
|
+
setup_enterprise
|
15
17
|
error "Can't figure out GitHub repo name. Ensure you're in the repo directory, or specify the repo name via the -r option (e.g. travis <command> -r <repo-name>)" unless self.slug ||= find_slug
|
16
18
|
error "GitHub repo name is invalid, it should be on the form 'owner/repo'" unless self.slug.include?("/")
|
17
19
|
self.api_endpoint = detect_api_endpoint
|
@@ -63,10 +65,12 @@ module Travis
|
|
63
65
|
end
|
64
66
|
|
65
67
|
def detect_api_endpoint
|
66
|
-
if explicit_api_endpoint?
|
68
|
+
if explicit_api_endpoint? or enterprise?
|
67
69
|
repo_config['endpoint'] = api_endpoint
|
68
70
|
elsif ENV['TRAVIS_ENDPOINT']
|
69
71
|
ENV['TRAVIS_ENDPOINT']
|
72
|
+
elsif config['default_endpoint'] and config['default_endpoint'] !~ TRAVIS
|
73
|
+
repo_config['endpoint'] ||= config['default_endpoint']
|
70
74
|
else
|
71
75
|
repo_config['endpoint'] ||= begin
|
72
76
|
load_gh
|
@@ -70,7 +70,7 @@ module Travis
|
|
70
70
|
|
71
71
|
def initialize(session)
|
72
72
|
@session = session
|
73
|
-
@socket = Socket.new(pusher_key,
|
73
|
+
@socket = Socket.new(pusher_key, pusher_options)
|
74
74
|
@channels = []
|
75
75
|
@callbacks = []
|
76
76
|
end
|
@@ -139,6 +139,19 @@ module Travis
|
|
139
139
|
session.user.channels
|
140
140
|
end
|
141
141
|
|
142
|
+
def pusher_options
|
143
|
+
pusher_options = session.config['pusher'] || {}
|
144
|
+
encrypted = pusher_options['scheme'] != 'http'
|
145
|
+
options = { :encrypted => encrypted, :session => session }
|
146
|
+
options[:ws_host] = pusher_options['host'] if pusher_options['host']
|
147
|
+
options[:wss_port] = pusher_options['port'] if encrypted and pusher_options['port']
|
148
|
+
options[:ws_port] = pusher_options['port'] if !encrypted and pusher_options['port']
|
149
|
+
options[:ws_path] = pusher_options['path'] if pusher_options['path']
|
150
|
+
options[:ws_path] = '/' << options[:ws_path] unless options[:ws_path].nil? or options[:ws_path].start_with? '/'
|
151
|
+
options[:ssl_verify] = session.ssl.fetch(:verify, true)
|
152
|
+
options
|
153
|
+
end
|
154
|
+
|
142
155
|
def pusher_key
|
143
156
|
session.config.fetch('pusher').fetch('key')
|
144
157
|
rescue IndexError
|
@@ -4,6 +4,7 @@ require 'travis/version'
|
|
4
4
|
require 'faraday'
|
5
5
|
require 'faraday_middleware'
|
6
6
|
require 'travis/tools/system'
|
7
|
+
require 'travis/tools/assets'
|
7
8
|
|
8
9
|
begin
|
9
10
|
require 'typhoeus/adapters/faraday' unless Travis::Tools::System.windows?
|
@@ -15,7 +16,8 @@ require 'json'
|
|
15
16
|
module Travis
|
16
17
|
module Client
|
17
18
|
class Session
|
18
|
-
SSL_OPTIONS = { :ca_file =>
|
19
|
+
SSL_OPTIONS = { :ca_file => Tools::Assets['cacert.pem'] }
|
20
|
+
|
19
21
|
include Methods
|
20
22
|
attr_reader :connection, :headers, :access_token, :instruments, :faraday_adapter, :agent_info, :ssl
|
21
23
|
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module Travis
|
2
|
+
module Tools
|
3
|
+
module Assets
|
4
|
+
BASE = File.expand_path('../../../../assets', __FILE__)
|
5
|
+
extend self
|
6
|
+
|
7
|
+
def asset_path(file)
|
8
|
+
File.expand_path(file, BASE)
|
9
|
+
end
|
10
|
+
|
11
|
+
def asset(file)
|
12
|
+
File.read(asset_path(file))
|
13
|
+
end
|
14
|
+
|
15
|
+
class << self
|
16
|
+
alias [] asset_path
|
17
|
+
alias read asset
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,50 @@
|
|
1
|
+
require 'travis/tools/assets'
|
2
|
+
require 'travis/cli'
|
3
|
+
require 'fileutils'
|
4
|
+
require 'erb'
|
5
|
+
|
6
|
+
module Travis
|
7
|
+
module Tools
|
8
|
+
module Completion
|
9
|
+
RCS = ['.zshrc', '.bashrc'].map { |f| File.expand_path(f, ENV['HOME']) }
|
10
|
+
include FileUtils
|
11
|
+
extend self
|
12
|
+
|
13
|
+
def config_path
|
14
|
+
ENV.fetch('TRAVIS_CONFIG_PATH') { File.expand_path('.travis', ENV['HOME']) }
|
15
|
+
end
|
16
|
+
|
17
|
+
def cmp_file
|
18
|
+
File.expand_path('travis.sh', config_path)
|
19
|
+
end
|
20
|
+
|
21
|
+
def install_completion
|
22
|
+
mkdir_p(config_path)
|
23
|
+
cp(Assets['travis.sh'], cmp_file)
|
24
|
+
source = "source " << cmp_file
|
25
|
+
|
26
|
+
RCS.each do |file|
|
27
|
+
next unless File.exist? file and File.writable? file
|
28
|
+
next if File.read(file).include? source
|
29
|
+
File.open(file, "a") { |f| f.puts("", "# added by travis gem", "[ -f #{CMP_FILE} ] && #{source}") }
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def completion_installed?
|
34
|
+
source = "source " << config_path
|
35
|
+
RCS.each do |file|
|
36
|
+
next unless File.exist? file and File.writable? file
|
37
|
+
return false unless File.read(file).include? source
|
38
|
+
end
|
39
|
+
true
|
40
|
+
end
|
41
|
+
|
42
|
+
def compile
|
43
|
+
commands = Travis::CLI.commands.sort_by { |c| c.command_name }
|
44
|
+
template = Assets.read('travis.sh.erb')
|
45
|
+
source = ERB.new(template).result(binding).gsub(/^ +\n/, '')
|
46
|
+
File.write(Assets['travis.sh'], source)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -1,5 +1,6 @@
|
|
1
|
+
require "travis"
|
1
2
|
require "travis/tools/system"
|
2
|
-
require "
|
3
|
+
require "travis/tools/assets"
|
3
4
|
require "cgi"
|
4
5
|
|
5
6
|
module Travis
|
@@ -7,6 +8,7 @@ module Travis
|
|
7
8
|
module Notification
|
8
9
|
extend self
|
9
10
|
DEFAULT = [:osx, :growl, :libnotify]
|
11
|
+
ICON = Assets['notifications/icon.png']
|
10
12
|
|
11
13
|
def new(*list)
|
12
14
|
list.concat(DEFAULT) if list.empty?
|
@@ -22,6 +24,7 @@ module Travis
|
|
22
24
|
end
|
23
25
|
|
24
26
|
class Dummy
|
27
|
+
BIN_PATH = Assets['Travis CI.app/Contents/MacOS/Travis CI']
|
25
28
|
def notify(title, body)
|
26
29
|
end
|
27
30
|
|
@@ -31,12 +34,14 @@ module Travis
|
|
31
34
|
end
|
32
35
|
|
33
36
|
class OSX
|
37
|
+
BIN_PATH = Assets["notifications/Travis CI.app/Contents/MacOS/Travis CI"]
|
38
|
+
|
34
39
|
def notify(title, body)
|
35
|
-
|
40
|
+
system BIN_PATH, '-message', body.to_s, '-title', title.to_s
|
36
41
|
end
|
37
42
|
|
38
43
|
def available?
|
39
|
-
System.mac? and
|
44
|
+
System.mac? and `sw_vers -productVersion`.strip >= '10.8'
|
40
45
|
end
|
41
46
|
end
|
42
47
|
|
@@ -46,7 +51,7 @@ module Travis
|
|
46
51
|
end
|
47
52
|
|
48
53
|
def notify(title, body)
|
49
|
-
system @command, '-n', 'Travis', '-m', body, title
|
54
|
+
system @command, '-n', 'Travis', '--image', ICON, '-m', body, title
|
50
55
|
end
|
51
56
|
|
52
57
|
def available?
|
@@ -61,7 +66,7 @@ module Travis
|
|
61
66
|
end
|
62
67
|
|
63
68
|
def notify(title, body)
|
64
|
-
system @command, "--expire-time=#{@expire_time}", title, CGI.escapeHTML(body)
|
69
|
+
system @command, "--expire-time=#{@expire_time}", "-i", ICON, title, CGI.escapeHTML(body)
|
65
70
|
end
|
66
71
|
end
|
67
72
|
end
|
data/lib/travis/version.rb
CHANGED
data/spec/support/helpers.rb
CHANGED
data/travis.gemspec
CHANGED
@@ -2,13 +2,12 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
# general infos
|
4
4
|
s.name = "travis"
|
5
|
-
s.version = "1.5.
|
5
|
+
s.version = "1.5.7"
|
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"
|
9
9
|
s.license = "MIT"
|
10
10
|
s.executables = ["travis"]
|
11
|
-
s.extensions = ["completion/extconf.rb"]
|
12
11
|
|
13
12
|
# generated from git shortlog -sn
|
14
13
|
s.authors = [
|
@@ -66,13 +65,35 @@ Gem::Specification.new do |s|
|
|
66
65
|
"LICENSE",
|
67
66
|
"README.md",
|
68
67
|
"Rakefile",
|
68
|
+
"assets/cacert.pem",
|
69
|
+
"assets/init/c.yml",
|
70
|
+
"assets/init/clojure.yml",
|
71
|
+
"assets/init/cpp.yml",
|
72
|
+
"assets/init/erlang.yml",
|
73
|
+
"assets/init/go.yml",
|
74
|
+
"assets/init/groovy.yml",
|
75
|
+
"assets/init/haskell.yml",
|
76
|
+
"assets/init/java.yml",
|
77
|
+
"assets/init/node_js.yml",
|
78
|
+
"assets/init/objective-c.yml",
|
79
|
+
"assets/init/perl.yml",
|
80
|
+
"assets/init/php.yml",
|
81
|
+
"assets/init/python.yml",
|
82
|
+
"assets/init/ruby.yml",
|
83
|
+
"assets/init/scala.yml",
|
84
|
+
"assets/notifications/Travis CI.app/Contents/Info.plist",
|
85
|
+
"assets/notifications/Travis CI.app/Contents/MacOS/Travis CI",
|
86
|
+
"assets/notifications/Travis CI.app/Contents/PkgInfo",
|
87
|
+
"assets/notifications/Travis CI.app/Contents/Resources/Travis CI.icns",
|
88
|
+
"assets/notifications/Travis CI.app/Contents/Resources/en.lproj/Credits.rtf",
|
89
|
+
"assets/notifications/Travis CI.app/Contents/Resources/en.lproj/InfoPlist.strings",
|
90
|
+
"assets/notifications/Travis CI.app/Contents/Resources/en.lproj/MainMenu.nib",
|
91
|
+
"assets/notifications/icon.png",
|
92
|
+
"assets/travis.sh",
|
93
|
+
"assets/travis.sh.erb",
|
69
94
|
"bin/travis",
|
70
|
-
"completion/extconf.rb",
|
71
|
-
"completion/travis.sh",
|
72
|
-
"completion/travis.sh.erb",
|
73
95
|
"example/org_overview.rb",
|
74
96
|
"lib/travis.rb",
|
75
|
-
"lib/travis/cacert.pem",
|
76
97
|
"lib/travis/cli.rb",
|
77
98
|
"lib/travis/cli/accounts.rb",
|
78
99
|
"lib/travis/cli/api_command.rb",
|
@@ -87,21 +108,6 @@ Gem::Specification.new do |s|
|
|
87
108
|
"lib/travis/cli/help.rb",
|
88
109
|
"lib/travis/cli/history.rb",
|
89
110
|
"lib/travis/cli/init.rb",
|
90
|
-
"lib/travis/cli/init/c.yml",
|
91
|
-
"lib/travis/cli/init/clojure.yml",
|
92
|
-
"lib/travis/cli/init/cpp.yml",
|
93
|
-
"lib/travis/cli/init/erlang.yml",
|
94
|
-
"lib/travis/cli/init/go.yml",
|
95
|
-
"lib/travis/cli/init/groovy.yml",
|
96
|
-
"lib/travis/cli/init/haskell.yml",
|
97
|
-
"lib/travis/cli/init/java.yml",
|
98
|
-
"lib/travis/cli/init/node_js.yml",
|
99
|
-
"lib/travis/cli/init/objective-c.yml",
|
100
|
-
"lib/travis/cli/init/perl.yml",
|
101
|
-
"lib/travis/cli/init/php.yml",
|
102
|
-
"lib/travis/cli/init/python.yml",
|
103
|
-
"lib/travis/cli/init/ruby.yml",
|
104
|
-
"lib/travis/cli/init/scala.yml",
|
105
111
|
"lib/travis/cli/login.rb",
|
106
112
|
"lib/travis/cli/logout.rb",
|
107
113
|
"lib/travis/cli/logs.rb",
|
@@ -152,6 +158,8 @@ Gem::Specification.new do |s|
|
|
152
158
|
"lib/travis/client/user.rb",
|
153
159
|
"lib/travis/client/worker.rb",
|
154
160
|
"lib/travis/pro.rb",
|
161
|
+
"lib/travis/tools/assets.rb",
|
162
|
+
"lib/travis/tools/completion.rb",
|
155
163
|
"lib/travis/tools/formatter.rb",
|
156
164
|
"lib/travis/tools/notification.rb",
|
157
165
|
"lib/travis/tools/safe_string.rb",
|
@@ -205,8 +213,7 @@ Gem::Specification.new do |s|
|
|
205
213
|
s.add_dependency "launchy", "~> 2.1"
|
206
214
|
s.add_dependency "pry", "~> 0.9"
|
207
215
|
s.add_dependency "typhoeus", "~> 0.6"
|
208
|
-
s.add_dependency "pusher-client", "~> 0.
|
209
|
-
s.add_dependency "terminal-notifier", ">= 1.4.2"
|
216
|
+
s.add_dependency "pusher-client", "~> 0.4"
|
210
217
|
s.add_dependency "addressable", "~> 2.3"
|
211
218
|
s.add_development_dependency "rspec", "~> 2.12"
|
212
219
|
s.add_development_dependency "sinatra", "~> 1.3"
|
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.7
|
4
|
+
version: 1.5.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Haase
|
@@ -90,14 +90,14 @@ dependencies:
|
|
90
90
|
name: backports
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
|
-
- -
|
93
|
+
- - '>='
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: '0'
|
96
96
|
type: :runtime
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
|
-
- -
|
100
|
+
- - '>='
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '0'
|
103
103
|
- !ruby/object:Gem::Dependency
|
@@ -162,34 +162,14 @@ dependencies:
|
|
162
162
|
requirements:
|
163
163
|
- - ~>
|
164
164
|
- !ruby/object:Gem::Version
|
165
|
-
version: '0.
|
166
|
-
- - ! '>='
|
167
|
-
- !ruby/object:Gem::Version
|
168
|
-
version: 0.3.1
|
165
|
+
version: '0.4'
|
169
166
|
type: :runtime
|
170
167
|
prerelease: false
|
171
168
|
version_requirements: !ruby/object:Gem::Requirement
|
172
169
|
requirements:
|
173
170
|
- - ~>
|
174
171
|
- !ruby/object:Gem::Version
|
175
|
-
version: '0.
|
176
|
-
- - ! '>='
|
177
|
-
- !ruby/object:Gem::Version
|
178
|
-
version: 0.3.1
|
179
|
-
- !ruby/object:Gem::Dependency
|
180
|
-
name: terminal-notifier
|
181
|
-
requirement: !ruby/object:Gem::Requirement
|
182
|
-
requirements:
|
183
|
-
- - ! '>='
|
184
|
-
- !ruby/object:Gem::Version
|
185
|
-
version: 1.4.2
|
186
|
-
type: :runtime
|
187
|
-
prerelease: false
|
188
|
-
version_requirements: !ruby/object:Gem::Requirement
|
189
|
-
requirements:
|
190
|
-
- - ! '>='
|
191
|
-
- !ruby/object:Gem::Version
|
192
|
-
version: 1.4.2
|
172
|
+
version: '0.4'
|
193
173
|
- !ruby/object:Gem::Dependency
|
194
174
|
name: addressable
|
195
175
|
requirement: !ruby/object:Gem::Requirement
|
@@ -272,20 +252,41 @@ email:
|
|
272
252
|
- adrien.brault@gmail.com
|
273
253
|
executables:
|
274
254
|
- travis
|
275
|
-
extensions:
|
276
|
-
- completion/extconf.rb
|
255
|
+
extensions: []
|
277
256
|
extra_rdoc_files: []
|
278
257
|
files:
|
279
258
|
- LICENSE
|
280
259
|
- README.md
|
281
260
|
- Rakefile
|
261
|
+
- assets/cacert.pem
|
262
|
+
- assets/init/c.yml
|
263
|
+
- assets/init/clojure.yml
|
264
|
+
- assets/init/cpp.yml
|
265
|
+
- assets/init/erlang.yml
|
266
|
+
- assets/init/go.yml
|
267
|
+
- assets/init/groovy.yml
|
268
|
+
- assets/init/haskell.yml
|
269
|
+
- assets/init/java.yml
|
270
|
+
- assets/init/node_js.yml
|
271
|
+
- assets/init/objective-c.yml
|
272
|
+
- assets/init/perl.yml
|
273
|
+
- assets/init/php.yml
|
274
|
+
- assets/init/python.yml
|
275
|
+
- assets/init/ruby.yml
|
276
|
+
- assets/init/scala.yml
|
277
|
+
- assets/notifications/Travis CI.app/Contents/Info.plist
|
278
|
+
- assets/notifications/Travis CI.app/Contents/MacOS/Travis CI
|
279
|
+
- assets/notifications/Travis CI.app/Contents/PkgInfo
|
280
|
+
- assets/notifications/Travis CI.app/Contents/Resources/Travis CI.icns
|
281
|
+
- assets/notifications/Travis CI.app/Contents/Resources/en.lproj/Credits.rtf
|
282
|
+
- assets/notifications/Travis CI.app/Contents/Resources/en.lproj/InfoPlist.strings
|
283
|
+
- assets/notifications/Travis CI.app/Contents/Resources/en.lproj/MainMenu.nib
|
284
|
+
- assets/notifications/icon.png
|
285
|
+
- assets/travis.sh
|
286
|
+
- assets/travis.sh.erb
|
282
287
|
- bin/travis
|
283
|
-
- completion/extconf.rb
|
284
|
-
- completion/travis.sh
|
285
|
-
- completion/travis.sh.erb
|
286
288
|
- example/org_overview.rb
|
287
289
|
- lib/travis.rb
|
288
|
-
- lib/travis/cacert.pem
|
289
290
|
- lib/travis/cli.rb
|
290
291
|
- lib/travis/cli/accounts.rb
|
291
292
|
- lib/travis/cli/api_command.rb
|
@@ -300,21 +301,6 @@ files:
|
|
300
301
|
- lib/travis/cli/help.rb
|
301
302
|
- lib/travis/cli/history.rb
|
302
303
|
- lib/travis/cli/init.rb
|
303
|
-
- lib/travis/cli/init/c.yml
|
304
|
-
- lib/travis/cli/init/clojure.yml
|
305
|
-
- lib/travis/cli/init/cpp.yml
|
306
|
-
- lib/travis/cli/init/erlang.yml
|
307
|
-
- lib/travis/cli/init/go.yml
|
308
|
-
- lib/travis/cli/init/groovy.yml
|
309
|
-
- lib/travis/cli/init/haskell.yml
|
310
|
-
- lib/travis/cli/init/java.yml
|
311
|
-
- lib/travis/cli/init/node_js.yml
|
312
|
-
- lib/travis/cli/init/objective-c.yml
|
313
|
-
- lib/travis/cli/init/perl.yml
|
314
|
-
- lib/travis/cli/init/php.yml
|
315
|
-
- lib/travis/cli/init/python.yml
|
316
|
-
- lib/travis/cli/init/ruby.yml
|
317
|
-
- lib/travis/cli/init/scala.yml
|
318
304
|
- lib/travis/cli/login.rb
|
319
305
|
- lib/travis/cli/logout.rb
|
320
306
|
- lib/travis/cli/logs.rb
|
@@ -365,6 +351,8 @@ files:
|
|
365
351
|
- lib/travis/client/user.rb
|
366
352
|
- lib/travis/client/worker.rb
|
367
353
|
- lib/travis/pro.rb
|
354
|
+
- lib/travis/tools/assets.rb
|
355
|
+
- lib/travis/tools/completion.rb
|
368
356
|
- lib/travis/tools/formatter.rb
|
369
357
|
- lib/travis/tools/notification.rb
|
370
358
|
- lib/travis/tools/safe_string.rb
|
@@ -416,18 +404,19 @@ require_paths:
|
|
416
404
|
- lib
|
417
405
|
required_ruby_version: !ruby/object:Gem::Requirement
|
418
406
|
requirements:
|
419
|
-
- -
|
407
|
+
- - '>='
|
420
408
|
- !ruby/object:Gem::Version
|
421
409
|
version: '0'
|
422
410
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
423
411
|
requirements:
|
424
|
-
- -
|
412
|
+
- - '>='
|
425
413
|
- !ruby/object:Gem::Version
|
426
|
-
version:
|
414
|
+
version: '0'
|
427
415
|
requirements: []
|
428
416
|
rubyforge_project:
|
429
|
-
rubygems_version: 2.0.
|
417
|
+
rubygems_version: 2.0.7
|
430
418
|
signing_key:
|
431
419
|
specification_version: 4
|
432
420
|
summary: Travis CI client
|
433
421
|
test_files: []
|
422
|
+
has_rdoc:
|