Sha256: d5563de404fa9ac71f5772347c8616fd241c9e87f5b26c2abc01470b27fbb65c

Contents?: true

Size: 1.68 KB

Versions: 2

Compression:

Stored size: 1.68 KB

Contents

lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "prettyrb/version"

Gem::Specification.new do |spec|
  spec.name          = "prettyrb"
  spec.version       = Prettyrb::VERSION
  spec.authors       = ["Blake Williams"]
  spec.email         = ["blake@blakewilliams.me"]

  spec.summary       = %q{Ruby source code formatter}
  spec.description   = %q{Ruby source code formatter}
  spec.homepage      = "https://github.com/blakewilliams/prettyrb"
  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["homepage_uri"] = spec.homepage
  else
    raise "RubyGems 2.0 or newer is required to protect against " \
      "public gem pushes."
  end

  # Specify which files should be added to the gem when it is released.
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
  spec.files         = Dir.chdir(File.expand_path('..', __FILE__)) do
    `git ls-files -z`.split("\x0").reject { |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_dependency "parser", "~> 2.7.0.5"
  spec.add_dependency "thor"

  spec.add_development_dependency "bundler", "~> 2.1.4"
  spec.add_development_dependency "rake", "~> 12.3.3"
  spec.add_development_dependency "minitest", "~> 5.0"
  spec.add_development_dependency "pry", "~> 0.13"
  spec.add_development_dependency "simplecov", "~> 0.18"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
prettyrb-0.5.0 prettyrb.gemspec
prettyrb-0.4.0 prettyrb.gemspec