soaring 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e08fbbb086a09dece4eae4c1ea5d30bbe50969b1
4
- data.tar.gz: 74a55361b45814335d33e8bc3540e677abda49bc
3
+ metadata.gz: 3346729621d55efc7a06cda4d51a0989fd348615
4
+ data.tar.gz: bbf166b935e652dbba13ba49e5c876913df15c07
5
5
  SHA512:
6
- metadata.gz: f9a156bc8fc7379babf0916dd5ca1c4d0b07028ed5a6a13fd105942e3755d95c3b2da1fd7319ac7643dae4f1172bcc914d77807a4d480cc6ff27db967037636b
7
- data.tar.gz: 19e72be351c17b5a65957a00ddcb1b2f011469e65b93700d140d1ab1b355807c30160f5506b2dd1f8f2b54b3f0e41d77df344ec54f6c939d93c1cab5df655cab
6
+ metadata.gz: 379c8f6c4b7cb7275ca4dcad3d646a0ff010d00322837e737666cbed0bf9afbea14253308ddd78c66b44e1fa60434061820cc9e4d784561ccf1194c44960d3a2
7
+ data.tar.gz: 881237a90932cac8384e516a3d0811b0fdeb557681fded337253422169008d7792d2c76edb49309814e1fffb4ec203fba0a4cbca83f5922550aaa8d628ce387d
@@ -5,8 +5,7 @@ module Soaring
5
5
  end
6
6
 
7
7
  def package(project_folder)
8
- validate_project
9
- build_output_location = generate_build_output_location
8
+ build_output_location = generate_build_output_location(project_folder)
10
9
  `zip -r #{build_output_location} * .ebextensions -x build -x config/environment.yml`
11
10
  puts "Build packaged at #{build_output_location}"
12
11
  end
@@ -22,7 +21,7 @@ module Soaring
22
21
  puts 'Local git repo up to date.' if @options[:verbose]
23
22
  end
24
23
 
25
- def generate_build_output_location
24
+ def generate_build_output_location(project_folder)
26
25
  service_name = File.split(project_folder)[-1]
27
26
  revision_hash = `git rev-parse --short HEAD`.chomp
28
27
  timestamp = Time.now.strftime("%F-%H%M%S")
@@ -1,3 +1,3 @@
1
1
  module Soaring
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soaring
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Barney de Villiers