Skip to content

Commit

Permalink
Fix coding style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
aldesantis committed Mar 10, 2018
1 parent 902dafa commit 7080175
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hertz_email.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

$LOAD_PATH.push File.expand_path('../lib', __FILE__)
$LOAD_PATH.push File.expand_path('lib', __dir__)

# Maintain your gem's version:
require 'hertz/email/version'
Expand Down
2 changes: 1 addition & 1 deletion lib/generators/hertz/email/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module Hertz
module Email
class InstallGenerator < Rails::Generators::Base
source_root File.expand_path('../templates', __FILE__)
source_root File.expand_path('templates', __dir__)

def copy_initializer_file
copy_file 'initializer.rb', 'config/initializers/hertz_email.rb'
Expand Down

0 comments on commit 7080175

Please sign in to comment.