ftl 0.3.0 → 0.3.1

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/Changelog CHANGED
@@ -1,3 +1,7 @@
1
+ # Release Version 0.3.1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2
+
3
+ * Allow spot requests to accept --count parameter
4
+
1
5
  # Release Version 0.3.0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2
6
 
3
7
  * Feature: Add ftl <script> to execute arbitrary ruby locally within ftl environment
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ftl (0.3.0)
4
+ ftl (0.3.1)
5
5
  fog
6
6
  formatador (~> 0.2.2)
7
7
  tilt
data/bin/ftl CHANGED
@@ -14,6 +14,10 @@ optparse = OptionParser.new do |opts|
14
14
  # opts.on('-s', '--sample-config', "Displays sample ftl.yml config file") do |opts|
15
15
  # Ftl.sample_config
16
16
  # end
17
+ opts.on('-n', '--count COUNT', "Set count for spot requests") do |count|
18
+ p count
19
+ options[:count] = count
20
+ end
17
21
 
18
22
  opts.on('-d', '--headers FILE', Array, "provide custom headers") do |headers|
19
23
  options[:headers] = headers
@@ -76,7 +76,8 @@ module Ftl
76
76
  :subnet_id => opts[:subnet_id],
77
77
  :private_ip_address => opts[:ip_private],
78
78
  :ip_address => opts[:ip_address],
79
- :price => opts[:price]
79
+ :price => opts[:price],
80
+ :instance_count => opts[:count]
80
81
  )
81
82
 
82
83
  display server
@@ -1,3 +1,3 @@
1
1
  module Ftl
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ftl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-23 00:00:00.000000000 Z
12
+ date: 2012-07-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdoc
@@ -151,7 +151,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
151
151
  version: '0'
152
152
  segments:
153
153
  - 0
154
- hash: 2669038478733499008
154
+ hash: -2487648818037517609
155
155
  required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  none: false
157
157
  requirements:
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  version: '0'
161
161
  segments:
162
162
  - 0
163
- hash: 2669038478733499008
163
+ hash: -2487648818037517609
164
164
  requirements: []
165
165
  rubyforge_project:
166
166
  rubygems_version: 1.8.24