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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 89a425157bca4e04d084e35e0aacb44112cd6a9a
4
- data.tar.gz: 06df524172c711b083cdba418867e94fca9a6cfb
2
+ SHA256:
3
+ metadata.gz: 47a841acf2892908e3fc82f1c57dbb8ce88de8702eb23c97a008ae16f09cb9d3
4
+ data.tar.gz: 26ed717b2d62f9691f3e73eed0328536e1f2f51290a88cfc124c7678485527af
5
5
  SHA512:
6
- metadata.gz: 3bdbfd3ee8a30757f0cc73cd96524046034b07b1314917119c234f499938d642671aaa5a1b8fc1ca6051a8f7d9bbc1749fc4db08697b8d08cbbe3d8b06943f4b
7
- data.tar.gz: 82eb9544f5a22857d339020cfd50c15d3570e3adc6c5d9407c1c77461ae50e55a66cb254816ecdde9c717c9f53ae39b6c94b7a6df40b2235b560fbc0a4b84f82
6
+ metadata.gz: d7be6fae7c463d30bb708f0bf21f23b46b25f628a3318831acb0d7e9c9ee7de956986cb4621a046ae12b102e2130c831fc96d1107eabd6494bbe2174fec0c723
7
+ data.tar.gz: '0628de98a1925214e6a3519b7af0c807373e9612b21ae6181efe2cfd39adc1769637d77588481b90b68dc5bb1446692493c15bf7cdfb06b36456de3a06ea93ec'
@@ -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 ['copies', 'landscape'].include?(key_string)
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]}
@@ -1,3 +1,3 @@
1
1
  module Cupsffi
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
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.8
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-04-12 00:00:00.000000000 Z
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
- rubyforge_project: cupsffi
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