chef-flavor-flay 0.4.0 → 0.4.1
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 +4 -4
- data/lib/flay/cli.rb +1 -1
- data/lib/flay/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: 16b50d75fcfefaad5d32a3468c465e9db7aae1f0
|
4
|
+
data.tar.gz: 9aaf7b275e2773953473c5008b8c2c037764d3ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f7d46a340210e3b9e20ddd9fae12977b6b5a478667c0bdc6e5e5065698aa22ace3071c977743552780679872015bf185949f7a402f5ed4e1e6fde7a257c2922
|
7
|
+
data.tar.gz: cd5beba02c602894984e487be026833e2a85cc6ee9482a68bfbdcec38b82a173c6316b44918b8e6539c6b19ebc029f48b352257c8454ea5c1eec4b7fbe231acd
|
data/lib/flay/cli.rb
CHANGED
@@ -15,7 +15,7 @@ class Flay::CLI < Thor
|
|
15
15
|
desc "link [--chef-path=PATH]", "symlinks .chef to --chef-path"
|
16
16
|
long_desc "Creates a symlink in the current directory from .chef to --chef-path"
|
17
17
|
def link
|
18
|
-
target_path = options.fetch("chef_path")
|
18
|
+
target_path = File.expand_path(options.fetch("chef_path"))
|
19
19
|
target_path << "/" unless target_path.end_with?("/")
|
20
20
|
|
21
21
|
create_link File.join(Dir.pwd, ".chef"), target_path
|
data/lib/flay/version.rb
CHANGED