very_safe_rm 0.3.0 → 0.3.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: 6d1b3771e78710b5a1471586198014d0d6eb5009
4
- data.tar.gz: adc2fc7accabcf74571dd320bd6c34f1e02016db
3
+ metadata.gz: b274f4b3373556d85e55b36888493a3b59de91d4
4
+ data.tar.gz: 903e2310ab55940553c26bb6dfad36dbd88608e7
5
5
  SHA512:
6
- metadata.gz: 32fb7d1a66881f161f9cf388c5c8d5d5b1f6faf2ea23c92bc4aef21c53c98855412507af4a00c3f42f17935bd49ad44b5ae4f85c14c534683230d267b0315835
7
- data.tar.gz: 22947038c9ad18a895f9fc55a1b74b8eebf324e00d2aaed9928d9efbb8b5cabf48cfd321a3a331d818cf83e67a8adbd8f71153abcd760a3fec13fcfc9ec280af
6
+ metadata.gz: bba332488a60a63ed35dec817fb828569e09724fdee1ef77666aeea39cd057fd8a2da0ecff7940b0f10ab2f4192e424b7f4998819d59e35346c948a9401118fa
7
+ data.tar.gz: 655c1de372e55877943d77c3b7663db7d59ed0718a53cbf9a25039d4b512f6011ea8915837f4279f51e7b22d06061db7c821a0482d0102c72f9bc93ea24503e6
@@ -2,7 +2,7 @@ module VerySafeRm
2
2
  module RM
3
3
  def self.rm(file, args)
4
4
  return if RM.check_bang file
5
- system %(/bin/rm #{args.join ' '} -- "#{file}")
5
+ system ['/bin/rm', $PROGRAM_NAME], *args, '--', file
6
6
  end
7
7
 
8
8
  def self.rm_one(file, args)
@@ -1,3 +1,3 @@
1
1
  module VerySafeRm
2
- VERSION = '0.3.0'.freeze
2
+ VERSION = '0.3.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: very_safe_rm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - 71e6fd52
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-04 00:00:00.000000000 Z
11
+ date: 2017-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler