bake 0.23.0 → 0.23.1

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
  SHA256:
3
- metadata.gz: 6ab7880c750129da00fedd038a2a9686a2c8bce081766b18a250a90f030a216b
4
- data.tar.gz: f958a6e911baf91f66cf647d0d915ef44a77d093e936ec56c68936267fe3a76c
3
+ metadata.gz: 91718ab61f79e1538c5687ee4749766f630d997eb1a2f4141b6f8f5236796995
4
+ data.tar.gz: 8728f1f95746b022f912f70aff45a4b31e539ce3e7e7c3e4ec4b056a918b0645
5
5
  SHA512:
6
- metadata.gz: a0fc582b55405b75c1c8f6e47f8b441b724d12f868158e9b48ab3a0e8d541b8d4a54cf81cba935638af6fd76b41c219f273724662b87ba119250abd3350a1ff3
7
- data.tar.gz: 7b9f2d475de5475db4d3e880d90aac948016e5e22c138d38cb76dbe7398a6444a6438b5dfce03fc8514149693e7215952c69c21b7bc366f5969cbdefef5e8633
6
+ metadata.gz: 4ab027ad33f0aa03ea7f06b1c45aab20f09ee89a1be46687d9cba518da0f62bc30b2dbf3b0038a369fdaaa8163d07ead6df4738a89627dc4598645800c364f57
7
+ data.tar.gz: c78c3e33a4b1d8543bb9a5f8157df81a9af2dec880245736a02dc31a3a27fc23d40f21746ac3e559db9b7dd6f4d5069f0ca48a311251c59062b8c962cdd997a5
checksums.yaml.gz.sig CHANGED
Binary file
data/bake/input.rb CHANGED
@@ -3,6 +3,12 @@
3
3
  # Released under the MIT License.
4
4
  # Copyright, 2022-2025, by Samuel Williams.
5
5
 
6
+ def initialize(...)
7
+ super
8
+
9
+ require_relative "../lib/bake/format"
10
+ end
11
+
6
12
  # Parse an input file (defaulting to stdin) in the specified format. The format can be extracted from the file extension if left unspecified.
7
13
  # @parameter file [Input] The input file.
8
14
  # @parameter format [Symbol] The input format, e.g. json, yaml.
data/bake/output.rb CHANGED
@@ -3,6 +3,12 @@
3
3
  # Released under the MIT License.
4
4
  # Copyright, 2022-2025, by Samuel Williams.
5
5
 
6
+ def initialize(...)
7
+ super
8
+
9
+ require_relative "../lib/bake/format"
10
+ end
11
+
6
12
  # Dump the last result to the specified file (defaulting to stdout) in the specified format (defaulting to Ruby's pretty print).
7
13
  # @parameter file [Output] The input file.
8
14
  # @parameter format [Symbol] The output format.
@@ -25,7 +31,7 @@ def format_for(file, name)
25
31
  end
26
32
 
27
33
  # Default to pretty print:
28
- name ||= :pp
34
+ name ||= :raw
29
35
 
30
36
  Bake::Format[name]
31
37
  end
data/lib/bake/version.rb CHANGED
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2020-2025, by Samuel Williams.
5
5
 
6
6
  module Bake
7
- VERSION = "0.23.0"
7
+ VERSION = "0.23.1"
8
8
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.23.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -37,7 +37,7 @@ cert_chain:
37
37
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
38
38
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
39
39
  -----END CERTIFICATE-----
40
- date: 2025-02-15 00:00:00.000000000 Z
40
+ date: 2025-02-21 00:00:00.000000000 Z
41
41
  dependencies:
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: bigdecimal
metadata.gz.sig CHANGED
Binary file