pjl 1.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/example/ifcanon +1 -1
- data/example/iffile +2 -1
- data/example/ifkyocera +1 -1
- data/lib/pjl.rb +6 -0
- data/lib/pjl/version.rb +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 64da9b59d4edfc301648f7da605cc066b0240dc8472737738924e0e1e514eb75
|
4
|
+
data.tar.gz: 7c2e844b585114aabfb5e4145b29c8e2d3660f0eff54bbae805b4fdd44c99e09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 489963311a279752cb12df2478123a46fda84337b0c5f123e475fac985ed47b8bd142240cb0e4e3a450aff572d1ab5decff9a6fd5e84000ce94dbcb6af73604c
|
7
|
+
data.tar.gz: 16a1023f936fb4bac4895e534667fae6c39e96f6503daa887d3fe31638dcfde76f15016bb17ebee9113bc93264e3bb8cc05a7d02f4094f0cfc75f4cc1ab99816
|
data/example/ifcanon
CHANGED
data/example/iffile
CHANGED
@@ -19,13 +19,14 @@ class FileAppl < PjlAppl
|
|
19
19
|
def run
|
20
20
|
File.open output_path, "w" do |f|
|
21
21
|
f.puts $stdin.read
|
22
|
+
f.chmod 0666
|
22
23
|
end
|
23
24
|
end
|
24
25
|
|
25
26
|
private
|
26
27
|
|
27
28
|
def output_path
|
28
|
-
File.directory? OUTDIR or Dir.mkdir! OUTDIR
|
29
|
+
File.directory? OUTDIR or Dir.mkdir! OUTDIR, 0777
|
29
30
|
timestamp = Time.now.strftime "%Y%m%d-%H%M%S"
|
30
31
|
File.join OUTDIR, "lpd-job-#@login@#@host-#{timestamp}-#$$"
|
31
32
|
end
|
data/example/ifkyocera
CHANGED
data/lib/pjl.rb
CHANGED
data/lib/pjl/version.rb
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
module PJL
|
6
6
|
|
7
7
|
NAME = "pjl"
|
8
|
-
VERSION = "1.
|
8
|
+
VERSION = "1.2.2".freeze
|
9
9
|
|
10
10
|
SUMMARY = "PJL generation"
|
11
11
|
|
@@ -13,7 +13,7 @@ module PJL
|
|
13
13
|
Write PJL (Printer Job Language) commands from a Ruby program.
|
14
14
|
EOT
|
15
15
|
|
16
|
-
COPYRIGHT = "(C) 2013-
|
16
|
+
COPYRIGHT = "(C) 2013-2018 Bertram Scharpf"
|
17
17
|
LICENSE = "BSD-2-Clause"
|
18
18
|
AUTHOR = "Bertram Scharpf <software@bertram-scharpf.de>"
|
19
19
|
TEAM = [ "Bertram Scharpf"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pjl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bertram Scharpf
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: appl
|
@@ -24,8 +24,9 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.0'
|
27
|
-
description:
|
28
|
-
|
27
|
+
description: 'Write PJL (Printer Job Language) commands from a Ruby program.
|
28
|
+
|
29
|
+
'
|
29
30
|
email: Bertram Scharpf <software@bertram-scharpf.de>
|
30
31
|
executables: []
|
31
32
|
extensions: []
|
@@ -68,8 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
69
|
version: '0'
|
69
70
|
requirements:
|
70
71
|
- Some other tools from the same author
|
71
|
-
|
72
|
-
rubygems_version: 2.6.4
|
72
|
+
rubygems_version: 3.0.6
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: PJL generation
|