license-acceptance 1.0.6 → 1.0.7

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: 380eacf705480c165053d0240c9d4a90c16700f75d9e9386a6ed1548db106858
4
- data.tar.gz: e54b3b1fd73fc3e80b7e5de45f4108475a73b785687177a1551ee129d59c480c
3
+ metadata.gz: 75f4817311fb2680b07268012f59a6914e791a26f3fa573e69906ada344cdb29
4
+ data.tar.gz: 91006274853ba30e7b664791c3cac8403b8369513d5e4bbec36889c41d6046cc
5
5
  SHA512:
6
- metadata.gz: c75625a55e751994b44cbdf356ec5f371c57c8d835144fa85d21fa15054b70736300c8dae964e71c17f0e52e25f1b42924b5a3bb8faf4b169b974332ef7f676f
7
- data.tar.gz: 9823536a2321e56e4278cab3c357e19b50fd66e869500b640b00b0ad522c2a010e7ae4abbfc07a7c43290076516146e004b0a5f7467971b9a7192c3b8fac6013
6
+ metadata.gz: 942f85d5746e6e6da33ae6b9178294a9fdc9bbe5911c104acdddfd25da426bb3b9c93c3e240135931e392c1b6e24da605735e34b7f59465d817b069ccebd4c1b
7
+ data.tar.gz: 989450866a2d846a3ee4519c7db08156391a0470cd9cea2e80abd41ad6641dc04f083e4c0d136635a9878ca8b707efe6d0340dd3bcb5b2e8650cdaf3df4c4085
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- license-acceptance (1.0.6)
4
+ license-acceptance (1.0.7)
5
5
  pastel (~> 0.7)
6
6
  tomlrb (~> 1.2)
7
7
  tty-box (~> 0.3)
@@ -21,7 +21,8 @@ module LicenseAcceptance
21
21
 
22
22
  def default_license_locations
23
23
  if windows?
24
- l = [ File.join(ENV["HOMEDRIVE"], "chef/accepted_licenses/") ]
24
+ root = ENV["HOMEDRIVE"] || "C:"
25
+ l = [ File.join(root, "chef/accepted_licenses/") ]
25
26
  unless is_root?
26
27
  # Look through a list of possible user locations and pick the first one that exists
27
28
  # copied from path_helper.rb in chef-config gem
@@ -1,3 +1,3 @@
1
1
  module LicenseAcceptance
2
- VERSION = "1.0.6"
2
+ VERSION = "1.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: license-acceptance
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - tyler-ball