ffi-cups 0.3.0 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -1
- data/ffi-cups.gemspec +3 -0
- data/lib/ffi-cups/printer.rb +1 -1
- data/lib/ffi-cups/version.rb +1 -1
- data/lib/ffi-cups.rb +0 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4293a14e3bfde7951974c3dd46d47077027f9e44279eafdad1d424a6aeb6ac00
|
4
|
+
data.tar.gz: f6aa8bb124c7aa1680196a4e26d8aaa7f95385fd8493b3d13b8856dd49be046b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0efcf78df764644be508932592fd5c7c19dc039fda7724524542395c424dde620473d74f243af425e76c360622f9ed74f0a7563e10c6b8ec981dd511a590ea23
|
7
|
+
data.tar.gz: c7f475d5fcfdffbae26cfb4256074117b2d279f9b9b135f4c4231a0407598a55c0f1f7ed375a44a94198588f5c5998f8aae57131071e436c52c2dabd7cd82c20
|
data/Gemfile
CHANGED
data/ffi-cups.gemspec
CHANGED
data/lib/ffi-cups/printer.rb
CHANGED
@@ -28,7 +28,7 @@ module Cups
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def print_file(filename, title, options={})
|
31
|
-
raise "File not found: #{filename}" unless File.
|
31
|
+
raise "File not found: #{filename}" unless File.exist? filename
|
32
32
|
|
33
33
|
http = @connection.nil? ? nil : @connection.httpConnect2
|
34
34
|
# Get all destinations with cupsGetDests2
|
data/lib/ffi-cups/version.rb
CHANGED
data/lib/ffi-cups.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffi-cups
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hugo Marquez
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-10-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ffi
|
@@ -25,6 +25,20 @@ dependencies:
|
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: 1.15.0
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: byebug
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 11.1.3
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: 11.1.3
|
28
42
|
description: Simple wrapper around libcups to give CUPS printing capabilities to Ruby
|
29
43
|
apps.
|
30
44
|
email:
|