rye 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.txt CHANGED
@@ -1,5 +1,8 @@
1
1
  RYE, CHANGES
2
2
 
3
+ #### 0.9.1 (2010-10-18) #############################
4
+
5
+ * CHANGE: Don't add keys to ssh-agent in Rye::Box and Rye::Set
3
6
 
4
7
  #### 0.9.0 (2010-08-19) #############################
5
8
 
data/README.rdoc CHANGED
@@ -1,4 +1,4 @@
1
- = Rye - v0.8
1
+ = Rye - v0.9
2
2
 
3
3
  <b>Safely run SSH commands on a bunch of machines at the same time (from Ruby)</b>.
4
4
 
@@ -134,7 +134,7 @@ The first argument must be the command name and the remaining arguments are sent
134
134
  The return value is a Rye::Rap object (just like with Rye::Box) so you have access to the exit code and STDERR output:
135
135
 
136
136
  ret = Rye.shell :ls, 'nofile'
137
- ret.exit_status # => 1
137
+ ret.exit_status # => 1
138
138
  ret.stderr # => "sh: nofile: No such file or directory"
139
139
  ret.class # => Rye::Rap
140
140
 
@@ -159,7 +159,6 @@ Rye permits only a limited number of system commands to be run. This default whi
159
159
 
160
160
  == Dependencies
161
161
 
162
- * OpenSSH[http://www.openssh.com/]
163
162
  * OpenSSL[http://www.openssl.org] (The C library)
164
163
  * Ruby Gems:
165
164
  * net-ssh
@@ -175,19 +174,15 @@ Rye permits only a limited number of system commands to be run. This default whi
175
174
  Via Rubygems, one of:
176
175
 
177
176
  $ gem install rye
178
- $ gem install delano-rye --source http://gems.github.com/
179
177
 
180
178
  or via download:
181
179
 
182
180
  * rye-latest.tar.gz[http://github.com/delano/rye/tarball/latest]
183
181
  * rye-latest.zip[http://github.com/delano/rye/zipball/latest]
184
182
 
185
-
186
-
187
183
  == Known Issues
188
184
 
189
185
  * Rye doesn't read the ~/.ssh/config file yet
190
- * Rye uses OpenSSH's ssh-agent (if it exists). Rye starts it up as a child process and shuts it down using at_exit. If you have code in an at_exit that rely's on Rye, make sure your code runs before Rye's at_exit block is called. For example, Drydock uses at_exit too which is why in bin/rye you can see that Drydock is called explicitly so that Rye's at_exit is executed after Drydock executes a command.
191
186
  * No support for STDIN for commands.
192
187
  * Limited support for interactive shells.
193
188
 
data/Rakefile CHANGED
@@ -42,6 +42,7 @@ Rake::GemPackageTask.new(@spec) do |p|
42
42
  p.need_tar = true if RUBY_PLATFORM !~ /mswin/
43
43
  end
44
44
 
45
+ task :build => [ :release ]
45
46
  task :release => [ :rdoc, :package ]
46
47
  task :install => [ :rdoc, :package ] do
47
48
  sh %{sudo gem install pkg/#{name}-#{version}.gem}
data/lib/rye.rb CHANGED
@@ -42,7 +42,7 @@ require 'esc'
42
42
  module Rye
43
43
  extend self
44
44
 
45
- VERSION = "0.9.0".freeze unless defined?(VERSION)
45
+ VERSION = "0.9.1".freeze unless defined?(VERSION)
46
46
 
47
47
  @@sysinfo = nil
48
48
  @@agent_env = Hash.new # holds ssh-agent env vars
data/lib/rye/box.rb CHANGED
@@ -278,7 +278,7 @@ module Rye
278
278
  end
279
279
  additional_keys = [additional_keys].flatten.compact || []
280
280
  return if additional_keys.empty?
281
- ret = Rye.add_keys(additional_keys)
281
+ #ret = Rye.add_keys(additional_keys)
282
282
  #if ret.is_a?(Rye::Rap)
283
283
  # debug "ssh-add exit_status: #{ret.exit_status}"
284
284
  # debug "ssh-add stdout: #{ret.stdout}"
data/lib/rye/set.rb CHANGED
@@ -76,7 +76,7 @@ module Rye
76
76
  return @opts[:keys]
77
77
  end
78
78
  additional_keys = [additional_keys].flatten.compact || []
79
- Rye.add_keys(additional_keys)
79
+ #Rye.add_keys(additional_keys)
80
80
  self
81
81
  end
82
82
  alias :add_keys :add_key
data/rye.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  @spec = Gem::Specification.new do |s|
2
2
  s.name = "rye"
3
3
  s.rubyforge_project = "rye"
4
- s.version = "0.9.0"
4
+ s.version = "0.9.1"
5
5
  s.summary = "Rye: Safely run SSH commands on a bunch of machines at the same time (from Ruby)."
6
6
  s.description = s.summary
7
7
  s.author = "Delano Mandelbaum"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rye
3
3
  version: !ruby/object:Gem::Version
4
- hash: 59
4
+ hash: 57
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 0
10
- version: 0.9.0
9
+ - 1
10
+ version: 0.9.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Delano Mandelbaum
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-19 00:00:00 -04:00
18
+ date: 2010-10-18 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency