jmcnevin-rghost_barcode 0.8.5 → 0.8.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest +11 -0
- data/README.textile +2 -0
- data/Rakefile +15 -0
- data/jmcnevin-rghost_barcode.gemspec +35 -0
- data/lib/rghost_barcode.rb +5 -0
- data/lib/rghost_barcode/ps/barcode.ps +8106 -0
- data/lib/rghost_barcode/rghost_barcode_adapter.rb +248 -0
- data/lib/rghost_barcode/rghost_barcode_base.rb +210 -0
- data/lib/rghost_barcode/rghost_barcode_classes.rb +96 -0
- data/lib/rghost_barcode/rghost_barcode_examples.rb +35 -0
- data/lib/rghost_barcode/rghost_barcode_version.rb +8 -0
- metadata +62 -21
@@ -0,0 +1,96 @@
|
|
1
|
+
class RGhost::Barcode::Auspost < RGhost::Barcode::Base
|
2
|
+
|
3
|
+
end
|
4
|
+
class RGhost::Barcode::Azteccode < RGhost::Barcode::Base
|
5
|
+
|
6
|
+
end
|
7
|
+
class RGhost::Barcode::Code11 < RGhost::Barcode::Base
|
8
|
+
|
9
|
+
end
|
10
|
+
class RGhost::Barcode::Code128 < RGhost::Barcode::Base
|
11
|
+
|
12
|
+
end
|
13
|
+
class RGhost::Barcode::Code2of5 < RGhost::Barcode::Base
|
14
|
+
|
15
|
+
end
|
16
|
+
class RGhost::Barcode::Code39 < RGhost::Barcode::Base
|
17
|
+
|
18
|
+
end
|
19
|
+
class RGhost::Barcode::Code93 < RGhost::Barcode::Base
|
20
|
+
|
21
|
+
end
|
22
|
+
class RGhost::Barcode::Datamatrix < RGhost::Barcode::Base
|
23
|
+
|
24
|
+
end
|
25
|
+
class RGhost::Barcode::Ean13 < RGhost::Barcode::Base
|
26
|
+
|
27
|
+
end
|
28
|
+
class RGhost::Barcode::Ean2 < RGhost::Barcode::Base
|
29
|
+
|
30
|
+
end
|
31
|
+
class RGhost::Barcode::Ean5 < RGhost::Barcode::Base
|
32
|
+
|
33
|
+
end
|
34
|
+
class RGhost::Barcode::Ean8 < RGhost::Barcode::Base
|
35
|
+
|
36
|
+
end
|
37
|
+
class RGhost::Barcode::Interleaved2of5 < RGhost::Barcode::Base
|
38
|
+
|
39
|
+
end
|
40
|
+
class RGhost::Barcode::Isbn < RGhost::Barcode::Base
|
41
|
+
|
42
|
+
end
|
43
|
+
class RGhost::Barcode::Kix < RGhost::Barcode::Base
|
44
|
+
|
45
|
+
end
|
46
|
+
class RGhost::Barcode::Maxicode < RGhost::Barcode::Base
|
47
|
+
|
48
|
+
end
|
49
|
+
class RGhost::Barcode::Msi < RGhost::Barcode::Base
|
50
|
+
|
51
|
+
end
|
52
|
+
class RGhost::Barcode::Onecode < RGhost::Barcode::Base
|
53
|
+
|
54
|
+
end
|
55
|
+
class RGhost::Barcode::Pdf417 < RGhost::Barcode::Base
|
56
|
+
|
57
|
+
end
|
58
|
+
class RGhost::Barcode::Pharmacode < RGhost::Barcode::Base
|
59
|
+
|
60
|
+
end
|
61
|
+
class RGhost::Barcode::Plessey < RGhost::Barcode::Base
|
62
|
+
|
63
|
+
end
|
64
|
+
class RGhost::Barcode::Postnet < RGhost::Barcode::Base
|
65
|
+
|
66
|
+
end
|
67
|
+
class RGhost::Barcode::Qrcode < RGhost::Barcode::Base
|
68
|
+
|
69
|
+
end
|
70
|
+
class RGhost::Barcode::Rationalizedcodabar < RGhost::Barcode::Base
|
71
|
+
|
72
|
+
end
|
73
|
+
class RGhost::Barcode::Raw < RGhost::Barcode::Base
|
74
|
+
|
75
|
+
end
|
76
|
+
class RGhost::Barcode::Royalmail < RGhost::Barcode::Base
|
77
|
+
|
78
|
+
end
|
79
|
+
class RGhost::Barcode::Rss14 < RGhost::Barcode::Base
|
80
|
+
|
81
|
+
end
|
82
|
+
class RGhost::Barcode::Rssexpanded < RGhost::Barcode::Base
|
83
|
+
|
84
|
+
end
|
85
|
+
class RGhost::Barcode::Rsslimited < RGhost::Barcode::Base
|
86
|
+
|
87
|
+
end
|
88
|
+
class RGhost::Barcode::Symbol < RGhost::Barcode::Base
|
89
|
+
|
90
|
+
end
|
91
|
+
class RGhost::Barcode::Upca < RGhost::Barcode::Base
|
92
|
+
|
93
|
+
end
|
94
|
+
class RGhost::Barcode::Upce < RGhost::Barcode::Base
|
95
|
+
|
96
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
@codes={
|
2
|
+
'plessey' => ['01234ABCD',{}],
|
3
|
+
'isbn' => ['978-1-56592-479',{:guard=> {:whitespace => true}}],
|
4
|
+
'rsslimited' => ['00978186074271',{:format => 1}],
|
5
|
+
'pdf417' => ['^453^178^121^239',{:columns => 2, :rows=> 10}],
|
6
|
+
'royalmail' => ['LE28HS9Z',{}],
|
7
|
+
'ean13' => ['977147396801',{:guard=> {:whitespace => true}}],
|
8
|
+
'code11' => ['0123456789',{}],
|
9
|
+
'symbol' => ['fima',{}],
|
10
|
+
'qrcode' => ['000100000010000000001100010101100110000110000',{}],
|
11
|
+
'msi' => ['0123456789',{}],
|
12
|
+
'upca' => ['78858101497',{}],
|
13
|
+
'pharmacode' => ['117480',{}],
|
14
|
+
'kix' => ['1231FZ13XHS',{}],
|
15
|
+
'datamatrix' => ['^142^164^186',{}],
|
16
|
+
'rssexpanded' => ['000000010011001010100001000000010000',{}],
|
17
|
+
'ean2' => ['05',{}],
|
18
|
+
'rationalizedcodabar' => ['A0123456789B',{}],
|
19
|
+
'upce' => ['0123456',{}],
|
20
|
+
'ean5' => ['90200',{}],
|
21
|
+
'code2of5' => ['01234567',{}],
|
22
|
+
'code93' => ['THIS IS CODE 93',{}],
|
23
|
+
'postnet' => ['012345',{}],
|
24
|
+
'maxicode' => ['^059^042^041^059^040^03001^02996152382802^029840^029001^0291Z00004951^029UPSN^02906X610^029159^0291234567^0291^0471^029^029Y^029634 ALPHA DR^029PITTSBURGH^029PA^030^062^004^063', {:mode=> 2}],
|
25
|
+
'raw' => ['331132131313411122131311333213114131131221323',{}],
|
26
|
+
'onecode' => ['0123456709498765432101234567891',{}],
|
27
|
+
'code39' => ['THIS IS CODE 39',{}],
|
28
|
+
'auspost' => ['5956439111ABA 9',{}],
|
29
|
+
'azteccode' => ['00100111001000000101001101111000010100111100101000000110',{:fofrmat=> :compact}],
|
30
|
+
'ean8' => ['01335583',{}],
|
31
|
+
'interleaved2of5' => ['24012345678905',{}],
|
32
|
+
'code128' => ['^104^102Count^0990123456789^101!',{}],
|
33
|
+
'rss14' => ['24012345678905',{}]
|
34
|
+
|
35
|
+
}
|
metadata
CHANGED
@@ -1,29 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jmcnevin-rghost_barcode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 47
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 8
|
9
|
+
- 8
|
10
|
+
version: 0.8.8
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
|
-
- Shairon Toledo
|
8
|
-
- Jeremy McNevin
|
13
|
+
- Shairon Toledo, Jeremy McNevin
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
17
|
|
13
|
-
date: 2010-
|
18
|
+
date: 2010-08-19 00:00:00 -07:00
|
14
19
|
default_executable:
|
15
20
|
dependencies:
|
16
21
|
- !ruby/object:Gem::Dependency
|
17
22
|
name: rghost
|
18
|
-
|
19
|
-
|
20
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
21
26
|
requirements:
|
22
27
|
- - ">="
|
23
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
24
32
|
version: "0"
|
25
|
-
|
26
|
-
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
35
|
+
description: |
|
36
|
+
RGhost Barcode is adapter from Barcode Writer. The Barcode Writer in Pure
|
37
|
+
Postscript is an award-winning open source barcode maker, as used by NASA.
|
38
|
+
|
27
39
|
email:
|
28
40
|
- shairon.toledo@gmail.com
|
29
41
|
- jeremy@spokoino.net
|
@@ -31,35 +43,64 @@ executables: []
|
|
31
43
|
|
32
44
|
extensions: []
|
33
45
|
|
34
|
-
extra_rdoc_files:
|
35
|
-
|
36
|
-
|
37
|
-
|
46
|
+
extra_rdoc_files:
|
47
|
+
- README.textile
|
48
|
+
- lib/rghost_barcode.rb
|
49
|
+
- lib/rghost_barcode/ps/barcode.ps
|
50
|
+
- lib/rghost_barcode/rghost_barcode_adapter.rb
|
51
|
+
- lib/rghost_barcode/rghost_barcode_base.rb
|
52
|
+
- lib/rghost_barcode/rghost_barcode_classes.rb
|
53
|
+
- lib/rghost_barcode/rghost_barcode_examples.rb
|
54
|
+
- lib/rghost_barcode/rghost_barcode_version.rb
|
55
|
+
files:
|
56
|
+
- Manifest
|
57
|
+
- README.textile
|
58
|
+
- Rakefile
|
59
|
+
- jmcnevin-rghost_barcode.gemspec
|
60
|
+
- lib/rghost_barcode.rb
|
61
|
+
- lib/rghost_barcode/ps/barcode.ps
|
62
|
+
- lib/rghost_barcode/rghost_barcode_adapter.rb
|
63
|
+
- lib/rghost_barcode/rghost_barcode_base.rb
|
64
|
+
- lib/rghost_barcode/rghost_barcode_classes.rb
|
65
|
+
- lib/rghost_barcode/rghost_barcode_examples.rb
|
66
|
+
- lib/rghost_barcode/rghost_barcode_version.rb
|
38
67
|
has_rdoc: true
|
39
68
|
homepage: http://github.com/jmcnevin/rghost-barcode
|
40
69
|
licenses: []
|
41
70
|
|
42
71
|
post_install_message:
|
43
|
-
rdoc_options:
|
44
|
-
|
72
|
+
rdoc_options:
|
73
|
+
- --line-numbers
|
74
|
+
- --inline-source
|
75
|
+
- --title
|
76
|
+
- Jmcnevin-rghost_barcode
|
77
|
+
- --main
|
78
|
+
- README.textile
|
45
79
|
require_paths:
|
46
|
-
-
|
80
|
+
- lib
|
47
81
|
required_ruby_version: !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
48
83
|
requirements:
|
49
84
|
- - ">="
|
50
85
|
- !ruby/object:Gem::Version
|
86
|
+
hash: 3
|
87
|
+
segments:
|
88
|
+
- 0
|
51
89
|
version: "0"
|
52
|
-
version:
|
53
90
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
|
+
none: false
|
54
92
|
requirements:
|
55
93
|
- - ">="
|
56
94
|
- !ruby/object:Gem::Version
|
57
|
-
|
58
|
-
|
95
|
+
hash: 11
|
96
|
+
segments:
|
97
|
+
- 1
|
98
|
+
- 2
|
99
|
+
version: "1.2"
|
59
100
|
requirements: []
|
60
101
|
|
61
|
-
rubyforge_project:
|
62
|
-
rubygems_version: 1.3.
|
102
|
+
rubyforge_project: jmcnevin-rghost_barcode
|
103
|
+
rubygems_version: 1.3.7
|
63
104
|
signing_key:
|
64
105
|
specification_version: 3
|
65
106
|
summary: RGhost Barcode is adapter from Barcode Writer. The Barcode Writer in Pure Postscript is an award-winning open source barcode maker, as used by NASA.
|