Skip to content

Commit

Permalink
Rename BuildHelper#copy_to_gem_home to copy_to_gem
Browse files Browse the repository at this point in the history
- Rename the method copy_to_gem_home to copy_to_gem to simplify the name and better reflect its functionality.
  • Loading branch information
shinokaro committed Jul 15, 2024
1 parent 2ec692f commit 506d690
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ocran/build_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def copy_to_bin(source, target)
cp(source, BINDIR / target)
end

def copy_to_gem_home(source, target)
def copy_to_gem(source, target)
cp(source, GEMDIR / target)
end

Expand All @@ -22,7 +22,7 @@ def duplicate_to_exec_prefix(source)
end

def duplicate_to_gem_home(source, gem_path)
copy_to_gem_home(source, Pathname(source).relative_path_from(gem_path))
copy_to_gem(source, Pathname(source).relative_path_from(gem_path))
end

# Sets an environment variable with a joined path value.
Expand Down

0 comments on commit 506d690

Please sign in to comment.