duo_splitter 0.2.0 → 0.3.1

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: cc561bd757c37766b2d291595d13e381b663fc762a1e787192ef742e4866f45e
4
- data.tar.gz: 39e5095aaf66aed68a33208dcac788261abfaba3e40eaefe36513df835121c36
3
+ metadata.gz: 17c9919f42ea01bab0d11b97afbd1ed7d107b9484b66d06346b77603b42c64f7
4
+ data.tar.gz: 153d400053bc3565cebbe0935333bf5124c498da16a421946d7a06a7509cb618
5
5
  SHA512:
6
- metadata.gz: f6846d989928dca0332a2756f5c6a66897c6ace7245042eb33abb53e36801adc473639c268ec59748f68081fe7d739a8958e7473e2c18e2c26c58f14a6858bc2
7
- data.tar.gz: 842e11082d13c649df3bf9d84278df5466634996b01ae178f9d1ca7f509882648c1c548428546a9273d4422ff5d3fce5f7860a51a67ebe87cd271e7a68f70121
6
+ metadata.gz: '068e26af25d7966e65998931d36bd20197ba7424fa4d195a265ca3b5fa22b6df903baed0da73de0a52c652cb529f7dc02b2f7d071d64c91d02bb9c31e97fc0aa'
7
+ data.tar.gz: 4c169d4817f391dbd71f7c67f99611974c329c83f181ccc5b0ac049b01989f8af6219cf56bc7c99d8de620e78249a361dc18930d168a9250ed25ad6e866171f2
data/assets/C4.wav ADDED
Binary file
@@ -22,7 +22,7 @@ module DuoSplitter
22
22
  number.zero?
23
23
  end
24
24
 
25
- def output_basename(prefix_section_number: true, blank: false, concatenated: false, ext:)
25
+ def output_basename(ext:, prefix_section_number: true, blank: false, concatenated: false)
26
26
  basename = format('%03<number>d', number: number)
27
27
  basename = "#{basename}_blank" if blank
28
28
  basename = "#{basename}_concatenated" if concatenated
@@ -8,6 +8,9 @@ module DuoSplitter
8
8
 
9
9
  def initialize(context:)
10
10
  @context = context
11
+
12
+ raise Error, "temp_dir isn't set" unless @context.temp_dir
13
+
11
14
  @commands = build_commands
12
15
  end
13
16
 
@@ -8,6 +8,9 @@ module DuoSplitter
8
8
 
9
9
  def initialize(context:)
10
10
  @context = context
11
+
12
+ raise Error, "temp_dir isn't set" unless @context.temp_dir
13
+
11
14
  @commands = build_commands
12
15
  end
13
16
 
@@ -8,6 +8,9 @@ module DuoSplitter
8
8
 
9
9
  def initialize(context:)
10
10
  @context = context
11
+
12
+ raise Error, "temp_dir isn't set" unless @context.temp_dir
13
+
11
14
  @commands = build_commands
12
15
  end
13
16
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DuoSplitter
4
- VERSION = '0.2.0'
4
+ VERSION = '0.3.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: duo_splitter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - healthypackrat
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-05 00:00:00.000000000 Z
11
+ date: 2021-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,7 +52,7 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
- description:
55
+ description:
56
56
  email:
57
57
  - healthypackrat@gmail.com
58
58
  executables:
@@ -62,6 +62,7 @@ extra_rdoc_files: []
62
62
  files:
63
63
  - README.ja.md
64
64
  - README.md
65
+ - assets/C4.wav
65
66
  - data/labels/01.txt
66
67
  - data/labels/02.txt
67
68
  - data/labels/03.txt
@@ -137,8 +138,9 @@ files:
137
138
  homepage: https://github.com/healthypackrat/duo_splitter
138
139
  licenses:
139
140
  - MIT
140
- metadata: {}
141
- post_install_message:
141
+ metadata:
142
+ rubygems_mfa_required: 'true'
143
+ post_install_message:
142
144
  rdoc_options: []
143
145
  require_paths:
144
146
  - lib
@@ -146,7 +148,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
146
148
  requirements:
147
149
  - - ">="
148
150
  - !ruby/object:Gem::Version
149
- version: 2.5.0
151
+ version: 2.7.5
150
152
  required_rubygems_version: !ruby/object:Gem::Requirement
151
153
  requirements:
152
154
  - - ">="
@@ -155,8 +157,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
157
  requirements:
156
158
  - ffmpeg
157
159
  - sox
158
- rubygems_version: 3.1.2
159
- signing_key:
160
+ rubygems_version: 3.2.32
161
+ signing_key:
160
162
  specification_version: 4
161
163
  summary: Split "DUO 3.0 CD" tracks into separate sentences
162
164
  test_files: []