stickyflag 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,8 @@
1
+
2
+ # StickyFlag Changes
3
+
4
+ - **v0.3.3:** Fix a bug in handling MKV filenames with spaces
5
+ - **v0.3.2:** Fix a bug that prevented the MKV tagger from loading
6
+ - **v0.3.1:** Make the gem file smaller (don't package our test samples)
7
+ - **v0.3.0:** Add support for MKV tags
8
+ - **v0.2.0:** First public release: support for PDF, PNG, MMD, TeX, C tagging
@@ -75,7 +75,7 @@ module StickyFlag
75
75
  end
76
76
 
77
77
  # Don't record files in the DB that have no tags
78
- next if tags.empty?
78
+ next if tags.nil? || tags.empty?
79
79
 
80
80
  file_id = get_file_id file
81
81
  tags.each do |tag|
@@ -21,7 +21,7 @@ module StickyFlag
21
21
  stderr_str = ''
22
22
 
23
23
  begin
24
- Open3.popen3("#{mkvextract_path} tags #{file_name} -q") do |i, o, e, t|
24
+ Open3.popen3("#{mkvextract_path} tags \"#{file_name}\" -q") do |i, o, e, t|
25
25
  out_reader = Thread.new { o.read }
26
26
  err_reader = Thread.new { e.read }
27
27
  i.close
@@ -5,7 +5,7 @@ module StickyFlag
5
5
  NUMBERS = [
6
6
  MAJOR = 0,
7
7
  MINOR = 3,
8
- BUILD = 2
8
+ BUILD = 3
9
9
  ]
10
10
  end
11
11
  VERSION = Version::NUMBERS.join('.')
@@ -40,11 +40,11 @@ Gem::Specification.new do |s|
40
40
  s.add_development_dependency 'magic_encoding'
41
41
 
42
42
  s.files = `git ls-files -- bin/* lib/*`.split("\n")
43
- s.files |= ['Gemfile', 'stickyflag.gemspec', 'Rakefile', 'LICENSE.md', 'README.md', 'TODO.md']
43
+ s.files |= ['Gemfile', 'stickyflag.gemspec', 'Rakefile', 'LICENSE.md', 'README.md', 'TODO.md', 'CHANGELOG.md']
44
44
 
45
45
  s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
46
46
  s.default_executable = 'bin/stickyflag'
47
47
 
48
- s.extra_rdoc_files = ['Rakefile', 'LICENSE.md', 'README.md', 'TODO.md']
48
+ s.extra_rdoc_files = ['Rakefile', 'LICENSE.md', 'README.md', 'TODO.md', 'CHANGELOG.md']
49
49
  s.rdoc_options = ['--charset=UTF-8']
50
50
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stickyflag
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -262,6 +262,7 @@ extra_rdoc_files:
262
262
  - LICENSE.md
263
263
  - README.md
264
264
  - TODO.md
265
+ - CHANGELOG.md
265
266
  files:
266
267
  - bin/stickyflag
267
268
  - lib/stickyflag.rb
@@ -286,6 +287,7 @@ files:
286
287
  - LICENSE.md
287
288
  - README.md
288
289
  - TODO.md
290
+ - CHANGELOG.md
289
291
  homepage: https://github.com/cpence/stickyflag
290
292
  licenses: []
291
293
  post_install_message: