knife-cloudformation 0.1.16 → 0.1.18

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ ## v0.1.18
2
+ * Replace constant with inline value to prevent warnings
3
+ * Explicitly load file to ensure proper load ordering
4
+
1
5
  ## v0.1.16
2
6
  * Fix exit code on stack destroy
3
7
  * Update stack loading for single stack requests
@@ -231,12 +231,10 @@ class Chef
231
231
  end
232
232
  end
233
233
 
234
- IGNORE_CF_DIRS = %w(dynamics components)
235
-
236
234
  def prompt_for_file(dir)
237
235
  directory = Dir.new(dir)
238
236
  directories = directory.map do |d|
239
- if(!d.start_with?('.') && !IGNORE_CF_DIRS.include?(d) && File.directory?(path = File.join(dir, d)))
237
+ if(!d.start_with?('.') && !%w(dynamics components).include?(d) && File.directory?(path = File.join(dir, d)))
240
238
  path
241
239
  end
242
240
  end.compact.sort
@@ -1,4 +1,5 @@
1
1
  require 'knife-cloudformation/cloudformation_base'
2
+ require File.join(File.dirname(__FILE__), 'cloudformation_create')
2
3
 
3
4
  class Chef
4
5
  class Knife
@@ -2,5 +2,5 @@ module KnifeCloudformation
2
2
  class Version < Gem::Version
3
3
  end
4
4
 
5
- VERSION = Version.new('0.1.16')
5
+ VERSION = Version.new('0.1.18')
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-cloudformation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.18
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: 2013-11-08 00:00:00.000000000 Z
12
+ date: 2013-11-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef