prosopite 1.1.1 → 1.1.2

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
  SHA256:
3
- metadata.gz: 5e7209ed5070fd604f22b0e2a6c0256cf3e30bdc9492403f9c427edef00e5a3c
4
- data.tar.gz: 75bd921fee0f39354db2fd7a4136f4c32387bd7b2373b5fc34028340105de9e8
3
+ metadata.gz: 56e92147fb7087e1f4248449f64fa9a1e991c1d3646f71e54d74f72f2ccc98c9
4
+ data.tar.gz: c77c7bc6e0b856de8d634f331b9e8cc56f79359921258ba3a033b374c673b4f8
5
5
  SHA512:
6
- metadata.gz: 2c393693a5477df4f7e1615c7d67c71cf77b060deb62a8b47e771604b5af5f2a52bcea1639c345173f50d1d11decc263522565cab89a64bea4974a08c6770d8e
7
- data.tar.gz: 7eaece0588d418afb0fecc543b697ca3261567d1bed34e549b826800c2861f7be854999accac0b46e96a7bf7a24b00ea5e6485218b566456bfe76bfb7b3b20c6
6
+ metadata.gz: b5da98b794a360629a55c940dfb73972acc2a4871840fc5577abf346e9fd31d4077dfdc27b874c86ce1aeed179246ae74e47082aa8bf893083327e347df8020e
7
+ data.tar.gz: d74e37b39e303c552e087d53dd3aee596ad441d62a2ae6d48f166c0d2452eab01925639b26c0980e1d697dcd6c05d1c9cae7da8484e159ec27355c2cc8a294fb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- prosopite (1.1.1)
4
+ prosopite (1.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Prosopite
4
- VERSION = "1.1.1"
4
+ VERSION = "1.1.2"
5
5
  end
data/lib/prosopite.rb CHANGED
@@ -48,14 +48,16 @@ module Prosopite
48
48
  end
49
49
 
50
50
  def pause
51
- tc[:prosopite_scan] = false
52
-
53
51
  if block_given?
54
52
  begin
53
+ previous = tc[:prosopite_scan]
54
+ tc[:prosopite_scan] = false
55
55
  yield
56
56
  ensure
57
- tc[:prosopite_scan] = true
57
+ tc[:prosopite_scan] = previous
58
58
  end
59
+ else
60
+ tc[:prosopite_scan] = false
59
61
  end
60
62
  end
61
63
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prosopite
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mpampis Kostas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-10 00:00:00.000000000 Z
11
+ date: 2022-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry