Sha256: be8598aa039677323535503ab1ad64133f26e17015dcd80496d5add99826510d

Contents?: true

Size: 1013 Bytes

Versions: 1

Compression:

Stored size: 1013 Bytes

Contents

#!/usr/bin/env ruby
version = '1.0.3'
raise "Could not get version so gemspec can not be built" if version.nil?
files = Dir.glob("**/*").flatten.reject do |file|
  file =~ /\.gem$/
end

gemspec = <<EOF
Gem::Specification.new do |s|
  s.name              = %q{cms-inquiries}
  s.version           = %q{#{version}}
  s.date              = %q{#{Time.now.strftime('%Y-%m-%d')}}
  s.summary           = %q{Inquiry handling functionality for the CMS project.}
  s.description       = %q{Inquiry handling functionality extracted from CMS to allow you to have a contact form and manage inquiries in the backend.}
  s.homepage          = %q{http://www.mutalis.com}
  s.email             = %q{services_info@mutalis.com}
  s.authors           = ["Mutalis LLC"]
  s.require_paths     = %w(lib)

  s.files             = [
    '#{files.join("',\n    '")}'
  ]
  s.require_path = 'lib'

  s.add_dependency('filters_spam', '~> 0.2')
end
EOF

File.open(File.expand_path("../../cms-inquiries.gemspec", __FILE__), 'w').puts(gemspec)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cms-inquiries-1.0.3 lib/gemspec.rb