Skip to content

Commit daa31fd

Browse files
committed
License change MIT -> LGPL
1 parent 59e4cd9 commit daa31fd

20 files changed

+795
-22
lines changed

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ GEM
3333
method_source (~> 0.8.1)
3434
slop (~> 3.4)
3535
spoon (~> 0.0)
36-
redcarpet (3.2.2)
36+
redcarpet (3.2.3)
3737
rspec (2.99.0)
3838
rspec-core (~> 2.99.0)
3939
rspec-expectations (~> 2.99.0)
@@ -54,7 +54,7 @@ GEM
5454
ffi
5555
tagz (9.9.2)
5656
tenjin (0.7.1)
57-
treetop (1.5.3)
57+
treetop (1.6.2)
5858
polyglot (~> 0.3)
5959
yard (0.8.7.6)
6060

LICENSE.txt

Lines changed: 504 additions & 0 deletions
Large diffs are not rendered by default.

MIT-LICENSE

Lines changed: 0 additions & 19 deletions
This file was deleted.

htmless.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
1515
s.extra_rdoc_files = %w(README.md README_FULL.md MIT-LICENSE VERSION)
1616
s.files = Dir['lib/**/*.rb']
1717
s.require_paths = %w(lib)
18-
s.license = 'MIT'
18+
s.license = 'LGPL'
1919
s.test_files = Dir['spec/**/*.rb']
2020

2121

lib/copy_to_doc.rb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# Htmless
2+
# Copyright (C) 2015 Petr Chalupa <git@pitr.ch>
3+
#
4+
# This library is free software; you can redistribute it and/or
5+
# modify it under the terms of the GNU Lesser General Public
6+
# License as published by the Free Software Foundation; either
7+
# version 2.1 of the License, or (at your option) any later version.
8+
#
9+
# This library is distributed in the hope that it will be useful,
10+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
# Lesser General Public License for more details.
13+
#
14+
# You should have received a copy of the GNU Lesser General Public
15+
# License along with this library; if not, write to the Free Software
16+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
17+
# USA
18+
119
# This copies insides of dynamic classes into doc.rb for documenting purposes only
220

321
require 'pp'

lib/htmless.rb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# Htmless
2+
# Copyright (C) 2015 Petr Chalupa <git@pitr.ch>
3+
#
4+
# This library is free software; you can redistribute it and/or
5+
# modify it under the terms of the GNU Lesser General Public
6+
# License as published by the Free Software Foundation; either
7+
# version 2.1 of the License, or (at your option) any later version.
8+
#
9+
# This library is distributed in the hope that it will be useful,
10+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
# Lesser General Public License for more details.
13+
#
14+
# You should have received a copy of the GNU Lesser General Public
15+
# License along with this library; if not, write to the Free Software
16+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
17+
# USA
18+
119
module Htmless
220
def self.version
321
@version ||= Gem::Version.new File.read(File.join(File.dirname(__FILE__), '..', 'VERSION'))

lib/htmless/abstract.rb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# Htmless
2+
# Copyright (C) 2015 Petr Chalupa <git@pitr.ch>
3+
#
4+
# This library is free software; you can redistribute it and/or
5+
# modify it under the terms of the GNU Lesser General Public
6+
# License as published by the Free Software Foundation; either
7+
# version 2.1 of the License, or (at your option) any later version.
8+
#
9+
# This library is distributed in the hope that it will be useful,
10+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
# Lesser General Public License for more details.
13+
#
14+
# You should have received a copy of the GNU Lesser General Public
15+
# License along with this library; if not, write to the Free Software
16+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
17+
# USA
18+
119
require 'cgi'
220
#require 'active_support/core_ext/string/inflections'
321

lib/htmless/abstract/abstract_double_tag.rb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# Htmless
2+
# Copyright (C) 2015 Petr Chalupa <git@pitr.ch>
3+
#
4+
# This library is free software; you can redistribute it and/or
5+
# modify it under the terms of the GNU Lesser General Public
6+
# License as published by the Free Software Foundation; either
7+
# version 2.1 of the License, or (at your option) any later version.
8+
#
9+
# This library is distributed in the hope that it will be useful,
10+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
# Lesser General Public License for more details.
13+
#
14+
# You should have received a copy of the GNU Lesser General Public
15+
# License along with this library; if not, write to the Free Software
16+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
17+
# USA
18+
119
module Htmless
220
class Abstract
321
dynamic_classes do

lib/htmless/abstract/abstract_single_tag.rb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# Htmless
2+
# Copyright (C) 2015 Petr Chalupa <git@pitr.ch>
3+
#
4+
# This library is free software; you can redistribute it and/or
5+
# modify it under the terms of the GNU Lesser General Public
6+
# License as published by the Free Software Foundation; either
7+
# version 2.1 of the License, or (at your option) any later version.
8+
#
9+
# This library is distributed in the hope that it will be useful,
10+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
# Lesser General Public License for more details.
13+
#
14+
# You should have received a copy of the GNU Lesser General Public
15+
# License along with this library; if not, write to the Free Software
16+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
17+
# USA
18+
119
module Htmless
220
class Abstract
321
dynamic_classes do

lib/htmless/abstract/abstract_tag.rb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# Htmless
2+
# Copyright (C) 2015 Petr Chalupa <git@pitr.ch>
3+
#
4+
# This library is free software; you can redistribute it and/or
5+
# modify it under the terms of the GNU Lesser General Public
6+
# License as published by the Free Software Foundation; either
7+
# version 2.1 of the License, or (at your option) any later version.
8+
#
9+
# This library is distributed in the hope that it will be useful,
10+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
# Lesser General Public License for more details.
13+
#
14+
# You should have received a copy of the GNU Lesser General Public
15+
# License along with this library; if not, write to the Free Software
16+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
17+
# USA
18+
119
module Htmless
220
class Abstract
321
dynamic_classes do

0 commit comments

Comments
 (0)