OpenC3/cosmos

View on GitHub
openc3/templates/plugin/plugin.gemspec

Summary

Maintainability
Test Coverage
# encoding: ascii-8bit

# Create the overall gemspec
Gem::Specification.new do |s|
  s.name = '<%= plugin_name %>'
  s.summary = 'OpenC3 <%= plugin_name %> plugin'
  s.description = <<-EOF
    <%= plugin_name %> plugin for deployment to OpenC3
  EOF
  s.license = 'MIT'
  s.authors = ['Anonymous']
  s.email = ['name@domain.com']
  s.homepage = 'https://github.com/OpenC3/cosmos'
  s.platform = Gem::Platform::RUBY

  if ENV['VERSION']
    s.version = ENV['VERSION'].dup
  else
    time = Time.now.strftime("%Y%m%d%H%M%S")
    s.version = '0.0.0' + ".#{time}"
  end
  s.files = Dir.glob("{targets,lib,tools,microservices}/**/*") + %w(Rakefile README.md LICENSE.txt plugin.txt)
end