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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc4fb4e74341dd64b82019b8091e5d0f9b6fbd80
4
- data.tar.gz: 44c6ba7c654806acc8c1d3e358c8dc13da67984f
3
+ metadata.gz: f29ebc51e511a7e37aee1e470e17656983b6a76a
4
+ data.tar.gz: 694569edd72f95f312416fc130980c568eea2ed3
5
5
  SHA512:
6
- metadata.gz: d66885a70a4fdccdb79f2431f93805a6e0b0797ba5ae1a1dae9b035bc7895b45d19d60784e727959b1c41952ca061ee2fbe41ca3cca693f70ca9a5f090af9cc6
7
- data.tar.gz: 2d8542a1b4fa4fd908927d5c6c57f5cb7d833fc58c1c286e8aad44b34c4b5f55fb73d1bcb922467d421a541e308762ba3fa81c310d73ab0f4708ddb6c3419320
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kril
4
- VERSION = '0.1.4'
4
+ VERSION = '0.1.5'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kril
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chad Bowman