desoto-photoapp 0.3.11 → 0.3.12

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
  SHA1:
3
- metadata.gz: 542cd2fb8adb14d19d83d8532a7535921c6d3a72
4
- data.tar.gz: a0a2983bbcafebf2a64d3750baf17be4b76bc9a1
3
+ metadata.gz: 0698a5faadc8c43cd574a34a19ade73e6f675a43
4
+ data.tar.gz: 60877ce6157a9a664daca117ce2c9da726e673eb
5
5
  SHA512:
6
- metadata.gz: 52492b67c5088bb33cb21d08c27d91879cfa2848bdfa3807e65f57d6d3bb827e510b62cbcf5d30005f9eb0441db731f2efabc55eb4bda5b80a6c3b588d3bb54e
7
- data.tar.gz: 8532837ccddf3ad8b6566b7110496df452ebb17bf08a757641a4523f5326c399ebfa0be1679c0356da2313b565bfe118ffc3e060e74126209c211bd7327b9ad5
6
+ metadata.gz: 9e05f0d10f2eab35a270db7a5e04d63090f88b8e194114d3550a98a7db01c2924dcd3f6f2a6f46a6ba2f34d58f91c82aeb742aa413d64e27e4992f26a94f838b
7
+ data.tar.gz: 0b8cfba39e66c6d7f3e42ad68e01c53878855f81fd78f05208c8096a8a5078701ef583b7714140aace50f1309c3ccede89ad7e287fcb53ec7bc8f8b44bb24371
data/README.md CHANGED
@@ -33,7 +33,7 @@ This will do the following:
33
33
  Finally you'll need to enable the folder action to trigger photo processing when photos are added to the import folder. Launch the folder actions setup app:
34
34
 
35
35
  ```
36
- $ open /System/Library/CoreServices/Folder\ Actions\ Setup.app
36
+ $ photoapp config action
37
37
  ```
38
38
 
39
39
  Then click `+` below the left column to add a new folder. Choose the folder where photos will be imported to, and click the `+` beneath the right panel to add an
@@ -44,7 +44,7 @@ click the "arrow in a box" icon in the bottom left to open up a drawer which wil
44
44
  the AutoImporter app. Next launch AutoImporter.
45
45
 
46
46
  ```
47
- open /System/Library/Image\ Capture/Support/Application/AutoImporter.app
47
+ $ photoapp config import
48
48
  ```
49
49
 
50
50
  Configure it to import to the folder you have set to trigger the photos workflow and be sure it is set to delete photos after import.
@@ -53,6 +53,10 @@ Configure it to import to the folder you have set to trigger the photos workflow
53
53
 
54
54
  This app uses CUPS to print. To configure your CUPS defaults:
55
55
 
56
+ ```
57
+ $ photoapp config printer
58
+ ```
59
+
56
60
  - Visit [The CUPS printers page](http://127.0.0.1:631/printers/)
57
61
  - Choose the printer you want to configure
58
62
  - Select "Set Default Options" from the Administration drop-down.
data/exe/photoapp CHANGED
@@ -55,6 +55,24 @@ end
55
55
  cmd = ARGV.shift
56
56
 
57
57
  case cmd
58
+ when 'config'
59
+ case ARGV.shift
60
+ when 'printer'
61
+ system 'open http://127.0.0.1:631/printers/'
62
+ system 'say "Choose the printer you want to configure"'
63
+ sleep 3
64
+ system 'say "Select Set Default Options from the Administration drop-down."'
65
+ sleep 3
66
+ system 'say "then configure your printer based on the settings you see here"'
67
+ sleep 3
68
+ system 'open https://github.com/imathis/desoto-photoapp#default-printer-settings'
69
+ when 'import'
70
+ system 'say "launching AutoImporter, press command comma to change settings"'
71
+ system 'open /System/Library/Image\ Capture/Support/Application/AutoImporter.app'
72
+ when 'action'
73
+ system 'open /System/Library/CoreServices/Folder\ Actions\ Setup.app'
74
+ system 'say "Add an action for the cave.pics/import folder and select the photoapp process workflow from the list. Then close the app."'
75
+ end
58
76
  when 'test'
59
77
  path = ARGV.join('')
60
78
  session = Photoapp::Session.new(options)
@@ -1,3 +1,3 @@
1
1
  module Photoapp
2
- VERSION = "0.3.11"
2
+ VERSION = "0.3.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: desoto-photoapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.11
4
+ version: 0.3.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis