url2png-plus 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +12 -2
- data/lib/url2png/plus/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22f2742c6fdb60121eddf50d334ab79fe4fb2d8f
|
4
|
+
data.tar.gz: 2dd852deb64530049f7fe75c99998a6ade735621
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7153e75d07a418efaaf918d24b5a07ec96d74a4f0453181c3517584059c87a9276de8625db62fccd80e90b6d7e26996eb4563ee4cd30b792bb5c5705a43516e
|
7
|
+
data.tar.gz: ad3cde2f07e82bbe16fb2f8de20c8bdebd29498c6a1bd3cbca61a9a60a8e96b7e1f6e633405755e7b1523d20beae19fb29f9851af1791abd0de3337f4517f81d
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,18 @@
|
|
1
1
|
# Url2png::Plus
|
2
2
|
|
3
|
-
|
3
|
+
Generates URL2PNG urls for Ruby projects and integrations with popular web frameworks, like Rails, Sinatra, etc.
|
4
4
|
|
5
|
-
|
5
|
+
## Why `url2png-plus` and not `url2png`?
|
6
|
+
|
7
|
+
The `url2png` gem is way more complicated than it needs to be:
|
8
|
+
|
9
|
+
1. It tries to be compatible with a bunch of different versions of the url2png HTTP APIs. The client shouldn't worry about this, at least I can't rationalize it.
|
10
|
+
|
11
|
+
2. Its insecure out of the box by using the `http` protocol. Configuring the protocol is difficult because the base URL is a "magic string" inside the gem.
|
12
|
+
|
13
|
+
3. The project has roughly 1,000 LOC. This project has 40 LOC. That doesn't mean much, but it is less stuff that can break.
|
14
|
+
|
15
|
+
This gem only attempts to integrate with the most recent version of URL2PNG, which is v6 at the time of this writing. If URL2PNG upgrades their APIs, this client will be updated to use the new API without any attempt to remain compatible with the old APIs. That burden will be put on using an older version of the gem.
|
6
16
|
|
7
17
|
## Installation
|
8
18
|
|
data/lib/url2png/plus/version.rb
CHANGED