cuprint 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/cuprint.gemspec +5 -4
- data/lib/cuprint.rb +1 -1
- data/pkg/cuprint-0.1.1.gem +0 -0
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
data/cuprint.gemspec
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{cuprint}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.2.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Reuben Doetsch"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2010-04-25}
|
13
13
|
s.default_executable = %q{cuprint}
|
14
14
|
s.description = %q{A gem to automate adding Columbia Printers}
|
15
15
|
s.email = %q{reuben.doetsch@gmail.com}
|
@@ -56,3 +56,4 @@ Gem::Specification.new do |s|
|
|
56
56
|
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
57
57
|
end
|
58
58
|
end
|
59
|
+
|
data/lib/cuprint.rb
CHANGED
@@ -36,7 +36,7 @@ module CuPrint
|
|
36
36
|
when "HP LaserJet 4350" ; " /Library/Printers/PPDs/Contents/Resources/HP\\ LaserJet\\ 4350.gz"
|
37
37
|
end
|
38
38
|
puts driver
|
39
|
-
`lpadmin -p #{print["
|
39
|
+
`lpadmin -p #{print["name"]} -L #{print["place"]} -E -v lpd://#{print["address"]}/public -P #{driver} `
|
40
40
|
end
|
41
41
|
#{}`lpadmin -p "mudd" -L "Mudd Library" -E -v lpd://mudd251a-ninja.atg.columbia.edu -P /Library/Printers/PPDs/Contents/Resources/HP\ LaserJet\ 9050.gz`
|
42
42
|
|
data/pkg/cuprint-0.1.1.gem
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cuprint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Reuben Doetsch
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-04-25 00:00:00 -04:00
|
13
13
|
default_executable: cuprint
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|