m0x_qr 0.5.2 → 0.5.4

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/lib/m0x_qr.rb +1 -1
  3. metadata +15 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 88202f3396162fd18055062db6b89f92fb12cda210fb2bc4bba0504fe4e296fc
4
- data.tar.gz: a4bd19deb349596879833e0639af4bda7f33218042908313c56de20ee0b5b454
3
+ metadata.gz: 83ed14d8f56bd7e6f4dcd984c706941c46a92ece40d9bdcc2e96a9ccfa1ed858
4
+ data.tar.gz: a4f8b64b61d0ec43cbc51defbb963ec8b99226d3f1a428dc88f5b0fdc6c29669
5
5
  SHA512:
6
- metadata.gz: fbdf624230cb98f7644c9a8e72c7e83426896f3ea56884536d42eca99062937794466fcafcd3cc3a638b9b6a40b0118b347b02c45b30ba8dedeec42d547427dd
7
- data.tar.gz: a79e737f1ec87a15d8324c4bbab827a5ddc9889a952dd0e6c7f73e6a1e9070aa52b9a6ee7afa23e7aebf61f2ba24d78e732a9e4f8e71c2a8dd8fc8b7c1d091b7
6
+ metadata.gz: dd1d5a9289e8dcab57d13b6ed799d4b26b3c67fae2ffb430df2813e7a944477a28a6401a753820d958af0ea8beceebb4021414e2456466679a67b3cf298b038e
7
+ data.tar.gz: a5af3c3c44ddf4fdc4e483c5f0a3ec84baec459a7b9c837c369947f8f73ad5c53060b1089d809c69465e49b0106a212731bb78b58a1ac008723e9dd329b6c864
data/lib/m0x_qr.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require "rqrcode"
2
2
  require "m0x_qr/engine"
3
3
 
4
- class M0xQR
4
+ module M0xQR
5
5
  def self.generate(text)
6
6
  RQRCode::QRCode.new(text).as_svg
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: m0x_qr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - m0x
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  description: Gem to generate QR code from text
28
42
  email: m0x_digital@gmail.com
29
43
  executables: []