travis 1.5.6.travis.307.4 → 1.5.6.travis.312.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +7 -0
- data/lib/travis/cli/command.rb +1 -1
- data/lib/travis/cli.rb +1 -0
- data/spec/cli/token_spec.rb +1 -1
- data/spec/cli/whoami_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDAwNGZhYTA4OTRkZjc3OWYxOGM0MGUyYTZmZjFmMDI2ZTkyNWUwNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YjllNGI5YzkxYmZkZmVhNzljOGUxYzA3ZGI3MmRiMjM4NzM3ZDA2YQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjRmMmJiMjc3YTkyZDJmMjE5OTg3OGI5YzQ2OTkzMWE4MDQ3YzlhMDZiMWY2
|
10
|
+
NjRiYzVmZjI4NTYzZmFjYzliY2ZiODk4NzkxYjY0YTEzNjIwNmI4ZDFhNjU1
|
11
|
+
ODk0NWU0MTlkZjRkZjkyZGFjODFhMTJkNDk2OTE4ODM4NDlmYzE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MmU3MDBhODg1YzhmNjEzYjcwODgzZmVjM2UyNzk0YTg4ZmYzNTMxYTI5ZjJm
|
14
|
+
ZDFjNzZiNjc1ZTBlMzAxOTEzMjM1MzM2ODY0MGQxZGUxMTVlMjhiYjk1OTE2
|
15
|
+
YWU2OTZkYjY3OTQxMzk0NDRjZTU1ZjNjNzYwMTIxMmNkMzNlOTM=
|
data/README.md
CHANGED
@@ -193,6 +193,13 @@ If you don't want it to send your credentials to GitHub, you can create a GitHub
|
|
193
193
|
|
194
194
|
A third option is for the really lazy: `--auto`. In this mode the client will try to find a GitHub token for you and just use that. This will only work if you have a [global GitHub token](https://help.github.com/articles/git-over-https-using-oauth-token) stored in your [.netrc](http://blogdown.io/c4d42f87-80dd-45d5-8927-4299cbdf261c/posts/574baa68-f663-4dcf-88b9-9d41310baf2f). If you haven't heard of this, it's worth looking into in general. Again: Travis CI will not store that token.
|
195
195
|
|
196
|
+
#### `logout`
|
197
|
+
|
198
|
+
This command makes Travis CI forget your access token.
|
199
|
+
|
200
|
+
$ travis logout --pro
|
201
|
+
Successfully logged out!
|
202
|
+
|
196
203
|
#### `monitor`
|
197
204
|
|
198
205
|
Usage: travis monitor [options]
|
data/lib/travis/cli/command.rb
CHANGED
data/lib/travis/cli.rb
CHANGED
@@ -28,6 +28,7 @@ module Travis
|
|
28
28
|
autoload :History, 'travis/cli/history'
|
29
29
|
autoload :Init, 'travis/cli/init'
|
30
30
|
autoload :Login, 'travis/cli/login'
|
31
|
+
autoload :Logout, 'travis/cli/logout'
|
31
32
|
autoload :Logs, 'travis/cli/logs'
|
32
33
|
autoload :Monitor, 'travis/cli/monitor'
|
33
34
|
autoload :Open, 'travis/cli/open'
|
data/spec/cli/token_spec.rb
CHANGED
data/spec/cli/whoami_spec.rb
CHANGED
@@ -4,13 +4,13 @@ describe Travis::CLI::Whoami do
|
|
4
4
|
example "travis whoami" do
|
5
5
|
run_cli('whoami').should_not be_success
|
6
6
|
stdout.should be_empty
|
7
|
-
stderr.should be == "not logged in, please run
|
7
|
+
stderr.should be == "not logged in, please run #{File.basename $0} login\n"
|
8
8
|
end
|
9
9
|
|
10
10
|
example "travis whoami --pro" do
|
11
11
|
run_cli('whoami', '--pro').should_not be_success
|
12
12
|
stdout.should be_empty
|
13
|
-
stderr.should be == "not logged in, please run
|
13
|
+
stderr.should be == "not logged in, please run #{File.basename $0} login --pro\n"
|
14
14
|
end
|
15
15
|
|
16
16
|
example "travis whoami -t token" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: travis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.6.travis.
|
4
|
+
version: 1.5.6.travis.312.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Haase
|
@@ -25,7 +25,7 @@ authors:
|
|
25
25
|
autorequire:
|
26
26
|
bindir: bin
|
27
27
|
cert_chain: []
|
28
|
-
date: 2013-10-
|
28
|
+
date: 2013-10-21 00:00:00.000000000 Z
|
29
29
|
dependencies:
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: faraday
|