foy_runner 0.1.0 → 0.1.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: 32db90a6b4ae9cf3584a6420632912cefd107191
4
- data.tar.gz: fc2b11571002c095095c318d78a7ebc8f3966c67
3
+ metadata.gz: 617ff75f6b1b1481abd9d13c2ac156c31c2db14b
4
+ data.tar.gz: 5d1c6978f2c6c98e9dde12c906623db4d975f612
5
5
  SHA512:
6
- metadata.gz: b14f58d4e11f3a7d6f70361935692eab453f2809071b2e6521abe4bb94c4faae34d3d267a5f56689144440b166e03b5269f0fd7714da125774190b6e4bed3a03
7
- data.tar.gz: 86d04367c9a932cdefddb63a784bd8cd85fd1ba90936e855f03321ed3279758761d91fa187f75f6a8422cc724af2e8dbcd2cf7231ef3e029c890a606d10588f6
6
+ metadata.gz: 3152b5de18be757f119ea8197bbdbd63d657fff46d08669d28e4be3fa7688966394412445a145057eab8a8c55f2308629a68dbca912a9e056511991e8baefe4b
7
+ data.tar.gz: 602346eb2dfabdc1f44206b9bde4170a8334abb353707e44b2b4663a617417f958fee3931aae3ce477695f6985d73208cbce10ca8fb6ef182bb6e3d1baf09c70
@@ -13,7 +13,7 @@ module Foy
13
13
  end
14
14
 
15
15
  def clean_up
16
- FileUtils.remove_entry_secure @dir if @dir
16
+ FileUtils.remove_entry_secure(@dir, true) if @dir
17
17
  end
18
18
  end
19
19
  end
@@ -1,5 +1,5 @@
1
1
  module Foy
2
2
  module Runner
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -18,7 +18,7 @@ describe Foy::Runner::GitFetcher do
18
18
  end
19
19
 
20
20
  it "removes folder securely" do
21
- FileUtils.should_receive(:remove_entry_secure)
21
+ FileUtils.should_receive(:remove_entry_secure).with(an_instance_of(String), true)
22
22
  fetcher.clean_up
23
23
  end
24
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foy_runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Soares