Skip to content

Commit

Permalink
Merge 3439dc6 into 39ebc68
Browse files Browse the repository at this point in the history
  • Loading branch information
jrochkind committed Jan 24, 2018
2 parents 39ebc68 + 3439dc6 commit 40ffd5c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/hydra/derivatives/io_decorator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ class IoDecorator < SimpleDelegator
attr_accessor :mime_type, :original_filename
alias original_name original_filename
deprecation_deprecate original_name: 'original_name has been deprecated. Use original_filename instead. This will be removed in hydra-derivatives 4.0'
alias original_name= original_filename=
deprecation_deprecate :"original_name=" => 'original_name= has been deprecated. Use original_filename= instead. This will be removed in hydra-derivatives 4.0'


def initialize(file, mime_type = nil, original_filename = nil)
super(file)
Expand Down

0 comments on commit 40ffd5c

Please sign in to comment.