78 Commits

Author SHA1 Message Date
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
3f6f79c111 Make README useful
closes #2
2018-07-04 08:51:13 +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
6bfbc0809b Remove obsolete nitlink dep
Turns out we don't need to parse link headers after all.
2018-07-04 08:20:05 +02:00
909ff31b12 Downgrade faraday, because Ruby gems
We have unsolvable bundle conflicts in our Rails app with manifique,
because some high-profile gems still depends on old-af faraday versions
and explicitly forbid newer ones.
2018-07-04 08:16:49 +02:00
25d038a0de Swap actual license document
Switched to AGPL after creating the gem, but forgot to change the
LICENSE file.
2018-07-03 13:08:39 +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
466f0a3f59 Fix typo 2018-06-29 01:47:04 -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
d166fb110d Change license
Only open-source server applications should be able to use this for
free.
2018-06-26 19:30:01 -07:00
3ccf26a578 Add guard
Broken for me currently. Somehow guard adds a --guard option flag to its
minitest command, but minitest won't have it.
2018-06-26 19:25:52 -07:00
fe2a9385d9 Colorize test output 2018-06-26 18:46:41 -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