forked from seanohalpin/ffi-ncurses
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ffi-ncurses.gemspec
44 lines (40 loc) · 1.1 KB
/
ffi-ncurses.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
# -*- coding: utf-8 -*-
$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require 'ffi-ncurses/version'
date = "2011-09-25"
authors = ["Sean O'Halpin"]
email = "[email protected]"
project = FFI::NCurses
description = "An FFI wrapper around ncursesw 5.x for MRI Ruby 1.8.x, 1.9.x and JRuby."
dependencies = [
["ffi", ">= 1.0.9"],
["ffi-locale", ">= 1.0.0"],
]
Gem::Specification.new do |s|
s.authors = authors
s.email = email
s.date = date
s.description = description
dependencies.each do |dep|
s.add_dependency *dep
end
s.files =
[
"#{project::NAME}.gemspec",
"lib/#{project::NAME}.rb",
"COPYING",
"History.txt",
"README.rdoc",
"Rakefile",
"Gemfile",
"Gemfile.lock",
] +
Dir["examples/**/*"] +
Dir["lib/**/*.rb"] +
Dir["spec/**/*.rb"]
s.name = project::NAME
s.version = project::VERSION
s.homepage = "http://github.com/seanohalpin/#{project::NAME}"
s.summary = s.description
s.require_paths = ["lib"]
end