currentable 1.0.1 → 1.0.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: 6af574e637795da5682ecb6ad8c6e1617ed5ddeaab48f0a2390cf0bae0e7093a
4
- data.tar.gz: 2afb9db8328e9889664adfbd6178c370f073c6af1f044e3d8cd8c801342c3599
3
+ metadata.gz: a650e91ff08027ae5ea68e4552e35e4e299c6d1c067a803ad1fd58742249860a
4
+ data.tar.gz: 1c9e0c76951546fe95179f9e3ba537b1a294fdb9f7e3c77b48804aea27cf8301
5
5
  SHA512:
6
- metadata.gz: da45be588a5b2bd6a2843b96a18be4e9de83811daee28626242dc7671cf1ef3c062127080e4400e986b824f44f8d66211134a049bb3361698e861b966ee69967
7
- data.tar.gz: 3bff4e051b7bdb63248378318db9c0804bfb49a75eaf07a1a24bda3d95cb3e1a23519c8e6eae88110031003190a29fdcddf0b97ffbfae26d179edc5ea4c9c77d
6
+ metadata.gz: afc1d95fec1511cdba0cd05ffa7849bf1470b2db76928268f079163d3ff4bf3d37fbe6e5c4d8771e395787900bce39e820a9a13887c79029f1f88aceef1d7d2e
7
+ data.tar.gz: 8c04e19f85aaaf5ed787a0fa7c9a5b7816e63d73091307c362c99a9fcb2954cc36865f538dd2a2f27d974bbe6deb8801fa57ccf5ca2fa2c10575691316d603cf
@@ -14,9 +14,6 @@ module Currentable
14
14
  # @note Will only clean for objects stored on the calling thread.
15
15
  def clean_all
16
16
  Currentable::Registry.currents.each do |klass|
17
- if defined? ::Rails
18
- ::Rails.logger.debug "Cleaning current for #{klass}"
19
- end
20
17
  klass.current = nil
21
18
  end
22
19
  end
@@ -1,5 +1,5 @@
1
1
  module Currentable
2
2
  ##
3
3
  # The current version of the gem.
4
- VERSION = '1.0.1'.freeze
4
+ VERSION = '1.0.2'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: currentable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maddie Schipper
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-04 00:00:00.000000000 Z
11
+ date: 2019-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  - !ruby/object:Gem::Version
106
106
  version: '0'
107
107
  requirements: []
108
- rubygems_version: 3.0.2
108
+ rubygems_version: 3.0.3
109
109
  signing_key:
110
110
  specification_version: 4
111
111
  summary: Track Current Objects