ruboty-github_assignor 0.0.3 → 0.0.4

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: 67330e6c1b98d85adb47bb8bf12a4f1414a59b13
4
- data.tar.gz: 4054e335ad22e25c1e14d8666e8f64360281912f
3
+ metadata.gz: d25ed37875a0bbe182e888bb83fe2474963720f0
4
+ data.tar.gz: fdecadc3be0ef6d8e805b09ce8d813e98bc951c7
5
5
  SHA512:
6
- metadata.gz: 97b474de37e720314d5b89e0010da2a66936bbf1a5aab75837cef1197baf6a5612f0058068e17479021ef7795a52dbe4ddd0d5bb177a22c42b7c540057694839
7
- data.tar.gz: 8deb62744daa469b526cb3007c7314fdf5fa73b2d18e89c7c08de7dade175c3d4eda3a35d00a92419c2733fbfda8d556a8275e6ff09b8ba5b62e0f58890f885b
6
+ metadata.gz: 4f42c5d5ffae2b4de30ebcfaa6c1b023788c0c17f371e38711dd62a223052c1e1ae00384e0c506dfcc6958607630940523a4d05b2e33c6af808fdee666f8033a
7
+ data.tar.gz: 3ee857f1a216921e63c2bd7dd4b85c7cec621676039e94f2af7af75d3493246f10217af3036d247b8363fff232960680965b8cd693aa22a11200eb08d319ff87
@@ -26,6 +26,10 @@ module Ruboty
26
26
  if message && assign && !issue[:assignee]
27
27
  # assign this issue
28
28
  assignee = @assignor.next
29
+ while assignee.github_name == issue[:user][:login]
30
+ assignee = @assignor.next
31
+ end
32
+
29
33
  log "Assigning this issue to #{assignee}..."
30
34
 
31
35
  log "Updating assignee of GitHub issue..."
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module GithubAssignor
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-github_assignor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryota Arai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-17 00:00:00.000000000 Z
11
+ date: 2014-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruboty