samus 3.0.4 → 3.0.5

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
  SHA256:
3
- metadata.gz: d5abc0a8419bc2037a0f18d7473a0156909deb7e0de4d900256b5829592db883
4
- data.tar.gz: 39895dfb2f089a65ff1e03cc6412011b62254d4a469ca210822a0b8adc5fccf9
3
+ metadata.gz: 107ddf3e23736a0ae074d659c9424986ecbb81b312e20067d859f61eb687dddc
4
+ data.tar.gz: 11b372f860d94c0def8601eabef8f5245b7088588f69e82badf04b697f8d4659
5
5
  SHA512:
6
- metadata.gz: b25b940e53902fa2d3a73f040ec78dcdd94d9d4070e831b77f8ce14c0b7cff9b14e5cfa534739abda9e4ee0158eb9dbafb03f543d8bd6125153e4c343a80882a
7
- data.tar.gz: aee76adacf89dd1d58741bb16220cc53ce7d83eeb9330151e3e1fd9dced2aa462f03912e86ddd0f6931b8f6fc27dcb6748934a5587bbf800fe9af61345abdd4d
6
+ metadata.gz: e9a6ca0de674ae5bf6849c4b677a77afc153c062a9e6bfaea652e4ba42a5d4f84d4ab5ea2920687e464d88731002ebcea494beacad44e4e0d57247a78cae7496
7
+ data.tar.gz: 949768fe1572e39b222a33bcb2016dcb6190081dece25d2b28c3b54f0490f9a304cbc5954baf026d94b93abc78418b6906392fc615157440ac9f8cd918f0118b
@@ -1,3 +1,8 @@
1
+ # 3.0.5 - April 1st, 2019
2
+
3
+ - Fix bug that breaks DockerReleaseTask if .gitconfig or .samus configs are
4
+ not present on the system.
5
+
1
6
  # 3.0.4 - April 1st, 2019
2
7
 
3
8
  - Automatically build Dockerfile.samus as tempfile if it is not present in
@@ -49,16 +49,20 @@ module Samus
49
49
 
50
50
  yield self if block_given?
51
51
 
52
+ build_config_files
53
+ define
54
+ end
55
+
56
+ private
57
+
58
+ def build_config_files
52
59
  @config_files = {
53
60
  Samus::CONFIG_PATH => '.samus',
54
61
  File.expand_path('~/.gitconfig') => '.gitconfig'
55
62
  }.merge(extra_config)
56
-
57
- define
63
+ @config_files.reject! {|src, _dst| !File.exist?(src) }
58
64
  end
59
65
 
60
- private
61
-
62
66
  def copy_prep
63
67
  FileUtils.rm_rf(PREP_DIR)
64
68
  FileUtils.mkdir_p(PREP_DIR)
@@ -1,3 +1,3 @@
1
1
  module Samus
2
- VERSION = '3.0.4'.freeze
2
+ VERSION = '3.0.5'.freeze
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: 3.0.4
4
+ version: 3.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Loren Segal