svnauto 1.0.0 → 1.0.1
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/lib/sc/commands/checkout.rb +1 -0
- data/lib/sc/commands/config.rb +1 -0
- data/lib/sc/commands/create.rb +1 -1
- data/lib/sc/commands/info.rb +1 -0
- data/lib/sc/constants.rb +1 -1
- data/test/test_create.rb +9 -0
- metadata +2 -2
data/lib/sc/commands/checkout.rb
CHANGED
@@ -28,6 +28,7 @@ module SC
|
|
28
28
|
################################################################################
|
29
29
|
set(:name, [:checkout, :co])
|
30
30
|
set(:description, "Checkout a project from the repository")
|
31
|
+
set(:args_max, 0)
|
31
32
|
|
32
33
|
option('-r', '--release VER', 'Checkout a release instead of the trunk') do |val, opts|
|
33
34
|
opts[:co_release] = Version.new(val)
|
data/lib/sc/commands/config.rb
CHANGED
data/lib/sc/commands/create.rb
CHANGED
@@ -48,7 +48,7 @@ module SC
|
|
48
48
|
|
49
49
|
exit unless Constants::TERMINAL.agree("Create project " +
|
50
50
|
Constants::TERMINAL.color(project.name, :green) + " in " +
|
51
|
-
Constants::TERMINAL.color(project.repository, :blue) + "? ")
|
51
|
+
Constants::TERMINAL.color(project.repository.to_s, :blue) + "? ")
|
52
52
|
end
|
53
53
|
|
54
54
|
if project.name != args.first
|
data/lib/sc/commands/info.rb
CHANGED
data/lib/sc/constants.rb
CHANGED
@@ -26,7 +26,7 @@ module SC
|
|
26
26
|
module Constants
|
27
27
|
################################################################################
|
28
28
|
# The version number for this copy of SC
|
29
|
-
VERSION = '1.0.
|
29
|
+
VERSION = '1.0.1'
|
30
30
|
|
31
31
|
################################################################################
|
32
32
|
# What to call myself
|
data/test/test_create.rb
CHANGED
@@ -17,4 +17,13 @@ class TestCreate < Test::Unit::TestCase
|
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
20
|
+
################################################################################
|
21
|
+
# Force create a new project outside of setup
|
22
|
+
def test_create
|
23
|
+
interactive do
|
24
|
+
run_sc(%W(create myproject))
|
25
|
+
assert(File.exist?(File.join(@sandbox, 'myproject-trunk')))
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
20
29
|
end
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: svnauto
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.0.
|
7
|
-
date: 2006-11-
|
6
|
+
version: 1.0.1
|
7
|
+
date: 2006-11-06 00:00:00 -07:00
|
8
8
|
summary: Wrapper around svn for automating complex tasks
|
9
9
|
require_paths:
|
10
10
|
- lib
|