Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
val99erie committed Apr 11, 2017
1 parent a37b34d commit a2badd6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ Style/PredicateName:
Style/RaiseArgs:
Enabled: false

Style/HashSyntax:
Exclude:
- spec/processors/active_encode_spec.rb

RSpec/ExampleWording:
CustomTransform:
be: is
Expand Down
2 changes: 1 addition & 1 deletion lib/hydra/derivatives/services/uri_source_file_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class UriSourceFileService
# @param [Hash] options
# @option options [Symbol] :source a method that can be called on the object to retrieve the source file
# @yield [Tempfile] a temporary source file that has a lifetime of the block
def self.call(object, options, &block)
def self.call(object, options, &_block)
source_name = options.fetch(:source)
yield(object.send(source_name).uri.to_s)
end
Expand Down

0 comments on commit a2badd6

Please sign in to comment.