-
Notifications
You must be signed in to change notification settings - Fork 14
/
ffi-gphoto2.gemspec
32 lines (24 loc) · 1.08 KB
/
ffi-gphoto2.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
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'gphoto2/version'
Gem::Specification.new do |spec|
spec.name = 'ffi-gphoto2'
spec.summary = 'A Ruby FFI for common functions in libgphoto2'
spec.homepage = 'https://github.com/zaeleus/ffi-gphoto2'
spec.authors = ['Michael Macias']
spec.email = ['zaeleus@gmail.com']
spec.version = GPhoto2::VERSION
spec.license = 'MIT'
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.requirements << 'libgphoto2 >= 2.5.2'
spec.requirements << 'libgphoto2_port >= 0.10.1'
spec.required_ruby_version = '>= 2.3'
spec.add_development_dependency 'bundler', '~> 2.0'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3.11.0'
spec.add_development_dependency 'yard', '~> 0.9.0'
spec.add_dependency 'ffi', '~> 1.15.0'
end