rye 0.5.1 → 0.5.2

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.
Files changed (4) hide show
  1. data/CHANGES.txt +5 -0
  2. data/bin/rye +5 -1
  3. data/rye.gemspec +1 -1
  4. metadata +2 -2
data/CHANGES.txt CHANGED
@@ -4,6 +4,11 @@ TODO
4
4
 
5
5
  * Fingerprints: ssh-keygen -l -f id_rsa_repos.pub
6
6
 
7
+
8
+ #### 0.5.2 (2009-04-20) #############################
9
+
10
+ * FIXED: authorize-local command attempted to connect via SSH before authorizing.
11
+
7
12
  #### 0.5.0 (2009-04-18) #############################
8
13
 
9
14
  * ADDED: Rye::Box.switch_user
data/bin/rye CHANGED
@@ -19,6 +19,10 @@ require 'rye'
19
19
  include Drydock
20
20
 
21
21
  global :p, :path, String, "A directory containing SSH private keys or the path to a private key"
22
+ global :V, :version, "Display version number" do
23
+ puts "Rye version: #{Rye::VERSION}"
24
+ exit 0
25
+ end
22
26
 
23
27
  before do |obj|
24
28
  # Load private keys if specified
@@ -57,7 +61,7 @@ desc "Add your public keys to your current account on this machine"
57
61
  command :authorize_local do |obj|
58
62
  user = Rye.sysinfo.user
59
63
  puts "Authorizing #{user}@localhost"
60
- rbox = Rye::Box.new('localhost').connect
64
+ rbox = Rye::Box.new('localhost')
61
65
  puts "Added public keys for: ", rbox.authorize_keys_local
62
66
  puts "Now try: " << "ssh #{user}@localhost"
63
67
 
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.5.1"
4
+ s.version = "0.5.2"
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rye
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delano Mandelbaum
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-04-19 00:00:00 -04:00
12
+ date: 2009-04-20 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency