photo-helper 0.4 → 0.4.1
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/helpers/smugmug_album.rb +2 -2
- data/lib/photo-helper/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ec3e9e1562752fcbbdf79717053488c895c92a1
|
4
|
+
data.tar.gz: ad357a7c48240effc0f59fbe315038f1f7d269d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69e5c8bc34c0087068cb3a4966baf008b4538e7788f276f42e3917bac6ffeb775652a2fd50981139454e4634363133022ec951529b6b14e2435d4cbe766644a5
|
7
|
+
data.tar.gz: 2251fb172352ccef02af24f1bb775a05b51b0db82a344ca4a7c7ba82601f8933c8b3eed2dfbd6d2226b8f683b93eab4364e368c8ffea9f1486ea3c6b47f5a75e
|
data/Gemfile.lock
CHANGED
@@ -61,6 +61,7 @@ class SmugmugAlbumHelper
|
|
61
61
|
def album_name
|
62
62
|
parse_path
|
63
63
|
if @year && @month && @location
|
64
|
+
@location = @location.gsub(/[-_]/, ' ')
|
64
65
|
album_name_short = "#{@location} #{@month} #{@year}"
|
65
66
|
File.join(@year, @month, album_name_short)
|
66
67
|
else
|
@@ -69,7 +70,7 @@ class SmugmugAlbumHelper
|
|
69
70
|
end
|
70
71
|
|
71
72
|
def image_list
|
72
|
-
Dir[File.join(@search_path, "/**/*.{#{@search_extensions.join(',')}}")].reject { |p| FileHelper.ingore_file?(p)}
|
73
|
+
Dir[File.join(@search_path, "/**/*.{#{@search_extensions.join(',')}}")].reject { |p| FileHelper.ingore_file?(p) }
|
73
74
|
end
|
74
75
|
|
75
76
|
def exported_list
|
@@ -174,7 +175,6 @@ class SmugmugAlbumHelper
|
|
174
175
|
update(album, images, keywords)
|
175
176
|
end
|
176
177
|
# puts "delete #{to_delete.count}???"
|
177
|
-
|
178
178
|
if delete && to_delete.any?
|
179
179
|
puts "Deleting #{to_delete.count} images"
|
180
180
|
to_delete.each do |uploaded|
|
data/lib/photo-helper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: photo-helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Caldwell
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|