24 Commits

Author SHA1 Message Date
e503ada44e Load additional icons from HTML
When a Web App Manifest is found and loaded, we still want to check HTML
for some additional icons that are usually not added to manifests.
2018-07-27 17:20:27 +02:00
6cbcbdb54a Remove obsolete require 2018-07-14 00:34:28 +02:00
c98efb9171 Remove obsolete require 2018-07-13 13:05:01 +02:00
d98c925a5a Add helper method for finding icons
closes #3
2018-07-13 13:00:55 +02:00
44bf2404f6 Refactor icon parsing, add apple touch icons 2018-07-04 09:27:03 +02:00
87baa5960c Turn implicitly unique arrays into sets 2018-07-04 09:26:05 +02:00
cee7f7e174 Make client's internal methods private 2018-07-04 08:58:49 +02:00
14b1f5befe Don't fail silently when parsing manifest JSON
Also, explicitly require json stdlib, so it's definitely loaded in all
environments.
2018-07-04 08:49:58 +02:00
9042ca0b87 Parse mask icon from HTML 2018-07-02 12:48:46 -05:00
7be7e45493 Parse icons from HTML 2018-07-02 12:39:27 -05:00
08bdd0a18c Extract more metadata from HTML
And don't overwrite existing metadata properties
2018-07-02 11:54:58 -05:00
39ae311acb Refactor metadata object and loading, parse HTML 2018-06-29 16:58:26 -07:00
b05cad0f3f Store manifest props as metadata props 2018-06-29 15:21:28 -07:00
4c0d40bd34 Fetch and return metadata 2018-06-29 14:39:12 -07:00
936aa38ff8 Handle missing manifest link 2018-06-29 10:39:58 -07:00
26836d68d0 Remove TODO
Turns out link headers aren't supported (anymore) after all.
2018-06-29 10:12:22 -07:00
193319945a Discover Web App Manifest in HTML
... and return a hash of the JSON data.
2018-06-28 21:11:52 -07:00
ee49c0bfaf Successful requests 2018-06-28 17:35:07 -07:00
180dfc482e Switch to RSpec 2018-06-28 17:23:09 -07:00
bd6f74f09f Handle failed requests 2018-06-26 18:29:30 -07:00
adbee52e52 Fetch given URL 2018-06-26 17:50:44 -07:00
ac3efc7c15 Validate URLs 2018-06-26 17:40:26 -07:00
1b142006fa WIP first steps 2018-06-26 17:13:55 -07:00
a8c84035b4 Hello world 2018-06-26 13:03:33 -07:00