-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEV: General refactoring and cleanup (#474)
Included: * DEV: Remove some defunct sites * DEV: Refactor GoogleDocsOnebox * DEV: Refactor PastebinOnebox * DEV: Refactor GfycatOnebox * DEV: Refactor PdfOnebox * DEV: Refactor PubmedOnebox * DEV: Refactor AmazonOnebox * DEV: Minor InstagramOnebox clean up * DEV: Small tweaks to TrelloOnebox Other stuff: * DEV: Don't use `link` and `url` interchangeably * DEV: Roll `Layout#link` into `Layout#uri` * DEV: Properly memoize `Layout#uri` * DEV: Re-use `Layout#uri` * DEV: Rename `get_secure_image` to `secure_image_url` * DEV: Normalize `matches_regexp` calls * DEV: Use path-specific encoding rules * DEV: `Layout#checksum` is no longer used * DEV: Remove double `protected` * DEV: Refactor `Matcher` * DEV: Use the existing `Engine#uri` method * DEV: The first `Engine#initialize` arg is `url` * DEV: Use `match?` * DEV: Simplify allowlistedgeneric template * DEV: Initialize `@options` in json spec * DEV: Simplify conditionals * DEV: Merge attr_readers * DEV: Whitespace, `after()` before tests
- Loading branch information
Showing
33 changed files
with
369 additions
and
248 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
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
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
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
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
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
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
Oops, something went wrong.