csd 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/img/audio1.png +0 -0
- data/img/audio2.png +0 -0
- data/img/audio3.png +0 -0
- data/lib/csd/application/decklink/base.rb +2 -0
- data/lib/csd/application/graphics/base.rb +4 -2
- data/lib/csd/application/i2conf/base.rb +4 -2
- data/lib/csd/application/minisip/component/ffmpeg.rb +2 -0
- data/lib/csd/application/minisip/component/gnome.rb +2 -0
- data/lib/csd/application/minisip/component/network.rb +32 -2
- data/lib/csd/application/minisip/component/plugins.rb +10 -2
- data/lib/csd/application/minisip/component/x264.rb +2 -0
- data/lib/csd/application/mslog/base.rb +3 -1
- metadata +7 -5
- data/csd.gemspec +0 -206
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.3
|
data/img/audio1.png
ADDED
Binary file
|
data/img/audio2.png
ADDED
Binary file
|
data/img/audio3.png
ADDED
Binary file
|
@@ -3,6 +3,8 @@ require 'csd/application/default/base'
|
|
3
3
|
|
4
4
|
module CSD
|
5
5
|
module Application
|
6
|
+
# This module updates graphics card drivers for the system.
|
7
|
+
#
|
6
8
|
module Graphics
|
7
9
|
class Base < CSD::Application::Base
|
8
10
|
|
@@ -101,7 +103,7 @@ module CSD
|
|
101
103
|
# * The method will ask for users' approval before initiate the shell script.
|
102
104
|
#
|
103
105
|
def install_radeon
|
104
|
-
Cmd.git_clone 'drivers for ATI radeon', '
|
106
|
+
Cmd.git_clone 'drivers for ATI radeon', 'http://github.com/csd/ati.git', Path.radeon
|
105
107
|
Cmd.run "chmod +x #{Path.radeon_run}", :announce_pwd => false
|
106
108
|
proprietary_continue
|
107
109
|
Cmd.run "sudo #{Path.radeon_run}", :announce_pwd => false
|
@@ -160,7 +162,7 @@ module CSD
|
|
160
162
|
#
|
161
163
|
def install_geforce!
|
162
164
|
raise Error::Graphics::Amd64NotSupported, "Sorry, nVIDIA GeForce is currently only supported on x86" unless Gem::Platform.local.cpu == 'x86'
|
163
|
-
Cmd.git_clone 'drivers for nVIDIA GeForce', '
|
165
|
+
Cmd.git_clone 'drivers for nVIDIA GeForce', 'http://github.com/csd/nvidia.git', Path.geforce
|
164
166
|
Cmd.run "chmod +x #{Path.geforce_run}", :announce_pwd => false
|
165
167
|
proprietary_continue_for_geforce
|
166
168
|
# Note that we cannot use Cmd.run here, because the User input is not forwared to
|
@@ -5,6 +5,8 @@ require 'csd/application/i2conf/config_example'
|
|
5
5
|
|
6
6
|
module CSD
|
7
7
|
module Application
|
8
|
+
# This module sets up the i2conf reflector in the system.
|
9
|
+
#
|
8
10
|
module I2conf
|
9
11
|
class Base < CSD::Application::Base
|
10
12
|
|
@@ -106,7 +108,7 @@ Categories=Application;Internet;Network;Chat;AudioVideo}
|
|
106
108
|
# strManager is a high-performance UDP packet reflector with high customizing per-flow options.
|
107
109
|
#
|
108
110
|
def checkout_strmanager
|
109
|
-
Cmd.git_clone('strManager library', '
|
111
|
+
Cmd.git_clone('strManager library', 'http://github.com/csd/strManager.git', Path.str_manager)
|
110
112
|
end
|
111
113
|
|
112
114
|
# The method copies several files in libtool to the directory of strManager to avoid libtool version mismatch.
|
@@ -147,7 +149,7 @@ Categories=Application;Internet;Network;Chat;AudioVideo}
|
|
147
149
|
# The method checks out i2conf source code from git repository.
|
148
150
|
#
|
149
151
|
def checkout_i2conf
|
150
|
-
Cmd.git_clone('i2conf repository', '
|
152
|
+
Cmd.git_clone('i2conf repository', 'http://github.com/csd/i2conf.git', Path.i2conf)
|
151
153
|
end
|
152
154
|
|
153
155
|
# The method fixes i2conf source code. The bootstrap file of i2conf only specifies automake version from 1.7 to 1.10.
|
@@ -4,6 +4,8 @@ module CSD
|
|
4
4
|
module Application
|
5
5
|
module Minisip
|
6
6
|
module Component
|
7
|
+
# This module updates the network firmware of the system.
|
8
|
+
#
|
7
9
|
module Network
|
8
10
|
class << self
|
9
11
|
|
@@ -21,6 +23,11 @@ module CSD
|
|
21
23
|
'net.ipv4.udp_wmem_min' => '4096'
|
22
24
|
}
|
23
25
|
|
26
|
+
# This method fixes the udp buffer size and updates the suitable network firmware after auto detection.
|
27
|
+
# AI will first use the optimum buffer parameters, which have been tested and identified, to update
|
28
|
+
# the system and then make them permanent in the system. AI will also detect the system for its network card,
|
29
|
+
# and initiate the corresponding method to update it.
|
30
|
+
#
|
24
31
|
def compile
|
25
32
|
UI.debug "#{self}.compile was called"
|
26
33
|
fix_udp_buffer
|
@@ -33,6 +40,8 @@ module CSD
|
|
33
40
|
update_intel if (lspci.success? and lspci.output =~ /82572EI/) or Options.reveal
|
34
41
|
end
|
35
42
|
|
43
|
+
# This method uses the optimum UDP buffer parameters for MiniSIP to update the system.
|
44
|
+
#
|
36
45
|
def fix_udp_buffer
|
37
46
|
return unless Gem::Platform.local.debian? or Options.reveal
|
38
47
|
UI.info 'Fixing UDP buffer size'.green.bold
|
@@ -41,6 +50,11 @@ module CSD
|
|
41
50
|
end
|
42
51
|
end
|
43
52
|
|
53
|
+
# This method makes the UDP buffer modification permanent. AI modifies the sysctl.conf file with the updated
|
54
|
+
# values and creates a backup file for it. But before that, AI will first look for the backup file, if it
|
55
|
+
# already exists, AI will consider the UDP buffer size parameters have been made permanent and do not
|
56
|
+
# touch any thing.
|
57
|
+
#
|
44
58
|
def permanent_udp_buffer
|
45
59
|
if Path.sysctl_conf_backup.file? and !Options.reveal
|
46
60
|
UI.warn "The UDP buffer modifications seems to be permanent already. Delete #{Path.sysctl_conf_backup.enquote} to enforce it."
|
@@ -59,36 +73,52 @@ module CSD
|
|
59
73
|
end
|
60
74
|
end
|
61
75
|
|
76
|
+
# This method update realtek firmware by checking out and compiling it.
|
77
|
+
#
|
62
78
|
def update_realtek
|
63
79
|
checkout_realtek
|
64
80
|
compile_realtek
|
65
81
|
end
|
66
82
|
|
83
|
+
# This method update intel firmware by checking out and compiling it.
|
84
|
+
#
|
67
85
|
def update_intel
|
68
86
|
checkout_intel
|
69
87
|
compile_intel
|
70
88
|
end
|
71
89
|
|
90
|
+
# This method check out realtek firmware from git repository
|
91
|
+
#
|
72
92
|
def checkout_realtek
|
73
|
-
Cmd.git_clone 'Realtek firmware', '
|
93
|
+
Cmd.git_clone 'Realtek firmware', 'http://github.com/csd/realtek.git', Path.realtek_firmware
|
74
94
|
end
|
75
95
|
|
96
|
+
# This method check out intel firmware from git repository
|
97
|
+
#
|
76
98
|
def checkout_intel
|
77
|
-
Cmd.git_clone 'Intel firmware', '
|
99
|
+
Cmd.git_clone 'Intel firmware', 'http://github.com/csd/intel.git', Path.intel_firmware
|
78
100
|
end
|
79
101
|
|
102
|
+
# This method compile realtek firmware by running the downloaded autorun shell script.
|
103
|
+
# It also gives a UI information the users about the following operation.
|
104
|
+
#
|
80
105
|
def compile_realtek
|
81
106
|
UI.info 'Compiling Realtek firmware'.green.bold
|
82
107
|
Cmd.cd Path.realtek_firmware, :internal => true
|
83
108
|
Cmd.run 'sudo ./autorun.sh'
|
84
109
|
end
|
85
110
|
|
111
|
+
# This method compile intel firmware by +make+ +install+ command.
|
112
|
+
# It also gives a UI information the users about the following operation.
|
113
|
+
#
|
86
114
|
def compile_intel
|
87
115
|
UI.info 'Compiling Intel firmware'.green.bold
|
88
116
|
Cmd.cd Path.intel_firmware_src, :internal => true
|
89
117
|
Cmd.run 'sudo make install'
|
90
118
|
end
|
91
119
|
|
120
|
+
# There is no actual operation for this introduction method.
|
121
|
+
#
|
92
122
|
def introduction
|
93
123
|
end
|
94
124
|
|
@@ -4,9 +4,14 @@ module CSD
|
|
4
4
|
module Application
|
5
5
|
module Minisip
|
6
6
|
module Component
|
7
|
+
# This module adds the plugins for MiniSIP
|
8
|
+
#
|
7
9
|
module Plugins
|
8
10
|
class << self
|
9
11
|
|
12
|
+
# The method adds MiniSIP plugins. It will first check whether the plugins have been added, if not, AI will
|
13
|
+
# initiate corresponding methods to add the plugins.
|
14
|
+
#
|
10
15
|
def compile
|
11
16
|
UI.debug "#{self}.compile was called"
|
12
17
|
if Path.plugins.directory? and !Options.reveal
|
@@ -16,10 +21,13 @@ module CSD
|
|
16
21
|
copy
|
17
22
|
end
|
18
23
|
end
|
19
|
-
|
24
|
+
|
25
|
+
# There is no actual operation for this introduction method.
|
26
|
+
#
|
20
27
|
def introduction
|
21
28
|
end
|
22
|
-
|
29
|
+
|
30
|
+
# This method checks out
|
23
31
|
def checkout
|
24
32
|
Cmd.git_clone('additional MiniSIP plugins', 'http://github.com/csd/minisip-plugins.git', Path.plugins)
|
25
33
|
end
|
@@ -3,6 +3,8 @@ require 'csd/application/default/base'
|
|
3
3
|
|
4
4
|
module CSD
|
5
5
|
module Application
|
6
|
+
# This module sets up MiniSIP logging server in the system.
|
7
|
+
#
|
6
8
|
module Mslog
|
7
9
|
class Base < CSD::Application::Base
|
8
10
|
|
@@ -97,7 +99,7 @@ Categories=Application;Internet;Network;Chat;AudioVideo}
|
|
97
99
|
# The method is to check out MiniSIP source code from git repository and place it into the current working directory.
|
98
100
|
#
|
99
101
|
def download
|
100
|
-
Cmd.git_clone 'Source code of logging server', '
|
102
|
+
Cmd.git_clone 'Source code of logging server', 'http://github.com/csd/minisip-logging-server.git', Path.packages
|
101
103
|
end
|
102
104
|
|
103
105
|
# This method compiles Java source code.
|
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: 9
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 3
|
10
|
+
version: 0.4.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Technology Transfer Alliance Team
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-09-
|
18
|
+
date: 2010-09-28 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|
@@ -37,8 +37,10 @@ files:
|
|
37
37
|
- VERSION
|
38
38
|
- bin/ai
|
39
39
|
- bin/ttai
|
40
|
-
- csd.gemspec
|
41
40
|
- img/3d1.png
|
41
|
+
- img/audio1.png
|
42
|
+
- img/audio2.png
|
43
|
+
- img/audio3.png
|
42
44
|
- img/bios0.jpg
|
43
45
|
- img/bios1.jpg
|
44
46
|
- img/bios2.jpg
|
data/csd.gemspec
DELETED
@@ -1,206 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{csd}
|
8
|
-
s.version = "0.4.2"
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Technology Transfer Alliance Team"]
|
12
|
-
s.date = %q{2010-09-27}
|
13
|
-
s.description = %q{CSD stands for Communication Systems Design and is a project of the Telecommunication Systems Laboratory (TSLab) of the Royal Institute of Technology in Stockholm, Sweden. Within CSD many software tools are used to build up various networks and services. This gem is supposed to automate processes to handle the compilation and installation of these software tools. Technology Transfer Alliance (TTA) is the project team, which maintains this code.}
|
14
|
-
s.email = %q{mtoday11@gmail.com}
|
15
|
-
s.executables = ["ai", "ttai"]
|
16
|
-
s.extra_rdoc_files = [
|
17
|
-
"README.rdoc"
|
18
|
-
]
|
19
|
-
s.files = [
|
20
|
-
".document",
|
21
|
-
".gitignore",
|
22
|
-
"COPYING",
|
23
|
-
"README.rdoc",
|
24
|
-
"Rakefile",
|
25
|
-
"VERSION",
|
26
|
-
"bin/ai",
|
27
|
-
"bin/ttai",
|
28
|
-
"csd.gemspec",
|
29
|
-
"img/3d1.png",
|
30
|
-
"img/bios0.jpg",
|
31
|
-
"img/bios1.jpg",
|
32
|
-
"img/bios2.jpg",
|
33
|
-
"img/camera1.jpg",
|
34
|
-
"img/camera2.jpg",
|
35
|
-
"img/checkminisip.png",
|
36
|
-
"img/decklink1.png",
|
37
|
-
"img/decklink2.png",
|
38
|
-
"img/graphics1.png",
|
39
|
-
"img/graphics2.png",
|
40
|
-
"img/graphics3.png",
|
41
|
-
"img/graphics4.png",
|
42
|
-
"img/graphics5.png",
|
43
|
-
"img/installer1.jpg",
|
44
|
-
"img/installer2.jpg",
|
45
|
-
"img/installer3.jpg",
|
46
|
-
"img/minisip1.png",
|
47
|
-
"img/minisip2.png",
|
48
|
-
"img/minisip3.png",
|
49
|
-
"img/minisip4.png",
|
50
|
-
"img/minisip5.png",
|
51
|
-
"img/minisip6.png",
|
52
|
-
"img/minisip7.png",
|
53
|
-
"img/reboot.png",
|
54
|
-
"img/ruby1.png",
|
55
|
-
"img/ruby2.png",
|
56
|
-
"img/ruby3.png",
|
57
|
-
"img/ruby4.png",
|
58
|
-
"img/update1.png",
|
59
|
-
"img/update2.png",
|
60
|
-
"lib/csd.rb",
|
61
|
-
"lib/csd/application.rb",
|
62
|
-
"lib/csd/application/decklink.rb",
|
63
|
-
"lib/csd/application/decklink/about.yml",
|
64
|
-
"lib/csd/application/decklink/base.rb",
|
65
|
-
"lib/csd/application/decklink/options/common.rb",
|
66
|
-
"lib/csd/application/decklink/options/common_defaults.rb",
|
67
|
-
"lib/csd/application/default.rb",
|
68
|
-
"lib/csd/application/default/base.rb",
|
69
|
-
"lib/csd/application/graphics.rb",
|
70
|
-
"lib/csd/application/graphics/about.yml",
|
71
|
-
"lib/csd/application/graphics/base.rb",
|
72
|
-
"lib/csd/application/graphics/error.rb",
|
73
|
-
"lib/csd/application/graphics/options/common.rb",
|
74
|
-
"lib/csd/application/graphics/options/common_defaults.rb",
|
75
|
-
"lib/csd/application/graphics/options/install.rb",
|
76
|
-
"lib/csd/application/graphics/options/install_defaults.rb",
|
77
|
-
"lib/csd/application/i2conf.rb",
|
78
|
-
"lib/csd/application/i2conf/about.yml",
|
79
|
-
"lib/csd/application/i2conf/base.rb",
|
80
|
-
"lib/csd/application/i2conf/config_example.rb",
|
81
|
-
"lib/csd/application/i2conf/options/common.rb",
|
82
|
-
"lib/csd/application/i2conf/options/common_defaults.rb",
|
83
|
-
"lib/csd/application/i2conf/options/install.rb",
|
84
|
-
"lib/csd/application/i2conf/options/install_defaults.rb",
|
85
|
-
"lib/csd/application/minisip.rb",
|
86
|
-
"lib/csd/application/minisip/about.yml",
|
87
|
-
"lib/csd/application/minisip/base.rb",
|
88
|
-
"lib/csd/application/minisip/component.rb",
|
89
|
-
"lib/csd/application/minisip/component/core.rb",
|
90
|
-
"lib/csd/application/minisip/component/core_packaging.rb",
|
91
|
-
"lib/csd/application/minisip/component/ffmpeg.rb",
|
92
|
-
"lib/csd/application/minisip/component/gnome.rb",
|
93
|
-
"lib/csd/application/minisip/component/hdviper.rb",
|
94
|
-
"lib/csd/application/minisip/component/network.rb",
|
95
|
-
"lib/csd/application/minisip/component/plugins.rb",
|
96
|
-
"lib/csd/application/minisip/component/x264.rb",
|
97
|
-
"lib/csd/application/minisip/error.rb",
|
98
|
-
"lib/csd/application/minisip/options/common.rb",
|
99
|
-
"lib/csd/application/minisip/options/common_defaults.rb",
|
100
|
-
"lib/csd/application/minisip/options/install.rb",
|
101
|
-
"lib/csd/application/minisip/options/install_defaults.rb",
|
102
|
-
"lib/csd/application/minisip/options/package.rb",
|
103
|
-
"lib/csd/application/minisip/options/package_defaults.rb",
|
104
|
-
"lib/csd/application/minisip/phonebook_example.rb",
|
105
|
-
"lib/csd/application/minisip/unix.rb",
|
106
|
-
"lib/csd/application/minisip/unix/darwin.rb",
|
107
|
-
"lib/csd/application/minisip/unix/linux.rb",
|
108
|
-
"lib/csd/application/minisip/unix/linux/debian.rb",
|
109
|
-
"lib/csd/application/minisip/unix/linux/debian/ubuntu10.rb",
|
110
|
-
"lib/csd/application/mslog.rb",
|
111
|
-
"lib/csd/application/mslog/about.yml",
|
112
|
-
"lib/csd/application/mslog/base.rb",
|
113
|
-
"lib/csd/application/mslog/options/common.rb",
|
114
|
-
"lib/csd/application/mslog/options/common_defaults.rb",
|
115
|
-
"lib/csd/applications.rb",
|
116
|
-
"lib/csd/commands.rb",
|
117
|
-
"lib/csd/container.rb",
|
118
|
-
"lib/csd/error.rb",
|
119
|
-
"lib/csd/extensions.rb",
|
120
|
-
"lib/csd/extensions/core/array.rb",
|
121
|
-
"lib/csd/extensions/core/dir.rb",
|
122
|
-
"lib/csd/extensions/core/kernel.rb",
|
123
|
-
"lib/csd/extensions/core/object.rb",
|
124
|
-
"lib/csd/extensions/core/open_struct.rb",
|
125
|
-
"lib/csd/extensions/core/option_parser.rb",
|
126
|
-
"lib/csd/extensions/core/pathname.rb",
|
127
|
-
"lib/csd/extensions/core/string.rb",
|
128
|
-
"lib/csd/extensions/gem/platform.rb",
|
129
|
-
"lib/csd/options_parser.rb",
|
130
|
-
"lib/csd/path_container.rb",
|
131
|
-
"lib/csd/user_interface.rb",
|
132
|
-
"lib/csd/user_interface/base.rb",
|
133
|
-
"lib/csd/user_interface/cli.rb",
|
134
|
-
"lib/csd/user_interface/silent.rb",
|
135
|
-
"lib/csd/vendor/active_support/MIT-LICENSE",
|
136
|
-
"lib/csd/vendor/active_support/inflector.rb",
|
137
|
-
"lib/csd/vendor/active_support/object_extensions.rb",
|
138
|
-
"lib/csd/vendor/term/GPL2-LICENSE",
|
139
|
-
"lib/csd/vendor/term/ansicolor.rb",
|
140
|
-
"lib/csd/vendor/zentest/zentest_assertions.rb",
|
141
|
-
"lib/csd/version.rb",
|
142
|
-
"test/application/test_minisip.rb",
|
143
|
-
"test/functional/test_application_base.rb",
|
144
|
-
"test/functional/test_application_default.rb",
|
145
|
-
"test/functional/test_applications.rb",
|
146
|
-
"test/functional/test_cli.rb",
|
147
|
-
"test/functional/test_commands.rb",
|
148
|
-
"test/functional/test_csd.rb",
|
149
|
-
"test/functional/test_options.rb",
|
150
|
-
"test/helper.rb",
|
151
|
-
"test/unit/test_container.rb",
|
152
|
-
"test/unit/test_dir.rb",
|
153
|
-
"test/unit/test_open_struct.rb",
|
154
|
-
"test/unit/test_pathname.rb",
|
155
|
-
"test/unit/test_platform.rb",
|
156
|
-
"test/unit/test_string.rb"
|
157
|
-
]
|
158
|
-
s.homepage = %q{http://github.com/csd/csd}
|
159
|
-
s.post_install_message = %q{
|
160
|
-
============================================================
|
161
|
-
|
162
|
-
Thank you for installing the TTA Automated Installer!
|
163
|
-
|
164
|
-
NOTE: On DEBIAN and UBUNTU the executable `ai´ is *maybe*
|
165
|
-
not in your PATH by default. If that is the case,
|
166
|
-
you can fix it by running this command:
|
167
|
-
|
168
|
-
echo "export PATH=\$PATH:$(gem env | grep "E D" | sed "s/[^\w]* //")" >> ~/.bashrc;. ~/.bashrc
|
169
|
-
|
170
|
-
You can run the AI by typing `ai´ in your command line.
|
171
|
-
|
172
|
-
============================================================
|
173
|
-
}
|
174
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
175
|
-
s.require_paths = ["lib"]
|
176
|
-
s.rubygems_version = %q{1.3.7}
|
177
|
-
s.summary = %q{Installation and compilation handler for software used in CSD projects.}
|
178
|
-
s.test_files = [
|
179
|
-
"test/application/test_minisip.rb",
|
180
|
-
"test/functional/test_application_base.rb",
|
181
|
-
"test/functional/test_application_default.rb",
|
182
|
-
"test/functional/test_applications.rb",
|
183
|
-
"test/functional/test_cli.rb",
|
184
|
-
"test/functional/test_commands.rb",
|
185
|
-
"test/functional/test_csd.rb",
|
186
|
-
"test/functional/test_options.rb",
|
187
|
-
"test/helper.rb",
|
188
|
-
"test/unit/test_container.rb",
|
189
|
-
"test/unit/test_dir.rb",
|
190
|
-
"test/unit/test_open_struct.rb",
|
191
|
-
"test/unit/test_pathname.rb",
|
192
|
-
"test/unit/test_platform.rb",
|
193
|
-
"test/unit/test_string.rb"
|
194
|
-
]
|
195
|
-
|
196
|
-
if s.respond_to? :specification_version then
|
197
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
198
|
-
s.specification_version = 3
|
199
|
-
|
200
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
201
|
-
else
|
202
|
-
end
|
203
|
-
else
|
204
|
-
end
|
205
|
-
end
|
206
|
-
|