gha_config 0.15 → 0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/bin/gha_config +0 -1
- data/lib/gha_config/parser.rb +0 -2
- data/lib/gha_config/version.rb +1 -1
- data/lib/gha_config/writer.rb +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 276069863b70861f12f3d76fc4054920f9a90859b0e48c58f198f87a1156bcbc
|
4
|
+
data.tar.gz: 18281dc811434e385db5f95109da89051ec7cca89d1d1eb56a584c01289528ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
data/bin/gha_config
CHANGED
data/lib/gha_config/parser.rb
CHANGED
data/lib/gha_config/version.rb
CHANGED
data/lib/gha_config/writer.rb
CHANGED
@@ -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
|
|