photo-helper 0.2.3 → 0.2.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6bc68f3ad6c2e9ebaea146b8c42e8d1ed16b7201
4
- data.tar.gz: b414992b4e50e186d8a4b5e38321f5145cebbc6f
3
+ metadata.gz: cb84387a4370724f76fc936e77f487928598660b
4
+ data.tar.gz: 5b9fa67a508a632c7d288329978b7bd17bc08ba9
5
5
  SHA512:
6
- metadata.gz: 69deda40a9912c4b41ec4648e5aa0261b882556d33a1cf25c2d956c0c86c450557eb4cb32d2bffd6b915c848cc35db223be846757706bac43c45381dc5e0badc
7
- data.tar.gz: ecf0733acdabc448cdf4a3a54302a5dd20677cdc2add48851d7e0407557941813fb53f029afd0fd3f49de61f9707f60ecd9090683e4965b60636f61c0a38c749
6
+ metadata.gz: 54fd7c786c886575d27b300a79a6a62608ccfca3a2126607ac97d0c153153f841ec9e7fc89ab77fbeecbdb1b51eedf9b2dc3c031715113a3578572264efc0d72
7
+ data.tar.gz: 95d116b160e79de1349e66e57ab25c8f240f032ffaca3c7992c3a1fb2ec0b01d628ceca7b010f0ede6b83fb8b61a48bbcced86002b84d85a9924c555918a8aac
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- photo-helper (0.2.3)
4
+ photo-helper (0.2.4)
5
5
  ejson
6
6
  mimemagic
7
7
  mini_magick
@@ -21,7 +21,7 @@ module PhotoHelper
21
21
 
22
22
  Dir.mkdir(jpeg_path) unless File.exist?(jpeg_path)
23
23
 
24
- files = Dir["#{search_path}/*.#{RAW_EXTENSIONS}"]
24
+ files = Dir["#{search_path}/*.{#{RAW_EXTENSIONS}.join(','))}"]
25
25
 
26
26
  files.each do |file|
27
27
  jpeg_file_name = File.basename(file.to_s, ".*") + JPEG_EXTENSION
@@ -1,3 +1,3 @@
1
1
  module KubeDeploy
2
- VERSION = '0.2.3'.freeze
2
+ VERSION = '0.2.4'.freeze
3
3
  end
data/lib/photo_helper.rb CHANGED
@@ -12,7 +12,7 @@ require 'photo-helper/smugmug'
12
12
 
13
13
  # todo: move to config file
14
14
  RAW_EXTENSION = "dng"
15
- RAW_EXTENSIONS = RAW_EXTENSION.concat(["ORF"])
15
+ RAW_EXTENSIONS = [RAW_EXTENSION, "ORF"]
16
16
  JPEG_EXTENSION = "JPG"
17
17
  JPEG_EXTENSIONS = ["JPG", "jpg", "jpeg"]
18
18
  IMAGE_EXTENSIONS = JPEG_EXTENSIONS.concat([])
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.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Caldwell