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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 872ff4ca51d026c5d2989c1f963ea9bd61d6d253
4
- data.tar.gz: c14da101067339ee1f280487a89a812c41e28c95
3
+ metadata.gz: dcd48806957dff068d1cbedba35df187f70c8bf8
4
+ data.tar.gz: c9546290b760ded7c64c3a1a8d9a2e520b579e6a
5
5
  SHA512:
6
- metadata.gz: 047bce5bf33f8b21db4a162e5b50850ada553b4f49c0c43a6d8a55a3200902afda0ec505248c2625abc4e972c275e72104faeb885946325b5b8e5f730f5935a2
7
- data.tar.gz: 39ae529a24cd3e492fe5440817f860fe0e965d0062b32d8bb39376af777e3467ceb7574fc0b8d94c01081ab831f9563957272d2dcf629d7e941aaaed9869cc0a
6
+ metadata.gz: 1613b8f6810c5f13405f107177d290a01508f6beea9895a476dc3dcfdffee3249e1656a55cb15266452c0ce6edd1b7182c3b79ac04cd78f20e45021764a81c4c
7
+ data.tar.gz: c764056fddfb227dcd6f4cd9d30d408eae87a99a124753bd3e85fcb540ae1ef1f3b108a95200cd387ab2b83a3ff660f05ae07b5ee5431f270edea2d5d2e13b60
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- photo-helper (0.1.4)
4
+ photo-helper (0.1.5)
5
5
  thor
6
6
 
7
7
  GEM
@@ -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"
@@ -1,3 +1,3 @@
1
1
  module KubeDeploy
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: photo-helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Caldwell