kytoon 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGELOG +3 -0
  2. data/VERSION +1 -1
  3. data/rake/kytoon.rake +5 -5
  4. metadata +2 -2
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ * Wed Sep 19 2012 Dan Prince <dprince@redhat.com> - 1.2.1
2
+ - Update rake tasks so they call init correctly.
3
+
1
4
  * Wed Sep 19 2012 Dan Prince <dprince@redhat.com> - 1.2.0
2
5
  - Add provider for OpenStack.
3
6
  - Add bin/kytoon with commands corresponding to rake tasks.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.2.1
data/rake/kytoon.rake CHANGED
@@ -10,24 +10,24 @@ namespace :kytoon do
10
10
  end
11
11
 
12
12
  desc "Create a new group of servers"
13
- task :create do
13
+ task :create => 'kytoon:init' do
14
14
  sg = ServerGroup.create(ENV['GROUP_CONFIG'])
15
15
  puts "Server group ID #{sg.id} created."
16
16
  end
17
17
 
18
18
  desc "List existing server groups."
19
- task :list do
19
+ task :list => 'kytoon:init' do
20
20
  ServerGroup.index(:source => "cache")
21
21
  end
22
22
 
23
23
  desc "Print information for a server group"
24
- task :show do
24
+ task :show => 'kytoon:init' do
25
25
  sg = ServerGroup.get(ENV['GROUP_ID'])
26
26
  sg.pretty_print
27
27
  end
28
28
 
29
29
  desc "Delete a server group"
30
- task :delete do
30
+ task :delete => 'kytoon:init' do
31
31
 
32
32
  sg = ServerGroup.get(ENV['GROUP_ID'])
33
33
  puts "Deleting server group ID: #{sg.id}."
@@ -37,7 +37,7 @@ namespace :kytoon do
37
37
  end
38
38
 
39
39
  desc "Print the gateway IP address"
40
- task :ip do
40
+ task :ip => 'kytoon:init' do
41
41
  group = ServerGroup.get(ENV['GROUP_ID'])
42
42
  puts group.gateway_ip
43
43
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kytoon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -289,7 +289,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
289
289
  version: '0'
290
290
  segments:
291
291
  - 0
292
- hash: -603401049467997741
292
+ hash: -4175975420226675935
293
293
  required_rubygems_version: !ruby/object:Gem::Requirement
294
294
  none: false
295
295
  requirements: