From 42dbedabb7d374f69b08d5b67ba545077db6696a Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Sat, 30 Apr 2016 11:54:42 +0200 Subject: [PATCH 1/2] Add MIT LICENSE file This resolves #369. --- LICENSE | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..f2823fa --- /dev/null +++ b/LICENSE @@ -0,0 +1,9 @@ +The MIT License (MIT) +Copyright (c) 2016 Petr Korolev + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + From 8d4ab6c09c083ec6c31968baa17b41a507e2901d Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Sat, 30 Apr 2016 12:03:15 +0200 Subject: [PATCH 2/2] Include LICENSE in distributed files --- github_changelog_generator.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github_changelog_generator.gemspec b/github_changelog_generator.gemspec index cb7ef0e..a3f53dc 100644 --- a/github_changelog_generator.gemspec +++ b/github_changelog_generator.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |spec| spec.homepage = "https://github.com/skywinder/Github-Changelog-Generator" spec.license = "MIT" - spec.files = Dir["{bin,lib,man,spec}/**/*", "Rakefile", "README.md"] + spec.files = Dir["{bin,lib,man,spec}/**/*"] + %w(LICENSE Rakefile README.md) spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.test_files = spec.files.grep(%r{^(test|spec|features)/})