shipwright 1.1.1 → 1.1.2

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: 0a65b57439f067bc2629f11f268206e38ea2f693
4
- data.tar.gz: aec4a8d622075879b06090477c0756be36977e98
3
+ metadata.gz: 239b8c991279903351befe8256c0a59d4f2590c8
4
+ data.tar.gz: 7378c9364725543fec6e503bf1c7e65110262caa
5
5
  SHA512:
6
- metadata.gz: 77f900e33b722b2df6c2ff62ab6d631529647b49960f547334fbe93f2d92b5c02d34b3de6404de0f10911d7eeac4df4c2ddf93b2fdafa5344a42e3a232c3ef9c
7
- data.tar.gz: a14df74523c3345dfeafcecdc7af2840a3a615f03b6ae0b2c8fffee780e24f0d750e4c3d8ecb32352996fbd591fd4392c79f506205138e2018572878202c5705
6
+ metadata.gz: 4d53a53fad6a25bb944dc0a11672f43c8b4e26cc83901e20b28be7487fc6825f7a4017923860c824fdec778e9c2e69f1075307c272ea3280c1c59b4442808b01
7
+ data.tar.gz: 3b696f1f2aa9f6e4c18d957eba4a9048f25faa5abc0530ed310a6aaeb0007add6941e8cb77ab0088971ff93b86e8632a13cacbe5fafc8c86fd71ce657066aa0b
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.1
1
+ 1.1.2
@@ -20,7 +20,8 @@ module Shipwright
20
20
  container['image'] = bits.push(version).join(':')
21
21
  end
22
22
 
23
- File.open(DOCKERRUN, 'wb') { |file| file.write dockerrun.to_json }
23
+ File.open(DOCKERRUN, 'wb') { |file|
24
+ file.write JSON.pretty_generate(dockerrun) }
24
25
  end
25
26
 
26
27
  def generate_artifact
@@ -41,10 +42,11 @@ module Shipwright
41
42
  config['deploy'] ||= {}
42
43
  config['deploy']['artifact'] = artifact_path
43
44
  File.open(EB_CONFIG, 'wb') { |f| f.write config.to_yaml[4..-1] } # skip ---\n
45
+ rescue Errno::ENOENT
44
46
  end
45
47
 
46
48
  def artifact_path
47
- File.join Dir.pwd, 'builds', "#{version}.zip"
49
+ File.join Dir.pwd, 'builds', "#{application}-#{version}.zip"
48
50
  end
49
51
 
50
52
  def version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shipwright
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Hunter