phoseum-cli 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/phoseum-cli +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7421fbbac2cf512f6be93770f895e789840cb887864d8b2d45839726cc65204f
|
|
4
|
+
data.tar.gz: f0fac7c15624a6652ec739c44e3af2fd6c64980da1cf5eceb41f188aa4734255
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0779e4712800a3a8312128db722b25b99a2084b1a7eb1faa1f609ba83b27d423dd3f7174f1f787618452ffbd0617f722c0db9758356fc94d4f1b7d3daaaf7d69'
|
|
7
|
+
data.tar.gz: b299ad615f973916909dcb52f7ef1e4dc9b52a5c6d80d773a2985db5400394036cc8e0802ccaffcc74d35f04eab139079ac9d89bc01b704bd826af80549d22a2
|
data/bin/phoseum-cli
CHANGED
|
@@ -65,7 +65,7 @@ def upload(album)
|
|
|
65
65
|
# last resort solution for accents and unrecognizable characters
|
|
66
66
|
# but then will need to remove extension, pass the filter, then add extension again.
|
|
67
67
|
# human_name = check_string_sanity(filename)
|
|
68
|
-
human_name = filename
|
|
68
|
+
human_name = filename.gsub!(/(.*)\.JPG|JPEG|PNG|GIF$/i,'\1')
|
|
69
69
|
|
|
70
70
|
somefound = search_image(image.signature)
|
|
71
71
|
if somefound
|