oxen_printer 0.2.4 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af10bffade0c2c12015998e460da43e913a96140
4
- data.tar.gz: 99291281d66478529863b7e353a42583645c3b7b
3
+ metadata.gz: b5289d8bcfdf6ca46e800d404ad8f40e047359c0
4
+ data.tar.gz: 091633409c2c7824c053d8122882d917a4375925
5
5
  SHA512:
6
- metadata.gz: 8550accb8d611cd6881e5936e35841a539725bc441bd7eb10f73dfb49ba87c0e3fe1d996374a0dad9e4d3df3abf9ec9ae24991e92e14d2155091c63936ce3784
7
- data.tar.gz: fd2928a32518df2ea70f754c78936551ccec186c2f0d51a674095982ed7384f3832cec93d2d65a63cba15dc868f341fd5df7b8fd66be05650a953505e97c2d02
6
+ metadata.gz: 243e30a2becc37e38bfe181ff9ab873d7c559984f32424c43c2e5c91701d671dea4def0b448040c12d331ec293cf129804d5e57f5013aa08e7e7206d8bb073ad
7
+ data.tar.gz: d1a76218f76787c4f03bbe387fad9f238499810cf526192185744f52ba0e269a97a88891a82332a14aba2940f773b7ec8937467dab537ef1c98e9da1cd9639b1
@@ -18,7 +18,7 @@
18
18
  = f.input :command, placeholder: t('.cups_cmd'), required: true, disabled: @disabled
19
19
 
20
20
  .row
21
- = f.input :paper, placeholder: t('.paper')'Angiv papirtypen, exvis: Letter, A4', required: true, disabled: @disabled
21
+ = f.input :paper, placeholder: t('.paper'), required: true, disabled: @disabled
22
22
 
23
23
  .row
24
24
  .input-field.col.s4
@@ -1,6 +1,10 @@
1
1
  da:
2
2
  oxen:
3
3
  printers:
4
+ form:
5
+ cups_printer: 'Angiv navnet på den CUPS printer, der skal håndtere print'
6
+ cups_cmd: 'Indfør den kommando som skal starte printjobbet ("lp -d $1 -o media=$2 $3" eller "lp -d $1 -o raw $2")'
7
+ paper: 'Angiv papirformatet - exvis Letter, A4, 30x57mm, eller lignende'
4
8
  new:
5
9
  cups_printer: 'Angiv navnet på den CUPS printer, der skal håndtere print'
6
10
  cups_cmd: 'Indfør den kommando som skal starte printjobbet ("lp -d $1 -o media=$2 $3" eller "lp -d $1 -o raw $2")'
@@ -17,7 +17,6 @@ class PdfPrinter < ActionPrinter
17
17
  # locals: { variable: 'value' }
18
18
  # )
19
19
  #
20
-
21
20
  of = html_file render( file: path, formats: [:html], handlers: [:haml,:erb], locals: locals)
22
21
  logit :info, "created a html file: #{of.path}"
23
22
  #
@@ -1,3 +1,3 @@
1
1
  module OxenPrinter
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oxen_printer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Walther H Diechmann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-07 00:00:00.000000000 Z
11
+ date: 2016-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oxen_job