githubissues-port 1.2 → 1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -50,13 +50,13 @@ module Githubissues
50
50
  when 'closed_at'
51
51
  DateTime.parse issue.closed_at unless issue.closed_at.nil?
52
52
  when 'type'
53
- labels.filter_by_category('type').join ', '
53
+ labels.filter_by_category('type').join(', ').split('type - ')[1]
54
54
  when 'priority'
55
- labels.filter_by_category('priority').join ', '
55
+ labels.filter_by_category('priority').join(', ').split('priority - ')[1]
56
56
  when 'module'
57
- labels.filter_by_category('module').join ', '
57
+ labels.filter_by_category('module').join(', ').split('module - ')[1]
58
58
  when 'status'
59
- labels.filter_by_category('status').join ', '
59
+ labels.filter_by_category('status').join(', ').split('status - ')[1]
60
60
  else
61
61
  issue.send field
62
62
  end
@@ -1,5 +1,5 @@
1
1
  module Githubissues
2
2
  module Port
3
- VERSION = "1.2"
3
+ VERSION = "1.3"
4
4
  end
5
5
  end
data/spec/test_spec.rb CHANGED
@@ -4,10 +4,10 @@ require 'githubissues-port'
4
4
  describe 'githubissues-port exporting and importing to xlsx' do
5
5
  before(:all) do
6
6
  # Replace your test git repo credentials here:
7
- @github_username = 'githubissues-port'
8
- @github_password = 'Github123'
9
- @owner = 'githubissues-port'
10
- @repo = 'foo'
7
+ @github_username = '**********'
8
+ @github_password = '**********'
9
+ @owner = '**********'
10
+ @repo = '**********'
11
11
  @connection = Github.new basic_auth: "#{@github_username}:#{@github_password}"
12
12
  end
13
13
 
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: githubissues-port
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.2'
4
+ version: '1.3'
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Ramtin Vaziri
@@ -10,78 +11,63 @@ authors:
10
11
  autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
13
- date: 2014-02-28 00:00:00.000000000 Z
14
+ date: 2014-03-03 00:00:00.000000000 Z
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: github_api
17
- requirement: !ruby/object:Gem::Requirement
18
+ requirement: &79905770 !ruby/object:Gem::Requirement
19
+ none: false
18
20
  requirements:
19
21
  - - ! '>='
20
22
  - !ruby/object:Gem::Version
21
23
  version: '0'
22
24
  type: :runtime
23
25
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- requirements:
26
- - - ! '>='
27
- - !ruby/object:Gem::Version
28
- version: '0'
26
+ version_requirements: *79905770
29
27
  - !ruby/object:Gem::Dependency
30
28
  name: creek
31
- requirement: !ruby/object:Gem::Requirement
29
+ requirement: &79905540 !ruby/object:Gem::Requirement
30
+ none: false
32
31
  requirements:
33
32
  - - ! '>='
34
33
  - !ruby/object:Gem::Version
35
34
  version: '0'
36
35
  type: :runtime
37
36
  prerelease: false
38
- version_requirements: !ruby/object:Gem::Requirement
39
- requirements:
40
- - - ! '>='
41
- - !ruby/object:Gem::Version
42
- version: '0'
37
+ version_requirements: *79905540
43
38
  - !ruby/object:Gem::Dependency
44
39
  name: axlsx
45
- requirement: !ruby/object:Gem::Requirement
40
+ requirement: &79905280 !ruby/object:Gem::Requirement
41
+ none: false
46
42
  requirements:
47
43
  - - ~>
48
44
  - !ruby/object:Gem::Version
49
45
  version: 2.0.1
50
46
  type: :runtime
51
47
  prerelease: false
52
- version_requirements: !ruby/object:Gem::Requirement
53
- requirements:
54
- - - ~>
55
- - !ruby/object:Gem::Version
56
- version: 2.0.1
48
+ version_requirements: *79905280
57
49
  - !ruby/object:Gem::Dependency
