File: toml.gemspec

package info (click to toggle)
ruby-toml 0.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 296 kB
  • sloc: ruby: 666; sh: 7; makefile: 4
file content (37 lines) | stat: -rw-r--r-- 1,998 bytes parent folder | download
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
require './lib/toml/version'

Gem::Specification.new do |s|
  s.specification_version = 2 if s.respond_to? :specification_version=
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
  s.rubygems_version = '1.3.5'

  s.name              = 'toml'
  s.version           = TOML::VERSION

  ## Make sure your summary is short. The description may be as long
  ## as you like.
  s.summary     = "Parse your TOML."
  s.description = "Parse your TOML, seriously."

  ## List the primary authors. If there are a bunch of authors, it's probably
  ## better to set the email to an email list or something. If you don't have
  ## a custom homepage, consider using your GitHub URL or the like.
  s.authors  = ["Jeremy McAnally", "Dirk Gadsden"]
  s.email    = 'jeremy@github.com'
  s.homepage = 'http://github.com/jm/toml'
  s.license  = 'MIT'

  ## Specify any RDoc options here. You'll want to add your README and
  ## LICENSE files to the extra_rdoc_files list.
  s.rdoc_options = ["--charset=UTF-8"]
  s.extra_rdoc_files = %w[README.md LICENSE CHANGELOG.md]

  s.add_dependency "parslet", ">= 1.8.0", "< 3.0.0"

  s.add_development_dependency "rake"

  all_files       = [".gitignore",".travis.yml","CHANGELOG.md","Gemfile","LICENSE","README.md","Rakefile","lib/toml.rb","lib/toml/generator.rb","lib/toml/key.rb","lib/toml/monkey_patch.rb","lib/toml/parser.rb","lib/toml/parslet.rb","lib/toml/table.rb","lib/toml/transformer.rb","lib/toml/version.rb","script/bootstrap","script/cibuild","script/console","script/toml-test-decoder-interface.rb","script/toml-test-encoder-interface.rb","test/empty.toml","test/hard_example.toml","test/spec.toml","test/test_empty.rb","test/test_generator.rb","test/test_parser.rb","test/test_parser_hard.rb","test/test_table_arrays.rb","test/tmp.rb","toml.gemspec"]
  s.files         = all_files.grep(%r{^(bin|lib)/})
  s.executables   = all_files.grep(%r{^bin/}) { |f| File.basename(f) }
  s.require_paths = ["lib"]
end