-
Notifications
You must be signed in to change notification settings - Fork 167
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
Include css and js from plugins if they are there (without updated gems) #89
Conversation
2 similar comments
Hmm. Looks like it needs the gems updated for 2.2 |
@mattgibson Thank you for doing this. 💛 I see, perhaps you could make a PR to fix the Gems to pass on 2.2? |
@mattgibson now that we merged your other PR for the Gems, could you rebase this PR? |
Not sure what the coveralls failure is about really, but this looks good. |
@mattgibson Hi. Great job! 👏 Thinking about loading plugin's assets - not all plugins has its own assets. With I think we need to think about this problem together. Could you give the link to the plugin, for which try to load assets, please? |
@kirillplatonov Yes, this occurred to me too. I will see if I can add a file_exists check of some sort. |
@mattgibson Probably |
Looks fine now 👍 |
Thanks. There's no tests for this, but I'm not sure of the best way of testing, or even if it's desirable. The plugins are in separate gems, so would it need a dummy gem of some sort? |
@mattgibson @kirillplatonov In the future, perhaps a test plugin (it doesn't have to actually do anything) could be added to the existing tests/test dummy app. |
Include css and js from plugins if they are there (without updated gems)
This is a cleaner version of #85, but without the updated gems.