luban 0.10.5 → 0.10.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -1
- data/lib/luban/deployment/helpers/linked_paths.rb +2 -2
- data/lib/luban/deployment/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3832b6921e4ce5a0be272a5f432b2444164fd4d
|
4
|
+
data.tar.gz: 1d1b7192ac66ec12c13d87c90042ec36388b9d86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 969cd5be48b6ed30e774d8c6044015860566b7072ba9f868e0e53200329d6e3246f2f3fa8f7b4344cfe61d645d6c0f98a1f6a35674a43158d8ec5cc17b664be9
|
7
|
+
data.tar.gz: 4c16ec6b4b9b21bed1df469147fc125cb2bce6a741fc02728137880e4e9e09f29475fa2c0aaeca27bd2572d09fd847e08dca6c3245130f35122186970203d3bc
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
-
## Version 0.10.
|
3
|
+
## Version 0.10.6 (Nov 24, 2016)
|
4
4
|
|
5
5
|
Minor enhancements:
|
6
6
|
* Enhanced linked_files become a convention instead of a configuration
|
@@ -10,6 +10,7 @@ Bug fixes:
|
|
10
10
|
* Excluded *.md5 files, if any, when calculating md5 for a given directory
|
11
11
|
* Corrected the md5_file path when calculating md5 for each Ruby gem
|
12
12
|
* Checked linked files dir's existence before actually linking files
|
13
|
+
* Properly composed source path for linked files
|
13
14
|
|
14
15
|
## Version 0.10.3 (Nov 22, 2016)
|
15
16
|
|
@@ -53,10 +53,10 @@ module Luban
|
|
53
53
|
|
54
54
|
def create_linked_files(files = linked_files, from: profile_path, to:)
|
55
55
|
files.each do |path|
|
56
|
-
target_path = to.join(linked_files_dir
|
56
|
+
target_path = to.join(linked_files_dir, path)
|
57
57
|
assure_dirs(target_path.dirname)
|
58
58
|
rm(target_path) if file?(target_path)
|
59
|
-
source_path = from.join(path)
|
59
|
+
source_path = from.join(linked_files_dir, path)
|
60
60
|
assure_symlink(source_path, target_path)
|
61
61
|
end
|
62
62
|
end
|