wahwah 1.6.3 → 1.6.4

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: 6fed1451a524177200ca3ccdb13b6cc809fdc9f4913ed613f5cceb29ac316380
4
- data.tar.gz: ab6aac50fa7b73c55843a722ac0e34cd77da57f5a2b968a4ccf9491c53196743
3
+ metadata.gz: b71422abe8effd7cf724451e130bc68c62e18f89b2a0dbf3af91dd4a789ff7c0
4
+ data.tar.gz: 8e4deef44b33e4112b42b4e0b55d1d850fdf97a6c6041e245fb6a43674c94cf8
5
5
  SHA512:
6
- metadata.gz: 70edb86e41aad8f729d186d6f90c54c2e834528b6a0b3570f8ff3b15270d87e12df906a9d2e14d57f70349efe975cb61074591d2f8787f64285b06b7eb1a3a2e
7
- data.tar.gz: 1629bb5729a89dd1088d1b4601e549ed5b53a45fa5d25fe286b24aab760bb7b81da8f56476a90d39a66e6b883200d504a2c4c0270f170e7df89999fd20d3770d
6
+ metadata.gz: 2e46bb17bbda9d55f5999761844924f368fb22836a0029511db9aa57d2447d952803614eda3d0732a0520d9106076c6d97e1f5eadd08d597628975521982ec53
7
+ data.tar.gz: 8f7f7596631653567e8b5661fc1771b6aeeb8def7440da22e580d0453f8c5f40a6f1c330ca28b4f5648b69d21b31df6bf8ce56d7d912941d73f0172b65b00f01
data/lib/wahwah/helper.rb CHANGED
@@ -60,7 +60,7 @@ module WahWah
60
60
  # M4A is checked for first, since MP4 files start with a chunk size -
61
61
  # and that chunk size may incidentally match another signature.
62
62
  # No other formats would reasonably have "ftyp" as the next for bytes.
63
- return "m4a" if signature[4...12] == "ftypM4A ".b
63
+ return "m4a" if ["ftypM4A ".b, "ftyp3gp4".b].include?(signature[4...12])
64
64
  # Handled separately simply because it requires two checks.
65
65
  return "wav" if signature.start_with?("RIFF".b) && signature[8...12] == "WAVE".b
66
66
  magic_numbers = {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WahWah
4
- VERSION = "1.6.3"
4
+ VERSION = "1.6.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wahwah
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.3
4
+ version: 1.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - aidewoode
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-06 00:00:00.000000000 Z
11
+ date: 2024-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler