mabbre.gemspec in mabbre-0.0.3 vs mabbre.gemspec in mabbre-1.0.0

- old
+ new

@@ -2,25 +2,23 @@ lib = File.expand_path("../lib", __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require "mabbre/version" Gem::Specification.new do |spec| - spec.name = "mabbre" - spec.version = MAbbre::VERSION - spec.authors = ["Gabriel de Oliveira"] - spec.email = ["deoliveira.gab@gmail.com"] - spec.summary = "Enable shortened method names on classes and modules." - spec.description = <<-EOS.strip.gsub(/\n/, "").gsub(/\s{2,}/, " ") - MAbbre allows a group of methods in a Class or a - Module to be accessed using an abbreviated form. - These methods can be defined anywhere within a - hierarchy of inclusion and/or inheritance. - EOS - spec.homepage = "https://github.com/gdeoliveira/mabbre" - spec.license = "MIT" - - spec.files = `git ls-files -z`.split("\x0") - spec.test_files = spec.files.grep(/^(test|spec|features)\//) + spec.required_ruby_version = ">= 1.9" + spec.name = "mabbre" + spec.version = MAbbre::VERSION + spec.authors = ["Gabriel de Oliveira"] + spec.email = ["deoliveira.gab@gmail.com"] + spec.summary = "Enable shortened method names on classes and modules." + spec.description = <<-EOS +MAbbre allows a group of methods in a Class or a Module to be accessed using an abbreviated form. These methods can be +defined anywhere within a hierarchy of inclusion and/or inheritance. + EOS + spec.homepage = "https://github.com/gdeoliveira/mabbre" + spec.license = "MIT" + spec.files = `git ls-files -z`.split("\x0") + spec.test_files = spec.files.grep(/^(test|spec|features)\//) spec.require_paths = ["lib"] - - spec.add_dependency "mtrack", "~> 1.1" + spec.rdoc_options << "--title=MAbbre" + spec.add_dependency "mtrack", "~> 2.0" end