danger-review_requests 0.0.4 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.circleci/config.yml +25 -0
- data/README.md +11 -2
- data/lib/review_requests/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c464f723caf520636c68514bd1099991d6d7a8bc6d36f396dae420ca4369f8a
|
4
|
+
data.tar.gz: 7232b0ed40570d6f9e87374a8a0f2708a0407603bae3ae072e1bac26972acb69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da5c187923745fdb1ec0fcbbcfb8dbc23991205ade6c5c17a0acc245a1ba947406fd5414570d64cd3b3ef03307802e8c7ce695ee5c46b3f5e9d7926b983c1317
|
7
|
+
data.tar.gz: a425864a9a3281ee4085a3607831a5ce2567e2f2309529a1da34d38b59c51aef9a0c27017f47603f55c28fb926ceb0a6e19c5e41d9995cdc7c83c5da27095cf2
|
@@ -0,0 +1,25 @@
|
|
1
|
+
version: 2
|
2
|
+
jobs:
|
3
|
+
build:
|
4
|
+
docker:
|
5
|
+
- image: circleci/ruby:2.5.1-node-browsers
|
6
|
+
|
7
|
+
working_directory: ~/repo
|
8
|
+
|
9
|
+
steps:
|
10
|
+
- checkout
|
11
|
+
|
12
|
+
- restore_cache:
|
13
|
+
keys:
|
14
|
+
- v1-dependencies-{{ checksum "Gemfile.lock" }}
|
15
|
+
- v1-dependencies-
|
16
|
+
|
17
|
+
- run:
|
18
|
+
name: install dependencies
|
19
|
+
command: |
|
20
|
+
bundle install --jobs=4 --retry=3 --path vendor/bundle
|
21
|
+
|
22
|
+
- save_cache:
|
23
|
+
paths:
|
24
|
+
- ./vendor/bundle
|
25
|
+
key: v1-dependencies-{{ checksum "Gemfile.lock" }}
|
data/README.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# Danger::ReviewRequests
|
2
2
|
|
3
|
-
|
3
|
+
[](https://badge.fury.io/rb/danger-review_requests)
|
4
|
+
[](https://github.com/m-nakamura145/danger-review_requests/blob/master/LICENSE.txt)
|
5
|
+
[](https://circleci.com/gh/m-nakamura145/danger-review_requests)
|
6
|
+
|
7
|
+
A danger plug-in to request a review in pull requests.
|
4
8
|
|
5
9
|
## Installation
|
6
10
|
|
@@ -19,8 +23,13 @@ Or install it yourself as:
|
|
19
23
|
$ gem install danger-review_requests
|
20
24
|
|
21
25
|
## Usage
|
26
|
+
The easiest way to use is just add this to your `Dangerfile`:
|
27
|
+
|
28
|
+
```ruby
|
29
|
+
# Request a review of pull requests randomly
|
30
|
+
review_requests.request(['m-nakamura145-bot','m-nakamura145-bot2'].sample(1))
|
31
|
+
```
|
22
32
|
|
23
|
-
TODO
|
24
33
|
|
25
34
|
## Development
|
26
35
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danger-review_requests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- m-nakamura145
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: danger
|
@@ -73,6 +73,7 @@ executables: []
|
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
|
+
- ".circleci/config.yml"
|
76
77
|
- ".gitignore"
|
77
78
|
- ".rspec"
|
78
79
|
- CODE_OF_CONDUCT.md
|