rudy 0.9.8.003 → 0.9.8.004

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.txt CHANGED
@@ -10,6 +10,13 @@ Creating volume...
10
10
  NameError: uninitialized constant Rudy::Metadata::UnknownObject
11
11
  (S)kip (A)bort:
12
12
 
13
+
14
+ #### 0.9.8.004 (2010-05-19) #######################
15
+
16
+ * FIXED: original_user and user_keypairpath errors when running "rudy machines -U"
17
+ * FIXED: Silence redefining startup class message unless debug mode
18
+
19
+
13
20
  #### 0.9.8.003 (2010-05-19) #######################
14
21
 
15
22
  * FIXED: Rye should be in quiet mode when Rudy.quiet?
data/lib/rudy.rb CHANGED
@@ -44,7 +44,7 @@ module Rudy
44
44
  MAJOR = 0.freeze
45
45
  MINOR = 9.freeze
46
46
  TINY = 8.freeze
47
- PATCH = '003'.freeze
47
+ PATCH = '004'.freeze
48
48
  end
49
49
  def self.to_s; [MAJOR, MINOR, TINY, PATCH].join('.'); end
50
50
  def self.to_f; self.to_s.to_f; end
@@ -112,7 +112,7 @@ class Rudy::Config
112
112
  # We can allow existing commands to be overridden but we
113
113
  # print a message to STDERR so the user knows what's up.
114
114
  if Rye::Cmd.can?(cmd)
115
- Rudy::Huxtable.le "Redefining #{cmd}" if Rudy::Huxtable.global.verbose > 2
115
+ Rudy::Huxtable.ld "Redefining #{cmd}" if Rudy::Huxtable.global.verbose > 2
116
116
  end
117
117
 
118
118
  if args.last.is_a?(Proc)
data/lib/rudy/routines.rb CHANGED
@@ -126,7 +126,7 @@ module Rudy
126
126
  # See Rudy::Routines.add_routine
127
127
  def self.add_some_class(store, super_klass, name, klass)
128
128
  if store.has_key? name
129
- Rudy::Huxtable.li "Redefining class for #{name}"
129
+ Rudy::Huxtable.ld "Redefining class for #{name}"
130
130
  end
131
131
  unless klass.ancestors.member? super_klass
132
132
  raise "#{klass} does not inherit #{super_klass}"
@@ -100,13 +100,14 @@ module Rudy; module Routines; module Handlers;
100
100
  if hn != :default
101
101
  original_user = rset.user
102
102
  rset.switch_user 'root'
103
- rset.add_key user_keypairpath('root')
103
+ rset.add_key Huxtable.user_keypairpath('root')
104
104
  hn = self.stash.name if hn == :rudy
105
105
  self.quietly { hostname(hn) }
106
+ rset.switch_user original_user
106
107
  end
107
108
  end
108
109
  end
109
- rset.switch_user original_user
110
+
110
111
  end
111
112
 
112
113
  end
data/rudy.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  @spec = Gem::Specification.new do |s|
2
2
  s.name = "rudy"
3
3
  s.rubyforge_project = 'rudy'
4
- s.version = "0.9.8.003"
4
+ s.version = "0.9.8.004"
5
5
  s.summary = "Rudy: Not your grandparents' EC2 deployment tool."
6
6
  s.description = s.summary
7
7
  s.author = "Delano Mandelbaum"
@@ -16,7 +16,7 @@
16
16
 
17
17
  s.executables = %w[rudy rudy-ec2 rudy-sdb rudy-s3]
18
18
 
19
- s.add_dependency 'rye', '>= 0.8.16'
19
+ s.add_dependency 'rye', '>= 0.8.17'
20
20
  s.add_dependency 'storable', '>= 0.7.1'
21
21
  s.add_dependency 'attic', '>= 0.5.2'
22
22
  s.add_dependency 'annoy', '>= 0.5.6'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rudy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8.003
4
+ version: 0.9.8.004
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delano Mandelbaum
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: 0.8.16
23
+ version: 0.8.17
24
24
  version:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: storable