samus 1.1.0 → 1.1.1

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: 2d0e11cb6836e13b5e668f722bd179d46b26ee3d
4
- data.tar.gz: 33e0c0b7778b5e70b25425520f81ee268c02951e
3
+ metadata.gz: ce637bf34b25a19f934cef526058ef2763018dd5
4
+ data.tar.gz: 9294687f9103a2317b82685fa47d2db8c442fe6e
5
5
  SHA512:
6
- metadata.gz: 7ddd01675f4c353aae8adcd31466dc74bb15d9df3c02e9db9be84f37895dd5672f84c32489b442a55a0afc40c55b5a2e89c61a3f13f7bec0990ac0a9d9fcc6b8
7
- data.tar.gz: 11d1f94c34594257b77689ec82a21127921f88382c1d0f91176b4fe19f9758c1e131748f5202eb464bc073bdd4e73f511bb8fb39a23e8d7906d4971ba7f5b966
6
+ metadata.gz: 6ed2ada9058471d459d6323662ee628f0617d457f00fe91fb50726b169f57722702d3894e3a05186bac3f3653ba53dafd3ef6bcd241bdc3b45b64fafb9fbcc42
7
+ data.tar.gz: d8faf2d27d5a20c975781ef3f75752804f740724e391bf8b1c348335d3e2377f72cf55e897cac4b0238e984bd0d3e769997d1650044e141180129e25d2969771
data/lib/samus/builder.rb CHANGED
@@ -66,8 +66,9 @@ module Samus
66
66
  def generate_release(orig_pwd, zip_release = true, outfile = nil)
67
67
  file = outfile || build_manifest['output'] || "release-v#{$VERSION}"
68
68
  file = File.join(orig_pwd, file) unless file[0] == '/'
69
- if zip_release
70
- file += '.tar.gz'
69
+ file_is_zipped = file =~ /\.(tar\.gz|tgz)$/
70
+ if zip_release || file_is_zipped
71
+ file += '.tar.gz' unless file_is_zipped
71
72
  system "tar cfz #{file} *"
72
73
  else
73
74
  system "mkdir -p #{file} && cp -r * #{file}"
data/lib/samus/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Samus
2
- VERSION = '1.1.0'
2
+ VERSION = '1.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: samus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Loren Segal