abort_if 0.1.2 → 0.2.0

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: 7ff346f835eaf8be62228af05ff85eb2807864b9
4
- data.tar.gz: 3af9f14d527dd63f7248507be6361f81b50b8adf
3
+ metadata.gz: 725f5ee2ef2f4f143789a3bafeab7e56ed6e9821
4
+ data.tar.gz: 76dfca5b5252fa2986617afc496cc124f81d44d7
5
5
  SHA512:
6
- metadata.gz: 7d8ab76f0e2a9d0bb919b04cfc20c9e5f12e4ab45f04acd6500f93bc2af04a038468510cb1bf1b9b353a99ee71d8fba6c40fff8c7c90d36cf4b88cbd8aca8c16
7
- data.tar.gz: fe49cb8b166cf662997aba7d7a1f466dc7462de7203054cea3d4bc89a95868668de89e74ac4552dc9c48c736a4f9a77f6ccad211ed813c0d0151bfac83ad3d81
6
+ metadata.gz: 63146a88b01da08c2e04f713d2d48b812277ea44fbabe8e1c0004fe642b6eade24ade60ae6fb2947311170a291a78f29197c2ae1803c4edd55a7357f3831bcb5
7
+ data.tar.gz: 9f79fe759fc8971ed770d3111f2a3d1281ca348b2a494f087a071f3f72c4919b087d0cb57d060a90e4b8e1c4b500031ae059904e7472ed5b036b5b44d35273c8
@@ -57,7 +57,7 @@ module AbortIf
57
57
  def abort_if test, msg="Fatal error"
58
58
  if test
59
59
  logger.fatal msg
60
- raise Exit, msg
60
+ raise Exit.new(1), msg
61
61
  end
62
62
  end
63
63
 
@@ -17,5 +17,5 @@
17
17
  # along with AbortIf. If not, see <http://www.gnu.org/licenses/>.
18
18
 
19
19
  module AbortIf
20
- VERSION = "0.1.2"
20
+ VERSION = "0.2.0"
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abort_if
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Moore
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-06 00:00:00.000000000 Z
11
+ date: 2016-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler