dslkit.gemspec in dslkit-0.2.6 vs dslkit.gemspec in dslkit-0.2.7

- old
+ new

@@ -1,21 +1,38 @@ # -*- encoding: utf-8 -*- + Gem::Specification.new do |s| - s.name = 'dslkit' - s.version = '0.2.6' - s.summary = 'Kit for building DSLs in Ruby' - s.description = 'This library contains recurring patterns, that are useful in the creation of internal Domain Specific Languages (DSL) in Ruby.' + s.name = %q{dslkit} + s.version = "0.2.7" - s.files = ["CHANGES", "COPYING", "Rakefile", "TODO", "VERSION", "dslkit.gemspec", "examples", "examples/let.rb", "examples/mail.rb", "examples/mm.rb", "examples/multiply.reg", "examples/null_pattern.rb", "examples/recipe.rb", "examples/recipe2.rb", "examples/recipe_common.rb", "examples/subtract.reg", "install.rb", "lib", "lib/dslkit", "lib/dslkit.rb", "lib/dslkit/polite.rb", "lib/dslkit/rude.rb", "lib/dslkit/version.rb", "tests", "tests/runner.rb", "tests/test_common.rb", "tests/test_polite.rb", "tests/test_rude.rb"] + s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= + s.authors = ["Florian Frank"] + s.date = %q{2011-07-16} + s.description = %q{This library contains recurring patterns, that are useful in the creation of internal Domain Specific Languages (DSL) in Ruby.} + s.email = %q{flori@ping.de} + s.extra_rdoc_files = ["README.rdoc"] + s.files = [".gitignore", "CHANGES", "COPYING", "Gemfile", "README.rdoc", "Rakefile", "TODO", "VERSION", "dslkit.gemspec", "examples/add_one.pdf", "examples/add_one.stm", "examples/bb3.pdf", "examples/bb3.stm", "examples/bb3_19.stm", "examples/concatenate_compare.mtm", "examples/concatenate_compare.pdf", "examples/concatenate_compare_19.mtm", "examples/length_difference.mtm", "examples/length_difference.pdf", "examples/length_difference_19.mtm", "examples/let.rb", "examples/mail.rb", "examples/minsky.rb", "examples/multiply.reg", "examples/null_pattern.rb", "examples/ones_difference-mtm.pdf", "examples/ones_difference-stm.pdf", "examples/ones_difference.mtm", "examples/ones_difference.stm", "examples/ones_difference_19.mtm", "examples/ones_difference_19.stm", "examples/prefix-equals-suffix-reversed-with-infix.pdf", "examples/prefix-equals-suffix-reversed-with-infix.stm", "examples/prefix-equals-suffix-reversed-with-infix_19.stm", "examples/recipe.rb", "examples/recipe2.rb", "examples/recipe_common.rb", "examples/subtract.reg", "examples/turing-graph.rb", "examples/turing.rb", "lib/dslkit.rb", "lib/dslkit/polite.rb", "lib/dslkit/rude.rb", "lib/dslkit/version.rb", "tests/test_polite.rb"] + s.homepage = %q{http://flori.github.com/dslkit} + s.rdoc_options = ["--title", "Dslkit - Kit for building DSLs in Ruby", "--main", "README.rdoc"] + s.require_paths = ["lib"] + s.rubygems_version = %q{1.6.2} + s.summary = %q{Kit for building DSLs in Ruby} + s.test_files = ["tests/test_polite.rb"] - s.require_path = 'lib' + if s.respond_to? :specification_version then + s.specification_version = 3 - s.has_rdoc = true - s.rdoc_options << '--main' << 'doc-main.txt' - s.extra_rdoc_files << 'doc-main.txt' - s.test_files << 'tests/runner.rb' - - s.author = "Florian Frank" - s.email = "flori@ping.de" - s.homepage = "http://dslkit.rubyforge.org" - s.rubyforge_project = "dslkit" + if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then + s.add_development_dependency(%q<gem_hadar>, ["~> 0.0.2"]) + s.add_runtime_dependency(%q<term-ansicolor>, ["~> 1.0"]) + s.add_runtime_dependency(%q<spruz>, ["~> 0.2"]) + else + s.add_dependency(%q<gem_hadar>, ["~> 0.0.2"]) + s.add_dependency(%q<term-ansicolor>, ["~> 1.0"]) + s.add_dependency(%q<spruz>, ["~> 0.2"]) + end + else + s.add_dependency(%q<gem_hadar>, ["~> 0.0.2"]) + s.add_dependency(%q<term-ansicolor>, ["~> 1.0"]) + s.add_dependency(%q<spruz>, ["~> 0.2"]) + end end