terminal_velocity 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -19,7 +19,7 @@ Spec::Rake::SpecTask.new do |t|
19
19
  end
20
20
 
21
21
  GEM = "terminal_velocity"
22
- GEM_VERSION = "0.0.3"
22
+ GEM_VERSION = "0.0.4"
23
23
  AUTHOR = "Corey Donohoe"
24
24
  EMAIL = "atmos@atmos.org"
25
25
  HOMEPAGE = "http://www.atmos.org/terminal-velocity/"
@@ -19,7 +19,7 @@ module TerminalVelocity
19
19
  end
20
20
 
21
21
  def options
22
- @options ||= { :term_theme => "Pro", :current_window => false}
22
+ @options ||= { :term_theme => "Pro", :current_window => false }
23
23
  end
24
24
 
25
25
  private
@@ -72,8 +72,12 @@ module TerminalVelocity
72
72
  end
73
73
 
74
74
  class Screen < Runner
75
+ def self.run(username, hostnames, options = { })
76
+ super(username, hostnames, { :script_name => "terminal-velocity-#{$$}" }.merge(options))
77
+ end
78
+
75
79
  def launcher_script
76
- "screen -S terminal-velocity-#{script_sha1} -c"
80
+ "screen -S #{options[:script_name]} -c"
77
81
  end
78
82
 
79
83
  def template
@@ -82,4 +86,3 @@ module TerminalVelocity
82
86
  end
83
87
  end
84
88
  end
85
-
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terminal_velocity
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Corey Donohoe