strokes 0.1 → 0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -1
- metadata +7 -6
data/README.md
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
A ruby wrapper of the awsome [postscriptbarcode](http://code.google.com/p/postscriptbarcode/) library.
|
4
4
|
|
5
|
+
Note: currently only PNG images are supported.
|
6
|
+
|
5
7
|
## External Dependencies
|
6
8
|
|
7
9
|
- You need to have [ghostscript](http://www.ghostscript.com/) installed and the `gs` command in your PATH.
|
@@ -29,7 +31,7 @@ gem install strokes
|
|
29
31
|
```ruby
|
30
32
|
require 'strokes'
|
31
33
|
|
32
|
-
code = Strokes::Barcode.new(:qrcode, 'http://
|
34
|
+
code = Strokes::Barcode.new(:qrcode, 'http://github.com/larskuhnt/strokes')
|
33
35
|
code.save('/tmp/test.png')
|
34
36
|
|
35
37
|
# if you want to resize the image to a width of 200 pixels
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strokes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.9'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-11-07 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: subexec
|
16
|
-
requirement: &
|
16
|
+
requirement: &70314218516900 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70314218516900
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rspec
|
27
|
-
requirement: &
|
27
|
+
requirement: &70314218516380 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,8 +32,9 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
36
|
-
description: Generates PNG images of barcodes
|
35
|
+
version_requirements: *70314218516380
|
36
|
+
description: Generates PNG images of barcodes. Currently supports EAN8, EAN13, QR-Code,
|
37
|
+
ISBN, CODE39, CODE128, UPCA, UPCE
|
37
38
|
email:
|
38
39
|
- lars.kuhnt@gmail.com
|
39
40
|
executables: []
|