csd 0.2.0 → 0.2.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/VERSION +1 -1
- data/csd.gemspec +1 -1
- data/lib/csd/application/decklink.rb +1 -1
- data/lib/csd/application/default.rb +1 -1
- data/lib/csd/application/i2conf.rb +1 -1
- data/lib/csd/application/minisip/component/network.rb +2 -1
- data/lib/csd/error.rb +1 -0
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/csd.gemspec
CHANGED
@@ -35,7 +35,7 @@ module CSD
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def scopes(action)
|
38
|
-
about.scopes.key?(action) ? about.scopes[action] : []
|
38
|
+
(about.scopes.is_a?(Hash) and about.scopes.key?(action)) ? about.scopes[action] : []
|
39
39
|
end
|
40
40
|
|
41
41
|
# This method will look for application and task specific optionsfiles of the current application module.
|
@@ -45,7 +45,8 @@ module CSD
|
|
45
45
|
content = Path.sysctl_conf.file? ? File.read(Path.sysctl_conf) : ''
|
46
46
|
Cmd.copy Path.sysctl_conf, Path.new_sysctl_conf
|
47
47
|
UI.info "Adding modifications to #{Path.new_sysctl_conf}".cyan
|
48
|
-
modifications = ['
|
48
|
+
modifications = ['# Changes made by the AI'] + OPTIMUM_BUFFERS.map { |key, value| %{#{key} = #{value}} }
|
49
|
+
modifications = content + "\n" + modifications
|
49
50
|
Cmd.touch_and_replace_content Path.new_sysctl_conf, modifications.join("\n"), :internal => true
|
50
51
|
# We cannot use Cmd.copy here, because Cmd.copy has no superuser privileges.
|
51
52
|
# And since we are for sure on Ubuntu, these commands will work.
|
data/lib/csd/error.rb
CHANGED
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: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Technology Transfer Alliance Team
|