Skip to content

Commit

Permalink
Version 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ucnv committed Jul 19, 2024
1 parent 2d05f3b commit 002fd1a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
6 changes: 6 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### 0.2.2 / 2024-07-20

* Added option to set a custom directory for temporary files that internally duplicate input files.
* Also added an option for the custom temp directory in the datamosh cli.
* Some improvements regarding internal temporary files.

### 0.2.0 / 2021-09-13

* Support for AVI2.0 formatted files. Now this library can handle files larger than 1GB.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2009-2021 ucnv
Copyright (c) 2009-2024 ucnv

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
9 changes: 8 additions & 1 deletion lib/aviglitch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,16 @@
# end
# avi.output '/path/to/broken.avi'
#
# Since v0.2.2, it allows to specify the temporary directory. This library
# duplicates and processes a input file in the temporary directory, which
# by default is +Dir.tmpdir+. To specify the custom temporary directory, use
# +tmpdir:+ option, like:
#
# avi = AviGlitch.open '/path/to/your.avi', tmpdir: '/path/to/tmpdir'
#
module AviGlitch

VERSION = '0.2.0'
VERSION = '0.2.2'

BUFFER_SIZE = 2 ** 24

Expand Down
4 changes: 2 additions & 2 deletions spec/frames_spec.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

# Since Ruby 3.3.x, Windows frequently fails to close the Tempfile automatically.
# Now this spec is skipped in Windows because it could generate a lot of warnings.
# Since Ruby 3.3.x, Windows frequently fails to close the Tempfile on GC.
# Although not a fatal error, it should be better to remove them manually in such cases.
# Now this spec is skipped in Windows because it could generate a lot of warning messages and undeleted temp files.
describe AviGlitch::Frames, :skip => Gem.win_platform? do

before :all do
Expand Down

0 comments on commit 002fd1a

Please # to comment.