Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactoring get_local_files method #366

Merged

Conversation

d-tasaki
Copy link
Contributor

Just refactoring get_local_files method.

The divided method named get_asset_files_from_manifest enables to get locale files listed in a manifest file when the manifest exists.

@d-tasaki
Copy link
Contributor Author

I want to use the new method from other gem like asset_sync_download mentiond #364.

@d-tasaki d-tasaki mentioned this pull request Dec 15, 2017
@@ -58,7 +58,7 @@ def files_to_invalidate
self.config.invalidate.map { |filename| File.join("/", self.config.assets_prefix, filename) }
end

def get_local_files
def get_asset_files_from_manifest
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a code comment indicating this is a public API for other gem(s)

Copy link
Contributor Author

@d-tasaki d-tasaki Dec 18, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks your comment. I did it!

@PikachuEXE PikachuEXE merged commit 0fdd0e1 into AssetSync:master Dec 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants