befog 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/befog/commands/configure.rb +4 -1
  2. metadata +4 -4
@@ -72,9 +72,12 @@ module Befog
72
72
  _key = key.to_sym
73
73
  provider[key] = options[_key] if options[_key]
74
74
  end
75
- %w( provider region image keypair group type ).each do |key|
75
+ %w( region image keypair group type ).each do |key|
76
76
  _key = key.to_sym
77
77
  bank[key] = options[_key] if options[_key]
78
+ end
79
+ if options[:bank] and options[:provider]
80
+ bank["provider"] = options[:provider]
78
81
  end
79
82
  save
80
83
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: befog
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 2
8
+ - 3
9
9
  - 0
10
- version: 0.2.0
10
+ version: 0.3.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Carlo Flores carlo@spire.io
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-04-03 00:00:00 Z
19
+ date: 2012-04-04 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: fog