csd 0.0.7 → 0.0.8

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
@@ -12,6 +12,11 @@ begin
12
12
  gemspec.authors = ["Technology Transfer Alliance Team"]
13
13
  gemspec.add_dependency "term-ansicolor", ">= 0"
14
14
  gemspec.executables = ["csd"]
15
+ gemspec.post_install_message = <<-END
16
+ ========================================================================
17
+ This is s test to see if ruby code is executed here. #{Gem.bindir}
18
+ ========================================================================
19
+ END
15
20
  end
16
21
  rescue LoadError
17
22
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.7
1
+ 0.0.8
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{csd}
8
- s.version = "0.0.7"
8
+ s.version = "0.0.8"
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"]
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  "VERSION",
28
28
  "bin/csd",
29
29
  "csd.gemspec",
30
- "lib/apps/minisip.rb",
30
+ "lib/applications/minisip.rb",
31
31
  "lib/csd.rb",
32
32
  "lib/csd/installer.rb",
33
33
  "lib/csd/loader.rb",
@@ -37,9 +37,13 @@ Gem::Specification.new do |s|
37
37
  "test/test_csd.rb"
38
38
  ]
39
39
  s.homepage = %q{http://github.com/csd/csd}
40
+ s.post_install_message = %q{ ========================================================================
41
+ This is s test to see if ruby code is executed here. /usr/bin
42
+ ========================================================================
43
+ }
40
44
  s.rdoc_options = ["--charset=UTF-8"]
41
45
  s.require_paths = ["lib"]
42
- s.rubygems_version = %q{1.3.6}
46
+ s.rubygems_version = %q{1.3.7}
43
47
  s.summary = %q{Installation and compilation handler for software used in CSD projects.}
44
48
  s.test_files = [
45
49
  "test/helper.rb",
@@ -50,7 +54,7 @@ Gem::Specification.new do |s|
50
54
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
51
55
  s.specification_version = 3
52
56
 
53
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
57
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
54
58
  s.add_runtime_dependency(%q<term-ansicolor>, [">= 0"])
55
59
  else
56
60
  s.add_dependency(%q<term-ansicolor>, [">= 0"])
File without changes
@@ -15,8 +15,8 @@ module CSD
15
15
  @actions = ARGV
16
16
  OptionParser.new do |opts|
17
17
  opts.banner = "Usage: csd [options]"
18
- opts.on("-v", "--[no-]verbose", "Run verbosely") do |v|
19
- @options[:verbose] = v
18
+ opts.on("-s", "--silent", "Don't run verbosely") do |v|
19
+ @options[:verbose] = !v
20
20
  end
21
21
  end.parse!
22
22
 
@@ -7,7 +7,7 @@ module CSD
7
7
  include Term::ANSIColor
8
8
 
9
9
  def run_command(cmd)
10
- log "Running command: #{cmd}".green.bold
10
+ log "Running command: #{cmd} in #{Dir.pwd}".green.bold
11
11
  ret = ''
12
12
  IO.popen(cmd) do |stdout|
13
13
  stdout.each do |line|
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csd
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 15
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 0
8
- - 7
9
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
10
11
  platform: ruby
11
12
  authors:
12
13
  - Technology Transfer Alliance Team
@@ -21,9 +22,11 @@ dependencies:
21
22
  name: term-ansicolor
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ">="
26
28
  - !ruby/object:Gem::Version
29
+ hash: 3
27
30
  segments:
28
31
  - 0
29
32
  version: "0"
@@ -47,7 +50,7 @@ files:
47
50
  - VERSION
48
51
  - bin/csd
49
52
  - csd.gemspec
50
- - lib/apps/minisip.rb
53
+ - lib/applications/minisip.rb
51
54
  - lib/csd.rb
52
55
  - lib/csd/installer.rb
53
56
  - lib/csd/loader.rb
@@ -59,29 +62,33 @@ has_rdoc: true
59
62
  homepage: http://github.com/csd/csd
60
63
  licenses: []
61
64
 
62
- post_install_message:
65
+ post_install_message: " ========================================================================\n This is s test to see if ruby code is executed here. /usr/bin\n ========================================================================\n"
63
66
  rdoc_options:
64
67
  - --charset=UTF-8
65
68
  require_paths:
66
69
  - lib
67
70
  required_ruby_version: !ruby/object:Gem::Requirement
71
+ none: false
68
72
  requirements:
69
73
  - - ">="
70
74
  - !ruby/object:Gem::Version
75
+ hash: 3
71
76
  segments:
72
77
  - 0
73
78
  version: "0"
74
79
  required_rubygems_version: !ruby/object:Gem::Requirement
80
+ none: false
75
81
  requirements:
76
82
  - - ">="
77
83
  - !ruby/object:Gem::Version
84
+ hash: 3
78
85
  segments:
79
86
  - 0
80
87
  version: "0"
81
88
  requirements: []
82
89
 
83
90
  rubyforge_project:
84
- rubygems_version: 1.3.6
91
+ rubygems_version: 1.3.7
85
92
  signing_key:
86
93
  specification_version: 3
87
94
  summary: Installation and compilation handler for software used in CSD projects.