forked from larsch/ocra
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor find_gem_files to include spec objects in its return value
- Enhanced the return value of find_gem_files method by adding a collection of spec objects. This modification eliminates the dependency on the @gemspecs instance variable, which has now been removed and replaced with a regular variable. - Removed the logic for extracting spec objects from find_gem_files method as it became unnecessary. This logic was primarily used to fetch spec objects for gems not indexed by Gem.loaded_specs and to avoid paths that Bundler's specs do not recognize. The responsibility for this logic has now been centralized in the build_exe method.
- Loading branch information
Showing
1 changed file
with
21 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters