soaring 0.1.5 → 0.1.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: '03948eac441b7bf8f5dba0cf030254f4aafe9022'
4
- data.tar.gz: d7252fc4e66e8773643a07e925a4992909c65b3f
3
+ metadata.gz: 15b366d661c69282a11874bdc802f9b8b640d73c
4
+ data.tar.gz: c5ebda0c61add3a28ba342928e43ce1f63306ec6
5
5
  SHA512:
6
- metadata.gz: cfc70adcd6f407ab0d2b159ea65bfb882bac00bf0db9932f4535b5057b194702a4caad64488637e612e4db250720a6d9ea3e262ee4b6eddc87d6f5d43466b703
7
- data.tar.gz: 268621a719b2814e8bbe17dce95040def4f86b8b1f753468415a45e5ea350517428066d3bd39f79b4b4fb836056f4ec2ad42facbf4f9d756c6887af4058c55fe
6
+ metadata.gz: 58ac60270d7d4796b86661a5b856733d80dcb38356577018aa21a586761f4cfca252897ef4e3405b1a23776fa98f0102424a54448dec9e587b6332585ce9725e
7
+ data.tar.gz: 433a0a02a5e0a520183b416be10904560bb9184ca885b8989ced2e8168909afba00d0117bbaf61756e54fe4cd78204badc39ba3c6fe0d4b3c0a8df85d610743c
@@ -5,6 +5,7 @@ module Soaring
5
5
  end
6
6
 
7
7
  def package(project_folder)
8
+ validate_project if not @options[:ignore_git_checks]
8
9
  build_output_location = generate_build_output_location(project_folder)
9
10
  `mkdir -p #{project_folder}/build`
10
11
  `zip -r #{build_output_location} * .ebextensions -x build -x config/environment.yml`
@@ -14,8 +15,7 @@ module Soaring
14
15
  private
15
16
 
16
17
  def validate_project
17
-
18
- if (not is_git_repo_up_to_date?) and (not @options[:ignore_git_checks])
18
+ if not is_git_repo_up_to_date?
19
19
  puts "Local git repo is dirty and should not be packaged"
20
20
  exit 1
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module Soaring
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
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.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Barney de Villiers