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 +4 -4
- data/lib/currentable/cleaner.rb +0 -3
- data/lib/currentable/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a650e91ff08027ae5ea68e4552e35e4e299c6d1c067a803ad1fd58742249860a
|
4
|
+
data.tar.gz: 1c9e0c76951546fe95179f9e3ba537b1a294fdb9f7e3c77b48804aea27cf8301
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afc1d95fec1511cdba0cd05ffa7849bf1470b2db76928268f079163d3ff4bf3d37fbe6e5c4d8771e395787900bce39e820a9a13887c79029f1f88aceef1d7d2e
|
7
|
+
data.tar.gz: 8c04e19f85aaaf5ed787a0fa7c9a5b7816e63d73091307c362c99a9fcb2954cc36865f538dd2a2f27d974bbe6deb8801fa57ccf5ca2fa2c10575691316d603cf
|
data/lib/currentable/cleaner.rb
CHANGED
@@ -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
|
data/lib/currentable/version.rb
CHANGED
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.
|
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-
|
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.
|
108
|
+
rubygems_version: 3.0.3
|
109
109
|
signing_key:
|
110
110
|
specification_version: 4
|
111
111
|
summary: Track Current Objects
|