qr4r 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +3 -0
- data/Gemfile.lock +2 -0
- data/lib/qr4r.rb +1 -1
- data/lib/qr4r/version.rb +1 -1
- metadata +2 -2
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/lib/qr4r.rb
CHANGED
@@ -14,7 +14,7 @@ module Qr4r
|
|
14
14
|
end
|
15
15
|
end
|
16
16
|
MojoMagick::convert do |c|
|
17
|
-
c.blob (data.pack
|
17
|
+
c.blob (data.pack('C'*data.length)), :format => :rgb, :depth => 8, :size => "%dx%d" % [qr.modules.size, qr.modules.size]
|
18
18
|
c.file outfile
|
19
19
|
end
|
20
20
|
end
|
data/lib/qr4r/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: qr4r
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Jon Rogers
|
@@ -70,6 +70,6 @@ rubyforge_project: qr4r
|
|
70
70
|
rubygems_version: 1.8.15
|
71
71
|
signing_key:
|
72
72
|
specification_version: 3
|
73
|
-
summary: qr4r-0.1.
|
73
|
+
summary: qr4r-0.1.2
|
74
74
|
test_files:
|
75
75
|
- test/qr4r_test.rb
|