drone-builds 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -0
- data/lib/drone/builds/parser.rb +7 -1
- data/lib/drone/builds/version.rb +1 -1
- metadata +2 -3
- data/LICENSE.txt +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19d8a702395de845140b8980407e4baaf3357b20
|
4
|
+
data.tar.gz: 1b0886e897458e3f7e7347caafff99f476f46bce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3db1b421dd2c165bdb8a412e636552dc4c8e2addd181760d149c671111e8e12c2d28a31c2a19b9d2ada5ef37723d02efbed894e108c61015ccfdb8dbfe1dacda
|
7
|
+
data.tar.gz: d8249b056c5f79785d13039fb82ae6f800e64f8572ea6ef61066b44e87e726c0e5f2955ffd7ccd60cae9138c934008539c953e5a11b23eab839f7846f79a843c
|
data/README.md
CHANGED
@@ -17,6 +17,8 @@ DRONECI_OWNER=org-name
|
|
17
17
|
DRONECI_NAME=repo-name
|
18
18
|
```
|
19
19
|
|
20
|
+
### `drone-builds`
|
21
|
+
|
20
22
|
```
|
21
23
|
drone-builds commands:
|
22
24
|
drone-builds help [COMMAND] # Describe available commands or one specific command
|
@@ -24,6 +26,10 @@ drone-builds commands:
|
|
24
26
|
drone-builds show # show a build
|
25
27
|
```
|
26
28
|
|
29
|
+
### `drone-builds list`
|
30
|
+
|
31
|
+
![drone builds list](http://i.imgur.com/9C24brvm.png)
|
32
|
+
|
27
33
|
```
|
28
34
|
Usage:
|
29
35
|
drone-builds list
|
@@ -35,6 +41,10 @@ Options:
|
|
35
41
|
list last builds
|
36
42
|
```
|
37
43
|
|
44
|
+
### `drone-builds show ID`
|
45
|
+
|
46
|
+
![drone builds show with filter](http://i.imgur.com/PP6ys9mm.png)
|
47
|
+
|
38
48
|
```
|
39
49
|
Usage:
|
40
50
|
drone-builds show
|
data/lib/drone/builds/parser.rb
CHANGED
@@ -4,7 +4,13 @@ require 'terminal-table'
|
|
4
4
|
class Drone::Builds::Parser
|
5
5
|
attr_reader :client
|
6
6
|
|
7
|
-
STATUS_COLORS = {
|
7
|
+
STATUS_COLORS = {
|
8
|
+
success: :green,
|
9
|
+
running: :blue,
|
10
|
+
failure: :red,
|
11
|
+
killed: :white,
|
12
|
+
pending: :yellow
|
13
|
+
}
|
8
14
|
|
9
15
|
def initialize(client)
|
10
16
|
@client = client
|
data/lib/drone/builds/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: drone-builds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dorian Marié
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -136,7 +136,6 @@ files:
|
|
136
136
|
- CODE_OF_CONDUCT.md
|
137
137
|
- Gemfile
|
138
138
|
- LICENSE
|
139
|
-
- LICENSE.txt
|
140
139
|
- README.md
|
141
140
|
- Rakefile
|
142
141
|
- bin/console
|
data/LICENSE.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2017 Dorian Marié
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|