rscm 0.3.3 → 0.3.4

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/CHANGES CHANGED
@@ -1,5 +1,12 @@
1
1
  = RSCM Changelog
2
2
 
3
+ == Version 0.3.4
4
+
5
+ This release fixes some bugs on windows.
6
+
7
+ * Removed redirection to dev/null for CVS commands. 2>nul didn't seem to work on windows.
8
+ * Fixed a the path to touch.exe
9
+
3
10
  == Version 0.3.3
4
11
 
5
12
  This release makes some test utilities more reusable.
data/README CHANGED
@@ -1,4 +1,4 @@
1
- = RSCM - Ruby Source Control Management (0.3.3)
1
+ = RSCM - Ruby Source Control Management (0.3.4)
2
2
 
3
3
  RSCM is to SCM what DBI/JDBC/ODBC are to databases - an SCM-independent API for accessing different SCMs. The features are roughly:
4
4
 
data/Rakefile CHANGED
@@ -10,7 +10,7 @@ require 'meta_project'
10
10
 
11
11
  PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
12
12
  PKG_NAME = 'rscm'
13
- PKG_VERSION = '0.3.3' + PKG_BUILD
13
+ PKG_VERSION = '0.3.4' + PKG_BUILD
14
14
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
15
15
 
16
16
  desc "Default Task"
@@ -1,4 +1,3 @@
1
- require 'test/unit'
2
1
  require 'rscm/tempdir'
3
2
  require 'rscm/path_converter'
4
3
  require 'rscm/difftool'
@@ -299,8 +299,8 @@ module RSCM
299
299
 
300
300
  def command_line(cmd, password=nil, simulate=false)
301
301
  cvs_options = simulate ? "-n" : ""
302
- dev_null = WIN32 ? "nul" : "/dev/null"
303
- "cvs -f \"-d#{root_with_password(password)}\" #{cvs_options} -q #{cmd} 2> #{dev_null}"
302
+ dev_null_redirection = WIN32 ? "" : "2> /dev/null"
303
+ "cvs -f \"-d#{root_with_password(password)}\" #{cvs_options} -q #{cmd} #{dev_null_redirection}"
304
304
  end
305
305
 
306
306
  def create_root_cvs(checkout_dir)
@@ -9,7 +9,9 @@ module RSCM
9
9
  include FileUtils
10
10
 
11
11
  def teardown
12
- @scm.destroy_central if @scm
12
+ if @scm
13
+ # @scm.destroy_central
14
+ end
13
15
  end
14
16
 
15
17
  # Acceptance test for scm implementations
@@ -169,7 +171,7 @@ module RSCM
169
171
  @scm = scm
170
172
 
171
173
  # Verify that install/uninstall works
172
- touch = WINDOWS ? PathConverter.filepath_to_nativepath(File.dirname(__FILE__) + "../../bin/touch.exe", false) : "touch"
174
+ touch = WINDOWS ? PathConverter.filepath_to_nativepath(File.dirname(__FILE__) + "../../../bin/touch.exe", false) : "touch"
173
175
  trigger_command = "#{touch} " + PathConverter.filepath_to_nativepath(trigger_proof, false)
174
176
  trigger_files_checkout_dir = File.expand_path("#{checkout_dir}/../trigger")
175
177
  (1..3).each do |i|
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: rscm
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.3.3
7
- date: 2005-09-07 00:00:00 -04:00
6
+ version: 0.3.4
7
+ date: 2005-09-18 00:00:00 -04:00
8
8
  summary: "RSCM - Ruby Source Control Management"
9
9
  require_paths:
10
10
  - lib
@@ -77,9 +77,9 @@ files:
77
77
  - test/rscm/mockit_test.rb
78
78
  - test/rscm/parser_test.rb
79
79
  - test/rscm/path_converter_test.rb
80
+ - test/rscm/revisions.yaml
80
81
  - test/rscm/revision_fixture.rb
81
82
  - test/rscm/revision_test.rb
82
- - test/rscm/revisions.yaml
83
83
  - test/rscm/scm
84
84
  - test/rscm/scm/clearcase.log
85
85
  - test/rscm/scm/clearcase_test.rb