gha_config 0.15 → 0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cb2d82c82325e3c26d5f4163f8eada040efa9060761ea1aa815645be44644326
4
- data.tar.gz: 884c6e758132c49edb32aa64b438c41f9647782f3949ebe5e034a64e1d281176
3
+ metadata.gz: 276069863b70861f12f3d76fc4054920f9a90859b0e48c58f198f87a1156bcbc
4
+ data.tar.gz: 18281dc811434e385db5f95109da89051ec7cca89d1d1eb56a584c01289528ea
5
5
  SHA512:
6
- metadata.gz: d086bec6a7a35df73466318ea33866ec1d1997353ab16d59e560aede723da1ea78e0f11c444b8730550287463a6fa34731ebc5b896b88bf1dca97f2d8c85744b
7
- data.tar.gz: a86fb656b87c140425c7a735c00679815fe101f58741f066f29457ae7a3a4091be60edab580c6bd46840ef3c56ccbf38b51f7007346611dd060b4c718832bd57
6
+ metadata.gz: 324bfce26f456d6a5b506339b3ad021dc6ca59aa2a47fbceef054479853a7e955aff8981406ff59df6f9fb6cfa68f3f9befbb0c84c400f56afecbbd36b2eeca1
7
+ data.tar.gz: 1e91fce0673ef84daac35503ff658ef558a26bc9b36b8ea0915e528a483f6a232174c92c7a5de670beb60de38b833364a3edb5dfc3e2c3b02db7f45a9a6e95d5
data/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.16] - 2021-07-27
9
+ - Remove dependency on activesupport and byebug
10
+ - Auto-create directory if it doesn't exist
11
+
8
12
  ## [0.15] - 2021-07-27
9
13
  - Fix bug where defaults are not given (uses [] instead of {})
10
14
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gha_config (0.14)
4
+ gha_config (0.15)
5
5
 
6
6
  GEM
7
7
  remote: https://flipplib.jfrog.io/flipplib/api/gems/flipp-gems/
data/bin/gha_config CHANGED
@@ -2,7 +2,6 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  require 'yaml'
5
- require 'active_support/all'
6
5
  require 'fileutils'
7
6
 
8
7
  require_relative '../lib/gha_config/parser'
@@ -1,5 +1,3 @@
1
- require 'byebug'
2
-
3
1
  module GhaConfig
4
2
  module Parser
5
3
  def self.parse(input_file)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GhaConfig
4
- VERSION = '0.15'
4
+ VERSION = '0.16'
5
5
  end
@@ -1,3 +1,5 @@
1
+ require 'fileutils'
2
+
1
3
  module GhaConfig
2
4
  module Writer
3
5
  def self.write(config, output_file)
@@ -60,6 +62,7 @@ module GhaConfig
60
62
 
61
63
  OUT
62
64
  output = header + output
65
+ FileUtils.mkdir_p(File.dirname(output_file))
63
66
  File.write(output_file, output)
64
67
  end
65
68
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gha_config
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.15'
4
+ version: '0.16'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Orner