chef-flavor-flay 0.4.0 → 0.4.1

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: 1d4b88000fcba519db2b2cdbeaa9fbf9e7b5cff6
4
- data.tar.gz: b3ab490cb4ca32b39224719afdd80275a32b78e3
3
+ metadata.gz: 16b50d75fcfefaad5d32a3468c465e9db7aae1f0
4
+ data.tar.gz: 9aaf7b275e2773953473c5008b8c2c037764d3ff
5
5
  SHA512:
6
- metadata.gz: 122d01ba1d27fbf5fa90f30963d5e7d3384b9f821e9e011ff15dcf0e21af2021cac61642528a1cceafc784a29d938a9d42d8982b5bc08566aac1d7ef61ce6245
7
- data.tar.gz: 36c895f4e86bc37ee158be8be4910d2b14fa46fa03f29fc7d6f4b090039a3400806703845be88876c74a03cbe0d2e4d6560cfe73a68af9007d29533092b3f0a1
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
@@ -1,3 +1,3 @@
1
1
  module Flay
2
- VERSION = "0.4.0".freeze
2
+ VERSION = "0.4.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-flavor-flay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - pseudomuto