kril 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kril/schema_extractor.rb +1 -0
- data/lib/kril/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f29ebc51e511a7e37aee1e470e17656983b6a76a
|
4
|
+
data.tar.gz: 694569edd72f95f312416fc130980c568eea2ed3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f5ce6ac018415bbccca2ef13c158d1359b670133d1207bc77d0c961f19df1ae56d2a0016c01134e92263443f715aea0ab8b2cc7aba067269d287d8540838498
|
7
|
+
data.tar.gz: 6f5848ff5d4bafb165bfed72ba235627f45ef45ab2a35d17a18907f30de7a476b15b39c7fd1230e0f68d90e194e53f00db42426e1a5dea115e4338db09537b29
|
@@ -31,6 +31,7 @@ module Kril
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def write_avsc(contents, directory)
|
34
|
+
FileUtils.mkdir_p(directory) unless File.directory?(directory)
|
34
35
|
path = File.join(directory, "#{contents['name']}.avsc")
|
35
36
|
File.open(path, 'w') do |file|
|
36
37
|
file.write(JSON.pretty_generate(contents))
|
data/lib/kril/version.rb
CHANGED