cupsffi 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -151,6 +151,9 @@ class CupsPrinter
151
151
  # Examine each input option to make sure that both the key and value are
152
152
  # found in the ppd options.
153
153
  options.each do |key,value|
154
+ # Accept common CUPS options
155
+ next if ['copies'].include?(key)
156
+
154
157
  raise "Invalid option #{key} for printer #{@name}" if ppd_options[key].nil?
155
158
  choices = ppd_options[key][:choices].map{|c| c[:choice]}
156
159
  # Treat 'Custom.WIDTHxHEIGHT' as just 'Custom'
@@ -1,3 +1,3 @@
1
1
  module Cupsffi
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: cupsffi
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.7
5
+ version: 0.0.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Nathan Ehresman
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-04-13 00:00:00 Z
13
+ date: 2012-11-29 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ffi