typecast-ruby 0.1.3 → 0.1.4

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/typecast/models.rb +9 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7decb1a088b596c9055b4251ed588af80d3187d997ff0ba337859f479835c64
4
- data.tar.gz: 22265da24aa5c1d9a85df19615cfe0e771cb60ebbcadf15f2157cc2ae2da0b9d
3
+ metadata.gz: 9ca0545dd46e23cf1b82c1d9df82874dc3e1da48918692d1777ccdb1ed6924ab
4
+ data.tar.gz: fb23cb323273a684526e064addc4c106d4f1234a54e568cd84558e7564847f1b
5
5
  SHA512:
6
- metadata.gz: 1a2024c96530643b47e3760d10a9b07afaf88cb50b7773420970c25e6678f5ac548be1ac15c6776430ab778a2b20370c9c2b03ad3df8938984d35269fe797dd9
7
- data.tar.gz: dc4cdeda76890dfd668d519dac0f3c415907f6890c696b7b3fa24e3c255f546800e40246b743c822f56c8598e46fd0e6085987009b8540a26cef197971becbc1
6
+ metadata.gz: 5f6dfafcb54651dd999e8e86327d3a7a2c559ffcefb90c10c761ec5dec82941eae677568a47ef708d441a3ad08ac39b239b3eb9112b455a5c68332f1c73c2f29
7
+ data.tar.gz: f419049058187dedfdeabb74af82115cc9f7e90b0b7cc33b1945b083fa0b1262a68384157062e48b3cd92e1fed1227e8c8318c740b7fcaa4be6cab230c9a6652
@@ -35,16 +35,22 @@ module Typecast
35
35
  end
36
36
 
37
37
  class OutputStream
38
- attr_reader :audio_pitch, :audio_tempo, :audio_format
38
+ attr_reader :audio_pitch, :audio_tempo, :audio_format, :target_lufs
39
39
 
40
- def initialize(audio_pitch: nil, audio_tempo: nil, audio_format: nil)
40
+ def initialize(audio_pitch: nil, audio_tempo: nil, audio_format: nil, target_lufs: nil)
41
41
  @audio_pitch = audio_pitch
42
42
  @audio_tempo = audio_tempo
43
43
  @audio_format = audio_format
44
+ @target_lufs = target_lufs
44
45
  end
45
46
 
46
47
  def to_h
47
- Models.compact(audio_pitch: audio_pitch, audio_tempo: audio_tempo, audio_format: audio_format)
48
+ Models.compact(
49
+ audio_pitch: audio_pitch,
50
+ audio_tempo: audio_tempo,
51
+ audio_format: audio_format,
52
+ target_lufs: target_lufs
53
+ )
48
54
  end
49
55
  end
50
56
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: typecast-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neosapience
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-18 00:00:00.000000000 Z
11
+ date: 2026-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest