m0x_qr 0.5.1

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 +7 -0
  2. data/lib/m0x_qr.rb +7 -0
  3. metadata +57 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: e9d709523c6c3f9ef851a165a2009657d8cec4224d4ee9e3cdb93478e377f78e
4
+ data.tar.gz: acd5849461543606aba828cfb1a485554b0f6c10d55a4b6410afc81898dac30d
5
+ SHA512:
6
+ metadata.gz: 39185c1b14898487a65255247b337378fdc0380bf802f9381a2ee7fb00ed31f2302ed79fb9ffec0ba61882e517e2df5d3699c9e87124bd3d70e27959959e5c7a
7
+ data.tar.gz: a33f421aeea8ed2d4047fd75b9b39b179a9ae50bba2338cfc56adf57afc85dd85bcd2a420095eef63f9e811724656b6d51c7d5a5c1f103331f82122aaa8005e0
data/lib/m0x_qr.rb ADDED
@@ -0,0 +1,7 @@
1
+ require "rqrcode"
2
+
3
+ class M0xQR
4
+ def self.generate(text)
5
+ RQRCode::QRCode.new(text).as_svg
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,57 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: m0x_qr
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.1
5
+ platform: ruby
6
+ authors:
7
+ - m0x
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-05-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rqrcode
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
27
+ description: Gem to generate QR code from text
28
+ email: m0x_digital@gmail.com
29
+ executables: []
30
+ extensions: []
31
+ extra_rdoc_files: []
32
+ files:
33
+ - lib/m0x_qr.rb
34
+ homepage: https://rubygems.org/gems/m0x_qr
35
+ licenses:
36
+ - MIT
37
+ metadata: {}
38
+ post_install_message:
39
+ rdoc_options: []
40
+ require_paths:
41
+ - lib
42
+ required_ruby_version: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ required_rubygems_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: '0'
52
+ requirements: []
53
+ rubygems_version: 3.1.2
54
+ signing_key:
55
+ specification_version: 4
56
+ summary: Easy QR code generator
57
+ test_files: []