desoto-photoapp 0.4.6 → 0.4.7

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: badc3e3e0d660c8614b45297628297b6baab3375
4
- data.tar.gz: 94b0bb830a703c0630662dd53cf4d47946f6be75
3
+ metadata.gz: 6f46bf791e878c8020fcc4f3164aa85d23e077b6
4
+ data.tar.gz: 0e3f59eb18ff5eafa81e1e183912b0bbe731744c
5
5
  SHA512:
6
- metadata.gz: 8dbb31d9116061eca9bfd77aad3de3349750ef1cd59359f7bf488a095cdc622a692a5b7029877390c67f56a4279aa7887a4c94960ca6cbc5bd3d9fb9932b2592
7
- data.tar.gz: 526b428c07aa505e7248b09b2be7c7693feb6d544edbf20ecfa9ebdf465b65dca345f46e99103df3719ba027fc18d5175f6fb2875c3aa7108b2eba5f460ac4ea
6
+ metadata.gz: 77c3f1064d046fb2a5544a772adbb0355b1cfa9e1c95ec80349979a14ca9ea8f2666d4b547d63896a71e6a2c6a2cbd0ae079da4281b3fa55d5037bf7d0498c98
7
+ data.tar.gz: 6b79b7e663726394215089ea7a66dc0377a4940ddadb9c2420fcdf0defaee30c2aaa27062e0a55a24d014f626c9558c030b7fb6a04ab5de229c084e31a5aa73d
data/exe/photoapp CHANGED
@@ -106,5 +106,7 @@ when 'upload'
106
106
  Photoapp::Session.new(options).upload
107
107
  when 'reprint'
108
108
  Photoapp::Session.new(options).reprint
109
+ when 'import'
110
+ Photoapp::Session.new(options).import
109
111
  end
110
112
 
data/lib/photoapp.rb CHANGED
@@ -39,6 +39,8 @@ module Photoapp
39
39
  def config(options={})
40
40
  @config || begin
41
41
 
42
+ options['source'] ||= root('import')
43
+
42
44
  config = {
43
45
  'source' => Dir.pwd, # where photos are located
44
46
  'url_base' => 'cave.pics',
@@ -1,3 +1,3 @@
1
1
  module Photoapp
2
- VERSION = "0.4.6"
2
+ VERSION = "0.4.7"
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.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis