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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8297341576f0dc61f4067761ddbceb698a053c8
4
- data.tar.gz: 02ecee4fe466c881c48267da6f4cc19aff3c3a9e
3
+ metadata.gz: b3832b6921e4ce5a0be272a5f432b2444164fd4d
4
+ data.tar.gz: 1d1b7192ac66ec12c13d87c90042ec36388b9d86
5
5
  SHA512:
6
- metadata.gz: e4f2d9983affc56bbb6ddbb8707839cd61d2091ae46502d0f99600e2c306d2ab6957d099ff7953ee1dd851cc23b524663a0e9971ac5a54d9cf4439fe3cef37c6
7
- data.tar.gz: d992c5b15bbf440f60723c6a7ccdfd905382b8e67f9f45fa11c45fcc61c48531ebfa49c8cc1ddc17e13a0d038699f8443e56f6df89410d4546f337e375b5b7e3
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.4 (Nov 24, 2016)
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).join(path)
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
@@ -1,5 +1,5 @@
1
1
  module Luban
2
2
  module Deployment
3
- VERSION = "0.10.5"
3
+ VERSION = "0.10.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luban
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.5
4
+ version: 0.10.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rubyist Lei