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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/image-charts.rb +5 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3445025476aed70b01d969cf2a6801070533aba3deac5f834acd550d117b8b4d
4
- data.tar.gz: 44efc69a2ad213849586e7a084f74ed21a34160619fc9d41495150174e6d7ff4
3
+ metadata.gz: b4c1c3b2f15822bac3f962ddddddf24b03a5f9b233f574e325e7053bdd39d6ba
4
+ data.tar.gz: 64d30bfe57fe815b5daa322f6f8b6a7393935e1bbae77651889ad973f3a6aeef
5
5
  SHA512:
6
- metadata.gz: 9fd2c1474270c356a3e3838795c2c87734600dbf72e88822b740b8a85c54c11ec575daf04a9030d4e450b052a2d5c0d39c858962f8545fc10e679b3370b62f9c
7
- data.tar.gz: ffd2b41bad36b40025811a6ab1954aa071c3143475f6f2930c4f3ec97ecf2f0bccab3f16e5b937c1405e6470e1f6bd96356dd9ae3110e6f56b5c5c7ece3f14e4
6
+ metadata.gz: 7413b57d95b2700cb95939bae024eefd29011d08ac002e18bbbfe81a3a911b35ff1797584a62768541d0362c98e6190a6625c40307556fb8a9bcc3957d979dbe
7
+ data.tar.gz: db97b7f465b9f879403aace3ef173f153ac9aa0e3131f706cdbd795d82f716193c876e098295fa32360f86ddb73decaa63e1e9a2e41034d425b85d4fe45e0b1b
@@ -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
- # Output fake format
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.1.0
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-25 00:00:00.000000000 Z
11
+ date: 2020-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest