TicGit-ng 1.0.2.12 → 1.0.2.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,9 +14,13 @@ module TicGitNG
14
14
 
15
15
  #This is to accomodate for edge-cases where @logger.puts
16
16
  #is called from debugging code.
17
- unless @logger.respond_to?(:puts)
18
- def @logger.puts str
19
- self.info str
17
+ if @logger.respond_to?(:puts) && !@logger.respond_to?(:info)
18
+ @logger.class.class_eval do
19
+ alias :info :puts
20
+ end
21
+ elsif @logger.respond_to?(:info) && !@logger.respond_to?(:puts)
22
+ @logger.class.class_eval do
23
+ alias :puts :info
20
24
  end
21
25
  end
22
26
 
@@ -86,7 +86,7 @@ module TicGitNG
86
86
  base.in_branch do |wd|
87
87
  files=[]
88
88
  t=nil
89
- base.logger.info "saving #{ticket_name}"
89
+ base.logger.puts "saving #{ticket_name}"
90
90
 
91
91
  Dir.mkdir(ticket_name)
92
92
  Dir.chdir(ticket_name) do
@@ -1,3 +1,3 @@
1
1
  module TicGitNG
2
- VERSION = '1.0.2.12'
2
+ VERSION = '1.0.2.13'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: TicGit-ng
3
3
  version: !ruby/object:Gem::Version
4
- hash: 79
5
- prerelease: false
4
+ hash: 77
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
9
  - 2
10
- - 12
11
- version: 1.0.2.12
10
+ - 13
11
+ version: 1.0.2.13
12
12
  platform: ruby
13
13
  authors:
14
14
  - Scott Chacon
@@ -17,8 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2012-01-04 00:00:00 -05:00
21
- default_executable:
20
+ date: 2012-03-06 00:00:00 Z
22
21
  dependencies:
23
22
  - !ruby/object:Gem::Dependency
24
23
  name: git
@@ -61,30 +60,29 @@ extra_rdoc_files: []
61
60
  files:
62
61
  - bin/ti
63
62
  - bin/ticgitweb
64
- - lib/ticgit-ng/cli.rb
65
- - lib/ticgit-ng/base.rb
66
- - lib/ticgit-ng/ticket.rb
67
- - lib/ticgit-ng/version.rb
63
+ - lib/ticgit-ng.rb
68
64
  - lib/ticgit-ng/comment.rb
69
- - lib/ticgit-ng/command/points.rb
70
- - lib/ticgit-ng/command/show.rb
65
+ - lib/ticgit-ng/cli.rb
71
66
  - lib/ticgit-ng/command/new.rb
72
- - lib/ticgit-ng/command/tag.rb
73
- - lib/ticgit-ng/command/recent.rb
74
- - lib/ticgit-ng/command/sync.rb
67
+ - lib/ticgit-ng/command/comment.rb
68
+ - lib/ticgit-ng/command/show.rb
75
69
  - lib/ticgit-ng/command/init.rb
76
- - lib/ticgit-ng/command/assign.rb
70
+ - lib/ticgit-ng/command/state.rb
77
71
  - lib/ticgit-ng/command/list.rb
72
+ - lib/ticgit-ng/command/sync.rb
73
+ - lib/ticgit-ng/command/recent.rb
74
+ - lib/ticgit-ng/command/points.rb
75
+ - lib/ticgit-ng/command/assign.rb
78
76
  - lib/ticgit-ng/command/milestone.rb
79
- - lib/ticgit-ng/command/comment.rb
80
- - lib/ticgit-ng/command/state.rb
77
+ - lib/ticgit-ng/command/tag.rb
81
78
  - lib/ticgit-ng/command/checkout.rb
79
+ - lib/ticgit-ng/version.rb
82
80
  - lib/ticgit-ng/command.rb
83
- - lib/ticgit-ng.rb
81
+ - lib/ticgit-ng/base.rb
82
+ - lib/ticgit-ng/ticket.rb
84
83
  - LICENSE_MIT
85
84
  - LICENSE_GPL
86
85
  - README.mkd
87
- has_rdoc: true
88
86
  homepage: https://github.com/jeffWelling/ticgit
89
87
  licenses: []
90
88
 
@@ -114,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
112
  requirements: []
115
113
 
116
114
  rubyforge_project: ticgit-ng
117
- rubygems_version: 1.3.7
115
+ rubygems_version: 1.7.2
118
116
  signing_key:
119
117
  specification_version: 3
120
118
  summary: Git based distributed ticketing system