phoseum-cli 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/phoseum-cli +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54d4c2caa638507e748ded48b8bd2f399118f4c0575d63c79605a30404c52266
4
- data.tar.gz: 96769e821a7a65173ade5e8f1590243844b0f24cdaf5dac3e72018366e99448c
3
+ metadata.gz: 7421fbbac2cf512f6be93770f895e789840cb887864d8b2d45839726cc65204f
4
+ data.tar.gz: f0fac7c15624a6652ec739c44e3af2fd6c64980da1cf5eceb41f188aa4734255
5
5
  SHA512:
6
- metadata.gz: 036dfce8b227c96a9dacb497e4e99935fbb4a08187af54e6b886aa29d729773e36a881f6055a1991421e11aadbabb252bbd2035875f1e914ab751f62c5d36b6c
7
- data.tar.gz: ffcc052629a6b59a3eecec0a9563e8d1248587f039736ef796325acce034aedc2926a553ca971026e0dfd0916ea63d768ae14d4c84c0cf0825cd4f1bbeb3b603
6
+ metadata.gz: '0779e4712800a3a8312128db722b25b99a2084b1a7eb1faa1f609ba83b27d423dd3f7174f1f787618452ffbd0617f722c0db9758356fc94d4f1b7d3daaaf7d69'
7
+ data.tar.gz: b299ad615f973916909dcb52f7ef1e4dc9b52a5c6d80d773a2985db5400394036cc8e0802ccaffcc74d35f04eab139079ac9d89bc01b704bd826af80549d22a2
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phoseum-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julio C Hegedus