-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexiv2-ruby.gemspec
More file actions
35 lines (29 loc) · 1.33 KB
/
exiv2-ruby.gemspec
File metadata and controls
35 lines (29 loc) · 1.33 KB
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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'exiv2/version'
Gem::Specification.new do |spec|
spec.name = "exiv2-ruby"
spec.version = Exiv2::VERSION
spec.authors = ["Stefan Staub"]
spec.email = ["ste.staub@gmail.com"]
spec.summary = %q{Wraps the exiv2 library to Ruby}
spec.description = %q{Wraps the exiv2 library to Ruby by using Rice.}
spec.homepage = "TODO: Put your gem's website or public repo URL here."
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
# delete this section to allow pushing this gem to any host.
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
else
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
end
spec.files = Dir.glob("ext/**/*.{c,cpp,rb}") +
Dir.glob("lib/**/*.rb")
spec.require_paths = ["lib"]
spec.extensions << 'ext/exiv2/extconf.rb'
spec.add_development_dependency 'rice', '~> 2.1'
spec.add_development_dependency 'bundler', '~> 1.8'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rake-compiler', '~> 0.9.5'
spec.add_development_dependency 'rspec', '~> 3.4.0'
end