git-trac 0.0.20071102 → 0.0.20071104

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -2,23 +2,23 @@ Run git-trac help for usage information.
2
2
 
3
3
  Example for usage on the Ruby on Rails repository:
4
4
 
5
- # Export the repository if you haven't already (start it and go to lunch)
6
- $ git-svn clone --stdlayout http://dev.rubyonrails.org/svn/rails rails
7
- $ cd rails
5
+ # Export the repository if you haven't already (start it and go to lunch)
6
+ $ git-svn clone --stdlayout http://dev.rubyonrails.org/svn/rails rails
7
+ $ cd rails
8
8
 
9
- # This next step is optional but compresses the repository by a factor of 10
10
- $ git gc
9
+ # This next step is optional but compresses the repository by a factor of 10
10
+ $ git gc
11
11
 
12
- # Setup git-trac (only URL is mandatory)
13
- $ git config trac.url http://dev.rubyonrails.org
14
- $ git config trac.username myaccount
15
- $ git config trac.password mypassword
12
+ # Setup git-trac (only URL is mandatory)
13
+ $ git config trac.url http://dev.rubyonrails.org
14
+ $ git config trac.username myaccount
15
+ $ git config trac.password mypassword
16
16
 
17
- # Have fun
18
- $ git-trac download 1234567
19
- $ git branch
20
- $ git checkout some_attached_patch
21
- $ git rebase trunk # if it's out of date
22
- # EDIT EDIT EDIT
23
- $ git commit -a
24
- $ git-trac upload-patch 1234567
17
+ # Have fun
18
+ $ git-trac download 1234567
19
+ $ git branch
20
+ $ git checkout some_attached_patch
21
+ $ git rebase trunk # if it's out of date
22
+ # EDIT EDIT EDIT
23
+ $ git commit -a
24
+ $ git-trac upload-patch 1234567
data/Rakefile CHANGED
@@ -38,8 +38,9 @@ Rake::TestTask.new { |t|
38
38
  Rake::RDocTask.new { |rdoc|
39
39
  rdoc.rdoc_dir = 'doc'
40
40
  rdoc.rdoc_files.add('lib')
41
- rdoc.main = "Git::Trac"
42
- rdoc.title = rdoc.main
41
+ rdoc.rdoc_files.add('README')
42
+ rdoc.main = "README"
43
+ rdoc.title = "git-trac"
43
44
  rdoc.options << '--inline-source'
44
45
  }
45
46
 
@@ -102,8 +103,7 @@ begin
102
103
  t.test_files = Dir['test/*_test.rb'] + Dir['test/test_*.rb']
103
104
  t.verbose = true
104
105
  t.rcov_opts << "--text-report"
105
- # t.rcov_opts << "--exclude \\\\A/var/lib/gems"
106
- t.rcov_opts << "--exclude '/(active_record|active_support)\\b'"
106
+ t.rcov_opts << "--exclude '/(mechanize|hpricot)\\b'"
107
107
  end
108
108
  rescue LoadError
109
109
  end
@@ -117,7 +117,7 @@ module Git
117
117
  yield file
118
118
  ensure
119
119
  ENV["GIT_INDEX_FILE"] = old_index
120
- File.unlink(file) rescue nil
120
+ File.unlink(File.join(git_dir,file)) rescue nil
121
121
  end
122
122
 
123
123
  # Parse the output of git-config and return it as a hash.
@@ -4,11 +4,11 @@ require 'ostruct'
4
4
  module Git
5
5
  module Trac
6
6
 
7
- def self.run(argv)
7
+ def self.run(argv) #:nodoc:
8
8
  Runner.new(argv)
9
9
  end
10
10
 
11
- class Runner
11
+ class Runner #:nodoc:
12
12
 
13
13
  attr_reader :options
14
14
 
@@ -69,7 +69,7 @@ Available commands:
69
69
 
70
70
  end
71
71
 
72
- class Base
72
+ class Base #:nodoc:
73
73
 
74
74
  attr_reader :options
75
75
 
@@ -126,7 +126,7 @@ Available commands:
126
126
 
127
127
  end
128
128
 
129
- class Download < Base
129
+ class Download < Base #:nodoc:
130
130
 
131
131
  def description
132
132
  <<-EOF
@@ -159,7 +159,7 @@ directory.
159
159
 
160
160
  end
161
161
 
162
- class Show < Base
162
+ class Show < Base #:nodoc:
163
163
 
164
164
  def banner_arguments
165
165
  "[ticket]"
@@ -187,7 +187,7 @@ Show a crude ticket summary.
187
187
 
188
188
  end
189
189
 
190
- class Fetch < Base
190
+ class Fetch < Base #:nodoc:
191
191
 
192
192
  def banner_arguments
193
193
  "[ticket]"
@@ -225,7 +225,7 @@ potentially remove conflicted branches first.
225
225
 
226
226
  end
227
227
 
228
- class Cleanup < Base
228
+ class Cleanup < Base #:nodoc:
229
229
 
230
230
  def banner_arguments
231
231
  "[options] [ticket] [ticket] ..."
@@ -266,7 +266,7 @@ been closed, but you can also specify ticket numbers explicitly or use --all.
266
266
  end
267
267
  end
268
268
 
269
- class UploadPatch < Base
269
+ class UploadPatch < Base #:nodoc:
270
270
 
271
271
  def banner_arguments
272
272
  "[options] [ticket]"
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: git-trac
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.20071102
7
- date: 2007-11-02 00:00:00 -05:00
6
+ version: 0.0.20071104
7
+ date: 2007-11-04 00:00:00 -05:00
8
8
  summary: Interact with trac from a git repository pulled from svn
9
9
  require_paths:
10
10
  - lib