elastic-beanstalk 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -105,6 +105,14 @@ namespace :eb do
105
105
  end
106
106
  end
107
107
  end
108
+
109
+
110
+ # write Rakefile for external CI/CD package deployment
111
+ File.open(package_rakefile, "w+") do |f|
112
+ f.write("spec = Gem::Specification.find_by_name('elastic-beanstalk', '#{Elastic::Beanstalk::VERSION}')\n")
113
+ f.write("load \"\#{spec.gem_dir}/lib/elastic/beanstalk/tasks/eb.rake\"")
114
+ end
115
+
108
116
  puts "\nFinished creating archive (#{package_file})."
109
117
  ensure
110
118
  EbExtensions.delete_extensions
@@ -248,6 +256,10 @@ namespace :eb do
248
256
  "#{EbConfig.package[:dir]}/#{EbConfig.app}.zip"
249
257
  end
250
258
 
259
+ def package_rakefile
260
+ "#{EbConfig.package[:dir]}/Rakefile"
261
+ end
262
+
251
263
  def aws_secrets_file
252
264
  File.expand_path("~/.aws.#{EbConfig.app}.yml")
253
265
  end
@@ -1,5 +1,5 @@
1
1
  module Elastic
2
2
  module Beanstalk
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastic-beanstalk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -185,7 +185,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
185
185
  version: '0'
186
186
  segments:
187
187
  - 0
188
- hash: 2569835408244002675
188
+ hash: 1603262801538237267
189
189
  required_rubygems_version: !ruby/object:Gem::Requirement
190
190
  none: false
191
191
  requirements:
@@ -194,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
194
  version: '0'
195
195
  segments:
196
196
  - 0
197
- hash: 2569835408244002675
197
+ hash: 1603262801538237267
198
198
  requirements: []
199
199
  rubyforge_project:
200
200
  rubygems_version: 1.8.25