Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change License of gem from GPL 3.0 to dual-license GPL 3.0 and BSD-2-Clause #154

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions History.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
* Dual-license bibtex-ruby under GPL-3.0 and BSD-2-Clause
* Add official support for Ruby 3.1
* Remove official support for Ruby < 2.7, as they reached their End-of-Life

Expand Down
16 changes: 16 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
Dual-Licensed under GPL-3.0 and BSD-2-Clause

---

Copyright 2010-2022 The BibTeX-Ruby Contributors

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. 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.

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 HOLDER 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.

---

GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -605,11 +605,8 @@ To execute the test suite continuously while you're working run:

Credits
-------

Copyright 2011-2015 [Sylvester Keil](http://sylvester.keil.or.at/).

Kudos to all [contributors](https://github.com/inukshuk/bibtex-ruby/contributors)
who have made BibTeX-Ruby possible.

This software is distributed under the terms and conditions of the GNU GPL.
This software is dual-licensed under GPL-3.0 and BSD-2-Clause.
See LICENSE for details.
7 changes: 3 additions & 4 deletions bibtex-ruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ Gem::Specification.new do |s|
s.version = BibTeX::Version::STRING.dup
s.platform = Gem::Platform::RUBY
s.required_ruby_version = '>= 2.4.0'
s.authors = ['Sylvester Keil']
s.email = ['sylvester@keil.or.at']
s.homepage = 'http://inukshuk.github.com/bibtex-ruby'
s.license = 'GPL-3.0'
s.authors = ['The BibTeX-Ruby Contributors']
s.homepage = 'https://github.com/inukshuk/bibtex-ruby'
s.licenses = ['GPL-3.0', 'BSD-2-Clause']

s.summary = 'A BibTeX parser, converter and API for Ruby.'
s.description = <<-END_DESCRIPTION.gsub(/^\s+/, '')
Expand Down
2 changes: 1 addition & 1 deletion features/entries.feature
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Feature: Parse BibTeX preambles
%% http://bibdesk.sourceforge.net/


%% Created for Sylvester Keil at 2010-08-05 10:07:07 +0200
%% Created at 2010-08-05 10:07:07 +0200


%% Saved with string encoding Unicode (UTF-8)
Expand Down
23 changes: 2 additions & 21 deletions lib/bibtex.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
#--
# BibTeX-Ruby
# Copyright (C) 2010-2015 Sylvester Keil <sylvester.keil.or.at>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#++

require 'digest/md5'
require 'forwardable'
require 'logger'
Expand All @@ -31,9 +13,8 @@
# an API to the individual BibTeX objects: +String+,
# +Preamble+, +Comment+, and +Entry+.
#
# Author:: {Sylvester Keil}[http://sylvester.keil.or.at]
# Copyright:: Copyright (c) 2010-2014 Sylvester Keil
# License:: GNU GPL 3.0
# Copyright:: Copyright (c) 2010-2022 The BibTeX-Ruby Contributors
# License:: GNU GPL 3.0 and BSD-2-Clause
#
module BibTeX
#
Expand Down
18 changes: 0 additions & 18 deletions lib/bibtex/bibliography.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
#--
# BibTeX-Ruby
# Copyright (C) 2010-2015 Sylvester Keil <sylvester.keil.or.at>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#++

module BibTeX
#
# The Bibliography class models a BibTeX bibliography;
Expand Down
17 changes: 0 additions & 17 deletions lib/bibtex/bibtex.y
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
#--
# BibTeX-Ruby
# Copyright (C) 2010-2011 Sylvester Keil <http://sylvester.keil.or.at>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#++
#
# A BibTeX grammar for the parser generator +racc+
#
Expand Down
18 changes: 0 additions & 18 deletions lib/bibtex/elements.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
#--
# BibTeX-Ruby
# Copyright (C) 2010-2015 Sylvester Keil <sylvester.keil.or.at>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#++

module BibTeX
#
# The base class for BibTeX objects.
Expand Down
18 changes: 0 additions & 18 deletions lib/bibtex/entry.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
#--
# BibTeX-Ruby
# Copyright (C) 2010-2015 Sylvester Keil <sylvester.keil.or.at>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#++

module BibTeX
#
# Represents a regular BibTeX entry.
Expand Down
18 changes: 0 additions & 18 deletions lib/bibtex/extensions.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
#--
# BibTeX-Ruby
# Copyright (C) 2011 Sylvester Keil <sylvester.keil.or.at>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#++

module BibTeX
module Extensions
end
Expand Down
18 changes: 0 additions & 18 deletions lib/bibtex/lexer.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
#--
# BibTeX-Ruby
# Copyright (C) 2010-2015 Sylvester Keil <http://sylvester.keil.or.at>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#++

require 'strscan'

module BibTeX
Expand Down
18 changes: 0 additions & 18 deletions lib/bibtex/names.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
#--
# BibTeX-Ruby
# Copyright (C) 2010-2015 Sylvester Keil <sylvester.keil.or.at>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#++

require 'forwardable'

module BibTeX
Expand Down
17 changes: 0 additions & 17 deletions lib/bibtex/names.y
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
#--
# BibTeX-Ruby
# Copyright (C) 2010-2011 Sylvester Keil <http://sylvester.keil.or.at>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#++
#
# A BibTeX Names grammar for the parser generator +racc+
#
Expand Down
18 changes: 0 additions & 18 deletions lib/bibtex/replaceable.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
#--
# BibTeX-Ruby
# Copyright (C) 2010 Sylvester Keil <sylvester.keil.or.at>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#++

module BibTeX
#
# The Replaceable module provides methods that expose a Value attribute
Expand Down
18 changes: 0 additions & 18 deletions lib/bibtex/utilities.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
#--
# BibTeX-Ruby
# Copyright (C) 2011 Sylvester Keil <sylvester.keil.or.at>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#++

module BibTeX
class << self
# Opens a BibTeX file or URI and returns a corresponding +Bibliography+
Expand Down
18 changes: 0 additions & 18 deletions lib/bibtex/value.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
#--
# BibTeX-Ruby
# Copyright (C) 2010-2015 Sylvester Keil <sylvester.keil.or.at>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#++

require 'forwardable'

module BibTeX
Expand Down
18 changes: 0 additions & 18 deletions lib/bibtex/version.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
#--
# BibTeX-Ruby
# Copyright (C) 2010-2015 Sylvester Keil <sylvester.keil.or.at>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#++

module BibTeX
module Version
MAJOR = 6
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/bibdesk.bib
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
%% http://bibdesk.sourceforge.net/


%% Created for Sylvester Keil at 2010-08-05 10:07:07 +0200
%% Created at 2010-08-05 10:07:07 +0200


%% Saved with string encoding Unicode (UTF-8)
Expand Down