escper 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -78,8 +78,8 @@ Now, open all device nodes as specified in `new`:
78
78
  Once all device nodes are openend for writing, you can print text. Text must be UTF-8 encoded. The fist parameter is the `id` of the printer object that should be printed to. The second parameter, the text, will be printed immediately:
79
79
 
80
80
  print_engine.print 1, 'print text to printer 1'
81
- print_engine.print 2, 'print text to printer 1'
82
- print_engine.print 3, 'print text to printer 1'
81
+ print_engine.print 2, 'print text to printer 2'
82
+ print_engine.print 3, 'print text to printer 3'
83
83
 
84
84
  The `print` method will return an array which contains the number of bytes actually written to the device node, as well as the raw text that was written to the device node.
85
85
 
@@ -166,15 +166,21 @@ Licence
166
166
 
167
167
  Copyright (C) 2011-2013 Red (E) Tools Ltd. <office@red-e.eu>
168
168
 
169
- This program is free software: you can redistribute it and/or modify
170
- it under the terms of the GNU Affero General Public License as
171
- published by the Free Software Foundation, either version 3 of the
172
- License, or (at your option) any later version.
173
-
174
- This program is distributed in the hope that it will be useful,
175
- but WITHOUT ANY WARRANTY; without even the implied warranty of
176
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
177
- GNU Affero General Public License for more details.
178
-
179
- You should have received a copy of the GNU Affero General Public License
180
- along with this program. If not, see <http://www.gnu.org/licenses/>.
169
+ Permission is hereby granted, free of charge, to any person obtaining
170
+ a copy of this software and associated documentation files (the
171
+ "Software"), to deal in the Software without restriction, including
172
+ without limitation the rights to use, copy, modify, merge, publish,
173
+ distribute, sublicense, and/or sell copies of the Software, and to
174
+ permit persons to whom the Software is furnished to do so, subject to
175
+ the following conditions:
176
+
177
+ The above copyright notice and this permission notice shall be included
178
+ in all copies or substantial portions of the Software.
179
+
180
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
181
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
182
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
183
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
184
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
185
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
186
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.email = ["office@red-e.eu"]
11
11
  s.homepage = "http://red-e.eu"
12
12
  s.summary = %q{Collection of essential tools that make printing of plain text and images to one or many serial thermal printers easy.}
13
- s.description = %q{Both USB and serial (RS232) printers are supported and detected automatically. Escper is useful for Ruby based Point of Sale systems that want to print receipts or tickets.}
13
+ s.description = %q{Collection of essential tools that make printing of plain text and images to one or many serial thermal printers easy. Both USB and serial (RS232) printers are supported and detected automatically. Escper is useful for Ruby based Point of Sale systems that want to print receipts or tickets.}
14
14
 
15
15
  #s.rubyforge_project = "escper"
16
16
 
@@ -1,3 +1,3 @@
1
1
  module Escper
2
- VERSION = "1.1.5"
2
+ VERSION = "1.1.6"
3
3
  end
@@ -0,0 +1,94 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: escper
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.6
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Red (E) Tools Ltd.
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-03-07 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rmagick
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: serialport
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ description: Collection of essential tools that make printing of plain text and images
47
+ to one or many serial thermal printers easy. Both USB and serial (RS232) printers
48
+ are supported and detected automatically. Escper is useful for Ruby based Point
49
+ of Sale systems that want to print receipts or tickets.
50
+ email:
51
+ - office@red-e.eu
52
+ executables: []
53
+ extensions: []
54
+ extra_rdoc_files: []
55
+ files:
56
+ - .gitignore
57
+ - Gemfile
58
+ - README.md
59
+ - Rakefile
60
+ - escper.gemspec
61
+ - lib/escper.rb
62
+ - lib/escper/asciifier.rb
63
+ - lib/escper/codepages.yml
64
+ - lib/escper/image.rb
65
+ - lib/escper/log.rb
66
+ - lib/escper/printer.rb
67
+ - lib/escper/vendor_printer.rb
68
+ - lib/escper/version.rb
69
+ homepage: http://red-e.eu
70
+ licenses: []
71
+ post_install_message:
72
+ rdoc_options: []
73
+ require_paths:
74
+ - lib
75
+ required_ruby_version: !ruby/object:Gem::Requirement
76
+ none: false
77
+ requirements:
78
+ - - ! '>='
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ required_rubygems_version: !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ! '>='
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
87
+ requirements: []
88
+ rubyforge_project:
89
+ rubygems_version: 1.8.23
90
+ signing_key:
91
+ specification_version: 3
92
+ summary: Collection of essential tools that make printing of plain text and images
93
+ to one or many serial thermal printers easy.
94
+ test_files: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: escper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-04 00:00:00.000000000 Z
12
+ date: 2013-03-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rmagick
@@ -43,9 +43,10 @@ dependencies:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
45
  version: '0'
46
- description: Both USB and serial (RS232) printers are supported and detected automatically.
47
- Escper is useful for Ruby based Point of Sale systems that want to print receipts
48
- or tickets.
46
+ description: Collection of essential tools that make printing of plain text and images
47
+ to one or many serial thermal printers easy. Both USB and serial (RS232) printers
48
+ are supported and detected automatically. Escper is useful for Ruby based Point
49
+ of Sale systems that want to print receipts or tickets.
49
50
  email:
50
51
  - office@red-e.eu
51
52
  executables: []
@@ -57,7 +58,6 @@ files:
57
58
  - README.md
58
59
  - Rakefile
59
60
  - escper.gemspec
60
- - examples/test.png
61
61
  - lib/escper.rb
62
62
  - lib/escper/asciifier.rb
63
63
  - lib/escper/codepages.yml
@@ -66,6 +66,7 @@ files:
66
66
  - lib/escper/printer.rb
67
67
  - lib/escper/vendor_printer.rb
68
68
  - lib/escper/version.rb
69
+ - metadata.yml
69
70
  homepage: http://red-e.eu
70
71
  licenses: []
71
72
  post_install_message:
Binary file