summaryrefslogtreecommitdiffstats
path: root/gem_spec.rb
blob: a310bf3461c8a23e8a1f7860aa0d4459b344d81e (plain)
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
# GEM SPECIFICATION
GEM_SPEC = Gem::Specification.new { |s|
    s.name              = UNIX_NAME
    s.version           = PROJECT_VERSION
    s.summary           = PROJECT_SUMMARY
    s.rubyforge_project = UNIX_NAME
    s.homepage          = PROJECT_HOMEPAGE
    s.author            = USER_NAME
    s.email             = USER_EMAIL
    s.files             = DIST_FILES
    s.test_files        = TEST_FILES
    s.executables       = BIN_FILES.map { |fn| File.basename(fn) }
    s.has_rdoc          = true
    s.extra_rdoc_files  = RDOC_FILES
    #s.rdoc_options      = GENERAL_RDOC_OPTS.to_a.flatten
    s.date              = Time.now
    if HAVE_EXT
        s.extensions    = EXT_CONF_FILES
        s.require_paths << EXT_DIR
    end
    if HAVE_CERT
        s.signing_key = CERT_PRIVATE
        s.cert_chain  = [CERT_PUBLIC]
    end
    s.platform          = Gem::Platform::RUBY
#    s.required_ruby_version  = '>= 1.8.5'
}