diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gemspec.rb | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/lib/gemspec.rb b/lib/gemspec.rb deleted file mode 100644 index 5508df6..0000000 --- a/lib/gemspec.rb +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/env ruby -require File.expand_path('../refinery/blog/version', __FILE__) -version = ::Refinery::Blog::Version.to_s -raise "Could not get version so gemspec can not be built" if version.nil? -files = Dir.glob("**/*").flatten.reject{|f| f =~ %r{(.gem$|^spec/dummy|.lock$)}} - -gemspec = <<EOF -# Encoding: UTF-8 -# DO NOT EDIT THIS FILE DIRECTLY! Instead, use lib/gemspec.rb to generate it. - -Gem::Specification.new do |s| - s.name = %q{refinerycms-blog} - s.version = %q{#{version}} - s.description = %q{A really straightforward open source Ruby on Rails blog engine designed for integration with RefineryCMS.} - s.date = %q{#{Time.now.strftime('%Y-%m-%d')}} - s.summary = %q{Ruby on Rails blogging engine for RefineryCMS.} - s.email = %q{info@refinerycms.com} - s.homepage = %q{http://refinerycms.com/blog} - s.authors = ['Resolve Digital', 'Neoteric Design'] - s.require_paths = %w(lib) - - # Runtime dependencies - s.add_dependency 'refinerycms-core', '~> 2.0.0' - s.add_dependency 'filters_spam', '~> 0.2' - s.add_dependency 'acts-as-taggable-on' - s.add_dependency 'seo_meta', '~> 1.2.0.rc1' - s.add_dependency 'rails_autolink' - - # Development dependencies - s.add_development_dependency 'refinerycms-testing', '~> 2.0.0' - - s.files = %w( - #{files.join("\n ")} - ) -end -EOF - -File.open(File.expand_path("../../refinerycms-blog.gemspec", __FILE__), 'w').puts(gemspec) |