-
Notifications
You must be signed in to change notification settings - Fork 241
/
lolcommits.gemspec
60 lines (50 loc) · 2.1 KB
/
lolcommits.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'lolcommits/version'
Gem::Specification.new do |s|
s.name = Lolcommits::GEM_NAME.dup
s.version = Lolcommits::VERSION.dup
s.authors = ['Matthew Rothenberg', 'Matthew Hutchinson']
s.email = ['mrothenberg@gmail.com', 'matt@hiddenloop.com']
s.license = 'LGPL-3.0'
s.summary = 'Capture webcam image on git commit for lulz.'
s.description = <<-DESC
lolcommits takes a snapshot with your webcam every time you git commit code,
and archives a lolcat style image with it. It's selfies for software
developers. `git blame` has never been so much fun.
DESC
s.metadata = {
'homepage_uri' => 'https://lolcommits.github.io',
'source_code_uri' => 'https://github.com/lolcommits/lolcommits',
'changelog_uri' => 'https://github.com/lolcommits/lolcommits/blob/master/CHANGELOG.md',
'bug_tracker_uri' => 'https://github.com/lolcommits/lolcommits/issues',
'allowed_push_host' => 'https://rubygems.org'
}
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = 'lolcommits'
s.require_paths = ['lib']
# non-gem dependencies
s.required_ruby_version = '>= 2.4'
s.requirements << 'imagemagick'
s.requirements << 'a webcam'
# core
s.add_runtime_dependency('methadone', '~> 1.9.5')
s.add_runtime_dependency('mercurial-ruby', '~> 0.7.12')
s.add_runtime_dependency('mini_magick', '~> 4.12.0')
s.add_runtime_dependency('launchy', '~> 2.5.0')
s.add_runtime_dependency('open4', '~> 1.3.4')
s.add_runtime_dependency('git', '~> 1.19.1')
# included plugins
s.add_runtime_dependency('lolcommits-loltext', '~> 0.4.0')
# development & test gems
s.add_development_dependency('aruba')
s.add_development_dependency('rake')
s.add_development_dependency('rdoc')
s.add_development_dependency('pry-remote')
s.add_development_dependency('rubocop')
s.add_development_dependency('minitest')
s.add_development_dependency('simplecov')
s.add_development_dependency('ffaker')
end