cloudformation-ruby-dsl 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
data/bin/cfn-cmd CHANGED
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
- # This script proxies the commands
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
3
  vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
- exec "SERVICE_HOME=#{vendor} #{vendor}/bin/service \"#{ARGV.join('" "')}\""
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
data/bin/cfn-cmd.cmd ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
data/bin/cfn-version ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
data/bin/service ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
data/bin/service.cmd ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This script proxies the commands to service like cfn-cmd does, but in ruby so that gemstubs work
3
+ vendor=File.expand_path('../../vendor/AWSCloudFormation-1.0.12',__FILE__)
4
+ command=File.basename(__FILE__)
5
+
6
+ exec "AWS_CLOUDFORMATION_HOME=#{vendor} SERVICE_HOME=#{vendor} #{vendor}/bin/#{command} \"#{ARGV.join('" "')}\""
@@ -15,7 +15,7 @@
15
15
  module Cfn
16
16
  module Ruby
17
17
  module Dsl
18
- VERSION = "0.4.1"
18
+ VERSION = "0.4.2"
19
19
  end
20
20
  end
21
21
  end
@@ -1,20 +1,15 @@
1
1
  #!/usr/bin/env bash
2
2
  # This script passes the service dependent SERVICE_HOME to the common service script to run the command
3
-
4
-
5
- # AWS_CLOUDFORMATION_HOME=`dirname $0`
6
- # echo $AWS_CLOUDFORMATION_HOME
7
3
 
8
- puts "hi"
9
4
 
10
- # # Check AWS_CLOUDFORMATION_HOME
11
- # if [ -z "${AWS_CLOUDFORMATION_HOME}" ]; then
12
- # echo AWS_CLOUDFORMATION_HOME is not set
13
- # exit 1
14
- # fi
15
- #
16
- #
17
- # export SERVICE_HOME=${AWS_CLOUDFORMATION_HOME}
18
- #
19
- #
20
- # exec "${AWS_CLOUDFORMATION_HOME}/bin/service" "$@"
5
+ # Check AWS_CLOUDFORMATION_HOME
6
+ if [ -z "${AWS_CLOUDFORMATION_HOME}" ]; then
7
+ echo AWS_CLOUDFORMATION_HOME is not set
8
+ exit 1
9
+ fi
10
+
11
+
12
+ export SERVICE_HOME=${AWS_CLOUDFORMATION_HOME}
13
+
14
+
15
+ exec "${AWS_CLOUDFORMATION_HOME}/bin/service" "$@"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudformation-ruby-dsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -16,7 +16,7 @@ authors:
16
16
  autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
- date: 2014-04-21 00:00:00.000000000 Z
19
+ date: 2014-04-28 00:00:00.000000000 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: detabulator
@@ -45,8 +45,38 @@ email:
45
45
  - Jona.Fenocchi@bazaarvoice.com
46
46
  - Tony.Cui@bazaarvoice.com
47
47
  executables:
48
+ - cfn-cancel-update-stack
49
+ - cfn-cancel-update-stack.cmd
48
50
  - cfn-cmd
51
+ - cfn-cmd.cmd
52
+ - cfn-create-stack
53
+ - cfn-create-stack.cmd
54
+ - cfn-delete-stack
55
+ - cfn-delete-stack.cmd
56
+ - cfn-describe-stack-events
57
+ - cfn-describe-stack-events.cmd
58
+ - cfn-describe-stack-resource
59
+ - cfn-describe-stack-resource.cmd
60
+ - cfn-describe-stack-resources
61
+ - cfn-describe-stack-resources.cmd
62
+ - cfn-describe-stacks
63
+ - cfn-describe-stacks.cmd
64
+ - cfn-get-template
65
+ - cfn-get-template.cmd
66
+ - cfn-list-stack-resources
67
+ - cfn-list-stack-resources.cmd
68
+ - cfn-list-stacks
69
+ - cfn-list-stacks.cmd
70
+ - cfn-update-stack
71
+ - cfn-update-stack.cmd
72
+ - cfn-validate-template
73
+ - cfn-validate-template.cmd
74
+ - cfn-version
75
+ - cfn-version.cmd
49
76
  - cfntemplate-to-ruby
77
+ - service
78
+ - service.cmd
79
+ - vendor-cfn-bin
50
80
  extensions: []
51
81
  extra_rdoc_files: []
52
82
  files:
@@ -55,8 +85,38 @@ files:
55
85
  - LICENSE.txt
56
86
  - README.md
57
87
  - Rakefile
88
+ - bin/cfn-cancel-update-stack
89
+ - bin/cfn-cancel-update-stack.cmd
58
90
  - bin/cfn-cmd
91
+ - bin/cfn-cmd.cmd
92
+ - bin/cfn-create-stack
93
+ - bin/cfn-create-stack.cmd
94
+ - bin/cfn-delete-stack
95
+ - bin/cfn-delete-stack.cmd
96
+ - bin/cfn-describe-stack-events
97
+ - bin/cfn-describe-stack-events.cmd
98
+ - bin/cfn-describe-stack-resource
99
+ - bin/cfn-describe-stack-resource.cmd
100
+ - bin/cfn-describe-stack-resources
101
+ - bin/cfn-describe-stack-resources.cmd
102
+ - bin/cfn-describe-stacks
103
+ - bin/cfn-describe-stacks.cmd
104
+ - bin/cfn-get-template
105
+ - bin/cfn-get-template.cmd
106
+ - bin/cfn-list-stack-resources
107
+ - bin/cfn-list-stack-resources.cmd
108
+ - bin/cfn-list-stacks
109
+ - bin/cfn-list-stacks.cmd
110
+ - bin/cfn-update-stack
111
+ - bin/cfn-update-stack.cmd
112
+ - bin/cfn-validate-template
113
+ - bin/cfn-validate-template.cmd
114
+ - bin/cfn-version
115
+ - bin/cfn-version.cmd
59
116
  - bin/cfntemplate-to-ruby
117
+ - bin/service
118
+ - bin/service.cmd
119
+ - bin/vendor-cfn-bin
60
120
  - cloudformation-ruby-dsl.gemspec
61
121
  - examples/cloudformation-ruby-script.rb
62
122
  - examples/maps/json_map.json