-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathgem-compiler.gemspec
38 lines (31 loc) · 1.13 KB
/
gem-compiler.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
# encoding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "rubygems/compiler/version"
Gem::Specification.new do |spec|
# basic
spec.name = "gem-compiler"
spec.version = Gem::Compiler::VERSION
spec.platform = Gem::Platform::RUBY
# description
spec.summary = "A RubyGems plugin that generates binary gems."
spec.description = <<-EOF
A RubyGems plugin that helps generates binary gems from already existing
ones without altering the original source code. It compiles Ruby C
extensions and bundles the result into a new gem.
EOF
# project info
spec.homepage = "https://github.com/luislavena/gem-compiler"
spec.licenses = ["MIT"]
spec.author = "Luis Lavena"
spec.email = "[email protected]"
# files
spec.files = Dir["README.md", "History.md", "Rakefile",
"lib/**/*.rb", "test/**/test*.rb"]
# requirements
spec.required_ruby_version = ">= 2.1.0"
spec.required_rubygems_version = ">= 1.8.24"
# development dependencies
spec.add_development_dependency "rake", ">= 0.9.2.2"
spec.add_development_dependency "minitest", "~> 4.7"
end