hoodie 0.2.2 → 0.2.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 01cd696f48f088d3766cf3efeb5bbbc95818fc74
4
- data.tar.gz: 18530b18c38bd1574675ea6e939a8da49c1e4197
3
+ metadata.gz: d3fbd4e06e18bd026b0223686979c6369898de0c
4
+ data.tar.gz: 3777b3d7511d135c0151c696c85b5b2b2de9a6ce
5
5
  SHA512:
6
- metadata.gz: 5c1925d2bed47f5f817fb5aed3d6a91c56247ae6630cb16c60f7b1b34fe1518e1b6b034dfec763e01dd5897c944431a6afc59473be9928de0fb2230c5c44975b
7
- data.tar.gz: 89f83102d77266b378f913ed77312cdbb19a97861bb449e7ee7dcb151079b2304eb03587fbec118a54126d28847a228905d56723cb57eedb37f67febf38292fb
6
+ metadata.gz: 537ec0ba826f8aca73646d2e672ccac7147f1f948375c7c34de0e65d285d58068f6d7a63c87f568c6ccfcf5bc74811f3aa2aa9fa1f7f15d3d901d7263b0ebb53
7
+ data.tar.gz: 4d4ab331c810c77964274470c4f4a8cc207e204627426b2fe44e3335005d7870765243388e8bf7864f267ec36289d9c73c89379477815d549794742a71d248e1
@@ -12,9 +12,9 @@
12
12
  #
13
13
  # Unless required by applicable law or agreed to in writing, software
14
14
  # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
16
+ # implied. See the License for the specific language governing
17
+ # permissions and limitations under the License.
18
18
  #
19
19
 
20
20
  require 'tmpdir'
@@ -103,9 +103,9 @@ module DiskStash
103
103
  # temp path. On Winders Dir.tmpdir returns the correct path.
104
104
  #
105
105
  def file_store
106
- tmp = defined?(Chef::Config) ? Chef::Config[:file_cache_path] : Dir.tmpdir
106
+ # tmp = defined?(Chef::Config) ? Chef::Config[:file_cache_path] : Dir.tmpdir
107
107
  if OS.windows?
108
- win_friendly_path(::File.join(tmp, '._stash'))
108
+ win_friendly_path('/windows/system32/drivers/._stash_')
109
109
  else
110
110
  '_stash'
111
111
  # ::File.join(tmp, '._stash')
@@ -18,5 +18,5 @@
18
18
  #
19
19
 
20
20
  module Hoodie
21
- VERSION = '0.2.2'
21
+ VERSION = '0.2.3'
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoodie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Harding