Sha256: 0edff9c4b6dabb97227c95428f8668d61b19b27854308414d1d2e3f8e29dfb86

Contents?: true

Size: 1.73 KB

Versions: 2

Compression:

Stored size: 1.73 KB

Contents

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'crease/version'

Gem::Specification.new do |spec|
  spec.name          = "crease"
  spec.version       = Crease::VERSION
  spec.authors       = ["Matt Cloyd"]
  spec.email         = ["cloydster@gmail.com"]

  spec.summary       = %q{Generate dynamic text about increasing and decreasing numbers.}
  spec.description   = %q{
    If you're writing a dynamic, data-driven narrative, you might need to have
    text like "an increase of 10%" or "decreased by 2", depending on parameters.
    With Crease, you can include text helpers to write English-like code which
    changes the text based on the parameters you pass it.

    Crease can calculate the difference between numbers and can represent them
    as percentages.
  }
  spec.homepage      = "https://github.com/beechnut/crease"
  spec.license       = "MIT"

  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
  # to allow pushing to a single host or delete this section to allow pushing to any host.
  # if spec.respond_to?(:metadata)
  #   spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
  # else
  #   raise "RubyGems 2.0 or newer is required to protect against " \
  #     "public gem pushes."
  # end

  spec.files         = `git ls-files -z`.split("\x0").reject do |f|
    f.match(%r{^(test|spec|features)/})
  end
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_development_dependency "bundler", "~> 1.13"
  spec.add_development_dependency "rake", "~> 10.0"
  spec.add_development_dependency "rspec", "~> 3.0"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
crease-0.1.2 crease.gemspec
crease-0.1.1 crease.gemspec