forked from cloudposse-archives/copyright-header
-
Notifications
You must be signed in to change notification settings - Fork 0
/
copyright-header.gemspec
28 lines (24 loc) · 1.18 KB
/
copyright-header.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "copyright_header/version"
if RUBY_VERSION =~ /1.9/ # assuming you're running Ruby ~1.9
Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8
end
Gem::Specification.new do |s|
s.name = "copyright-header"
s.version = CopyrightHeader::VERSION
s.authors = ["Erik Osterman"]
s.email = ["[email protected]"]
s.licenses = ["GPL-3.0"]
s.homepage = "https://github.com/osterman/copyright-header"
s.summary = %q{A utility to insert copyright headers into various types of source code files}
s.description = %q{A utility which is able to recursively insert and remove copyright headers from source code files based on file extensions.}
s.rubyforge_project = "copyright-header"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.extra_rdoc_files = ['README.md', 'LICENSE', 'AUTHORS', 'contrib/syntax.yml' ]
s.require_paths = ["lib"]
s.add_runtime_dependency('github-linguist','~>6.0')
end