58
50
  name: rake
59
- requirement: !ruby/object:Gem::Requirement
51
+ requirement: &79905000 !ruby/object:Gem::Requirement
52
+ none: false
60
53
  requirements:
61
54
  - - ~>
62
55
  - !ruby/object:Gem::Version
63
56
  version: 10.1.1
64
57
  type: :development
65
58
  prerelease: false
66
- version_requirements: !ruby/object:Gem::Requirement
67
- requirements:
68
- - - ~>
69
- - !ruby/object:Gem::Version
70
- version: 10.1.1
59
+ version_requirements: *79905000
71
60
  - !ruby/object:Gem::Dependency
72
61
  name: rspec
73
- requirement: !ruby/object:Gem::Requirement
62
+ requirement: &79904810 !ruby/object:Gem::Requirement
63
+ none: false
74
64
  requirements:
75
65
  - - ! '>='
76
66
  - !ruby/object:Gem::Version
77
67
  version: '0'
78
68
  type: :development
79
69
  prerelease: false
80
- version_requirements: !ruby/object:Gem::Requirement
81
- requirements:
82
- - - ! '>='
83
- - !ruby/object:Gem::Version
84
- version: '0'
70
+ version_requirements: *79904810
85
71
  description: An Excel import/export extension for github issues in Ruby.
86
72
  email:
87
73
  executables: []
@@ -107,26 +93,27 @@ files:
107
93
  homepage: https://github.com/github-issues-port/githubissues-port
108
94
  licenses:
109
95
  - MIT
110
- metadata: {}
111
96
  post_install_message:
112
97
  rdoc_options: []
113
98
  require_paths:
114
99
  - lib
115
100
  required_ruby_version: !ruby/object:Gem::Requirement
101
+ none: false
116
102
  requirements:
117
103
  - - ! '>='
118
104
  - !ruby/object:Gem::Version
119
105
  version: 1.9.2
120
106
  required_rubygems_version: !ruby/object:Gem::Requirement
107
+ none: false
121
108
  requirements:
122
109
  - - ! '>='
123
110
  - !ruby/object:Gem::Version
124
111
  version: '0'
125
112
  requirements: []
126
113
  rubyforge_project:
127
- rubygems_version: 2.2.0
114
+ rubygems_version: 1.8.17
128
115
  signing_key:
129
- specification_version: 4
116
+ specification_version: 3
130
117
  summary: github-issues-port is a Ruby gem that facilittes easy import and export of
131
118
  Github Issues in Ruby and Ruby on Rails.
132
119
  test_files:
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZmQ1MzVlNDIwNmI2NWFjN2Q5YzBlODNiMDQ3ODU4MjIyNWVhOGMwNg==
5
- data.tar.gz: !binary |-
6
- MTc1ZDgwNzEzN2M0ODI3ZDFhZmM2N2M3N2FhMmE3NGYzZjQ0M2E3MQ==
7
- SHA512:
8
- metadata.gz: !binary |-
9
- MTU3YWUyZGNiOTc2Mzc3ZDE4YzU2NWRjOTM3OTdmOTY4MDE1MDczMjYwMGIw
10
- ZGUzMWQyYjE3ZTJkMmRkNGYxZDFkOGM5YjlhYWNhMTY1NDlmYWI5MjZjZjA4
11
- ZGNkNmM4ZTMwMWMyZmM2NzA1ZmMxMWQzNzU3YjlhMmNmNzYwYTY=
12
- data.tar.gz: !binary |-
13
- OTYxMDgxNTVlYWIxMDQ4OTVlYWE3MjFlNjkwYzZhNmM4NGNkMzE3ZDFmNmMx
14
- N2ZmMjllNDYzNDRlM2JlMjUwMDg3Y2M1N2FmNWUyOGQ4ZDk3MjI0NThjNDZi
15
- MGE5N2U1YjE3MjRhNmFjZGNlYjhhYjU1Y2U3YjExMDJkYzZkZTg=