lib/legion/cli/lex/templates/base/gemspec.erb in legionio-1.2.0 vs lib/legion/cli/lex/templates/base/gemspec.erb in legionio-1.2.1
- old
+ new
@@ -1,26 +1,24 @@
require_relative 'lib/legion/extensions/<%= config[:lex] %>/version'
Gem::Specification.new do |spec|
spec.name = 'lex-<%= config[:lex] %>'
spec.version = Legion::Extensions::<%= config[:class_name] %>::VERSION
- spec.authors = ['Esity']
- spec.email = ['matthewdiverson@gmail.com']
+ spec.authors = []
+ spec.email = []
spec.summary = 'LEX::<%= config[:class_name] %>'
spec.description = 'Connects Legion to <%= config[:class_name] %>'
- spec.homepage = 'https://bitbucket.org/legion-io/lex-<%= config[:lex] %>'
+ spec.homepage = 'https://github.com/LegionIO/lex-<%= config[:lex] %>'
spec.license = 'MIT'
spec.required_ruby_version = Gem::Requirement.new('>= 2.5.0')
spec.metadata['homepage_uri'] = spec.homepage
- spec.metadata['source_code_uri'] = 'https://bitbucket.org/legion-io/lex-<%= config[:lex] %>/src'
- spec.metadata['documentation_uri'] = 'https://legionio.atlassian.net/wiki/spaces/LEX/pages/'
- spec.metadata['changelog_uri'] = 'https://legionio.atlassian.net/wiki/spaces/LEX/pages/'
- spec.metadata['bug_tracker_uri'] = 'https://bitbucket.org/legion-io/lex-<%= config[:lex] %>/issues'
+ spec.metadata['source_code_uri'] = 'https://github.com/LegionIO/lex-<%= config[:lex] %>/src'
+ spec.metadata['documentation_uri'] = 'https://github.com/LegionIO/lex-<%= config[:lex] %>/wiki'
+ spec.metadata['changelog_uri'] = 'https://github.com/LegionIO/lex-<%= config[:lex] %>'
+ spec.metadata['bug_tracker_uri'] = 'https://github.com/LegionIO/lex-<%= config[:lex] %>'
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
+ end
spec.require_paths = ['lib']
-
- spec.add_development_dependency 'rake'
- spec.add_development_dependency 'rspec'
- spec.add_development_dependency 'rubocop'
- spec.add_development_dependency 'simplecov'
end