From 9b975836dce4061f84f31841de77ecd958599149 Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Mon, 23 Dec 2013 00:54:48 +0000 Subject: [PATCH] Fix gemspec: * Remove $LOAD_PATH modification; * Dup VERSION string; * Add a real summary. --- producer-core.gemspec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/producer-core.gemspec b/producer-core.gemspec index 666c174..976b109 100644 --- a/producer-core.gemspec +++ b/producer-core.gemspec @@ -1,11 +1,9 @@ -lib = File.expand_path('../lib', __FILE__) -$LOAD_PATH << lib unless $LOAD_PATH.include? lib -require 'producer/core/version' +require File.expand_path('../lib/producer/core/version', __FILE__) Gem::Specification.new do |s| s.name = 'producer-core' - s.version = Producer::Core::VERSION - s.summary = "producer-core-#{Producer::Core::VERSION}" + s.version = Producer::Core::VERSION.dup + s.summary = 'Provisioning tool' s.description = <<-eoh.gsub(/^ +/, '') Software provisioning tool, including a DSL to write "recipes". eoh