image-charts 5.0.1 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/image-charts.rb +22 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 65e5986726ffab66117e28d02fcbea41b7f09c57a261e3865efd4783ffa8e1c3
4
- data.tar.gz: aea1e22c02eda5c92a05aaf3264c11c707ae928caa38a8807b29e3d5d3abaf07
3
+ metadata.gz: 3445025476aed70b01d969cf2a6801070533aba3deac5f834acd550d117b8b4d
4
+ data.tar.gz: 44efc69a2ad213849586e7a084f74ed21a34160619fc9d41495150174e6d7ff4
5
5
  SHA512:
6
- metadata.gz: 5ccabdcba36a47496a8e07815e689f67d4d28a922261858d09f361740e3e8cced250ecd6ec3b170af8763674e09271c7a255f2ee054bf23d2c62b4dfe261bffd
7
- data.tar.gz: f51abe91859f621cdd35e4e7582ecc1abf893dcc985412cffa7ed0b60a02a1b854954e64f53d3a69e0fd15c241ccc721a8f61d86d9eacbb2ce068391c17c2fab
6
+ metadata.gz: 9fd2c1474270c356a3e3838795c2c87734600dbf72e88822b740b8a85c54c11ec575daf04a9030d4e450b052a2d5c0d39c858962f8545fc10e679b3370b62f9c
7
+ data.tar.gz: ffd2b41bad36b40025811a6ab1954aa071c3143475f6f2930c4f3ec97ecf2f0bccab3f16e5b937c1405e6470e1f6bd96356dd9ae3110e6f56b5c5c7ece3f14e4
@@ -480,6 +480,28 @@ class ImageCharts
480
480
  _clone 'icretina', value
481
481
  end
482
482
 
483
+ # Background color for QR Codes
484
+ #
485
+ # [Reference documentation]{@link https://documentation.image-charts.com/qr-codes/#background-color}
486
+ # # @example
487
+ # chart = ImageCharts().icqrb('FFFFFF')
488
+ # @default 'FFFFFF'
489
+ # Background color for QR Codes
490
+ def icqrb(value)
491
+ _clone 'icqrb', value
492
+ end
493
+
494
+ # Foreground color for QR Codes
495
+ #
496
+ # [Reference documentation]{@link https://documentation.image-charts.com/qr-codes/#foreground-color}
497
+ # # @example
498
+ # chart = ImageCharts().icqrf('000000')
499
+ # @default '000000'
500
+ # Foreground color for QR Codes
501
+ def icqrf(value)
502
+ _clone 'icqrf', value
503
+ end
504
+
483
505
 
484
506
  private
485
507
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: image-charts
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.1
4
+ version: 5.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francois-Guillaume Ribreau