Sha256: 23f9d377036bb91e5c6fc8d3fbc45ea9daf0e4b0b12b89669b5e7f6515de50d9

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

#!/usr/bin/env ruby
version = '0.9.9.1'
raise "Could not get version so gemspec can not be built" if version.nil?
files = Dir[%q{**/*}].flatten.reject{|f| f =~ /\.gem$/}

gemspec = <<EOF
Gem::Specification.new do |s|
  s.name              = %q{refinerycms-theming}
  s.version           = %q{#{version}}
  s.description       = %q{Theming functionality for the Refinery CMS project, extracted from Refinery CMS core.}
  s.date              = %q{#{Time.now.strftime('%Y-%m-%d')}}
  s.summary           = %q{Theming functionality for the Refinery CMS project.}
  s.email             = %q{info@refinerycms.com}
  s.homepage          = %q{http://refinerycms.com}
  s.authors           = %w(Resolve\\ Digital)
  s.license           = %q{MIT}
  s.require_paths     = %w(lib)

  s.files             = [
    '#{files.join("',\n    '")}'
  ]
  #{"s.test_files        = [
    '#{Dir.glob("test/**/*.rb").join("',\n    '")}'
  ]" if File.directory?("test")}

  s.add_dependency('refinerycms', '>= 0.9.9')
end
EOF

File.open(File.expand_path("../../refinerycms-theming.gemspec", __FILE__), 'w').puts(gemspec)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
refinerycms-theming-0.9.9.1 lib/gemspec.rb