Sha256: 377cc22be84f01378805134bc3105b3062c5ffd4a121826983f7e7f0848a7bd2
Contents?: true
Size: 1.61 KB
Versions: 1
Compression:
Stored size: 1.61 KB
Contents
require 'pathname' gempath = Pathname.new(File.expand_path('../../', __FILE__)) require gempath.join('..', 'base', 'lib', 'base', 'refinery') gemspec = <<EOF # DO NOT EDIT THIS FILE DIRECTLY! Instead, use lib/gemspec.rb to generate it. Gem::Specification.new do |s| s.name = %q{#{gemname = 'refinerycms-pages'}} s.version = %q{#{::Refinery.version}} s.summary = %q{Pages engine for Refinery CMS} s.description = %q{The default content engine of Refinery CMS. This engine handles the administration and display of user-editable pages.} s.date = %q{#{Time.now.strftime('%Y-%m-%d')}} s.email = %q{info@refinerycms.com} s.homepage = %q{http://refinerycms.com} s.rubyforge_project = %q{refinerycms} s.authors = ['Resolve Digital', 'Philip Arndt', 'David Jones', 'Steven Heidel'] s.license = %q{MIT} s.require_paths = %w(lib) s.executables = %w(#{Pathname.glob(gempath.join('bin/*')).map{|d| d.relative_path_from(gempath)}.sort.join(" ")}) s.files = [ '#{%w( **/{*,.rspec,.gitignore,.yardopts} ).map { |file| Pathname.glob(gempath.join(file)) }.flatten.reject{|f| !f.exist? or f.to_s =~ /\.gem$/ or (f.directory? and f.children.empty?) }.map{|d| d.relative_path_from(gempath)}.uniq.sort.join("',\n '")}' ] s.add_dependency 'refinerycms-core', '~> #{::Refinery::Version}' s.add_dependency 'seo_meta', '~> 1.0.2' end EOF (gemfile = gempath.join("#{gemname}.gemspec")).open('w') {|f| f.puts(gemspec)} puts `cd #{gempath} && gem build #{gemfile}` if ARGV.any?{|a| a == "BUILD=true"}
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-pages-0.9.9.14 | lib/gemspec.rb |