cupsffi 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/cupsffi/printer.rb +1 -1
- data/lib/cupsffi/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 47a841acf2892908e3fc82f1c57dbb8ce88de8702eb23c97a008ae16f09cb9d3
|
4
|
+
data.tar.gz: 26ed717b2d62f9691f3e73eed0328536e1f2f51290a88cfc124c7678485527af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7be6fae7c463d30bb708f0bf21f23b46b25f628a3318831acb0d7e9c9ee7de956986cb4621a046ae12b102e2130c831fc96d1107eabd6494bbe2174fec0c723
|
7
|
+
data.tar.gz: '0628de98a1925214e6a3519b7af0c807373e9612b21ae6181efe2cfd39adc1769637d77588481b90b68dc5bb1446692493c15bf7cdfb06b36456de3a06ea93ec'
|
data/lib/cupsffi/printer.rb
CHANGED
@@ -244,7 +244,7 @@ class CupsPrinter
|
|
244
244
|
options.each do |key,value|
|
245
245
|
key_string = key.to_s
|
246
246
|
# Accept common CUPS options
|
247
|
-
next if [
|
247
|
+
next if %w[collate copies landscape].include?(key_string)
|
248
248
|
|
249
249
|
raise "Invalid option #{key} for printer #{@name}" if ppd_options[key_string].nil?
|
250
250
|
choices = ppd_options[key_string][:choices].map{|c| c[:choice]}
|
data/lib/cupsffi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cupsffi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Ehresman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -62,8 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: '0'
|
64
64
|
requirements: []
|
65
|
-
|
66
|
-
rubygems_version: 2.6.14.1
|
65
|
+
rubygems_version: 3.0.6
|
67
66
|
signing_key:
|
68
67
|
specification_version: 4
|
69
68
|
summary: FFI wrapper around libcups
|