File: builder.gemspec

package info (click to toggle)
ruby-builder 3.2.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 368 kB
  • sloc: ruby: 1,945; makefile: 4
file content (45 lines) | stat: -rw-r--r-- 1,037 bytes parent folder | download | duplicates (2)
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
45
# frozen_string_literal: true
require './lib/builder/version'

PKG_VERSION = Builder::VERSION

PKG_FILES = Dir[
  '[A-Z]*',
  'doc/**/*',
  'lib/**/*.rb',
  'test/**/*.rb',
  'rakelib/**/*'
]

Gem::Specification.new do |s|

  #### Basic information.

  s.name = 'builder'
  s.version = PKG_VERSION
  s.summary = "Builders for MarkUp."
  s.description = %{\
Builder provides a number of builder objects that make creating structured data
simple to do.  Currently the following builder objects are supported:

* XML Markup
* XML Events
}

  s.files = PKG_FILES
  s.require_path = 'lib'

  s.test_files = PKG_FILES.select { |fn| fn =~ /^test\/test/ }

  s.has_rdoc = true
  # s.extra_rdoc_files = rd.rdoc_files.reject { |fn| fn =~ /\.rb$/ }.to_a
  s.rdoc_options <<
    '--title' <<  'Builder -- Easy XML Building' <<
    '--main' << 'README.rdoc' <<
    '--line-numbers'

  s.authors = ["Jim Weirich", "Aaron Patterson"]
  s.email = "aron.patterson@gmail.com"
  s.homepage = "https://github.com/tenderlove/builder"
  s.license = 'MIT'
end