nirvdrum-svn2git 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,9 @@
1
+ # 1.3.1 - 2009-06-09
2
+
3
+ Thanks to iteman for finding a problem with the tagging process and providing a patch.
4
+
5
+ * Fixed a problem with creating actual git tags when the SVN tags path was named anything other than 'tags.'
6
+
1
7
  # 1.3.0 - 2009-06-09
2
8
 
3
9
  Many thanks to mss for the patches making up most of this release.
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 3
3
- :patch: 0
3
+ :patch: 1
4
4
  :major: 1
@@ -151,12 +151,12 @@ module Svn2Git
151
151
 
152
152
  def get_branches
153
153
  @remote = `git branch -r`.split(/\n/)
154
- @tags = @remote.find_all { |b| b.strip =~ %r{^#{@options[:tags]}\/} }
154
+ @tags = @remote.find_all { |b| b.strip =~ %r{^tags\/} }
155
155
  end
156
156
 
157
157
  def fix_tags
158
158
  @tags.each do |tag|
159
- id = tag.strip.gsub(%r{^#{@options[:tags]}\/}, '')
159
+ id = tag.strip.gsub(%r{^tags\/}, '')
160
160
  subject = `git log -1 --pretty=format:"%s" #{tag.strip()}`
161
161
  date = `git log -1 --pretty=format:"%ci" #{tag.strip()}`
162
162
  run_command("GIT_COMMITTER_DATE='#{date}' git tag -a -m '#{subject}' '#{id.strip()}' '#{tag.strip()}'")
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{svn2git}
5
- s.version = "1.3.0"
5
+ s.version = "1.3.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["James Coglan", "Kevin Menard"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nirvdrum-svn2git
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Coglan