travis 1.2.6 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +37 -0
- data/lib/travis/cli.rb +1 -0
- data/lib/travis/cli/pubkey.rb +18 -0
- data/lib/travis/client/repository.rb +1 -1
- data/lib/travis/version.rb +1 -1
- data/travis.gemspec +2 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 818e03546d337ed230e406b1a939209b072a82f9
|
4
|
+
data.tar.gz: 32cb32ab8f1daeebeb9bb08206fbbc3ec654622d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8130d7c469792cbceee1e74b89c6e38ad711b01373602d93685714f938c9049cea784861977809b15aede3f2b0224f5887f448780cbd6ac7c0ad2a02792e66a
|
7
|
+
data.tar.gz: 6ca11f1d309263bf1caabeaebabc987a1861b5018f27d48758c028419ada2d20cb29c687196be4698936518456f66e3abbe1f259eb8a2a95df41202a2009d167
|
data/README.md
CHANGED
@@ -26,6 +26,7 @@ The [travis gem](https://rubygems.org/gems/travis) includes both a command line
|
|
26
26
|
* [`history`](#history)
|
27
27
|
* [`logs`](#logs)
|
28
28
|
* [`open`](#open)
|
29
|
+
* [`pubkey`](#pubkey)
|
29
30
|
* [`restart`](#restart)
|
30
31
|
* [`show`](#show)
|
31
32
|
* [`status`](#status)
|
@@ -416,6 +417,19 @@ If instead you want to open the repository, compare or pull request view on GitH
|
|
416
417
|
$ travis open 56 --print --github
|
417
418
|
web view: https://github.com/travis-ci/travis/pull/5
|
418
419
|
|
420
|
+
#### `pubkey`
|
421
|
+
|
422
|
+
Outputs the public key for a repository.
|
423
|
+
|
424
|
+
$ travis pubkey
|
425
|
+
Public key for travis-ci/travis:
|
426
|
+
|
427
|
+
-----BEGIN PUBLIC KEY-----
|
428
|
+
...
|
429
|
+
-----END PUBLIC KEY-----
|
430
|
+
|
431
|
+
$ travis pubkey -r rails/rails > rails.key
|
432
|
+
|
419
433
|
#### `restart`
|
420
434
|
|
421
435
|
This command will restart the latest build:
|
@@ -888,6 +902,29 @@ If you have the old `travis-cli` gem installed, you should `gem uninstall travis
|
|
888
902
|
|
889
903
|
## Version History
|
890
904
|
|
905
|
+
**1.2.7** (July 15, 2013)
|
906
|
+
|
907
|
+
* Add pubkey command
|
908
|
+
* Remove all whitespace from an encrypted string
|
909
|
+
|
910
|
+
**v1.2.6** (July 7, 2013)
|
911
|
+
|
912
|
+
* Improve output of history command
|
913
|
+
|
914
|
+
**v1.2.5** (July 7, 2013)
|
915
|
+
|
916
|
+
* Fix encoding issue
|
917
|
+
|
918
|
+
**v1.2.4** (July 7, 2013)
|
919
|
+
|
920
|
+
* Allow empty commit message
|
921
|
+
|
922
|
+
**v1.2.3** (June 27, 2013)
|
923
|
+
|
924
|
+
* Fix encoding issue
|
925
|
+
* Will detect github repo from other remotes besides origin
|
926
|
+
* Add clear_cache(!) to Travis::Namespace
|
927
|
+
|
891
928
|
**v1.2.2** (May 24, 2013)
|
892
929
|
|
893
930
|
* Fixed `travis disable`.
|
data/lib/travis/cli.rb
CHANGED
@@ -28,6 +28,7 @@ module Travis
|
|
28
28
|
autoload :Logs, 'travis/cli/logs'
|
29
29
|
autoload :Open, 'travis/cli/open'
|
30
30
|
autoload :Parser, 'travis/cli/parser'
|
31
|
+
autoload :Pubkey, 'travis/cli/pubkey'
|
31
32
|
autoload :Raw, 'travis/cli/raw'
|
32
33
|
autoload :RepoCommand, 'travis/cli/repo_command'
|
33
34
|
autoload :Restart, 'travis/cli/restart'
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require 'travis/cli'
|
3
|
+
|
4
|
+
module Travis
|
5
|
+
module CLI
|
6
|
+
class Pubkey < RepoCommand
|
7
|
+
def run
|
8
|
+
say key, "Public key for #{color(repository.slug, :info)}:\n\n%s", :bold
|
9
|
+
end
|
10
|
+
|
11
|
+
private
|
12
|
+
|
13
|
+
def key
|
14
|
+
repository.public_key.to_rsa.to_s
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
data/lib/travis/version.rb
CHANGED
data/travis.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
# general infos
|
4
4
|
s.name = "travis"
|
5
|
-
s.version = "1.2.
|
5
|
+
s.version = "1.2.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"
|
@@ -58,6 +58,7 @@ Gem::Specification.new do |s|
|
|
58
58
|
"lib/travis/cli/logs.rb",
|
59
59
|
"lib/travis/cli/open.rb",
|
60
60
|
"lib/travis/cli/parser.rb",
|
61
|
+
"lib/travis/cli/pubkey.rb",
|
61
62
|
"lib/travis/cli/raw.rb",
|
62
63
|
"lib/travis/cli/repo_command.rb",
|
63
64
|
"lib/travis/cli/restart.rb",
|
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.2.
|
4
|
+
version: 1.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Haase
|
@@ -16,7 +16,7 @@ authors:
|
|
16
16
|
autorequire:
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
|
-
date: 2013-07-
|
19
|
+
date: 2013-07-15 00:00:00.000000000 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: faraday
|
@@ -223,6 +223,7 @@ files:
|
|
223
223
|
- lib/travis/cli/logs.rb
|
224
224
|
- lib/travis/cli/open.rb
|
225
225
|
- lib/travis/cli/parser.rb
|
226
|
+
- lib/travis/cli/pubkey.rb
|
226
227
|
- lib/travis/cli/raw.rb
|
227
228
|
- lib/travis/cli/repo_command.rb
|
228
229
|
- lib/travis/cli/restart.rb
|