File: kwalify.gemspec

package info (click to toggle)
kwalify 0.7.2-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 2,352 kB
  • sloc: ruby: 8,428; xml: 170; makefile: 37; java: 36
file content (31 lines) | stat: -rw-r--r-- 1,120 bytes parent folder | download | duplicates (3)
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
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
   ## package information
   s.name        = "kwalify"
   s.author      = "makoto kuwata"
   s.version     = "0.7.2"
   s.platform    = Gem::Platform::RUBY
   s.homepage    = "http://www.kuwata-lab.com/kwalify/"
   s.summary     = "a parser, schema validator, and data-binding tool for YAML and JSON."
   s.description = <<-'END'
   Kwalify is a parser, schema validator, and data binding tool for YAML and JSON.
   END

   ## files
   files = []
   files.concat Dir.glob('lib/**/*')
   files.concat Dir.glob('bin/**/*')
   files.concat Dir.glob('examples/**/*')
   files.concat Dir.glob('test/**/*')
   files.concat Dir.glob('man/**/*')
   files.concat Dir.glob('contrib/**/*')
   files.concat Dir.glob('doc-api/**/*')
   files.concat [ "doc/users-guide.html", "doc/docstyle.css", "doc/img/fig01.png" ]
   files.concat %w[README.txt CHANGES.txt MIT-LICENSE setup.rb ]  # todo.txt
   #s.files       = files.delete_if { |path| path =~ /\.svn/ }
   s.files       = files
   s.executables = ["kwalify"]
   s.bindir      = "bin"
   s.test_file   = 'test/test.rb'
end