gitmine 0.1.14 → 0.1.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/gitmine.gemspec +1 -1
  3. data/lib/gitmine/issue.rb +2 -1
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.14
1
+ 0.1.15
data/gitmine.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{gitmine}
8
- s.version = "0.1.14"
8
+ s.version = "0.1.15"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Philippe Creux"]
data/lib/gitmine/issue.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  class Gitmine
2
2
  class Issue
3
- attr_reader :id, :subject, :status
3
+ attr_reader :id, :subject, :status, :assigned_to
4
4
 
5
5
  # Extract the issue_id from a commit message.
6
6
  # Examples:
@@ -42,6 +42,7 @@ class Gitmine
42
42
  if data
43
43
  @subject = data['subject']
44
44
  @status = data['status']['name']
45
+ @assigned_to = (data['assigned_to'] || {})['name']
45
46
  end
46
47
  end
47
48
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitmine
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 14
10
- version: 0.1.14
9
+ - 15
10
+ version: 0.1.15
11
11
  platform: ruby
12
12
  authors:
13
13
  - Philippe Creux