Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (25 sloc) 974 Bytes
#!/usr/bin/env ruby
version = '0.9.8'
raise "Could not get version so gemspec can not be built" if version.nil?
files = Dir.glob("**/*").flatten.reject do |file|
file =~ /\.gem$/
gemspec = <<EOF do |s| = %q{refinerycms-search}
s.version = %q{#{version}} = %q{#{'%Y-%m-%d')}}
s.summary = %q{Extra search handling for Refinery CMS}
s.description = %q{Provides extra functionality for searching your frontend website using Refinery CMS.}
s.homepage = %q{} = %q{}
s.authors = ["Resolve Digital"]
s.require_paths = %w(lib)
s.add_dependency 'refinerycms', '>= 0.9.8'
s.files = [
'#{files.join("',\n '")}'
s.require_path = 'lib'
EOF"../../refinerycms-search.gemspec", __FILE__), 'w').puts(gemspec)
Jump to Line
Something went wrong with that request. Please try again.