sheldon 6.2.1 → 6.2.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
  SHA256:
3
- metadata.gz: 7f3f30e785a3db0fe96994f24f64ad1d3e34411b76c15a36a50b1ca6fff77473
4
- data.tar.gz: 9d7b0582af219591add29860ca898944645a559473997bf7a130ce6c252b58d0
3
+ metadata.gz: 2da25030d7b1b8c75d8086d1fe49b93b235e403db8fe458462f9ffc4cbb02ebe
4
+ data.tar.gz: e5beeae34230723afe2045230030a65258b09f66466745fa02c31383a8652aba
5
5
  SHA512:
6
- metadata.gz: 8da95d55101672c571e2beef0b6dc56e792cd6f46de56b4ac882ec55675b4e0540d1432d04b2a0b97f5c838a246be4a510c3fb709dc3ef1b32a5110b9489d611
7
- data.tar.gz: ddf86f7a1e12aa385324925748b987ec46c5f0928ffffef827789b69041a9b5d06c5c295c7faa7d4984e88ec375b79ed9d421558918f71daa3c029453041ca99
6
+ metadata.gz: 117fce31072b4899578ca2da01146b3c0094c674b1b0fe69336266a8f2aa686dad02885c982d5973d90ded664ef5d7147c2b29f3c0cb90bce4ed47fa5a300a4f
7
+ data.tar.gz: 50b1ea6cc8ad3b08bbd71aca9d28ef1f90bfc57ab1efd57320816824c712bd9a1119bff9a3d23f35de3490217921aefed5325741482b6605d6ce3d19d804808b
data/lib/sheldon/brain.rb CHANGED
@@ -55,7 +55,7 @@ class Brain
55
55
  destination_dir = File.dirname(destination_path)
56
56
 
57
57
  # Handle the destination file / directory already existing on the filesystem
58
- if File.exist?(destination_path)
58
+ if File.exist?(destination_path) || File.symlink?(destination_path)
59
59
  if opts[:overwrite]
60
60
  FileUtils.remove_dir(destination_path) # this (badly named) method deletes both files and folders
61
61
  else
@@ -1,7 +1,7 @@
1
1
  require "fileutils"
2
2
 
3
3
  class Sheldon
4
- VERSION = "6.2.1".freeze
4
+ VERSION = "6.2.2".freeze
5
5
  attr_reader :brain, :builder
6
6
 
7
7
  def initialize(sheldon_data_dir)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sheldon
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.2.1
4
+ version: 6.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Jones
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-27 00:00:00.000000000 Z
11
+ date: 2022-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -101,7 +101,7 @@ homepage: https://github.com/dvjones89/sheldon
101
101
  licenses:
102
102
  - MIT
103
103
  metadata: {}
104
- post_install_message:
104
+ post_install_message:
105
105
  rdoc_options: []
106
106
  require_paths:
107
107
  - lib
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  version: '0'
118
118
  requirements: []
119
119
  rubygems_version: 3.0.3
120
- signing_key:
120
+ signing_key:
121
121
  specification_version: 4
122
122
  summary: Another config and dotfile manager for unix environments
123
123
  test_files: []