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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7522a8f004aef5162693ba55306f59971b2ab415210574b2bd9f64ed5b38e108
4
- data.tar.gz: 54631757a4c36c0bfcc97d02e17a4f105d1cbd71562c816305bf8b7856448840
3
+ metadata.gz: 4293a14e3bfde7951974c3dd46d47077027f9e44279eafdad1d424a6aeb6ac00
4
+ data.tar.gz: f6aa8bb124c7aa1680196a4e26d8aaa7f95385fd8493b3d13b8856dd49be046b
5
5
  SHA512:
6
- metadata.gz: 1019c7ca45a16385c847b756052adbd2c5d0cef20149ec642e14428af3fe2aa20b3e58932e1da2a9b7bd69f5a62b0aea652905fc3aef67da65f3bab2ef4bba63
7
- data.tar.gz: 6d17ccd12bc7449f92ce2dd6b9f4f02d0a2fcb277836984651ae8a05bbef6c8f3d878eb7ad732cdcb91935e89db759f7211ff704dc3f91c63124295a2b12deef
6
+ metadata.gz: 0efcf78df764644be508932592fd5c7c19dc039fda7724524542395c424dde620473d74f243af425e76c360622f9ed74f0a7563e10c6b8ec981dd511a590ea23
7
+ data.tar.gz: c7f475d5fcfdffbae26cfb4256074117b2d279f9b9b135f4c4231a0407598a55c0f1f7ed375a44a94198588f5c5998f8aae57131071e436c52c2dabd7cd82c20
data/Gemfile CHANGED
@@ -5,4 +5,3 @@ gemspec
5
5
 
6
6
  gem "rake", "~> 12.0"
7
7
  gem "rspec", "~> 3.0"
8
- gem 'byebug'
data/ffi-cups.gemspec CHANGED
@@ -23,4 +23,7 @@ Gem::Specification.new do |s|
23
23
  s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
24
 
25
25
  s.require_paths = ["lib"]
26
+
27
+ # development dependencies
28
+ s.add_development_dependency 'byebug', '~> 11.1.3'
26
29
  end
@@ -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.exists? filename
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
@@ -1,3 +1,3 @@
1
1
  module Cups
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.2"
3
3
  end
data/lib/ffi-cups.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  require 'ffi'
2
- require 'byebug'
3
2
 
4
3
  module Cups
5
4
 
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.0
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: 2022-07-10 00:00:00.000000000 Z
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: