Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (31 sloc) 1.68 KB
# Encoding: UTF-8
require 'pathname'
gempath ='../../', __FILE__))
require gempath.join('..', 'base', 'lib', 'base', 'refinery')
gemspec = <<EOF
# Encoding: UTF-8
# DO NOT EDIT THIS FILE DIRECTLY! Instead, use lib/gemspec.rb to generate it. do |s| = %q{#{gemname = 'refinerycms-settings'}}
s.version = %q{#{::Refinery.version}}
s.summary = %q{Settings engine for Refinery CMS}
s.description = %q{The default settings engine that is required by Refinery CMS core. Adds programmer creatable, user editable settings for each engine.} = %q{#{'%Y-%m-%d')}} = %q{}
s.homepage = %q{}
s.rubyforge_project = %q{refinerycms}
s.authors = ['Resolve Digital', 'Philip Arndt', 'David Jones', 'Steven Heidel', 'Uģis Ozols']
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.add_dependency 'activerecord', '~> 3.0.10'
s.files = [
'#{%w( **/{*,.rspec,.gitignore,.yardopts} ).map { |file| Pathname.glob(gempath.join(file)) }.flatten.reject{|f|
!f.exist? or f.to_s =~ /\.gem$/ or ( and f.children.empty?)
}.map{|d| d.relative_path_from(gempath)}.uniq.sort.join("',\n '")}'
s.add_dependency 'refinerycms-base', '= #{::Refinery::Version}'
(gemfile = gempath.join("#{gemname}.gemspec")).open('w') {|f| f.puts(gemspec)}
puts `cd #{gempath} && gem build #{gemfile}` if ARGV.any?{|a| a == "BUILD=true"}
Jump to Line
Something went wrong with that request. Please try again.