dry-types-rails 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dry/types/rails/railtie.rb +1 -1
- data/lib/dry/types/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbcc200ece0d181e053d3ecc49f95b1d88e4cb88
|
4
|
+
data.tar.gz: 91696b0d86e3c94655a695ac9d70e2767f162839
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54697556dd5580ef21b1866f27c30b758fcc73ab2447b9000b5b83bc6a1c76bd6911fe4a95b7e7417b021604c52690932383fa724440828a35d6ca06094e8984
|
7
|
+
data.tar.gz: 8edd43b557a53a2d7d89246d6c45c258538d479c46f4ab19b94f594a159904642916d9c854c159cebb8d0c84159122795f30c6df03f95619de694d62665f266e
|
@@ -11,7 +11,7 @@ module Dry
|
|
11
11
|
# ActiveSupport::Dependencies.will_unload?(klass) won't return true yet
|
12
12
|
# if it's the first time a constant is being autoloaded
|
13
13
|
# so we have to see if we're in the middle of loading a missing constants
|
14
|
-
autoloaded |= caller
|
14
|
+
autoloaded |= caller.any? { |line| line =~ /\:in.*?new_constants_in/ }
|
15
15
|
|
16
16
|
REGISTERED_TYPES << klass if autoloaded
|
17
17
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dry-types-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jerome Gravel-Niquet
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|