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 +7 -0
- data/README +1 -1
- data/Rakefile +1 -1
- data/lib/rscm/difftool.rb +0 -1
- data/lib/rscm/scm/cvs.rb +2 -2
- data/test/rscm/generic_scm_tests.rb +4 -2
- metadata +3 -3
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
data/Rakefile
CHANGED
data/lib/rscm/difftool.rb
CHANGED
data/lib/rscm/scm/cvs.rb
CHANGED
@@ -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
|
-
|
303
|
-
"cvs -f \"-d#{root_with_password(password)}\" #{cvs_options} -q #{cmd}
|
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
|
-
|
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__) + "
|
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.
|
7
|
-
date: 2005-09-
|
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
|