thecore_print_commons 0.1.7 → 0.1.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: 42f426c2cd6981fa5951db86546e0424c138871f
4
- data.tar.gz: 204f3ecbe1f081d61fa7d738f782042ee263ae17
3
+ metadata.gz: cea20e24856567e20ee36861bba025a17b815c31
4
+ data.tar.gz: da3bf35622bc21199a659781e0f5c936312fd50d
5
5
  SHA512:
6
- metadata.gz: 5be928b5d4d53d5407de3068d7056cb4cfeef0e5cae14cf2196843bf15035b93ba2ddde84f61b6d869b9998d2a81703e5e47c09ea840668171a2cd0243e3af11
7
- data.tar.gz: 73765e891970d72d3257157314ea3b4dce667ec3b0cb3d506b21c957effb409952d21f998505d9e92da3d7b48c3c9582fcc7e38ab7f4b1044bcaceef10235a91
6
+ metadata.gz: f27f1f283b55159b1186871fa847511fdfba52ebfa2951251aef6bc0f3aeead9a5df12a8432d688b23cb2a6282698b5401c67d6874e29654900348933f90cf22
7
+ data.tar.gz: 1abf80959ae5cbcbeaaaa9156e56ca60751738820f9989350dc3df2e8aea210425a78a7a7c4102ec0fad3892c9443a387402a3be9ad6c7f016df3a5c11660e39
@@ -36,7 +36,7 @@ class Printer < ApplicationRecord
36
36
 
37
37
  def ip_enum
38
38
  # Getting from CUPS the list of configured printers
39
- if Settings.ns(:printer_commons).cups_server.blank? || ['127.0.0.1', 'localhost'].contains(Settings.ns(:printer_commons).cups_server)
39
+ if Settings.ns(:printer_commons).cups_server.blank? || ['127.0.0.1', 'localhost'].include?(Settings.ns(:printer_commons).cups_server)
40
40
  # Local Cups server
41
41
  CupsPrinter.get_all_printer_names
42
42
  else
@@ -1,3 +1,3 @@
1
1
  module ThecorePrintCommons
2
- VERSION = '0.1.7'.freeze
2
+ VERSION = '0.1.8'.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.7
4
+ version: 0.1.8
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-11-06 00:00:00.000000000 Z
11
+ date: 2018-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore