csd 0.1.0 → 0.1.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/Rakefile CHANGED
@@ -11,24 +11,20 @@ begin
11
11
  gemspec.email = "mtoday11@gmail.com"
12
12
  gemspec.homepage = "http://github.com/csd/csd"
13
13
  gemspec.authors = ["Technology Transfer Alliance Team"]
14
- #gemspec.add_dependency "term-ansicolor", ">= 0"
15
- #gemspec.add_dependency "activesupport", "3.0.0.beta3" # needs to be active_support in the next release of it, I guess
16
14
  gemspec.executables = ["ai"]
17
15
  gemspec.post_install_message = %q{
18
- ==================================================================================
16
+ ================================================================================================
19
17
 
20
- Thank you for installing the Communication Systems and Design Automated Installer!
21
- You can run it by just typing `ai´ in your command line.
22
-
23
- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
24
-
25
- Note: On Debian and Ubuntu the executable `ai´ is not in your PATH by default.
26
- You can fix this problem by creating a symlink with these two commands:
27
-
28
- GEMBIN=$(gem env | grep "E D" | sed "s/[^\w]* //")
29
- sudo ln -s "${GEMBIN}/ai" /usr/local/bin/ai
30
-
31
- ==================================================================================
18
+ Thank you for installing the Communication Systems and Design Automated Installer!
19
+
20
+ You can run it by just typing `ai´ in your command line.
21
+
22
+ Note: On Debian and Ubuntu the executable `ai´ is not in your PATH by default.
23
+ You can fix this by adding it to your .bashrc file with this command:
24
+
25
+ echo "export PATH=\$PATH:$(gem env | grep "E D" | sed "s/[^\w]* //")" >> ~/.bashrc;. ~/.bashrc
26
+
27
+ ================================================================================================
32
28
  }
33
29
  end
34
30
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{csd}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Technology Transfer Alliance Team"]
@@ -271,20 +271,18 @@ Gem::Specification.new do |s|
271
271
  ]
272
272
  s.homepage = %q{http://github.com/csd/csd}
273
273
  s.post_install_message = %q{
274
- ==================================================================================
274
+ ================================================================================================
275
275
 
276
- Thank you for installing the Communication Systems and Design Automated Installer!
277
- You can run it by just typing `ai´ in your command line.
278
-
279
- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
280
-
281
- Note: On Debian and Ubuntu the executable `ai´ is not in your PATH by default.
282
- You can fix this problem by creating a symlink with these two commands:
283
-
284
- GEMBIN=$(gem env | grep "E D" | sed "s/[^\w]* //")
285
- sudo ln -s "${GEMBIN}/ai" /usr/local/bin/ai
286
-
287
- ==================================================================================
276
+ Thank you for installing the Communication Systems and Design Automated Installer!
277
+
278
+ You can run it by just typing `ai´ in your command line.
279
+
280
+ Note: On Debian and Ubuntu the executable `ai´ is not in your PATH by default.
281
+ You can fix this by adding it to your .bashrc file with this command:
282
+
283
+ echo "export PATH=\$PATH:$(gem env | grep "E D" | sed "s/[^\w]* //")" >> ~/.bashrc;. ~/.bashrc
284
+
285
+ ================================================================================================
288
286
  }
289
287
  s.rdoc_options = ["--charset=UTF-8"]
290
288
  s.require_paths = ["lib"]
@@ -58,6 +58,7 @@ module CSD
58
58
  Path.hdviper_x264_test_x264api = Pathname.new(File.join(Path.hdviper_x264, 'test', 'x264API'))
59
59
  Path.build = Pathname.new(File.join(Path.work, 'build'))
60
60
  Path.build_bin = Pathname.new(File.join(Path.build, 'bin'))
61
+ Path.build_gtkgui = Pathname.new(File.join(Path.build_bin, 'minisip_gtkgui'))
61
62
  Path.build_include = Pathname.new(File.join(Path.build, 'include'))
62
63
  Path.build_lib = Pathname.new(File.join(Path.build, 'lib'))
63
64
  Path.build_lib_pkg_config = Pathname.new(File.join(Path.build_lib, 'pkgconfig'))
@@ -43,7 +43,7 @@ module CSD
43
43
  end
44
44
 
45
45
  def ldconfig_and_gtkgui
46
- Cmd.run(File.join(Path.build, "minisip_gtkgui"))
46
+ Cmd.run(Path.build_gtkgui)
47
47
  end
48
48
 
49
49
  end
@@ -102,7 +102,7 @@ module CSD
102
102
  # TODO: There must be a better way for this in general than to eval the raw ruby code
103
103
  begin
104
104
  unless Applications.current.options(self.action).size.blank?
105
- opts.headline "#{self.action.upcase} #{Applications.current.name.upcase} OPTIONS".green.bold
105
+ opts.headline "#{self.action.to_s.upcase} #{Applications.current.name.upcase} OPTIONS".green.bold
106
106
  eval Applications.current.options(self.action)
107
107
  else
108
108
  UI.debug "There were no options to be loaded from #{Applications.current}"
@@ -139,7 +139,7 @@ module CSD
139
139
  self.help = value
140
140
  end
141
141
  opts.on_tail("-v", "--version", "Show version") do
142
- print "CSD Gem Version: #{opts.version}".blue
142
+ puts "CSD Gem Version: #{CSD::VERSION}".blue
143
143
  exit
144
144
  end
145
145
  self.helptext = opts.help
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: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Technology Transfer Alliance Team
@@ -282,7 +282,9 @@ has_rdoc: true
282
282
  homepage: http://github.com/csd/csd
283
283
  licenses: []
284
284
 
285
- post_install_message: "\n ==================================================================================\n\n Thank you for installing the Communication Systems and Design Automated Installer!\n You can run it by just typing `ai\xC2\xB4 in your command line.\n \n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n \n Note: On Debian and Ubuntu the executable `ai\xC2\xB4 is not in your PATH by default.\n You can fix this problem by creating a symlink with these two commands:\n \n GEMBIN=$(gem env | grep \"E D\" | sed \"s/[^\\w]* //\")\n sudo ln -s \"${GEMBIN}/ai\" /usr/local/bin/ai\n \n ==================================================================================\n "
285
+ post_install_message: "\n\
286
+ ================================================================================================\n\n Thank you for installing the Communication Systems and Design Automated Installer!\n\n You can run it by just typing `ai\xC2\xB4 in your command line.\n\n Note: On Debian and Ubuntu the executable `ai\xC2\xB4 is not in your PATH by default.\n You can fix this by adding it to your .bashrc file with this command:\n \n echo \"export PATH=\\$PATH:$(gem env | grep \"E D\" | sed \"s/[^\\w]* //\")\" >> ~/.bashrc;. ~/.bashrc\n \n\
287
+ ================================================================================================\n "
286
288
  rdoc_options:
287
289
  - --charset=UTF-8
288
290
  require_paths: