avromatic 0.19.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/avromatic/version.rb +1 -1
- data/lib/avromatic.rb +7 -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: bd8bd216d748aa1e3f73599c0876e55805375485
|
4
|
+
data.tar.gz: eb11e8bf876d4d2179c843f58105fd3ffa2ba7fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 108a8d5cb939dbace99031fe0c058a8824d4872e8ee9c65f92c920fa6c13b3bc1ecd8807bdc013a6cf8126ae706bc87714dc1eaf35670e31fd6a8a72322548d4
|
7
|
+
data.tar.gz: cf73e10878d7ddd1471ff4ddbd4162dd3683dc2c21ed498cd9c208a76aafac75722cdf25802a0d539c93910ebcb2f94a749359eb9c9d09919a918487de9bb616
|
data/CHANGELOG.md
CHANGED
data/lib/avromatic/version.rb
CHANGED
data/lib/avromatic.rb
CHANGED
@@ -51,7 +51,13 @@ module Avromatic
|
|
51
51
|
def self.prepare!(skip_clear: false)
|
52
52
|
unless skip_clear
|
53
53
|
nested_models.clear
|
54
|
-
|
54
|
+
if schema_store
|
55
|
+
if schema_store.respond_to?(:clear_schemas)
|
56
|
+
schema_store.clear_schemas
|
57
|
+
elsif schema_store.respond_to?(:clear)
|
58
|
+
schema_store.clear
|
59
|
+
end
|
60
|
+
end
|
55
61
|
end
|
56
62
|
eager_load_models!
|
57
63
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avromatic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Salsify Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avro
|