Sprichwoerter 1.6 → 1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
Binary file
data/doc/pdf/proverbs.pdf CHANGED
Binary file
Binary file
data/doc/rst/proverbs.rst CHANGED
@@ -98,15 +98,22 @@ types of file. For the English version, these are:
98
98
 
99
99
  OTHER INFORMATION
100
100
  ==================
101
- :Source-code: "Proverbs" had been developed in Ruby and is distributed as a
102
- ruby-gem. If you installed the program from the gem-file (with
101
+
102
+ .. _Ruby: https://www.ruby-lang.org
103
+ .. _ruby-gem: https://rubygems.org/gems/Sprichwoerter
104
+
105
+ :Source-code: "Proverbs" had been developed in `Ruby`_ and is distributed as a
106
+ ruby-gem_. If you installed the program from the gem-file (with
103
107
  *gem install*), then you find all the source-files in the
104
108
  gem-folder for your Ruby-version. Otherwise, you can also unpack
105
109
  the gem-file (with *tar*), then uncompress the data-archive and
106
110
  take a look at the files in the resulting, new folders *bin* and
107
111
  *lib*.
112
+
113
+ .. _WTFPL: https://www.wtfpl.net/about/
114
+
108
115
  :License: "Proverbs" is released under the conditions of the
109
- GNU General Public License, version 3.0.
116
+ `WTFPL`_, version 2.0.
110
117
  :Version: 1.6 of 2019/10/15
111
118
  :Author: "Proverbs" has been programmed by Michael Uplawski
112
119
  <michael.uplawski@uplawski.eu>. The German parlor game
@@ -105,7 +105,10 @@ ANDERE INFORMATIONEN
105
105
  Das Gesellschaftsspiel "*Verrückte Sprichwörter*" diente als Inspiration für
106
106
  die Entwicklung des Programms.
107
107
 
108
- :Quellcode: "Sprichwörter" ist in Ruby programmiert und wird als Ruby-Gem
108
+ .. _Ruby: https://www.ruby-lang.org
109
+ .. _ruby-gem: https://rubygems.org/gems/Sprichwoerter
110
+
111
+ :Quellcode: "Sprichwörter" ist in Ruby_ programmiert und wird als Ruby-Gem_
109
112
  veröffentlicht. Wenn Sie das Programm aus der Gem-Datei installiert
110
113
  haben, befinden sich alle Quellcode-Dateien im Gem-Ordner für Ihre
111
114
  Ruby-Version. Anderenfalls können sie auch die Gem-Datei entpacken
@@ -114,8 +117,10 @@ die Entwicklung des Programms.
114
117
 
115
118
  :Version: 1.6 vom 15. Oktober 2019
116
119
 
117
- :Lizenz: "Sprichwörter" ist freie Software gemäß den Bestimmungen der GNU GPL,
118
- Version 3.0
120
+ .. _WTFPL: https://www.wtfpl.net/about
121
+
122
+ :Lizenz: "Sprichwörter" ist freie Software gemäß den Bestimmungen der WTFPL_,
123
+ Version 2.0
119
124
 
120
125
  :Autor: "Sprichwörter" wurde von Michael Uplawski
121
126
  <michael.uplawski@uplawski.eu> programmiert.
data/lib/adder.rb CHANGED
@@ -1,23 +1,11 @@
1
1
  #encoding: UTF-8
2
2
  =begin
3
- /***************************************************************************
4
- * ©2016-2016 Michael Uplawski <michael.uplawski@uplawski.eu> *
3
+ * ©2016-2025, Michael Uplawski <michael.uplawski@uplawski.eu> *
5
4
  * *
6
5
  * This program is free software; you can redistribute it and/or modify *
7
- * it under the terms of the GNU General Public License as published by *
8
- * the Free Software Foundation; either version 3 of the License, or *
6
+ * it under the terms of the WTFPL, either version 2 of the License, or *
9
7
  * (at your option) any later version. *
10
- * *
11
- * This program is distributed in the hope that it will be useful, *
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
- * GNU General Public License for more details. *
15
- * *
16
- * You should have received a copy of the GNU General Public License *
17
- * along with this program; if not, write to the *
18
- * Free Software Foundation, Inc., *
19
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
20
- ***************************************************************************/
8
+ * See http://www.wtfpl.net/about/ for details. *
21
9
  =end
22
10
 
23
11
  require_relative 'color_output'
data/lib/argparser.rb CHANGED
@@ -1,26 +1,14 @@
1
1
  #encoding: UTF-8
2
+
2
3
  =begin
3
- /***************************************************************************
4
- * ©2019-2019 Michael Uplawski <michael.uplawski@uplawski.eu> *
4
+ * ©2016-2025, Michael Uplawski <michael.uplawski@uplawski.eu> *
5
5
  * *
6
6
  * This program is free software; you can redistribute it and/or modify *
7
- * it under the terms of the GNU General Public License as published by *
8
- * the Free Software Foundation; either version 3 of the License, or *
7
+ * it under the terms of the WTFPL, either version 2 of the License, or *
9
8
  * (at your option) any later version. *
10
- * *
11
- * This program is distributed in the hope that it will be useful, *
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
- * GNU General Public License for more details. *
15
- * *
16
- * You should have received a copy of the GNU General Public License *
17
- * along with this program; if not, write to the *
18
- * Free Software Foundation, Inc., *
19
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
20
- ***************************************************************************/
9
+ * See http://www.wtfpl.net/about/ for details. *
21
10
  =end
22
11
 
23
-
24
12
  require 'optparse'
25
13
  require 'optparse/time'
26
14
  require 'ostruct'
data/lib/color_output.rb CHANGED
@@ -1,4 +1,13 @@
1
- #encoding 'UTF-8'
1
+ #encoding: UTF-8
2
+
3
+ =begin
4
+ * ©2016-2025, Michael Uplawski <michael.uplawski@uplawski.eu> *
5
+ * *
6
+ * This program is free software; you can redistribute it and/or modify *
7
+ * it under the terms of the WTFPL, either version 2 of the License, or *
8
+ * (at your option) any later version. *
9
+ * See http://www.wtfpl.net/about/ for details. *
10
+ =end
2
11
 
3
12
  # functions to apply colors to terminal output
4
13
 
data/lib/liste_de.rb CHANGED
@@ -1,23 +1,12 @@
1
- #encoding: UTF-8
1
+ #encoding 'UTF-8'
2
+
2
3
  =begin
3
- /***************************************************************************
4
- * ©2016-2019 Michael Uplawski <michael.uplawski@uplawski.eu> *
4
+ * ©2016-2025, Michael Uplawski <michael.uplawski@uplawski.eu> *
5
5
  * *
6
6
  * This program is free software; you can redistribute it and/or modify *
7
- * it under the terms of the GNU General Public License as published by *
8
- * the Free Software Foundation; either version 3 of the License, or *
7
+ * it under the terms of the WTFPL, either version 2 of the License, or *
9
8
  * (at your option) any later version. *
10
- * *
11
- * This program is distributed in the hope that it will be useful, *
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
- * GNU General Public License for more details. *
15
- * *
16
- * You should have received a copy of the GNU General Public License *
17
- * along with this program; if not, write to the *
18
- * Free Software Foundation, Inc., *
19
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
20
- ***************************************************************************/
9
+ * See http://www.wtfpl.net/about/ for details. *
21
10
  =end
22
11
 
23
12
  # 1. plural nominativ
data/lib/liste_en.rb CHANGED
@@ -1,23 +1,12 @@
1
1
  #encoding: UTF-8
2
+
2
3
  =begin
3
- /***************************************************************************
4
- * ©2016-2019 Michael Uplawski <michael.uplawski@uplawski.eu> *
4
+ * ©2016-2025, Michael Uplawski <michael.uplawski@uplawski.eu> *
5
5
  * *
6
6
  * This program is free software; you can redistribute it and/or modify *
7
- * it under the terms of the GNU General Public License as published by *
8
- * the Free Software Foundation; either version 3 of the License, or *
7
+ * it under the terms of the WTFPL, either version 2 of the License, or *
9
8
  * (at your option) any later version. *
10
- * *
11
- * This program is distributed in the hope that it will be useful, *
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
- * GNU General Public License for more details. *
15
- * *
16
- * You should have received a copy of the GNU General Public License *
17
- * along with this program; if not, write to the *
18
- * Free Software Foundation, Inc., *
19
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
20
- ***************************************************************************/
9
+ * See http://www.wtfpl.net/about/ for details. *
21
10
  =end
22
11
 
23
12
  # plural subjects
data/lib/logging.rb CHANGED
@@ -1,24 +1,14 @@
1
1
  #encoding: UTF-8
2
+
2
3
  =begin
3
- /***************************************************************************
4
- * ©2011-2019 Michael Uplawski <michael.uplawski@uplawski.eu> *
4
+ * ©2016-2025, Michael Uplawski <michael.uplawski@uplawski.eu> *
5
5
  * *
6
6
  * This program is free software; you can redistribute it and/or modify *
7
- * it under the terms of the GNU General Public License as published by *
8
- * the Free Software Foundation; either version 3 of the License, or *
7
+ * it under the terms of the WTFPL, either version 2 of the License, or *
9
8
  * (at your option) any later version. *
10
- * *
11
- * This program is distributed in the hope that it will be useful, *
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
- * GNU General Public License for more details. *
15
- * *
16
- * You should have received a copy of the GNU General Public License *
17
- * along with this program; if not, write to the *
18
- * Free Software Foundation, Inc., *
19
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
20
- ***************************************************************************/
9
+ * See http://www.wtfpl.net/about/ for details. *
21
10
  =end
11
+
22
12
  require 'logger'
23
13
 
24
14
  =begin Creates a member @log and precede its output with the name of the class
data/lib/rearranging.rb CHANGED
@@ -1,24 +1,12 @@
1
1
  #encoding: UTF-8
2
2
 
3
3
  =begin
4
- /***************************************************************************
5
- * ©2014-2019, Michael Uplawski <michael.uplawski@uplawski.eu> *
4
+ * ©2016-2025, Michael Uplawski <michael.uplawski@uplawski.eu> *
6
5
  * *
7
6
  * This program is free software; you can redistribute it and/or modify *
8
- * it under the terms of the GNU General Public License as published by *
9
- * the Free Software Foundation; either version 3 of the License, or *
7
+ * it under the terms of the WTFPL, either version 2 of the License, or *
10
8
  * (at your option) any later version. *
11
- * *
12
- * This program is distributed in the hope that it will be useful, *
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15
- * GNU General Public License for more details. *
16
- * *
17
- * You should have received a copy of the GNU General Public License *
18
- * along with this program; if not, write to the *
19
- * Free Software Foundation, Inc., *
20
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
21
- ***************************************************************************/
9
+ * See http://www.wtfpl.net/about/ for details. *
22
10
  =end
23
11
 
24
12
  =begin
@@ -1,24 +1,13 @@
1
1
  #!/usr/bin/env ruby
2
2
  #encoding: UTF-8
3
+
3
4
  =begin
4
- /***************************************************************************
5
- * ©2016-2019 Michael Uplawski <michael.uplawski@uplawski.eu> *
5
+ * ©2016-2025, Michael Uplawski <michael.uplawski@uplawski.eu> *
6
6
  * *
7
7
  * This program is free software; you can redistribute it and/or modify *
8
- * it under the terms of the GNU General Public License as published by *
9
- * the Free Software Foundation; either version 3 of the License, or *
8
+ * it under the terms of the WTFPL, either version 2 of the License, or *
10
9
  * (at your option) any later version. *
11
- * *
12
- * This program is distributed in the hope that it will be useful, *
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15
- * GNU General Public License for more details. *
16
- * *
17
- * You should have received a copy of the GNU General Public License *
18
- * along with this program; if not, write to the *
19
- * Free Software Foundation, Inc., *
20
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
21
- ***************************************************************************/
10
+ * See http://www.wtfpl.net/about/ for details. *
22
11
  =end
23
12
 
24
13
  require_relative 'user_input'
data/lib/translating.rb CHANGED
@@ -1,23 +1,12 @@
1
1
  #encoding: UTF-8
2
+
2
3
  =begin
3
- /***************************************************************************
4
- * ©2011-2019, Michael Uplawski <michael.uplawski@uplawski.eu> *
4
+ * ©2016-2025, Michael Uplawski <michael.uplawski@uplawski.eu> *
5
5
  * *
6
6
  * This program is free software; you can redistribute it and/or modify *
7
- * it under the terms of the GNU General Public License as published by *
8
- * the Free Software Foundation; either version 3 of the License, or *
7
+ * it under the terms of the WTFPL, either version 2 of the License, or *
9
8
  * (at your option) any later version. *
10
- * *
11
- * This program is distributed in the hope that it will be useful, *
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
- * GNU General Public License for more details. *
15
- * *
16
- * You should have received a copy of the GNU General Public License *
17
- * along with this program; if not, write to the *
18
- * Free Software Foundation, Inc., *
19
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
20
- ***************************************************************************/
9
+ * See http://www.wtfpl.net/about/ for details. *
21
10
  =end
22
11
 
23
12
 
data/lib/user_input.rb CHANGED
@@ -1,24 +1,12 @@
1
1
  #encoding: UTF-8
2
2
 
3
3
  =begin
4
- /***************************************************************************
5
- * ©2014-2019, Michael Uplawski <michael.uplawski@uplawski.eu> *
4
+ * ©2016-2025, Michael Uplawski <michael.uplawski@uplawski.eu> *
6
5
  * *
7
6
  * This program is free software; you can redistribute it and/or modify *
8
- * it under the terms of the GNU General Public License as published by *
9
- * the Free Software Foundation; either version 3 of the License, or *
7
+ * it under the terms of the WTFPL, either version 2 of the License, or *
10
8
  * (at your option) any later version. *
11
- * *
12
- * This program is distributed in the hope that it will be useful, *
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15
- * GNU General Public License for more details. *
16
- * *
17
- * You should have received a copy of the GNU General Public License *
18
- * along with this program; if not, write to the *
19
- * Free Software Foundation, Inc., *
20
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
21
- ***************************************************************************/
9
+ * See http://www.wtfpl.net/about/ for details. *
22
10
  =end
23
11
 
24
12
  # -----------> Forgot, what this is doing
data/lib/version.rb CHANGED
@@ -1,25 +1,14 @@
1
1
  #!/usr/bin/env ruby
2
2
  #encoding: UTF-8
3
+
3
4
  =begin
4
- /***************************************************************************
5
- * ©2019-2019 Michael Uplawski <michael.uplawski@uplawski.eu> *
5
+ * ©2016-2025, Michael Uplawski <michael.uplawski@uplawski.eu> *
6
6
  * *
7
7
  * This program is free software; you can redistribute it and/or modify *
8
- * it under the terms of the GNU General Public License as published by *
9
- * the Free Software Foundation; either version 3 of the License, or *
8
+ * it under the terms of the WTFPL, either version 2 of the License, or *
10
9
  * (at your option) any later version. *
11
- * *
12
- * This program is distributed in the hope that it will be useful, *
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15
- * GNU General Public License for more details. *
16
- * *
17
- * You should have received a copy of the GNU General Public License *
18
- * along with this program; if not, write to the *
19
- * Free Software Foundation, Inc., *
20
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
21
- ***************************************************************************/
10
+ * See http://www.wtfpl.net/about/ for details. *
22
11
  =end
23
12
 
24
- VERSION=1.6
25
- SUMMARY="Adding proverbs works again, now intaractively. Values are no longer given on the command-line, but asked, one by one, from the user."
13
+ VERSION=1.7
14
+ SUMMARY="Changed license to WTFPL. Generation of the documentation improved."
metadata CHANGED
@@ -1,21 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Sprichwoerter
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.6'
4
+ version: '1.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Uplawski
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2019-10-16 00:00:00.000000000 Z
10
+ date: 2026-01-01 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: Generates random, senseless proverbs by combining beginnings and endings
14
13
  of existing proverbs.
15
14
  email: michael.uplawski@uplawski.eu
16
15
  executables:
17
- - sprichwoerter
18
16
  - proverbs
17
+ - sprichwoerter
19
18
  extensions: []
20
19
  extra_rdoc_files: []
21
20
  files:
@@ -43,11 +42,11 @@ files:
43
42
  - lib/translations
44
43
  - lib/user_input.rb
45
44
  - lib/version.rb
46
- homepage: http://rubygems.org
47
45
  licenses:
48
- - GPL-3.0
49
- metadata: {}
50
- post_install_message:
46
+ - Nonstandard
47
+ metadata:
48
+ homepage_uri: https://www.uplawski.eu/software/sprichwoerter
49
+ documentation_uri: https://www.uplawski.eu/software/sprichwoerter/proverbs.html
51
50
  rdoc_options: []
52
51
  require_paths:
53
52
  - lib
@@ -62,10 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
61
  - !ruby/object:Gem::Version
63
62
  version: '0'
64
63
  requirements: []
65
- rubyforge_project:
66
- rubygems_version: 2.7.6.2
67
- signing_key:
64
+ rubygems_version: 3.6.7
68
65
  specification_version: 4
69
- summary: Adding proverbs works again, now intaractively. Values are no longer given
70
- on the command-line, but asked, one by one, from the user.
66
+ summary: Changed license to WTFPL. Generation of the documentation improved.
71
67
  test_files: []