config_curator 0.2.2 → 0.2.3

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: 5263cfbd7c7ece8e543723b99bd670e8a7cd614e
4
- data.tar.gz: 9338e9254ec5cca6f8b3cbf5ac0eb682b69475c8
3
+ metadata.gz: 9af0c4d52d23b706e8e09981116e80082b81c08b
4
+ data.tar.gz: 317bbb50b2c7154328e2a4f8e79248ee2b03fdff
5
5
  SHA512:
6
- metadata.gz: c2a92f1df9aab781816fcf7c4e8a6b4e4d4ff1565a2b4d001dfd8ad16596d48f30c1aacb00502779cad4e9f79386f038246304c330253fb8e8075890f50cc2fd
7
- data.tar.gz: c8020790230fdebadbe86266840bb9b95dbdcbf7af9ecadcc8d723e7bee65788de73467f99af2c4ec3c74cddd4507377c3626d814fcc08c7599082f7c7c7a497
6
+ metadata.gz: 5d963e3943a58c0f02b675fd2d775965be1d494cbc4c4b249302d100dede6957e2af2ea49d0b943e7e7d632e19076990978fb38dea402d0340f8018aa8028dfd
7
+ data.tar.gz: d5376c45ac4da4699fe56912ddc059a40356ed63b0fefe4805dda8b147f2ecc454dced7b740d84ec5471c710cbe73630e9cf81dc26b7d63f925342d34c6ca3d5
@@ -1,5 +1,10 @@
1
1
  # ChangeLog
2
2
 
3
+ ## 0.2.3
4
+
5
+ - Fix bug where component would not install
6
+ if destination does not exist.
7
+
3
8
  ## 0.2.2
4
9
 
5
10
  - Copy system links in components when using rsync.
@@ -40,7 +40,7 @@ module ConfigCurator
40
40
  logger.debug { "Running command: #{cmd.join ' '}" }
41
41
  system(*cmd)
42
42
  else
43
- FileUtils.remove_entry_secure destination_path
43
+ FileUtils.remove_entry_secure destination_path if Dir.exist? destination_path
44
44
  FileUtils.mkdir_p destination_path
45
45
  FileUtils.cp_r "#{source_path}/.", destination_path, preserve: true
46
46
  end
@@ -1,5 +1,5 @@
1
1
  # Simple and intelligent configuration file management.
2
2
  module ConfigCurator
3
3
  # Config Curator version.
4
- VERSION = '0.2.2'
4
+ VERSION = '0.2.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: config_curator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Boyd Sosenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-12 00:00:00.000000000 Z
11
+ date: 2015-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport