ruboty-redmine 0.0.9 → 0.0.10
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/README.md +58 -1
- data/lib/ruboty/handlers/redmine.rb +1 -1
- data/lib/ruboty/redmine/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28cfa0c5ef4048efef19d0e357dd019577b63747
|
4
|
+
data.tar.gz: 28187057f166ef44785b0e895fb5fc7754df0221
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12ca7ec1cf59515b82a5bb168d85b9e5dbf58cd38108de55394af6bdceffb882d85b2041868d63890654da8ffc1e0f334422b7fb25cf74784c04727612fa6fde
|
7
|
+
data.tar.gz: b10767e3e0013fad24284ccad8965f912322fb16ce6bec60b95b1f8134bb87edad809d5f8bce5e7974cb4c122bfc3d1e10cdddb5f532b1f225ec6df369e43b92
|
data/README.md
CHANGED
@@ -4,9 +4,66 @@ Redmine plugin for Ruboty
|
|
4
4
|
|
5
5
|
## Available commands
|
6
6
|
|
7
|
+
### create issue
|
8
|
+
|
9
|
+
```
|
10
|
+
> ruboty create issue "subject" "Mobile" project "Feature" tracker
|
11
|
+
```
|
12
|
+
|
13
|
+
You can register aliases:
|
14
|
+
|
15
|
+
```
|
16
|
+
> ruboty register redmine alias "mobile" '"Mobile" project "Feature" tracker'
|
17
|
+
> ruboty create issue "subject" mobile
|
18
|
+
```
|
19
|
+
|
20
|
+
### watch issues
|
21
|
+
|
22
|
+
```
|
23
|
+
> ruboty watch redmine issues in "Feature" tracker of "Mobile" project
|
24
|
+
```
|
25
|
+
|
26
|
+
You will get notifications:
|
27
|
+
|
28
|
+
```
|
29
|
+
New Issue of Feature in Mobile project
|
30
|
+
-> Awesome search feature
|
31
|
+
-> https://redmine.example.com/issues/123
|
7
32
|
```
|
8
|
-
|
33
|
+
|
34
|
+
You can list and stop watching issues:
|
35
|
+
|
9
36
|
```
|
37
|
+
> ruboty list watching redmine issues
|
38
|
+
#1 Feature tracker in Mobile project and assign to [] (your_chat_room)
|
39
|
+
> ruboty stop watching redmine issues 1
|
40
|
+
```
|
41
|
+
|
42
|
+
### watch and assign issues
|
43
|
+
|
44
|
+
First, associate Redmine user ID with your name in chat:
|
45
|
+
|
46
|
+
```
|
47
|
+
> ruboty associate redmine user 123 with "bob"
|
48
|
+
> ruboty associate redmine user 456 with "alice"
|
49
|
+
```
|
50
|
+
|
51
|
+
Register tracker:
|
52
|
+
|
53
|
+
```
|
54
|
+
> ruboty watch redmine issues in "Feature" tracker of "Mobile" project and assign to 123,456
|
55
|
+
```
|
56
|
+
|
57
|
+
You will get notifications and the issue is assigned automatically:
|
58
|
+
|
59
|
+
```
|
60
|
+
New Issue of Feature in Mobile project
|
61
|
+
-> Awesome search feature
|
62
|
+
-> Assigned to @bob
|
63
|
+
-> https://redmine.example.com/issues/123
|
64
|
+
```
|
65
|
+
|
66
|
+
The assignee will be elected by round-robin.
|
10
67
|
|
11
68
|
## Installation
|
12
69
|
|
@@ -219,7 +219,7 @@ module Ruboty
|
|
219
219
|
new_issues.each do |new_issue|
|
220
220
|
assignees = watch['assignees']
|
221
221
|
assignee = nil
|
222
|
-
|
222
|
+
if !assignees.empty? && !new_issue.assigned_to
|
223
223
|
assignee = assignees[watch['assignee_index'] % assignees.size]
|
224
224
|
watch['assignee_index'] += 1
|
225
225
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruboty-redmine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryota Arai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruboty
|