eb_deployer 0.5.1.beta2 → 0.5.1.beta3

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.
@@ -1,3 +1,5 @@
1
+ require 'fileutils'
2
+
1
3
  namespace :eb do
2
4
  def eb_deployer_env
3
5
  ENV['EB_DEPLOYER_ENV'] || 'dev'
@@ -15,7 +17,9 @@ namespace :eb do
15
17
 
16
18
  desc "Build package for eb_deployer to deploy to a Ruby environment in tmp directory. It zips all file list by 'git ls-files'"
17
19
  task :package => [:clean] do
18
- sh "git ls-files | zip #{eb_deployer_package} -@"
20
+ package = eb_deployer_package
21
+ FileUtils.mkdir_p(File.dirname(package))
22
+ sh "git ls-files | zip #{package} -@"
19
23
  end
20
24
 
21
25
  desc "Deploy package we built in tmp directory. default to dev environment, specify environment variable EB_DEPLOYER_ENV to override, for example: EB_DEPLOYER_ENV=production rake eb:deploy."
@@ -1,3 +1,3 @@
1
1
  module EbDeployer
2
- VERSION = "0.5.1.beta2"
2
+ VERSION = "0.5.1.beta3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eb_deployer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1.beta2
4
+ version: 0.5.1.beta3
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors: