README.rdoc in openstack_activeresource-0.1.7 vs README.rdoc in openstack_activeresource-0.1.8
- old
+ new
@@ -15,11 +15,11 @@
~# gem install openstack_activeresource
Or in bundler Gemfile:
- gem "openstack_activeresource", "~> 0.1.2"
+ gem "openstack_activeresource", "~> 0.1.8"
== Sample usages
=== List available tenants (requires the 'admin' role)
@@ -112,11 +112,11 @@
servers.each { |s|
printf "Name: %s, Status: %s, Image: %s, Flavor: %s, Created: %s, Updated: %s\n",
s.name.center(20),
s.status.center(10),
- s.image.id,
- s.flavor.id,
+ (s.image.name rescue 'not found').center(40),
+ (s.flavor.name rescue 'not found').center(40),
s.created_at.to_time.localtime,
s.updated_at.to_time.localtime
}
=== List available flavors