svn-command 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Readme +251 -0
- data/bin/command_completion_for_svn_command +20 -0
- data/bin/rscm_test +19 -0
- data/bin/svn +7 -0
- data/lib/attribute_accessors.rb +44 -0
- data/lib/my_wrapper.rb +72 -0
- data/lib/subversion.rb +335 -0
- data/lib/subversion_extensions.rb +60 -0
- data/lib/svn_command.rb +627 -0
- data/test/shared/test_helper.rb +3 -0
- data/test/shared/test_helpers/assertions.rb +56 -0
- data/test/shared/test_helpers/test_colorizer.rb +106 -0
- data/test/subversion_extensions_test.rb +66 -0
- data/test/subversion_test.rb +99 -0
- data/test/svn_command_test.rb +455 -0
- data/test/test_helper.rb +31 -0
- metadata +75 -0
data/test/test_helper.rb
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
require 'rubygems'
|
3
|
+
#require 'extensions/kernel'
|
4
|
+
require 'facets/core/kernel/require_local'
|
5
|
+
require 'facets/core/kernel/load_local'
|
6
|
+
require 'stubba'
|
7
|
+
$LOAD_PATH << File.dirname(__FILE__) + "/../lib"
|
8
|
+
require_local "shared/test_helper"
|
9
|
+
require_local '../../our_extensions/lib/test/assert_exception.rb'
|
10
|
+
require_local '../../our_extensions/lib/capture_output.rb'
|
11
|
+
require_local '../../our_extensions/lib/simulate_input.rb'
|
12
|
+
|
13
|
+
require 'subversion'
|
14
|
+
if $mock_subversion
|
15
|
+
module Subversion
|
16
|
+
def self.executable
|
17
|
+
@@executable = "svn"
|
18
|
+
end
|
19
|
+
def self.actually_execute(method, command)
|
20
|
+
@@executed << "#{command}"
|
21
|
+
''
|
22
|
+
end
|
23
|
+
def self.executed
|
24
|
+
@@executed
|
25
|
+
end
|
26
|
+
def self.reset_executed(as = [])
|
27
|
+
@@executed = as
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
metadata
ADDED
@@ -0,0 +1,75 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.8.11
|
3
|
+
specification_version: 1
|
4
|
+
name: svn-command
|
5
|
+
version: !ruby/object:Gem::Version
|
6
|
+
version: 0.0.3
|
7
|
+
date: 2007-03-15 00:00:00 -07:00
|
8
|
+
summary: A nifty wrapper command for Subversion's command-line svn client
|
9
|
+
require_paths:
|
10
|
+
- lib
|
11
|
+
email: rubyforge.org@tylerrick.com
|
12
|
+
homepage: http://svncommand.rubyforge.org/
|
13
|
+
rubyforge_project: svn-command
|
14
|
+
description: This is a wrapper command for Subversion's command-line svn client that adds a few new subcommands.
|
15
|
+
autorequire:
|
16
|
+
default_executable:
|
17
|
+
bindir: bin
|
18
|
+
has_rdoc: true
|
19
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.0.0
|
24
|
+
version:
|
25
|
+
platform: ruby
|
26
|
+
signing_key:
|
27
|
+
cert_chain:
|
28
|
+
authors:
|
29
|
+
- Tyler Rick
|
30
|
+
files:
|
31
|
+
- lib/svn_command.rb
|
32
|
+
- lib/subversion.rb
|
33
|
+
- lib/attribute_accessors.rb
|
34
|
+
- lib/subversion_extensions.rb
|
35
|
+
- lib/my_wrapper.rb
|
36
|
+
- test/test_helper.rb
|
37
|
+
- test/subversion_extensions_test.rb
|
38
|
+
- test/subversion_test.rb
|
39
|
+
- test/svn_command_test.rb
|
40
|
+
- test/shared/test_helper.rb
|
41
|
+
- test/shared/test_helpers/assertions.rb
|
42
|
+
- test/shared/test_helpers/test_colorizer.rb
|
43
|
+
- bin/rscm_test
|
44
|
+
- bin/command_completion_for_svn_command
|
45
|
+
- bin/svn
|
46
|
+
- Readme
|
47
|
+
test_files:
|
48
|
+
- test/test_helper.rb
|
49
|
+
- test/subversion_extensions_test.rb
|
50
|
+
- test/subversion_test.rb
|
51
|
+
- test/svn_command_test.rb
|
52
|
+
rdoc_options:
|
53
|
+
- --title
|
54
|
+
- svn-command
|
55
|
+
- --main
|
56
|
+
- Readme
|
57
|
+
- --line-numbers
|
58
|
+
extra_rdoc_files:
|
59
|
+
- Readme
|
60
|
+
executables:
|
61
|
+
- command_completion_for_svn_command
|
62
|
+
extensions: []
|
63
|
+
|
64
|
+
requirements: []
|
65
|
+
|
66
|
+
dependencies:
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: termios
|
69
|
+
version_requirement:
|
70
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 0.0.0
|
75
|
+
version:
|