drone-builds 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +35 -15
  3. data/lib/drone/builds/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 213f249bd75d027737f683a11d0eb07e26e55502
4
- data.tar.gz: 8ae799e4651f9f030b227d1460381a7ffbf83119
3
+ metadata.gz: 00bec511998882e4975969ef7e061f75fa904686
4
+ data.tar.gz: '008340a25198fd865f99ceff3cd3ef5d573181f6'
5
5
  SHA512:
6
- metadata.gz: a57972c22607a6d0ed18b65af9c515450623faf21fe551bbc36e8f6de1c12c19288dcf56b1aad97bb90d1fcb520f3be954c2c7b1e57f3b705d2100d7e9e16ef9
7
- data.tar.gz: fa783cde764c2b1492704578a494cbf199c1ef785da70fe4330b28ba7c248e18a67f6f1824c389b01c83858462ea34fe974c7014eb80bd9ea85fdc167294b933
6
+ metadata.gz: d937fcf5e0423f804f5ba232d5f1317fd48757317bc9d44d7e98ecc08cb9be68baf754a732251961cd692accf3252bae79f7f02aaf67cd48218deaf9344f1ee9
7
+ data.tar.gz: 87dacab23688ee7b6d3876d78a346614ae5e7d3b85601cbc1caa3eb19aa54166e0c5bee14c7ce56865fa5dcc66280dcab54c90125b395e0cb74d63744288ec54
data/README.md CHANGED
@@ -1,28 +1,49 @@
1
- # Drone::Builds
1
+ # `drone-builds`
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/drone/builds`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ Read your drone builds from the terminal
6
4
 
7
5
  ## Installation
8
6
 
9
- Add this line to your application's Gemfile:
7
+ $ gem install drone-builds
8
+
9
+ ## Usage
10
+
11
+ In your `~/.env` file:
12
+
13
+ ```
14
+ DRONECI_TOKEN=YoUrdRoneTOkEN
15
+ DRONECI_DOMAIN=your.ci.server.com
16
+ DRONECI_OWNER=org-name
17
+ DRONECI_NAME=repo-name
18
+ ```
10
19
 
11
- ```ruby
12
- gem 'drone-builds'
20
+ ```
21
+ drone-builds commands:
22
+ drone-builds help [COMMAND] # Describe available commands or one specific command
23
+ drone-builds list # list last builds
24
+ drone-builds show # show a build
13
25
  ```
14
26
 
15
- And then execute:
27
+ ```
28
+ Usage:
29
+ drone-builds list
16
30
 
17
- $ bundle
31
+ Options:
32
+ -l, [--limit=N] # number of builds shown
33
+ # Default: 10
18
34
 
19
- Or install it yourself as:
35
+ list last builds
36
+ ```
20
37
 
21
- $ gem install drone-builds
38
+ ```
39
+ Usage:
40
+ drone-builds show
22
41
 
23
- ## Usage
42
+ Options:
43
+ -f, [--filter=FILTER] # filter builds output lines
24
44
 
25
- TODO: Write usage instructions here
45
+ show a build
46
+ ```
26
47
 
27
48
  ## Development
28
49
 
@@ -32,8 +53,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
53
 
33
54
  ## Contributing
34
55
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/drone-builds. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
-
56
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Dorian/drone-builds. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
37
57
 
38
58
  ## License
39
59
 
@@ -1,5 +1,5 @@
1
1
  module Drone
2
2
  class Builds
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drone-builds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dorian Marié