Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b82cfaad0c
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (27 sloc) 1.036 kb
#!/usr/bin/env ruby
# Encoding: UTF-8
version = '1.0.0'
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
# Encoding: UTF-8 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 = ["Uģis Ozols", "Joe Sak", "Philip Arndt"]
s.require_paths = %w(lib)
s.add_dependency 'refinerycms-core', '~> 1.0'
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.