unitf-tag 0.1.2 → 0.1.3

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: 423a0e318af5b1d062e7b933b7487278d48ae1e0933c01663d2dff50aa59128a
4
- data.tar.gz: a770fbd8c7762769571fddc563b78b6834c044a1deae55ac1d7d9b8bacbbfbb1
3
+ metadata.gz: 964c3c8c80799afefcc7759489d6439b6ccb269839ef24db5c79f423795a91c5
4
+ data.tar.gz: caeb8102001f5bc375aca819209718d755e933fd8ba819a0e00012dd7c81e9e7
5
5
  SHA512:
6
- metadata.gz: 05dab0beb32b35c410b37bd536a26e30f45fa3fa9ca59c271dac272967ed69f1c75bc0890c325c83dfdc954722de69d6e63f00511623d9d9bdc0ada48fe5728c
7
- data.tar.gz: 3d53e61c391f23bf1675e9787dfdd09489f9a660d0b2b7fadb9c1cd5487887892e6018846b7a4402eb0a578c643a5076dcd33f0954078a6c2d31877b65b66415
6
+ metadata.gz: 1cf3e84a558973fff334ebba1aaffbc91becb8bedf4eb8a59acccc514f7d4c0958c42e472c086c3107e6d1aa9021552d6ff3d69d80e142198b1bcd50d8910463
7
+ data.tar.gz: 0e99f4b48ebb4eb1278fb8cd5b312e1710ee6fd3c34884007509194dbb6c3ff936b8bbbd7a3600d841bfe792b1352380bf746806259af698629167394a41e94b
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Unitf
4
4
  module Tag
5
- VERSION = "0.1.2"
5
+ VERSION = "0.1.3"
6
6
  end
7
7
  end
data/lib/unitf/tag.rb CHANGED
@@ -15,7 +15,7 @@ module UnitF
15
15
  end
16
16
 
17
17
  def self.valid_file?(file_path)
18
- ::File.file?(file_path) && file_path.match(/\.(flac|mp3)$/i)
18
+ ::File.file?(file_path) && file_path.encode.match(/\.(flac|mp3)$/i)
19
19
  end
20
20
 
21
21
  def self.process_target(target)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unitf-tag
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Baron
@@ -51,7 +51,6 @@ files:
51
51
  - lib/unitf/tag/flac.rb
52
52
  - lib/unitf/tag/mp3.rb
53
53
  - lib/unitf/tag/version.rb
54
- - lib/unitf/version.rb
55
54
  - tag
56
55
  - test.rb
57
56
  - unitf-tag.gemspec
data/lib/unitf/version.rb DELETED
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Unitf
4
- module Tagger
5
- VERSION = "0.1.0"
6
- end
7
- end