rudy 0.9.8.005 → 0.9.8.006

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/CHANGES.txt CHANGED
@@ -1,5 +1,6 @@
1
1
  RUDY, CHANGES
2
2
 
3
+ * TODO: http://github.com/solutious/rudy/issues/#issue/46
3
4
  * TODO: http://github.com/solutious/rudy/issues/#issue/43
4
5
  * TODO: Warning in latest Ruby 1.9.1: httpclient/http.rb:367: warning: variable $KCODE
5
6
  * rudy create-disks
@@ -10,6 +11,11 @@ Creating volume...
10
11
  NameError: uninitialized constant Rudy::Metadata::UnknownObject
11
12
  (S)kip (A)bort:
12
13
 
14
+ #### 0.9.8.006 (2010-06-28) #######################
15
+
16
+ * FIXED: In Ruby 1.9, the value for disk.position was being modified by refresh!
17
+
18
+
13
19
  #### 0.9.8.005 (2010-05-21) #######################
14
20
 
15
21
  * FIXED: uninitialized constant Rye::Box::Huxtable error when running "rudy m -U"
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 = '005'.freeze
47
+ PATCH = '006'.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
data/lib/rudy/metadata.rb CHANGED
@@ -54,7 +54,7 @@ module Rudy
54
54
  end
55
55
 
56
56
  # Get a record from SimpleDB with the key +n+
57
- def self.get(n)
57
+ def self.get(n)
58
58
  Rudy::Huxtable.ld "GET: #{n}" if Rudy.debug?
59
59
  @@rsdb.get @@domain, n
60
60
  end
@@ -65,7 +65,7 @@ module Rudy
65
65
 
66
66
  # sdb values are stored as strings. Some quick conversion.
67
67
  def postprocess
68
- @position &&= @position.to_s.rjust(2, '0')
68
+ @position = @position.to_s.rjust(2, '0') if @position.to_s.size == 1
69
69
  @size &&= @size.to_i
70
70
  @raw = true if @raw == "true" unless @raw.is_a?(TrueClass)
71
71
  @mounted = (@mounted == "true") unless @mounted.is_a?(TrueClass)
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.005"
4
+ s.version = "0.9.8.006"
5
5
  s.summary = "Rudy: Not your grandparents' EC2 deployment tool."
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: rudy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8.005
4
+ version: 0.9.8.006
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: 2010-05-21 00:00:00 -04:00
12
+ date: 2010-06-27 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency