flickr_sync 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flickr_sync/cli.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89275777b0bbeedb648debc87c1360b19bd301ca
|
4
|
+
data.tar.gz: 7a22115be13a6f0740f0addae81d94755ea31681
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17b491d6eb450adfd1dd31c292517483e9e76bb7da199c3a5962ca8a7b44a680d02ac7807ebc4c39ae26a03d1ccacee3bd5c68fc716948ddcb98424e28bbd4b4
|
7
|
+
data.tar.gz: bd48dee1fd5f775274d0d8b90aca72e63ddc617815357ce495278a8f2164ed813c452533715d0f2cc1737036ac61d8d397ec658d838c712156b8c56c61b42a66
|
data/lib/flickr_sync/cli.rb
CHANGED
@@ -6,6 +6,7 @@ require 'splat'
|
|
6
6
|
module FlickrSync
|
7
7
|
class Cli < Clamp::Command
|
8
8
|
attr_reader :preferences
|
9
|
+
attr_reader :prompt
|
9
10
|
|
10
11
|
# option "--optimistic", :flag, "assume there are no duplicates"
|
11
12
|
parameter "DIRECTORY_PATH", "the folder containing images"
|
@@ -38,7 +39,7 @@ module FlickrSync
|
|
38
39
|
|
39
40
|
def execute
|
40
41
|
@preferences = FlickrSync::Preferences.new
|
41
|
-
prompt = FlickrSync::Prompt.new STDIN, STDOUT
|
42
|
+
@prompt = FlickrSync::Prompt.new STDIN, STDOUT
|
42
43
|
|
43
44
|
FlickRaw.api_key = api_key
|
44
45
|
FlickRaw.shared_secret = shared_secret
|