desoto-photoapp 0.3.10 → 0.3.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/photoapp.rb +7 -6
- data/lib/photoapp/version.rb +1 -1
- data/photoapp.gemspec +1 -1
- metadata +2 -7
- data/icons/Reprint.icns +0 -0
- data/icons/Update.afdesign +0 -0
- data/icons/Update.icns +0 -0
- data/icons/Update.png +0 -0
- data/icons/reprint.png +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 542cd2fb8adb14d19d83d8532a7535921c6d3a72
|
4
|
+
data.tar.gz: a0a2983bbcafebf2a64d3750baf17be4b76bc9a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52492b67c5088bb33cb21d08c27d91879cfa2848bdfa3807e65f57d6d3bb827e510b62cbcf5d30005f9eb0441db731f2efabc55eb4bda5b80a6c3b588d3bb54e
|
7
|
+
data.tar.gz: 8532837ccddf3ad8b6566b7110496df452ebb17bf08a757641a4523f5326c399ebfa0be1679c0356da2313b565bfe118ffc3e060e74126209c211bd7327b9ad5
|
data/lib/photoapp.rb
CHANGED
@@ -73,20 +73,21 @@ module Photoapp
|
|
73
73
|
end
|
74
74
|
|
75
75
|
def process
|
76
|
-
photos =
|
76
|
+
photos = load_photos
|
77
77
|
tmp = root('.tmp')
|
78
78
|
import = root('import')
|
79
79
|
FileUtils.mkdir_p tmp
|
80
80
|
FileUtils.mkdir_p import
|
81
81
|
|
82
|
-
|
83
|
-
|
82
|
+
photos.map! do |f|
|
83
|
+
p = process_image(f, tmp)
|
84
|
+
p.write
|
85
|
+
p
|
84
86
|
end
|
85
87
|
|
86
88
|
photos.each do |p|
|
87
|
-
p.
|
88
|
-
|
89
|
-
Photoapp.print(p.print_dest)
|
89
|
+
FileUtils.cp(p.print_dest, import)
|
90
|
+
system "lpr #{p.print_dest}"
|
90
91
|
end
|
91
92
|
|
92
93
|
`automator -i #{import} #{Photoapp.gem_dir("lib/import-photos.workflow")}`
|
data/lib/photoapp/version.rb
CHANGED
data/photoapp.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.summary = %q{A tool for processing cave photos for DeSoto Caverns.}
|
13
13
|
spec.license = "MIT"
|
14
14
|
|
15
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|
|
15
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|icons)/}) }
|
16
16
|
spec.bindir = "exe"
|
17
17
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
18
18
|
spec.require_paths = ["lib"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: desoto-photoapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rmagick
|
@@ -194,11 +194,6 @@ files:
|
|
194
194
|
- bin/console
|
195
195
|
- bin/setup
|
196
196
|
- exe/photoapp
|
197
|
-
- icons/Reprint.icns
|
198
|
-
- icons/Update.afdesign
|
199
|
-
- icons/Update.icns
|
200
|
-
- icons/Update.png
|
201
|
-
- icons/reprint.png
|
202
197
|
- lib/adjust-image.workflow/Contents/Info.plist
|
203
198
|
- lib/adjust-image.workflow/Contents/QuickLook/Preview.png
|
204
199
|
- lib/adjust-image.workflow/Contents/document.wflow
|
data/icons/Reprint.icns
DELETED
Binary file
|
data/icons/Update.afdesign
DELETED
Binary file
|
data/icons/Update.icns
DELETED
Binary file
|
data/icons/Update.png
DELETED
Binary file
|
data/icons/reprint.png
DELETED
Binary file
|