image-charts 5.1.0 → 5.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/image-charts.rb +5 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4c1c3b2f15822bac3f962ddddddf24b03a5f9b233f574e325e7053bdd39d6ba
|
4
|
+
data.tar.gz: 64d30bfe57fe815b5daa322f6f8b6a7393935e1bbae77651889ad973f3a6aeef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7413b57d95b2700cb95939bae024eefd29011d08ac002e18bbbfe81a3a911b35ff1797584a62768541d0362c98e6190a6625c40307556fb8a9bcc3957d979dbe
|
7
|
+
data.tar.gz: db97b7f465b9f879403aace3ef173f153ac9aa0e3131f706cdbd795d82f716193c876e098295fa32360f86ddb73decaa63e1e9a2e41034d425b85d4fe45e0b1b
|
data/image-charts.rb
CHANGED
@@ -175,13 +175,16 @@ class ImageCharts
|
|
175
175
|
_clone 'chxr', value
|
176
176
|
end
|
177
177
|
|
178
|
-
# Some clients like Flowdock/Facebook messenger and so on, needs an URL to ends with a valid image extension file to display the image, use this parameter at the end your URL to support them. Valid values are ".png" and ".gif"
|
178
|
+
# Some clients like Flowdock/Facebook messenger and so on, needs an URL to ends with a valid image extension file to display the image, use this parameter at the end your URL to support them. Valid values are ".png", ".svg" and ".gif".
|
179
|
+
# Only QRCodes and GraphViz support svg output.
|
179
180
|
#
|
180
181
|
# [Reference documentation]{@link https://documentation.image-charts.com/reference/output-format/}
|
181
182
|
# # @example
|
182
183
|
# chart = ImageCharts().chof('.png')
|
184
|
+
# chart = ImageCharts().chof('.svg')
|
185
|
+
# chart = ImageCharts().chof('.gif')
|
183
186
|
# @default '.png'
|
184
|
-
#
|
187
|
+
# Image output format
|
185
188
|
def chof(value)
|
186
189
|
_clone 'chof', value
|
187
190
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: image-charts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francois-Guillaume Ribreau
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|