rqrencoder 0.1.1 → 0.1.2
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.
- data/README.markdown +4 -2
- data/lib/rqrencoder/qr_encoder.rb +0 -1
- data/lib/rqrencoder/version.rb +1 -1
- metadata +2 -2
data/README.markdown
CHANGED
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
You'll need libqrencode installed on your machine.
|
|
8
|
+
|
|
9
|
+
Then, install with Rubygems:
|
|
8
10
|
|
|
9
11
|
gem install rqrencoder
|
|
10
12
|
|
|
@@ -25,4 +27,4 @@ Create an encoder, and encode away! The QRCode result contains a grid of bits i
|
|
|
25
27
|
|
|
26
28
|
## Author
|
|
27
29
|
|
|
28
|
-
|
|
30
|
+
Matt Robinson
|
|
@@ -32,7 +32,6 @@ module RQREncoder
|
|
|
32
32
|
|
|
33
33
|
def encode(data)
|
|
34
34
|
c_code_result = RQREncoder.QRcode_encodeString(data, @options[:version], @options[:level], @options[:mode], @options[:case_sensitive] ? 1 : 0)
|
|
35
|
-
puts c_code_result.inspect
|
|
36
35
|
QRCode.new(data, @options[:level], c_code_result.version, c_code_result.width, c_code_result.modules)
|
|
37
36
|
end
|
|
38
37
|
|
data/lib/rqrencoder/version.rb
CHANGED