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 +4 -4
- data/lib/cupsffi/printer.rb +1 -1
- data/lib/cupsffi/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e503f73b0996f2259fd2554a428238d1ec3ee860
|
4
|
+
data.tar.gz: b28e8f71ccb5fd7027d760b2dcb8e94369727325
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3989931b43da26f35a7e4beed3205fb316dc17c196f42ae78eff525cdf3fad5e4f0d46a96863512bbf0d4d5429d0efb236e324795ed8429c3f1d0e354a7d392b
|
7
|
+
data.tar.gz: 4e891aec86685e754b51c37cc62d378879f2d9e0d6f13ac7f785e9ff5e8fe0545af6343eecd8bee4bd0119472fd4cf1301f88cbff666bbb9588bfab4bd8ceb2c
|
data/lib/cupsffi/printer.rb
CHANGED
@@ -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]}
|
data/lib/cupsffi/version.rb
CHANGED
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
|
+
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:
|
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.
|
66
|
+
rubygems_version: 2.4.8
|
67
67
|
signing_key:
|
68
68
|
specification_version: 4
|
69
69
|
summary: FFI wrapper around libcups
|