Sha256: a22e10925e4535a77d9309471954bb35f8f006b3915b1688a6b93193fc1e5ce2

Contents?: true

Size: 1.75 KB

Versions: 62

Compression:

Stored size: 1.75 KB

Contents

# coding: utf-8
config = File.expand_path('../config', __FILE__)
require "#{config}/version"

Gem::Specification.new do |spec|
  spec.name          = "<%= @name %>"
  spec.version       = <%= @namespace %>::VERSION
  spec.authors       = ["<%= User.current.name %>"]
  spec.email         = ["<%= User.current.email %>"]
  spec.summary       = "<%= @summary %>"
<% if @audience == :external -%>
  #spec.homepage      = "http://origen-sdk.org/<%= @name %>"
<% else -%>
  #spec.homepage      = "http://origen.mycompany.net/<%= @name %>"
<% end -%>

  spec.required_ruby_version     = '>= 2'
  spec.required_rubygems_version = '>= 1.8.11'

  # Only the files that are hit by these wildcards will be included in the
  # packaged gem, the default should hit everything in most cases but this will
  # need to be added to if you have any custom directories
  spec.files         = Dir["lib/<%= @name %>.rb", "lib/<%= @name %>/**/*.rb", "templates/**/*", "config/**/*.rb",
                           "bin/*", "lib/tasks/**/*.rake", "pattern/**/*.rb", "program/**/*.rb",
                           "app/lib/**/*.rb", "app/templates/**/*",
                           "app/patterns/**/*.rb", "app/flows/**/*.rb", "app/blocks/**/*.rb"
                          ]
  spec.executables   = []
  spec.require_paths = ["lib", "app/lib"]

  # Add any gems that your plugin needs to run within a host application
  spec.add_runtime_dependency "origen", ">= <%= @latest_origen_version %>"
<% if @runtime_dependencies -%>  
  <% @runtime_dependencies.each do |dep| -%>
spec.add_runtime_dependency <%= dep.map{ |d| "\"#{d}\"" }.join(', ') %>
  <% end -%>
<% end -%>
<% if @post_runtime_dependency_comments -%>  
  <% @post_runtime_dependency_comments.each do |line| -%>
# <%= line %>
  <% end -%>
<% end -%>
end

Version data entries

62 entries across 62 versions & 2 rubygems

Version Path
origen-0.60.19 origen_app_generators/templates/app_generators/plugin/gemspec.rb
origen-0.60.18 origen_app_generators/templates/app_generators/plugin/gemspec.rb
origen-0.60.17 origen_app_generators/templates/app_generators/plugin/gemspec.rb
origen-0.60.16 origen_app_generators/templates/app_generators/plugin/gemspec.rb
origen-0.60.14 origen_app_generators/templates/app_generators/plugin/gemspec.rb
origen-0.60.13 origen_app_generators/templates/app_generators/plugin/gemspec.rb
origen-0.60.12 origen_app_generators/templates/app_generators/plugin/gemspec.rb
origen-0.60.11 origen_app_generators/templates/app_generators/plugin/gemspec.rb
origen-0.60.10 origen_app_generators/templates/app_generators/plugin/gemspec.rb
origen-0.60.9 origen_app_generators/templates/app_generators/plugin/gemspec.rb
origen-0.60.8 origen_app_generators/templates/app_generators/plugin/gemspec.rb
origen-0.60.7 origen_app_generators/templates/app_generators/plugin/gemspec.rb
origen-0.60.6 origen_app_generators/templates/app_generators/plugin/gemspec.rb
origen-0.60.5 origen_app_generators/templates/app_generators/plugin/gemspec.rb
origen-0.60.4 origen_app_generators/templates/app_generators/plugin/gemspec.rb
origen-0.60.3 origen_app_generators/templates/app_generators/plugin/gemspec.rb
origen-0.60.2 origen_app_generators/templates/app_generators/plugin/gemspec.rb
origen-0.60.1 origen_app_generators/templates/app_generators/plugin/gemspec.rb
origen-0.60.0 origen_app_generators/templates/app_generators/plugin/gemspec.rb
origen-0.59.8 origen_app_generators/templates/app_generators/plugin/gemspec.rb