thecore_print_commons 0.1.5 → 0.1.6

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: d586b710ebe136ceeaf15d8139b09110df2af7cd
4
- data.tar.gz: c8fa792fb1443c4828f41c65055d8108b8868643
3
+ metadata.gz: 6e7aceabc46aadca29eed42ab86b302a444311a6
4
+ data.tar.gz: 0ef5ee3eede6a4257a82907831d53c2782e3f757
5
5
  SHA512:
6
- metadata.gz: 064e4319367036679718efb43d824ba3765da93849859f90a6ba74725edbcdd5ef3fc7767bf42d8b042b2f6d0b3dcd1e38661ee019969e3aabb72a5144f4e127
7
- data.tar.gz: 0245f765fa2df4988769045fa6cb3a803e173bf53962f896eb3303aa7113f6ec004189028b42aaede825a30593053050691d365a6e9c97aff932c46281c91dff
6
+ metadata.gz: 335fcfe28866f97c7a3ac67989c15c37c6c426bdb7bcdfd00343e0084870e8537c4f19689807973c243f6111c7bd335fa1f32d38f06342b14e18c40efd955b69
7
+ data.tar.gz: 82bf01902631384e717ffffb437625760b5cede8f7493b1c7c7e1f421ce84acea34e8f695cc482445d74469dbbcfa5798edfb0b110281d8502c317fa4b7cb47f
@@ -0,0 +1,7 @@
1
+ # require 'uri'
2
+ # uri = URI.parse(ENV['RAILS_RELATIVE_URL_ROOT'] || "http://#{Socket.ip_address_list[1].ip_address}")
3
+
4
+ # # Not so good, but let's try
5
+ # RailsAdmin.config do |config|
6
+ # (config.navigation_static_links ||= {}).merge! "CUPS Printers" => "#{uri.scheme}://#{uri.host}:631"
7
+ # end
@@ -18,7 +18,7 @@ it:
18
18
  template: Modello di Stampa
19
19
  qty: Quantità di Barcode Presenti nel Modello di Stampa
20
20
  translation: Matrice di trasformazione
21
- used_in: Da usare nella Sezione
21
+ default: Attiva
22
22
  print_job:
23
23
  finished: Terminata?
24
24
  printer: Stampante
@@ -1,11 +1,6 @@
1
-
2
1
  en:
3
2
  admin:
4
- actions:
5
- telnet_print:
6
- title: "Telnet Print"
7
- menu: "Telnet Print for %{model_label} '%{object_label}'"
8
- breadcrumb: "Telnet Print"
9
- link: "Telnet Print"
10
- bulk_link: "Telnet Print selected %{model_label_plural}"
11
- done: "Telnet Printed"
3
+ help:
4
+ print:
5
+ ip: '%{help}. If this select box is empty, it means you just need to configure a printer in CUPS. As an example, you could do it, for a SMB shared printer, running a command like this: sudo lpadmin -p PrinterName -E -v smb://username:password_urlencoded@WORKGROUP/PRINTSERVER/PRINTER -m raw -L "LOCATION"'
6
+
@@ -1,13 +1,5 @@
1
1
  it:
2
- admin:
3
- actions:
4
- telnet_print:
5
- title: "Stampa Barcode di Rete"
6
- menu: "Stampa per %{model_label} '%{object_label}'"
7
- breadcrumb: "Stampa Barcode"
8
- link: "Stampa Barcode"
9
- bulk_link: "Stampa barcode: %{model_label_plural}"
10
- done: "Stampato"
11
- used_in:
12
- bundle: Sovracollo
13
- commission: Barca (Commessa)
2
+ admin:
3
+ help:
4
+ print:
5
+ ip: '%{help}. Se questa lista è vuota, significa che devi ancora configurare una stampante in CUPS, ad esempio puoi farlo, per una stampante SMB, con un comando simile a questo: sudo lpadmin -p PrinterName -E -v smb://username:password_urlencoded@WORKGROUP/PRINTSERVER/PRINTER -m raw -L "LOCATION"'
@@ -1,3 +1,3 @@
1
1
  module ThecorePrintCommons
2
- VERSION = '0.1.5'.freeze
2
+ VERSION = '0.1.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_print_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-22 00:00:00.000000000 Z
11
+ date: 2018-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore
@@ -67,6 +67,7 @@ files:
67
67
  - app/workers/print_worker.rb
68
68
  - config/initializers/abilities_thecore_print_commons_concern.rb
69
69
  - config/initializers/after_initialize_for_thecore_print_commons.rb
70
+ - config/initializers/thecore_print_commons_static_links.rb
70
71
  - config/locales/telnet_print.activerecord.it.yml
71
72
  - config/locales/telnet_print.en.yml
72
73
  - config/locales/telnet_print.it.yml