gitmine 0.1.6 → 0.1.7

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.6
1
+ 0.1.7
data/gitmine.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{gitmine}
8
- s.version = "0.1.6"
8
+ s.version = "0.1.7"
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"]
12
- s.date = %q{2010-12-10}
12
+ s.date = %q{2010-12-15}
13
13
  s.default_executable = %q{gitmine}
14
14
  s.description = %q{Git log with status of associated redmine tickets}
15
15
  s.email = %q{pcreux@gmail.com}
data/lib/gitmine/issue.rb CHANGED
@@ -36,7 +36,9 @@ class Gitmine
36
36
  end
37
37
 
38
38
  def delete_hudson_jobs
39
- hudson_jobs.map(&:delete!)
39
+ if Config.hudson_host
40
+ hudson_jobs.map(&:delete!)
41
+ end
40
42
  end
41
43
 
42
44
  # Get attributes from redmine and set them all
data/lib/gitmine.rb CHANGED
@@ -52,6 +52,8 @@ class Gitmine
52
52
  note << %{ - "See on Github":https://github.com/#{Config.github}/tree/#{branch_name}}
53
53
  note << %{ - "Compare on Github":https://github.com/#{Config.github}/compare/#{original_branch}...#{branch_name}}
54
54
  end
55
+
56
+ issue.add_note(note)
55
57
  end
56
58
 
57
59
  # TODO specs
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: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 6
10
- version: 0.1.6
9
+ - 7
10
+ version: 0.1.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Philippe Creux
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-10 00:00:00 -08:00
18
+ date: 2010-12-15 00:00:00 -08:00
19
19
  default_executable: gitmine
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency