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

Gem::Specification.new do |spec|
  spec.name          = 'pieces'
  spec.version       = Pieces::VERSION
  spec.authors       = ['Luke Morton']
  spec.email         = ['lukemorton.dev@gmail.com']

  spec.summary       = %q{Component based static site builder}
  spec.homepage      = 'https://github.com/drpheltright/pieces'
  spec.license       = 'MIT'

  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  spec.executables   = ['pieces']
  spec.require_paths = ['lib']

  spec.add_dependency 'tilt'
  spec.add_dependency 'thor'
  spec.add_dependency 'rack'
  spec.add_dependency 'listen'
  spec.add_dependency 'sprockets'

  spec.add_development_dependency 'bundler'
  spec.add_development_dependency 'codeclimate-test-reporter'
  spec.add_development_dependency 'mustache'
  spec.add_development_dependency 'pry'
  spec.add_development_dependency 'rake'
  spec.add_development_dependency 'rspec'
end

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

Gem::Specification.new do |spec|
  spec.name          = 'pieces'
  spec.version       = Pieces::VERSION
  spec.authors       = ['Luke Morton']
  spec.email         = ['lukemorton.dev@gmail.com']

  spec.summary       = %q{Component based static site builder}
  spec.homepage      = 'https://github.com/drpheltright/pieces'
  spec.license       = 'MIT'

  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  spec.executables   = ['pieces']
  spec.require_paths = ['lib']

  spec.add_dependency 'tilt'
  spec.add_dependency 'thor'
  spec.add_dependency 'rack'
  spec.add_dependency 'listen'
  spec.add_dependency 'sprockets'

  spec.add_development_dependency 'bundler'
  spec.add_development_dependency 'codeclimate-test-reporter'
  spec.add_development_dependency 'mustache'
  spec.add_development_dependency 'pry'
  spec.add_development_dependency 'rake'
  spec.add_development_dependency 'rspec'
  spec.add_development_dependency 'rails'
end

Add rails to dev dependencies
Add rails to dev dependencies