flacky 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,7 @@
1
1
  # -*- encoding: UTF-8 -*-
2
2
 
3
3
  require 'taglib'
4
+ require 'shellwords'
4
5
 
5
6
  require 'flacky/core_ext'
6
7
  require 'flacky/scraper'
@@ -16,7 +17,7 @@ module Flacky
16
17
  end
17
18
 
18
19
  def flac_metadata
19
- flacs = Dir.glob(File.join(dir, '*.flac'))
20
+ flacs = Dir.glob(File.join(dir.shellescape, '*.flac'))
20
21
  return Hash.new if flacs.empty?
21
22
 
22
23
  result = Hash.new
@@ -1,3 +1,3 @@
1
1
  module Flacky
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flacky
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-04 00:00:00.000000000 Z
12
+ date: 2013-02-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor