csd 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/csd.gemspec +1 -1
- data/lib/csd/application/default.rb +1 -1
- data/lib/csd/application/minisip/component/core.rb +1 -0
- data/test/application/test_minisip.rb +6 -0
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.15
|
data/csd.gemspec
CHANGED
@@ -49,7 +49,7 @@ module CSD
|
|
49
49
|
file = File.join(Path.applications, name, 'options', filename)
|
50
50
|
result << File.read(file) if File.file?(file)
|
51
51
|
end
|
52
|
-
default_options + result.join("\n")
|
52
|
+
default_options(action) + result.join("\n")
|
53
53
|
end
|
54
54
|
|
55
55
|
# Comes in handy for the test suite
|
@@ -24,6 +24,7 @@ module CSD
|
|
24
24
|
#
|
25
25
|
def compile
|
26
26
|
UI.debug "#{self}.compile was called"
|
27
|
+
UI.debug "The current Options are: #{CSD.options.inspect}"
|
27
28
|
remove_ffmpeg
|
28
29
|
if Path.repository.directory? and !Options.reveal
|
29
30
|
UI.warn "The MiniSIP source code will not be downloaded, because the directory #{Path.repository.enquote} already exists."
|
@@ -10,6 +10,7 @@ class TestMinisip < Test::Unit::TestCase
|
|
10
10
|
|
11
11
|
setup do
|
12
12
|
Options.clear
|
13
|
+
Options.testmode = true
|
13
14
|
end
|
14
15
|
|
15
16
|
context "Core component" do
|
@@ -38,6 +39,11 @@ class TestMinisip < Test::Unit::TestCase
|
|
38
39
|
@base.define_relative_paths
|
39
40
|
Options.clear Application::Minisip.default_options('compile')
|
40
41
|
Options.reveal = true
|
42
|
+
Options.testmode = true
|
43
|
+
end
|
44
|
+
|
45
|
+
should "by default use the configure option" do
|
46
|
+
assert Options.configure
|
41
47
|
end
|
42
48
|
|
43
49
|
should "know how to checkout the default branch of the source code" do
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: csd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 15
|
10
|
+
version: 0.1.15
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Technology Transfer Alliance Team
|