Skip to content

Commit

Permalink
Redirecting log from AV to Paperclip logger
Browse files Browse the repository at this point in the history
  • Loading branch information
owahab committed Oct 7, 2014
1 parent 003c56f commit a6d0fe5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/paperclip/av/chainer/version.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Paperclip
module Av
module Chainer
VERSION = "0.6.1"
VERSION = "0.6.2"
end
end
end
1 change: 1 addition & 0 deletions lib/paperclip/paperclip_processors/chainer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def concatenate
target = Tempfile.new(['chainer-', @target_format])
log "Concatentating #{list.inspect} from #{@destination} into #{target.path}"
begin
::Av.logger = Paperclip.logger
cli = ::Av.cli(log: true)
cli.reset_input_filters
cli.filter_concat(list)
Expand Down
2 changes: 1 addition & 1 deletion paperclip-av-chainer.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ Gem::Specification.new do |spec|

spec.add_dependency "paperclip", ">=2.5.2"
spec.add_dependency "rubyzip", "~> 1.1.0"
spec.add_dependency "av", ">= 0.7.0"
spec.add_dependency "av", ">= 0.7.1"
end

0 comments on commit a6d0fe5

Please sign in to comment.