photo-helper 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +50 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +59 -0
- data/LICENSE +21 -0
- data/README.md +3 -0
- data/Rakefile +10 -0
- data/bin/console +14 -0
- data/bin/photo-helper +10 -0
- data/bin/setup +8 -0
- data/exe/photo-helper +5 -0
- data/lib/helpers/printer.rb +132 -0
- data/lib/helpers/trash.rb +25 -0
- data/lib/photo-helper/delete.rb +55 -0
- data/lib/photo-helper/generate.rb +35 -0
- data/lib/photo-helper/version.rb +3 -0
- data/lib/photo_helper.rb +27 -0
- data/photo-helper.gemspec +32 -0
- metadata +174 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ad4c9699827b4c045526421ce0dd8d31232307fe
|
4
|
+
data.tar.gz: c3db97723d3bbdbcbbbf2c5ad1c475061e6e2c5e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 80fc1c540b91db168aaa498890c3934846b8b1ca99de0cc0f9501fdd39f0df4cd68175dabd68b7170b88cbcc9b1e29c323ea4dbb4f7218f7a12f9666c22d39df
|
7
|
+
data.tar.gz: d99867c81189fa116604d1f41197b0dc761ff01694409e22bcdefcc4acd2a1cb686630081fca765a03a99e026b0b7166300481d8f73d1b3b0e9892ad6451d4d6
|
data/.gitignore
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
/.config
|
4
|
+
/coverage/
|
5
|
+
/InstalledFiles
|
6
|
+
/pkg/
|
7
|
+
/spec/reports/
|
8
|
+
/spec/examples.txt
|
9
|
+
/test/tmp/
|
10
|
+
/test/version_tmp/
|
11
|
+
/tmp/
|
12
|
+
|
13
|
+
# Used by dotenv library to load environment variables.
|
14
|
+
# .env
|
15
|
+
|
16
|
+
## Specific to RubyMotion:
|
17
|
+
.dat*
|
18
|
+
.repl_history
|
19
|
+
build/
|
20
|
+
*.bridgesupport
|
21
|
+
build-iPhoneOS/
|
22
|
+
build-iPhoneSimulator/
|
23
|
+
|
24
|
+
## Specific to RubyMotion (use of CocoaPods):
|
25
|
+
#
|
26
|
+
# We recommend against adding the Pods directory to your .gitignore. However
|
27
|
+
# you should judge for yourself, the pros and cons are mentioned at:
|
28
|
+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
29
|
+
#
|
30
|
+
# vendor/Pods/
|
31
|
+
|
32
|
+
## Documentation cache and generated files:
|
33
|
+
/.yardoc/
|
34
|
+
/_yardoc/
|
35
|
+
/doc/
|
36
|
+
/rdoc/
|
37
|
+
|
38
|
+
## Environment normalization:
|
39
|
+
/.bundle/
|
40
|
+
/vendor/bundle
|
41
|
+
/lib/bundler/man/
|
42
|
+
|
43
|
+
# for a library or gem, you might want to ignore these files since the code is
|
44
|
+
# intended to run in multiple environments; otherwise, check them in:
|
45
|
+
# Gemfile.lock
|
46
|
+
# .ruby-version
|
47
|
+
# .ruby-gemset
|
48
|
+
|
49
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
50
|
+
.rvmrc
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
photo-helper (0.1.0)
|
5
|
+
thor
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
ansi (1.5.0)
|
11
|
+
ast (2.3.0)
|
12
|
+
builder (3.2.3)
|
13
|
+
byebug (9.0.6)
|
14
|
+
coderay (1.1.1)
|
15
|
+
method_source (0.8.2)
|
16
|
+
minitest (5.10.3)
|
17
|
+
minitest-reporters (1.1.14)
|
18
|
+
ansi
|
19
|
+
builder
|
20
|
+
minitest (>= 5.0)
|
21
|
+
ruby-progressbar
|
22
|
+
parallel (1.12.0)
|
23
|
+
parser (2.4.0.0)
|
24
|
+
ast (~> 2.2)
|
25
|
+
powerpack (0.1.1)
|
26
|
+
pry (0.10.4)
|
27
|
+
coderay (~> 1.1.0)
|
28
|
+
method_source (~> 0.8.1)
|
29
|
+
slop (~> 3.4)
|
30
|
+
rainbow (2.2.2)
|
31
|
+
rake
|
32
|
+
rake (10.5.0)
|
33
|
+
rubocop (0.49.1)
|
34
|
+
parallel (~> 1.10)
|
35
|
+
parser (>= 2.3.3.1, < 3.0)
|
36
|
+
powerpack (~> 0.1)
|
37
|
+
rainbow (>= 1.99.1, < 3.0)
|
38
|
+
ruby-progressbar (~> 1.7)
|
39
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
40
|
+
ruby-progressbar (1.8.1)
|
41
|
+
slop (3.6.0)
|
42
|
+
thor (0.19.4)
|
43
|
+
unicode-display_width (1.3.0)
|
44
|
+
|
45
|
+
PLATFORMS
|
46
|
+
ruby
|
47
|
+
|
48
|
+
DEPENDENCIES
|
49
|
+
bundler (~> 1.14)
|
50
|
+
byebug
|
51
|
+
minitest (~> 5.0)
|
52
|
+
minitest-reporters
|
53
|
+
photo-helper!
|
54
|
+
pry
|
55
|
+
rake (~> 10.0)
|
56
|
+
rubocop
|
57
|
+
|
58
|
+
BUNDLED WITH
|
59
|
+
1.15.3
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2017 Benjamin Caldwell
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "kube-deploy"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/photo-helper
ADDED
data/bin/setup
ADDED
data/exe/photo-helper
ADDED
@@ -0,0 +1,132 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'io/console'
|
3
|
+
|
4
|
+
class Printer
|
5
|
+
####################
|
6
|
+
#
|
7
|
+
# Logging
|
8
|
+
#
|
9
|
+
####################
|
10
|
+
|
11
|
+
class << self
|
12
|
+
def put_header(text, color = "\x1b[36m")
|
13
|
+
put_edge(color, "┏━━ ", text)
|
14
|
+
end
|
15
|
+
|
16
|
+
def put_edge(color, prefix, text)
|
17
|
+
ptext = "#{color}#{prefix}#{text}"
|
18
|
+
textwidth = printing_width(ptext)
|
19
|
+
|
20
|
+
console = IO.console
|
21
|
+
termwidth = console ? console.winsize[1] : 80
|
22
|
+
termwidth = 30 if termwidth < 30
|
23
|
+
|
24
|
+
if textwidth > termwidth
|
25
|
+
ptext = ptext[0...termwidth]
|
26
|
+
textwidth = termwidth
|
27
|
+
end
|
28
|
+
padwidth = termwidth - textwidth
|
29
|
+
pad = "━" * padwidth
|
30
|
+
formatted = "#{ptext}#{color}#{pad}\x1b[0m\n"
|
31
|
+
|
32
|
+
puts formatted
|
33
|
+
end
|
34
|
+
|
35
|
+
def log(msg)
|
36
|
+
puts "\x1b[36m┃\x1b[0m " + msg
|
37
|
+
end
|
38
|
+
|
39
|
+
# ANSI escape sequences (like \x1b[31m) have zero width.
|
40
|
+
# when calculating the padding width, we must exclude them.
|
41
|
+
def printing_width(str)
|
42
|
+
str.gsub(/\x1b\[[\d;]+[A-z]/, '').size
|
43
|
+
end
|
44
|
+
|
45
|
+
def put_footer(success = true, success_color = "\x1b[36m")
|
46
|
+
if success
|
47
|
+
put_edge(success_color, "┗", "")
|
48
|
+
else
|
49
|
+
text = "💥 Failed! Aborting! "
|
50
|
+
put_edge("\x1b[31m", "┗━━ ", text)
|
51
|
+
exit
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def prompt_user_with_options(question, options)
|
56
|
+
require 'readline'
|
57
|
+
|
58
|
+
log(question)
|
59
|
+
log("Your options are:")
|
60
|
+
options.each_with_index do |v, idx|
|
61
|
+
log("#{idx + 1}) #{v}")
|
62
|
+
end
|
63
|
+
log("Choose a number between 1 and #{options.length}")
|
64
|
+
|
65
|
+
Readline.completion_append_character = " "
|
66
|
+
Readline.completion_proc = nil
|
67
|
+
|
68
|
+
buf = -1
|
69
|
+
available = (1..options.length).to_a
|
70
|
+
until available.include?(buf.to_i)
|
71
|
+
begin
|
72
|
+
buf = Readline.readline("\x1b[34m┃ > \x1b[33m", true)
|
73
|
+
rescue Interrupt
|
74
|
+
nil
|
75
|
+
end
|
76
|
+
|
77
|
+
if buf.nil?
|
78
|
+
STDERR.puts
|
79
|
+
next
|
80
|
+
end
|
81
|
+
|
82
|
+
buf = buf.chomp
|
83
|
+
buf = -1 if buf.empty?
|
84
|
+
buf = -1 if buf.to_i.to_s != buf
|
85
|
+
end
|
86
|
+
|
87
|
+
options[buf.to_i - 1]
|
88
|
+
end
|
89
|
+
|
90
|
+
def puts_coloured(a, error: false)
|
91
|
+
text = a
|
92
|
+
.gsub(/{{green:(.*?)}}/, "\x1b[32m\\1\x1b[0m")
|
93
|
+
.gsub(/{{bold:(.*?)}}/, "\x1b[1m\\1\x1b[0m")
|
94
|
+
.gsub(/{{cyan:(.*?)}}/, "\x1b[36m\\1\x1b[0m")
|
95
|
+
.gsub(/{{red:(.*?)}}/, "\x1b[31m\\1\x1b[0m")
|
96
|
+
|
97
|
+
if error
|
98
|
+
puts_red text
|
99
|
+
else
|
100
|
+
puts text
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
def puts_info(a, mark = '?')
|
105
|
+
puts_blue("\x1b[34m#{mark} \x1b[0m" + a)
|
106
|
+
end
|
107
|
+
|
108
|
+
def puts_success(a)
|
109
|
+
puts_green("\x1b[32m✓\x1b[0m " + a)
|
110
|
+
end
|
111
|
+
|
112
|
+
def puts_failure(a)
|
113
|
+
puts_red("\x1b[31m✗\x1b[0m " + a)
|
114
|
+
end
|
115
|
+
|
116
|
+
def puts_blue(a)
|
117
|
+
puts_raw("\x1b[34m┃\x1b[0m " + a)
|
118
|
+
end
|
119
|
+
|
120
|
+
def puts_green(a)
|
121
|
+
puts_raw("\x1b[32m┃\x1b[0m " + a)
|
122
|
+
end
|
123
|
+
|
124
|
+
def puts_red(a)
|
125
|
+
puts_raw("\x1b[31m┃\x1b[0m " + a)
|
126
|
+
end
|
127
|
+
|
128
|
+
def puts_raw(a)
|
129
|
+
STDOUT.puts(a)
|
130
|
+
end
|
131
|
+
end
|
132
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# https://github.com/jphastings/trash/blob/master/trash.rb
|
2
|
+
require 'fileutils'
|
3
|
+
|
4
|
+
class File
|
5
|
+
# Moves the file whose filename is given to the Trash, Recycle Bin or equivalent of the OS being used.
|
6
|
+
#
|
7
|
+
# Will return a NotImplementtedError if your OS is not implemented.
|
8
|
+
def self.trash(filename)
|
9
|
+
filename = self.expand_path(filename)
|
10
|
+
|
11
|
+
# Different Operating systems
|
12
|
+
# case Sys::Uname.sysname
|
13
|
+
# when "Darwin"
|
14
|
+
if filename =~ /^\/Volumes\/(.+?)\//
|
15
|
+
# External Volume, send to /Volumes/-volume name-/.Trashes/501/
|
16
|
+
FileUtils.mv(filename,"/Volumes/#{$1}/.Trashes/501/")
|
17
|
+
else
|
18
|
+
# Main drive, move to ~/.Trash/
|
19
|
+
FileUtils.mv(filename,self.expand_path("~/.Trash/"))
|
20
|
+
end
|
21
|
+
# when /^Microsoft Windows/
|
22
|
+
# raise NotImplementedError, ""
|
23
|
+
# end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
require "helpers/trash"
|
2
|
+
|
3
|
+
module PhotoHelper
|
4
|
+
class Delete < Thor
|
5
|
+
include Thor::Actions
|
6
|
+
|
7
|
+
map "j" => "jpeg"
|
8
|
+
map "jpg" => "jpeg"
|
9
|
+
map "jpgs" => "jpeg"
|
10
|
+
map "jpegs" => "jpeg"
|
11
|
+
|
12
|
+
desc "jpeg", "delete jpegs that have an raw with same name"
|
13
|
+
method_option :folder, aliases: "-f", type: :string, default: "."
|
14
|
+
method_option :hard, aliases: "-h", type: :boolean, default: false
|
15
|
+
method_option :recursive, aliases: "-r", type: :boolean, default: false
|
16
|
+
def jpeg(folder = nil)
|
17
|
+
folder ||= options[:folder]
|
18
|
+
puts folder
|
19
|
+
|
20
|
+
search_path = File.expand_path(folder)
|
21
|
+
jpeg_path = File.join(search_path, "jpegs")
|
22
|
+
|
23
|
+
Dir.mkdir(jpeg_path) unless File.exists?(jpeg_path)
|
24
|
+
|
25
|
+
files =
|
26
|
+
if options[:recursive]
|
27
|
+
Dir["#{search_path}/**/*.#{JPEG_EXTENSION}"]
|
28
|
+
else
|
29
|
+
Dir["#{search_path}/*.#{JPEG_EXTENSION}"]
|
30
|
+
end
|
31
|
+
|
32
|
+
files.each do |file|
|
33
|
+
raw_file_name = File.basename(file.to_s, JPEG_EXTENSION) + RAW_EXTENSION
|
34
|
+
next unless File.exist? File.join(search_path, raw_file_name)
|
35
|
+
|
36
|
+
puts file
|
37
|
+
|
38
|
+
if options[:hard]
|
39
|
+
File.delete(file)
|
40
|
+
else
|
41
|
+
File.trash(file)
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
next unless File.exist?(jpeg_path) && yes?("Delete jpeg folder?")
|
46
|
+
say "Deleting jpeg folder", :red
|
47
|
+
if options[:hard]
|
48
|
+
File.delete(jpeg_path)
|
49
|
+
else
|
50
|
+
File.trash(jpeg_path)
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
module PhotoHelper
|
2
|
+
class Generate < Thor
|
3
|
+
include Thor::Actions
|
4
|
+
|
5
|
+
map "j" => "jpeg"
|
6
|
+
map "jpg" => "jpeg"
|
7
|
+
map "jpgs" => "jpeg"
|
8
|
+
map "jpegs" => "jpeg"
|
9
|
+
|
10
|
+
desc "jpeg", "generate jpeg from raw files"
|
11
|
+
method_option :folder, aliases: "-f", type: :string, default: "."
|
12
|
+
def jpeg(folder = nil)
|
13
|
+
folder ||= options[:folder]
|
14
|
+
puts folder
|
15
|
+
|
16
|
+
search_path = File.expand_path(folder)
|
17
|
+
jpeg_path = File.join(search_path, "jpegs")
|
18
|
+
|
19
|
+
Dir.mkdir(jpeg_path) unless File.exists?(jpeg_path)
|
20
|
+
|
21
|
+
files = Dir["#{search_path}/*.#{RAW_EXTENSION}"]
|
22
|
+
|
23
|
+
files.each do |file|
|
24
|
+
jpeg_file_name = File.basename(file.to_s, RAW_EXTENSION) + JPEG_EXTENSION
|
25
|
+
next if File.exists? File.join(search_path, jpeg_file_name)
|
26
|
+
puts file
|
27
|
+
|
28
|
+
`sips -s format jpeg #{file} --out "./jpegs/#{jpeg_file_name}.JPG"`
|
29
|
+
end
|
30
|
+
|
31
|
+
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
35
|
+
end
|
data/lib/photo_helper.rb
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
require 'thor'
|
2
|
+
|
3
|
+
require 'helpers/printer'
|
4
|
+
|
5
|
+
require 'photo-helper/version'
|
6
|
+
require 'photo-helper/generate'
|
7
|
+
require 'photo-helper/delete'
|
8
|
+
|
9
|
+
# todo: move to config file
|
10
|
+
RAW_EXTENSION = "ORF"
|
11
|
+
JPEG_EXTENSION = "JPG"
|
12
|
+
|
13
|
+
module PhotoHelper
|
14
|
+
class CLI < Thor
|
15
|
+
map "g" => "generate"
|
16
|
+
map "d" => "delete"
|
17
|
+
|
18
|
+
desc "version", "displays installed version"
|
19
|
+
def version
|
20
|
+
puts KubeDeploy::VERSION
|
21
|
+
end
|
22
|
+
# default_task :version
|
23
|
+
|
24
|
+
register PhotoHelper::Generate, :generate, "generate", "Do something else"
|
25
|
+
register PhotoHelper::Delete, :delete, "delete", "Do something else"
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'photo-helper/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "photo-helper"
|
8
|
+
spec.version = KubeDeploy::VERSION
|
9
|
+
spec.authors = ["Benjamin Caldwell"]
|
10
|
+
spec.email = ["caldwellbenjamin8@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = 'A tool to automatate my photo workflows'
|
13
|
+
spec.homepage = "https://github.com/benjamincaldwell/photo-helper"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
17
|
+
f.match(%r{^(test|spec|features)/})
|
18
|
+
end
|
19
|
+
spec.bindir = "exe"
|
20
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
|
+
spec.require_paths = ["lib"]
|
22
|
+
|
23
|
+
spec.add_development_dependency "bundler", "~> 1.14"
|
24
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
25
|
+
spec.add_development_dependency "minitest", "~> 5.0"
|
26
|
+
spec.add_development_dependency "minitest-reporters"
|
27
|
+
spec.add_development_dependency "pry"
|
28
|
+
spec.add_development_dependency "byebug"
|
29
|
+
spec.add_development_dependency "rubocop"
|
30
|
+
|
31
|
+
spec.add_dependency "thor"
|
32
|
+
end
|
metadata
ADDED
@@ -0,0 +1,174 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: photo-helper
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Benjamin Caldwell
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-08-16 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.14'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.14'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '5.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: minitest-reporters
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: pry
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: byebug
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubocop
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: thor
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
description:
|
126
|
+
email:
|
127
|
+
- caldwellbenjamin8@gmail.com
|
128
|
+
executables:
|
129
|
+
- photo-helper
|
130
|
+
extensions: []
|
131
|
+
extra_rdoc_files: []
|
132
|
+
files:
|
133
|
+
- ".gitignore"
|
134
|
+
- Gemfile
|
135
|
+
- Gemfile.lock
|
136
|
+
- LICENSE
|
137
|
+
- README.md
|
138
|
+
- Rakefile
|
139
|
+
- bin/console
|
140
|
+
- bin/photo-helper
|
141
|
+
- bin/setup
|
142
|
+
- exe/photo-helper
|
143
|
+
- lib/helpers/printer.rb
|
144
|
+
- lib/helpers/trash.rb
|
145
|
+
- lib/photo-helper/delete.rb
|
146
|
+
- lib/photo-helper/generate.rb
|
147
|
+
- lib/photo-helper/version.rb
|
148
|
+
- lib/photo_helper.rb
|
149
|
+
- photo-helper.gemspec
|
150
|
+
homepage: https://github.com/benjamincaldwell/photo-helper
|
151
|
+
licenses:
|
152
|
+
- MIT
|
153
|
+
metadata: {}
|
154
|
+
post_install_message:
|
155
|
+
rdoc_options: []
|
156
|
+
require_paths:
|
157
|
+
- lib
|
158
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
159
|
+
requirements:
|
160
|
+
- - ">="
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: '0'
|
163
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - ">="
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '0'
|
168
|
+
requirements: []
|
169
|
+
rubyforge_project:
|
170
|
+
rubygems_version: 2.6.12
|
171
|
+
signing_key:
|
172
|
+
specification_version: 4
|
173
|
+
summary: A tool to automatate my photo workflows
|
174
|
+
test_files: []
|