very_safe_rm 0.3.2 → 0.3.3

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: 9a876ea7318a5bed16914413babb5a409904ea7d
4
- data.tar.gz: 79e2dc4b85f5766e6bc0ffdb9ad27787e2aa79b3
3
+ metadata.gz: 8fb5b5ba387909fe26d793fd9c6a97f1c599d21c
4
+ data.tar.gz: 88220dcbc0689588652c15db946903602bf3b4fd
5
5
  SHA512:
6
- metadata.gz: 9adbb61d2e6457d2e6a99c8f58e8c5a407f4589399e86d8efde99e41b2e3698d1f182ce19364eb6a7cc79835076d32f0e9ab21e1a2b6af096566717616c64b9e
7
- data.tar.gz: 4af752b8ea951fa1dc6b089605fd68c408cb38e376cbf1ae602c216bd661c22e8ba0d8aae5c83198a92a5994e6fba8b7971d9f68b9b01dc0f5d58ee5607c7423
6
+ metadata.gz: 12016c5d3ccaee76247c43010169e0f3dcd58c101357c0c6781c44dc47d3941a53ab65992831aedfbe6e2fae11096596fb79bdda3742fc09f490b39fa2a14d46
7
+ data.tar.gz: 0cbf835000d0e2b896166ca47f72aacf35020617ed2842963e1436ffb608cb2dd87928faa0207e296af24b6b8b2672933c4337fa6ef440edd78ca884ee03511b
data/exe/very_safe_rm CHANGED
@@ -13,12 +13,12 @@ if args.include? '--version'
13
13
  end
14
14
 
15
15
  if args.include? '--help'
16
- system ['/bin/rm', $PROGRAM_NAME], '--help'
16
+ system ['/bin/rm', $0], '--help'
17
17
  exit
18
18
  end
19
19
 
20
20
  if file.empty?
21
- system ['/bin/rm', $PROGRAM_NAME]
21
+ system ['/bin/rm', $0]
22
22
  exit 1
23
23
  end
24
24
 
@@ -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', $PROGRAM_NAME], *args, '--', file
5
+ system ['/bin/rm', $0], *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.2'.freeze
2
+ VERSION = '0.3.3'.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.2
4
+ version: 0.3.3
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-15 00:00:00.000000000 Z
11
+ date: 2017-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler