cupsffi 0.1.4 → 0.1.5

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: 0a5cd6973b7ece239ff8614b8c3384b899e7a4e8
4
- data.tar.gz: 77f55e3774e3756b12c62296e41f46fb530e662a
3
+ metadata.gz: e503f73b0996f2259fd2554a428238d1ec3ee860
4
+ data.tar.gz: b28e8f71ccb5fd7027d760b2dcb8e94369727325
5
5
  SHA512:
6
- metadata.gz: 8f78e1817e9bd0f32e2b1180226491c82571e01513dcc7343170f98a4ed18e0efb1da4f5f520bab8cb27e095fd484bd5435ba5bf625047313c0247e2e7ff6118
7
- data.tar.gz: 3104a28ae4f212e82e0000b5a46e4afc175d0fbe2057480cbcb9039d32aaacfd8537de0e0917b14d00e66da71d62dd4446f7a2d40f789320fdea2fe69eb7de72
6
+ metadata.gz: 3989931b43da26f35a7e4beed3205fb316dc17c196f42ae78eff525cdf3fad5e4f0d46a96863512bbf0d4d5429d0efb236e324795ed8429c3f1d0e354a7d392b
7
+ data.tar.gz: 4e891aec86685e754b51c37cc62d378879f2d9e0d6f13ac7f785e9ff5e8fe0545af6343eecd8bee4bd0119472fd4cf1301f88cbff666bbb9588bfab4bd8ceb2c
@@ -229,7 +229,7 @@ class CupsPrinter
229
229
  options.each do |key,value|
230
230
  key_string = key.to_s
231
231
  # Accept common CUPS options
232
- next if ['copies'].include?(key_string)
232
+ next if ['copies', 'landscape'].include?(key_string)
233
233
 
234
234
  raise "Invalid option #{key} for printer #{@name}" if ppd_options[key_string].nil?
235
235
  choices = ppd_options[key_string][:choices].map{|c| c[:choice]}
@@ -1,3 +1,3 @@
1
1
  module Cupsffi
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cupsffi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Ehresman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-25 00:00:00.000000000 Z
11
+ date: 2016-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  description: Simple wrapper around libcups to give CUPS printing capabilities to Ruby
@@ -32,7 +32,7 @@ executables: []
32
32
  extensions: []
33
33
  extra_rdoc_files: []
34
34
  files:
35
- - .gitignore
35
+ - ".gitignore"
36
36
  - COPYING
37
37
  - Gemfile
38
38
  - README.rdoc
@@ -53,17 +53,17 @@ require_paths:
53
53
  - lib
54
54
  required_ruby_version: !ruby/object:Gem::Requirement
55
55
  requirements:
56
- - - '>='
56
+ - - ">="
57
57
  - !ruby/object:Gem::Version
58
58
  version: '0'
59
59
  required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - '>='
61
+ - - ">="
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  requirements: []
65
65
  rubyforge_project: cupsffi
66
- rubygems_version: 2.1.11
66
+ rubygems_version: 2.4.8
67
67
  signing_key:
68
68
  specification_version: 4
69
69
  summary: FFI wrapper around libcups