photo-helper 0.1.0 → 0.1.1

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: ad4c9699827b4c045526421ce0dd8d31232307fe
4
- data.tar.gz: c3db97723d3bbdbcbbbf2c5ad1c475061e6e2c5e
3
+ metadata.gz: 6e811750def35215e7957fd3e1b3cfbb1093dad4
4
+ data.tar.gz: 89b2131457e7a8161a07c8cade91a673bec31da6
5
5
  SHA512:
6
- metadata.gz: 80fc1c540b91db168aaa498890c3934846b8b1ca99de0cc0f9501fdd39f0df4cd68175dabd68b7170b88cbcc9b1e29c323ea4dbb4f7218f7a12f9666c22d39df
7
- data.tar.gz: d99867c81189fa116604d1f41197b0dc761ff01694409e22bcdefcc4acd2a1cb686630081fca765a03a99e026b0b7166300481d8f73d1b3b0e9892ad6451d4d6
6
+ metadata.gz: 9d3d5fe8e8b6b135627de07d6920a9d41f238099ce9bc6781caccc1da61c8f45a308efff08f7ec86ae6547a48767fc20031a42b45ae4b6528fa5867034f488b8
7
+ data.tar.gz: 80f2efe24424432ab6b80b109cd366c2fac1d1629015139f33eb9d99dea14967cbda1cc20760bfee1a63b74b338f7bb04af1c65c46cbfd681e412f2427100144
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- photo-helper (0.1.0)
4
+ photo-helper (0.1.1)
5
5
  thor
6
6
 
7
7
  GEM
@@ -9,6 +9,7 @@ module PhotoHelper
9
9
 
10
10
  desc "jpeg", "generate jpeg from raw files"
11
11
  method_option :folder, aliases: "-f", type: :string, default: "."
12
+ method_option :dpi, type: :number, default: 350
12
13
  def jpeg(folder = nil)
13
14
  folder ||= options[:folder]
14
15
  puts folder
@@ -25,7 +26,7 @@ module PhotoHelper
25
26
  next if File.exists? File.join(search_path, jpeg_file_name)
26
27
  puts file
27
28
 
28
- `sips -s format jpeg #{file} --out "./jpegs/#{jpeg_file_name}.JPG"`
29
+ `sips -s format jpeg #{file} -s dpiHeight #{options[:dpi]} -s dpiWidth #{options[:dpi]} --out "./jpegs/#{jpeg_file_name}.JPG"`
29
30
  end
30
31
 
31
32
 
@@ -1,3 +1,3 @@
1
1
  module KubeDeploy
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
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.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Caldwell