githubissues-port 1.4.9 → 1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -87,13 +87,21 @@ module Githubissues
87
87
  when 'closed_at'
88
88
  DateTime.parse issue.closed_at unless issue.closed_at.nil?
89
89
  when 'type'
90
- labels.filter_by_category('type').join(', ').split('type - ')[1]
90
+ final_labels=[]
91
+ labels.filter_by_category('type').each{|x| final_labels.push(x.split('type - ')[1])}
92
+ final_labels.join(',')
91
93
  when 'priority'
92
- labels.filter_by_category('priority').join(', ').split('priority - ')[1]
94
+ final_labels=[]
95
+ labels.filter_by_category('priority').each{|x| final_labels.push(x.split('priority - ')[1])}
96
+ final_labels.join(',')
93
97
  when 'module'
94
- labels.filter_by_category('module').join(', ').split('module - ')[1]
98
+ final_labels=[]
99
+ labels.filter_by_category('module').each{|x| final_labels.push(x.split('module - ')[1])}
100
+ final_labels.join(',')
95
101
  when 'status'
96
- labels.filter_by_category('status').join(', ').split('status - ')[1]
102
+ final_labels=[]
103
+ labels.filter_by_category('status').each{|x| final_labels.push(x.split('status - ')[1])}
104
+ final_labels.join(',')
97
105
  when 'closed_by'
98
106
  get_closed_by['closed_by']['login'] unless get_closed_by['closed_by'].nil?
99
107
  when 'created_by'
@@ -1,5 +1,5 @@
1
1
  module Githubissues
2
2
  module Port
3
- VERSION = "1.4.9"
3
+ VERSION = "1.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: githubissues-port
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.9
4
+ version: '1.5'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,11 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-03-19 00:00:00.000000000 Z
14
+ date: 2014-04-08 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: github_api
18
- requirement: &79206220 !ruby/object:Gem::Requirement
18
+ requirement: &81214760 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: '0'
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *79206220
26
+ version_requirements: *81214760
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: creek
29
- requirement: &79203630 !ruby/object:Gem::Requirement
29
+ requirement: &81214380 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: '0'
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *79203630
37
+ version_requirements: *81214380
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: axlsx
40
- requirement: &79202210 !ruby/object:Gem::Requirement
40
+ requirement: &81214030 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ~>
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: 2.0.1
46
46
  type: :runtime
47
47
  prerelease: false
48
- version_requirements: *79202210
48
+ version_requirements: *81214030
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: rake
51
- requirement: &79201570 !ruby/object:Gem::Requirement
51
+ requirement: &81383960 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ~>
@@ -56,10 +56,10 @@ dependencies:
56
56
  version: 10.1.1
57
57
  type: :development
58
58
  prerelease: false
59
- version_requirements: *79201570
59
+ version_requirements: *81383960
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: rspec
62
- requirement: &79201090 !ruby/object:Gem::Requirement
62
+ requirement: &81383610 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ! '>='
@@ -67,7 +67,7 @@ dependencies:
67
67
  version: '0'
68
68
  type: :development
69
69
  prerelease: false
70
- version_requirements: *79201090
70
+ version_requirements: *81383610
71
71
  description: An Excel import/export extension for github issues in Ruby.
72
72
  email:
73
73
  executables: []