chake 0.1.6 → 0.1.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
  SHA1:
3
- metadata.gz: 66c9511f5115dc9b4d487cdf2813e90b4479441d
4
- data.tar.gz: 7e27253d2fd956e86ecfbbc9b38d379d734d4a2f
3
+ metadata.gz: 161b45c39f5a14fae37e455294898846f33693f0
4
+ data.tar.gz: 0fe53375064b3db380f0de958fb047ccf6c7d8ba
5
5
  SHA512:
6
- metadata.gz: 50401f85db485a5193d8976db937adb02611b4fce1dfcf6f8febe1db6fb8f83775b1350aa1b1000f6e8caa68c6b24c35e95266b82a8ec24024a4443e0f2e3fb4
7
- data.tar.gz: 6eeb64fa60defeda631446aed81ba1c8e48f04c61126b4cc75ca37bc6e755125bf52fd2e527ed65f62161821e95bef8f90184566919d193b3034684965543a16
6
+ metadata.gz: 14163774c1180ba81b142d9f5575e21817481e9e02cbe411078ac8e52bd471cb0781bd4872c45235d7bc54b3b13ea6dfe1bdfdf63650f81694a75c4932578d00
7
+ data.tar.gz: 3d9eabbc50376c907114317e9d8ba82fd2bda2006710f227f00178187e920fde0137181e6c8eaacf9468bf9c72ea4a010f4516093be93c31ed4945f16a674769
@@ -28,7 +28,7 @@ module Chake
28
28
 
29
29
  @hostname = uri.hostname
30
30
  @username = uri.user || Etc.getpwuid.name
31
- @path = uri.path || "/tmp/chef.#{username}"
31
+ @path = uri.path || "/var/tmp/chef.#{username}"
32
32
  @data = data
33
33
  end
34
34
 
@@ -1,3 +1,3 @@
1
1
  module Chake
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
@@ -14,8 +14,8 @@ describe Chake::Node do
14
14
  it('user current username by default') {
15
15
  expect(simple.username).to eq('jonhdoe')
16
16
  }
17
- it('write to /tmp/chef.$username') {
18
- expect(simple.path).to eq('/tmp/chef.jonhdoe')
17
+ it('writes to /var/tmp/chef.$username') {
18
+ expect(simple.path).to eq('/var/tmp/chef.jonhdoe')
19
19
  }
20
20
 
21
21
  let(:with_username) { Chake::Node.new('username@hostname') }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antonio Terceiro