forked from lolcommits/lolcommits
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlolcommits.gemspec
59 lines (50 loc) · 2.25 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
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'lolcommits/version'
Gem::Specification.new do |s|
s.name = 'lolcommits'
s.version = Lolcommits::VERSION.dup
s.authors = ['Matthew Rothenberg', 'Matthew Hutchinson']
s.email = ['[email protected]', '[email protected]']
s.homepage = 'http://mroth.github.com/lolcommits/'
s.license = 'LGPL-3'
s.summary = 'Capture webcam image on git commit for lulz.'
s.description = <<-EOF
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.
EOF
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.0'
s.requirements << 'imagemagick'
s.requirements << 'a webcam'
# hold back upgrading (and why)
s.add_development_dependency('aruba', '=0.6.2') # upgrading requires a lot of test code changes
s.add_development_dependency('rake', '=10.5.0') # ~> 11+ introduces lots of warnings from other deps
s.add_runtime_dependency('net-http-persistent', '=2.9.4') # ~> 3+ requires Ruby 2.1
# 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.6.0')
s.add_runtime_dependency('launchy', '~> 2.4.3')
s.add_runtime_dependency('open4', '~> 1.3.4')
s.add_runtime_dependency('git', '~> 1.3.0')
# plugin gems
s.add_runtime_dependency('yam', '~> 2.5.0') # yammer
s.add_runtime_dependency('httmultiparty', '~> 0.3.16') # dot_com
s.add_runtime_dependency('tumblr_client', '~> 0.8.5') # tumblr
# development gems
s.add_development_dependency('rdoc')
s.add_development_dependency('pry')
# testing gems (latest versions)
s.add_development_dependency('rubocop')
s.add_development_dependency('travis')
s.add_development_dependency('minitest')
s.add_development_dependency('coveralls')
s.add_development_dependency('ffaker')
s.add_development_dependency('cucumber')
end