temping 3.7.1 → 3.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/temping.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f1e540bd8c166e116a2855d94e62a215aecbdd8
|
4
|
+
data.tar.gz: f1b62f83c07e11adeb1d0308a5b4c16d29672c84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef670dd1b41aefe97264c56ac81072fb45d7d153f08da335d1546652965e93eaa2326b5a7c18d14df5a876818e679df6b04a4ce840176de8c0555539477d9dc0
|
7
|
+
data.tar.gz: 959d603fc824a39f8e80759d81c42734acd828138764f8ca258121f8bc79169a31cc4d2fea171f73c8bbde777a01c9fd1f54f0864e9d9b82e92640e36609208b
|
data/lib/temping.rb
CHANGED
@@ -12,7 +12,7 @@ class Temping
|
|
12
12
|
klass
|
13
13
|
end
|
14
14
|
|
15
|
-
def teardown
|
15
|
+
def teardown
|
16
16
|
if @model_klasses.any?
|
17
17
|
@model_klasses.each do |klass|
|
18
18
|
if Object.const_defined?(klass.name)
|
@@ -21,7 +21,7 @@ class Temping
|
|
21
21
|
end
|
22
22
|
end
|
23
23
|
@model_klasses.clear
|
24
|
-
ActiveSupport::Dependencies.clear
|
24
|
+
ActiveSupport::Dependencies::Reference.clear!
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: temping
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Pignata
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
version: '0'
|
149
149
|
requirements: []
|
150
150
|
rubyforge_project:
|
151
|
-
rubygems_version: 2.6.
|
151
|
+
rubygems_version: 2.6.8
|
152
152
|
signing_key:
|
153
153
|
specification_version: 4
|
154
154
|
summary: Create temporary table-backed ActiveRecord models for use in tests
|