Râu Cao
e46f8322d4
Update CI badge
continuous-integration/drone/push Build is passing
2023-09-15 20:24:17 +02:00
raucao
5526b065d8
Merge pull request 'Update dependencies' ( #1 ) from chore/upgrade_dependencies into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: #1
2023-09-15 18:14:16 +00:00
raucao
591d661bff
Merge pull request 'Remove Travis CI config, set up Drone CI' ( #2 ) from dev/drone_ci into chore/upgrade_dependencies
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Reviewed-on: #2
2023-09-15 18:13:29 +00:00
Râu Cao
60d463c0bb
Add Drone CI config
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-09-15 20:11:26 +02:00
Râu Cao
e89b848556
Remove Travis CI config
2023-09-15 20:03:47 +02:00
Râu Cao
b57a8e8717
Update dependencies
2023-09-15 20:00:59 +02:00
basti
eed9ee4583
Merge pull request #12 from 5apps/feature/custom_exceptions
...
Improve handling of failed requests
2020-06-09 14:16:02 +02:00
basti
3d9bdb1cab
Update spec/manifique/web_client_spec.rb
...
Co-authored-by: Garret Alfert <garret@5apps.com >
2020-06-09 14:14:54 +02:00
basti
fa9f0b785e
Add CI badge to README
2020-06-09 10:59:14 +02:00
basti
4c36da46fe
Improve handling of failed requests
...
This adds a custom exception class with an error type that can be more
easily used by clients. It also explicitly handles failed connections as
such.
closes #9
2020-06-09 10:48:26 +02:00
basti
c5d5c123a6
Merge pull request #10 from 5apps/bugfix/ignore_inadequate_icon_sources
...
Ignore inadequate icon sources
2020-05-26 16:56:44 +02:00
basti
8826b1d672
Guard against empty strings
...
As suggested by @galfert
2020-05-26 16:27:55 +02:00
basti
5280a24f4b
Fix link
2020-05-26 12:37:11 +02:00
basti
5de24e9fc4
Merge pull request #11 from 5apps/chore/travis
...
Update Travis config
2020-05-26 12:35:12 +02:00
basti
33134c12f4
Update Travis config
2020-05-26 12:32:19 +02:00
basti
7c89900c70
Ignore inadequate icon sources
...
Icons with data URLs as source are throwing exceptions when trying to
parse their type via the file extension. This fix ignores all icons with
data URLs to begin with.
2020-05-26 11:30:21 +02:00
basti
ae5c02b7ed
Merge pull request #5 from 5apps/dependabot/bundler/nokogiri-1.10.8
...
Bump nokogiri from 1.10.4 to 1.10.8
2020-02-29 11:11:54 -05:00
basti
fa2ac7c5aa
Merge pull request #6 from 5apps/dependabot/bundler/rake-tw-13.0
...
Update rake requirement from ~> 10.0 to ~> 13.0
2020-02-29 11:11:38 -05:00
dependabot[bot]
f4658f9df2
Update rake requirement from ~> 10.0 to ~> 13.0
...
Updates the requirements on [rake](https://github.com/ruby/rake ) to permit the latest version.
- [Release notes](https://github.com/ruby/rake/releases )
- [Changelog](https://github.com/ruby/rake/blob/master/History.rdoc )
- [Commits](https://github.com/ruby/rake/compare/v10.5.0...v13.0.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-02-29 12:04:51 +00:00
dependabot[bot]
24792d3b15
Bump nokogiri from 1.10.4 to 1.10.8
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.10.4 to 1.10.8.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.4...v1.10.8 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-02-25 11:38:44 +00:00
basti
a014427848
Update nokogiri
...
Fixes a serious security vuln
2019-08-29 15:57:38 +02:00
basti
fbb14be466
Add todo
2019-08-29 15:51:29 +02:00
basti
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
basti
6cbcbdb54a
Remove obsolete require
2018-07-14 00:34:28 +02:00
basti
857533eb6c
Add quick examples for icon selection to README
2018-07-13 13:11:42 +02:00
basti
c98efb9171
Remove obsolete require
2018-07-13 13:05:01 +02:00
basti
d98c925a5a
Add helper method for finding icons
...
closes #3
2018-07-13 13:00:55 +02:00
basti
44bf2404f6
Refactor icon parsing, add apple touch icons
2018-07-04 09:27:03 +02:00
basti
87baa5960c
Turn implicitly unique arrays into sets
2018-07-04 09:26:05 +02:00
basti
cee7f7e174
Make client's internal methods private
2018-07-04 08:58:49 +02:00
basti
3f6f79c111
Make README useful
...
closes #2
2018-07-04 08:51:13 +02:00
basti
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
basti
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
basti
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
basti
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
basti
9042ca0b87
Parse mask icon from HTML
2018-07-02 12:48:46 -05:00
basti
7be7e45493
Parse icons from HTML
2018-07-02 12:39:27 -05:00
basti
08bdd0a18c
Extract more metadata from HTML
...
And don't overwrite existing metadata properties
2018-07-02 11:54:58 -05:00
basti
39ae311acb
Refactor metadata object and loading, parse HTML
2018-06-29 16:58:26 -07:00
basti
b05cad0f3f
Store manifest props as metadata props
2018-06-29 15:21:28 -07:00
basti
4c0d40bd34
Fetch and return metadata
2018-06-29 14:39:12 -07:00
basti
936aa38ff8
Handle missing manifest link
2018-06-29 10:39:58 -07:00
basti
26836d68d0
Remove TODO
...
Turns out link headers aren't supported (anymore) after all.
2018-06-29 10:12:22 -07:00
basti
466f0a3f59
Fix typo
2018-06-29 01:47:04 -07:00
basti
193319945a
Discover Web App Manifest in HTML
...
... and return a hash of the JSON data.
2018-06-28 21:11:52 -07:00
basti
ee49c0bfaf
Successful requests
2018-06-28 17:35:07 -07:00
basti
180dfc482e
Switch to RSpec
2018-06-28 17:23:09 -07:00
basti
d166fb110d
Change license
...
Only open-source server applications should be able to use this for
free.
2018-06-26 19:30:01 -07:00
basti
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
basti
fe2a9385d9
Colorize test output
2018-06-26 18:46:41 -07:00