photo-helper 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/photo-helper/instagram.rb +4 -1
- data/lib/photo-helper/version.rb +1 -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: dcd48806957dff068d1cbedba35df187f70c8bf8
|
4
|
+
data.tar.gz: c9546290b760ded7c64c3a1a8d9a2e520b579e6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1613b8f6810c5f13405f107177d290a01508f6beea9895a476dc3dcfdffee3249e1656a55cb15266452c0ce6edd1b7182c3b79ac04cd78f20e45021764a81c4c
|
7
|
+
data.tar.gz: c764056fddfb227dcd6f4cd9d30d408eae87a99a124753bd3e85fcb540ae1ef1f3b108a95200cd387ab2b83a3ff660f05ae07b5ee5431f270edea2d5d2e13b60
|
data/Gemfile.lock
CHANGED
@@ -36,10 +36,13 @@ module PhotoHelper
|
|
36
36
|
pictures = []
|
37
37
|
|
38
38
|
files.each do |file|
|
39
|
-
folder = FileHelper.directory(file)
|
39
|
+
folder = FileHelper.directory(file).downcase
|
40
|
+
puts folder
|
40
41
|
next unless PhotoHelper::Instagram.folders.include? (folder)
|
41
42
|
pictures.concat([file])
|
42
43
|
end
|
44
|
+
return unless pictures.any?
|
45
|
+
|
43
46
|
puts pictures
|
44
47
|
PhotoHelper::Instagram.osascript <<-END
|
45
48
|
tell application "Photos"
|
data/lib/photo-helper/version.rb
CHANGED