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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2095c54e85041c43f468b18b7548470a049d111f
4
- data.tar.gz: 54ccee88726688ee1b077dfb91df2fff0de9b1e9
3
+ metadata.gz: 19d8a702395de845140b8980407e4baaf3357b20
4
+ data.tar.gz: 1b0886e897458e3f7e7347caafff99f476f46bce
5
5
  SHA512:
6
- metadata.gz: d418eed0718a95c663298f91549022955f2fa3be620b27b2c5bef2aeee97ce2381ab94c88362d43082a80ee576235a1dcccdf37f2b0e4eaf3e8f5002fdd6366b
7
- data.tar.gz: a32673494a27527318b90bd91f8cea6e8562873a3871034251f87b7d333f2bc9af3516b5a9185ab28761653ad6753d20ded8d734df401216d594dee621025473
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
@@ -4,7 +4,13 @@ require 'terminal-table'
4
4
  class Drone::Builds::Parser
5
5
  attr_reader :client
6
6
 
7
- STATUS_COLORS = { success: :green, running: :blue, failure: :red, killed: :yellow }
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
@@ -1,5 +1,5 @@
1
1
  module Drone
2
2
  class Builds
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
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.2
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-03-26 00:00:00.000000000 Z
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.