From 03a6d3dc2dd8dc6946abd164eb6c1b438ac4b95d Mon Sep 17 00:00:00 2001 From: Michal Papis Date: Sat, 8 Nov 2014 19:23:33 +0100 Subject: [PATCH] add license --- Gemfile | 6 ++++++ LICENSE | 21 +++++++++++++++++++++ Rakefile | 6 ++++++ lib/plugins/pre_commit/checks/gpg.rb | 6 ++++++ lib/pre-commit/gpg/version.rb | 6 ++++++ pre-commit-gpg.gemspec | 8 +++++++- test/minitest_helper.rb | 6 ++++++ test/plugins/pre_commit/checks/gpg_test.rb | 6 ++++++ 8 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 LICENSE diff --git a/Gemfile b/Gemfile index 470ab50..4a8d2ab 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,9 @@ +=begin +Copyright 2014 Michal Papis + +See the file LICENSE for copying permission. +=end + source "https://rubygems.org" gemspec diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..fbcfbb8 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License + +Copyright (c) 2014 Michal Papis + +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. diff --git a/Rakefile b/Rakefile index 93dfb4f..2bdba5b 100644 --- a/Rakefile +++ b/Rakefile @@ -1,3 +1,9 @@ +=begin +Copyright 2014 Michal Papis + +See the file LICENSE for copying permission. +=end + require "rake/testtask" Rake::TestTask.new do |test| diff --git a/lib/plugins/pre_commit/checks/gpg.rb b/lib/plugins/pre_commit/checks/gpg.rb index 682bfe5..d5affc0 100644 --- a/lib/plugins/pre_commit/checks/gpg.rb +++ b/lib/plugins/pre_commit/checks/gpg.rb @@ -1,3 +1,9 @@ +=begin +Copyright 2014 Michal Papis + +See the file LICENSE for copying permission. +=end + require 'pre-commit/checks/shell' require 'pre-commit/error_list' diff --git a/lib/pre-commit/gpg/version.rb b/lib/pre-commit/gpg/version.rb index 16515bc..e08c13f 100644 --- a/lib/pre-commit/gpg/version.rb +++ b/lib/pre-commit/gpg/version.rb @@ -1,3 +1,9 @@ +=begin +Copyright 2014 Michal Papis + +See the file LICENSE for copying permission. +=end + # :nodoc: module PreCommit # placeholder for gem VERSION diff --git a/pre-commit-gpg.gemspec b/pre-commit-gpg.gemspec index ed7ecd1..32ab256 100644 --- a/pre-commit-gpg.gemspec +++ b/pre-commit-gpg.gemspec @@ -1,3 +1,9 @@ +=begin +Copyright 2014 Michal Papis + +See the file LICENSE for copying permission. +=end + # -*- encoding: utf-8 -*- lib = File.expand_path('../lib', __FILE__) @@ -9,7 +15,7 @@ Gem::Specification.new do |s| s.version = PreCommit::Gpg::VERSION s.authors = ["Michal Papis"] s.homepage = "http://github.com/pre-commit-plugins/pre-commit-gpg" - s.license = "Apache 2.0" + s.license = "MIT" s.summary = "GPG verification plugin for jish/pre-commit" s.extra_rdoc_files = ["README.md"] diff --git a/test/minitest_helper.rb b/test/minitest_helper.rb index ae31a96..534da69 100644 --- a/test/minitest_helper.rb +++ b/test/minitest_helper.rb @@ -1,3 +1,9 @@ +=begin +Copyright 2014 Michal Papis + +See the file LICENSE for copying permission. +=end + if RUBY_VERSION == "2.0.0" # check Gemfile then diff --git a/test/plugins/pre_commit/checks/gpg_test.rb b/test/plugins/pre_commit/checks/gpg_test.rb index 0ec025a..8d330a2 100644 --- a/test/plugins/pre_commit/checks/gpg_test.rb +++ b/test/plugins/pre_commit/checks/gpg_test.rb @@ -1,3 +1,9 @@ +=begin +Copyright 2014 Michal Papis + +See the file LICENSE for copying permission. +=end + require 'minitest_helper' require 'plugins/pre_commit/checks/gpg'