diff --git a/CHANGELOG.md b/CHANGELOG.md index b85a743..dbe95be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## Ruby implementation +**2015.2.28** +* License changed from GNU GPLv2 to 3-clause BSD. + **2014.12.2** * New API using modules, global variables are still suported for now. diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..239aea9 --- /dev/null +++ b/LICENSE @@ -0,0 +1,29 @@ +EasyOptions is distributed under the terms of the New BSD License (3-clause): + +Copyright (c) 2013, 2014 Renato Silva +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the names of the copyright holders nor the names of the project + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR +TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README.md b/README.md index 914d7b1..c21b0a4 100644 --- a/README.md +++ b/README.md @@ -100,4 +100,4 @@ The principle behind EasyOptions can be applied in other scripting languages and ## License and copyright Copyright (c) 2013, 2014 Renato Silva. -Licensed under the terms of the GNU GPL version 2. +Licensed under the terms of the [3-clause BSD](LICENSE). diff --git a/bash/easyoptions.sh b/bash/easyoptions.sh index 134ab8b..772c0a6 100644 --- a/bash/easyoptions.sh +++ b/bash/easyoptions.sh @@ -3,7 +3,7 @@ ## ## EasyOptions 2015.2.28 ## Copyright (c) 2013, 2014 Renato Silva -## GNU GPLv2 licensed +## BSD licensed ## ## This script is supposed to parse command line arguments in a way that, ## even though its implementation is not trivial, it should be easy and diff --git a/easyoptions b/easyoptions index 5d646af..ce91e76 100644 --- a/easyoptions +++ b/easyoptions @@ -1,9 +1,9 @@ #!/bin/bash ## -## EasyOptions Bash Front End 2014.12.4 +## EasyOptions Bash Front End 2015.2.28 ## Copyright (c) 2014 Renato Silva -## GNU GPLv2 licensed +## BSD licensed ## ## This is the Bash front end for EasyOptions. It is just a wrapper to the ## default implementation for Bash scripts, which is currently Ruby. The pure diff --git a/ruby/easyoptions.gemspec b/ruby/easyoptions.gemspec index 4da7f55..0040b05 100644 --- a/ruby/easyoptions.gemspec +++ b/ruby/easyoptions.gemspec @@ -1,7 +1,7 @@ Gem::Specification.new do |spec| spec.name = 'easyoptions' - spec.version = '2014.12.2' - spec.license = 'GPLv2' + spec.version = '2015.2.28' + spec.license = 'BSD' spec.author = 'Renato Silva' spec.email = 'br.renatosilva@gmail.com' spec.summary = 'Easy option parsing' diff --git a/ruby/easyoptions.rb b/ruby/easyoptions.rb index 9066901..4fbde35 100644 --- a/ruby/easyoptions.rb +++ b/ruby/easyoptions.rb @@ -2,9 +2,9 @@ # Encoding: UTF-8 ## -## EasyOptions 2014.12.2 +## EasyOptions 2015.2.28 ## Copyright (c) 2013, 2014 Renato Silva -## GNU GPLv2 licensed +## BSD licensed ## ## This script is supposed to parse command line arguments in a way that, ## even though its implementation is not trivial, it should be easy and