File: gettext.gemspec

package info (click to toggle)
ruby-gettext 3.2.9-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 6,400 kB
  • sloc: ruby: 9,375; makefile: 8
file content (41 lines) | stat: -rw-r--r-- 1,461 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
# -*- mode: ruby; coding: utf-8 -*-

base_dir = File.dirname(__FILE__)
$LOAD_PATH.unshift(File.join(base_dir, "lib"))
require "gettext/version"

Gem::Specification.new do |s|
  s.name = "gettext"
  s.version = GetText::VERSION
  s.summary = 'Gettext is a pure Ruby libary and tools to localize messages.'
  s.description = <<-EOD
Gettext is a GNU gettext-like program for Ruby.
The catalog file(po-file) is same format with GNU gettext.
So you can use GNU gettext tools for maintaining.
  EOD
  s.authors = ["Kouhei Sutou", "Masao Mutoh"]
  s.email = ["kou@clear-code.com", "mutomasa at gmail.com"]
  s.homepage = "http://ruby-gettext.github.com/"
  s.rubyforge_project = "gettext"
  s.require_paths = ["lib"]
  Dir.chdir(base_dir) do
    s.files = Dir.glob("{locale,bin,data,doc/text,lib,po,samples,src,test}/**/*")
    s.files += ["README.md", "Rakefile", "gettext.gemspec"]
    s.files += [".yardopts"]
    s.executables = Dir.chdir("bin") do
      Dir.glob("*")
    end
    s.test_files = Dir.glob("test/test_*.rb")
  end

  s.add_runtime_dependency("locale", ">= 2.0.5")
  s.add_runtime_dependency("text", ">= 1.3.0")
  s.add_development_dependency("rake")
  s.add_development_dependency("racc")
  s.add_development_dependency("yard")
  s.add_development_dependency("kramdown")
  s.add_development_dependency("test-unit")
  s.add_development_dependency("test-unit-notify")
  s.add_development_dependency("test-unit-rr")
  s.license = "Ruby or LGPLv3+"
end