legal-poo 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,8 @@
1
+ [WARNING] Attempted to create task "apache2" without usage or description. Call desc if you want this method to be available as task or declare it inside a no_tasks{} block. Invoked from "bin/legal-poo:33:in `__class_init__'".
2
+ Copyright (c) 2012 Christopher Miller
3
+
4
+ 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:
5
+
6
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7
+
8
+ 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.
@@ -0,0 +1,20 @@
1
+ # Legal Poo: Crapping Out License Files
2
+
3
+ Generating a license file is boring. Finding all the little mentions of "the author" and the copyright date can be obnoxious. Shouldn't there be a way to do that automatically?
4
+
5
+ gem install legal-poo
6
+ legal-poo fdosl md "Your Name" "2012" > COPYING.md
7
+ # or, if you like plaintext better
8
+ legal-poo fdosl txt "Your Name" "2012" > COPYING
9
+
10
+ Now wasn't that easy?
11
+
12
+ ## Supported Licenses
13
+
14
+ * **fdosl** Firestorm Development Open-Source License v0.1 (dual-licensing of BSD/MIT).
15
+ * **bsd2c** 2-clause BSD
16
+ * **mit** MIT
17
+ * **bsd3c** 3-clause BSD
18
+ * **apache2** Apache License 2.0
19
+ * **zlib** ZLib/libpng license
20
+ * **cdl** and **cdl_dance** Chicken Dance license v0.2
@@ -0,0 +1,131 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'rubygems' if RUBY_VERSION < '1.9'
4
+ require 'thor'
5
+ require 'erb'
6
+
7
+ Dir.chdir File.expand_path(File.join(File.dirname(__FILE__),'..'))
8
+
9
+ FORMATS = {
10
+ :md => ['md','mkd','markdown'],
11
+ :txt => ['txt', 'text', 'plaintext'],
12
+ }
13
+
14
+ class LegalPoo < Thor
15
+
16
+ desc "fdosl FORMAT YOURNAME COPYRIGHT-DATE", "Generate an FDOSL license file."
17
+ def fdosl(format, copyright_holder, copyright_date)
18
+ @copyright_holder = copyright_holder
19
+ @copyright_date = copyright_date
20
+ emit_license format, 'fdosl'
21
+ end
22
+
23
+ desc "mit FORMAT YOURNAME COPYRIGHT-DATE", "Generate an MIT license file."
24
+ def mit(format, copyright_holder, copyright_date)
25
+ @copyright_holder = copyright_holder
26
+ @copyright_date = copyright_date
27
+ emit_license format, 'mit'
28
+ end
29
+
30
+ desc "apache2 FORMAT YOURNAME COPYRIGHT-DATE", "Generate an Apache 2.0 license file."
31
+ def apache2(format, copyright_holder, copyright_date)
32
+ @copyright_holder = copyright_holder
33
+ @copyright_date = copyright_date
34
+ if emit_license format, 'apache2'
35
+ STDERR.puts ""
36
+ STDERR.puts smart_wrap(File.read("lib/apache2.caveats"))
37
+ end
38
+ end
39
+
40
+ desc "3cbsd FORMAT YOURNAME COPYRIGHT-YEAR ORGANIZATION", "Generate a 3-clause BSD license file."
41
+ def bsd3c(format, copyright_holder, copyright_year, organization)
42
+ @copyright_owner = copyright_holder
43
+ @copyright_year = copyright_year
44
+ @copyright_org = organization
45
+ emit_license format, 'bsd3c'
46
+ end
47
+
48
+ desc "bsd2c FORMAT YOURNAME COPYRIGHT-YEAR", "Generate a 2-clause BSD license file."
49
+ def bsd2c(format, copyright_owner, copyright_year)
50
+ @copyright_owner = copyright_owner
51
+ @copyright_year = copyright_year
52
+ emit_license format, 'bsd2c'
53
+ end
54
+
55
+ desc "zlib FORMAT YOURNAME COPYRIGHT-YEAR", "Generate a zlib/libpng license file."
56
+ def zlib(format, copyright_owners, copyright_year)
57
+ @copyright_owners = copyright_owners
58
+ @copyright_year = copyright_year
59
+ emit_license format, 'zlib'
60
+ end
61
+
62
+ desc "cdl FORMAT YOURNAME ORGANIZATION COPYRIGHT-YEAR", "Generate a Chicken Dance license file."
63
+ def cdl(format, copyright_owner, copyright_organization, copyright_year)
64
+ @copyright_owner = copyright_owner
65
+ @copyright_organization = copyright_organization
66
+ @copyright_year = copyright_year
67
+ if emit_license format, 'cdl'
68
+ STDERR.puts ""
69
+ STDERR.puts smart_wrap(File.read('lib/cdl.caveats'))
70
+ end
71
+ end
72
+
73
+ desc "cdl_dance FORMAT", "Generate a Chicken Dance License dance file."
74
+ def cdl_dance(format)
75
+ if emit_license format, 'cdl-dance'
76
+ STDERR.puts ""
77
+ STDERR.puts smart_wrap(File.read('lib/cdl.caveats'))
78
+ end
79
+ end
80
+
81
+ private
82
+
83
+ def emit_license format, file
84
+ fmt = find_format format
85
+ unless fmt == nil
86
+ txt = ERB.new(File.read("lib/#{file}.#{fmt.to_s}.erb")).result(binding)
87
+ txt = smart_wrap txt if fmt == :txt
88
+ print txt
89
+ else
90
+ return false
91
+ end
92
+ true
93
+ end
94
+
95
+ def find_format format
96
+ FORMATS.each do |fmt, aliases|
97
+ return fmt if aliases.include? format
98
+ end
99
+ STDERR.puts "I don't understand the format #{format}"
100
+ STDERR.puts "\n"
101
+ STDERR.puts "Try one of the following:"
102
+ pretty_print_formats
103
+ return nil
104
+ end
105
+
106
+ def pretty_print_formats
107
+ FORMATS.each do |fmt, aliases|
108
+ STDERR.puts " #{fmt.to_s}"
109
+ while !aliases.empty?
110
+ STDERR.puts " #{aliases.take(5).join(' ')}"
111
+ aliases=aliases.drop 5
112
+ end
113
+ end
114
+ end
115
+
116
+ def smart_wrap(text, width=80)
117
+ text.split("\n").collect do |line|
118
+ word_wrap(line.strip, line.match(/^(\s*)/)[1], width)+"\n"
119
+ end
120
+ end
121
+
122
+ # stolen from https://github.com/rails/rails/blob/196407c54f0736c275d2ad4e6f8b0ac55360ad95/actionpack/lib/action_view/helpers/text_helper.rb#L217
123
+ def word_wrap(text, prefix='', line_width=80)
124
+ text.split("\n").collect do |line|
125
+ line.length + prefix.length > line_width ? prefix+line.gsub(/(.{1,#{line_width-prefix.length}})(\s+|$)/, "#{prefix}\\1\n").strip : prefix+line
126
+ end * "\n"
127
+ end
128
+
129
+ end
130
+
131
+ LegalPoo.start
@@ -0,0 +1,15 @@
1
+ To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
2
+
3
+ Copyright [yyyy] [name of copyright owner]
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
@@ -0,0 +1,68 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
10
+
11
+ "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
12
+
13
+ "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
14
+
15
+ "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
16
+
17
+ "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
18
+
19
+ "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
20
+
21
+ "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
22
+
23
+ "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
24
+
25
+ "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
26
+
27
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
28
+
29
+ 2. Grant of Copyright License.
30
+
31
+ Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
32
+
33
+ 3. Grant of Patent License.
34
+
35
+ Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
36
+
37
+ 4. Redistribution.
38
+
39
+ You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
40
+
41
+ 1. You must give any other recipients of the Work or Derivative Works a copy of this License; and
42
+ 2. You must cause any modified files to carry prominent notices stating that You changed the files; and
43
+ 3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
44
+ 4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
45
+
46
+ You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
47
+
48
+ 5. Submission of Contributions.
49
+
50
+ Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
51
+
52
+ 6. Trademarks.
53
+
54
+ This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
55
+
56
+ 7. Disclaimer of Warranty.
57
+
58
+ Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
59
+
60
+ 8. Limitation of Liability.
61
+
62
+ In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
63
+
64
+ 9. Accepting Warranty or Additional Liability.
65
+
66
+ While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
67
+
68
+ END OF TERMS AND CONDITIONS
@@ -0,0 +1,9 @@
1
+ Copyright (c) <%=@copyright_year%>, <%=@copyright_owner%>
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5
+
6
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7
+ * 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.
8
+
9
+ 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.
@@ -0,0 +1,9 @@
1
+ Copyright (c) <%=@copyright_year%>, <%=@copyright_owner%>
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5
+
6
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7
+ * 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.
8
+
9
+ 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.
@@ -0,0 +1,10 @@
1
+ Copyright (c) <%=@copyright_year%>, <%=@copyright_owner%>
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5
+
6
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7
+ * 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.
8
+ * Neither the name of the <%=@copyright_org.upcase%> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
9
+
10
+ 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.
@@ -0,0 +1,10 @@
1
+ Copyright (c) <%=@copyright_year%>, <%=@copyright_owner%>
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5
+
6
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7
+ * 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.
8
+ * Neither the name of the <%=@copyright_org.upcase%> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
9
+
10
+ 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.
@@ -0,0 +1,8 @@
1
+ (Copied from WikiHow)
2
+
3
+ 1. Pinch your fingers and thumbs together in front of your chest 4 times.
4
+ 2. Flap your arms four times.
5
+ 3. Wiggle side to side four times while getting your back side as close to the ground as you can.
6
+ 4. Clap four times.
7
+ 5. Repeat steps 1-4 until you hear the swing-like music.
8
+ 6. Swing around with a partner or group until the swing-like music ends. Start back at the beginning.
@@ -0,0 +1,8 @@
1
+ (Copied from WikiHow)
2
+
3
+ 1. Pinch your fingers and thumbs together in front of your chest 4 times.
4
+ 2. Flap your arms four times.
5
+ 3. Wiggle side to side four times while getting your back side as close to the ground as you can.
6
+ 4. Clap four times.
7
+ 5. Repeat steps 1-4 until you hear the swing-like music.
8
+ 6. Swing around with a partner or group until the swing-like music ends. Start back at the beginning.
@@ -0,0 +1,33 @@
1
+ CCCC DDDD L
2
+ C D D L
3
+ C D D L
4
+ C D D L
5
+ CCCC DDDD LLLLL
6
+
7
+ UPDATE: Bruce (Perens) rejected us. :( We are now drafting v0.2 of
8
+ CDL to address the concerns presented on the license-review mailing
9
+ list. I have also sent an email to FSF for their thoughts. In other
10
+ news, I guess it's time to have a proper website for updates like this.
11
+
12
+ This license is meant to bring humor to the silliness of intellectual
13
+ property. If you use this license, be sure that you're writing something
14
+ useful that companies my take interest in using.
15
+
16
+ Basically, put the license text in COPYING, or in the individual source
17
+ files. There are three samples here to get you started. Then include
18
+ instructions on how to perform the chicken dance in a filecalled DANCE.
19
+ Make a note of these files in your README.
20
+
21
+ I copied my instructions from WikiHow, and credited WikiHow with it. You
22
+ should too if you do the same.
23
+
24
+ What's nice about this is that you can change the dance that is required
25
+ by the company. You get to decide if they do the swing or not, or how
26
+ to emulate the chicken beaks.
27
+
28
+ License responsibly.
29
+
30
+ -tuna
31
+
32
+
33
+ -- https://github.com/supertunaman/cdl
@@ -0,0 +1,17 @@
1
+ Copyright (c) <%=@copyright_year%>, <%=@copyright_owner%>
2
+ All rights reserved.
3
+
4
+ Chicken Dance License v0.2
5
+ http://supertunaman.com/cdl/
6
+
7
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
10
+ 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.
11
+ 3. Neither the name of the <%=@copyright_organization%> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
12
+ 4. An entity wishing to redistribute in binary form or include this software in their product without redistribution of this software's source code with the product must also submit to these conditions where applicable:
13
+ * For every thousand (1000) units distributed, at least half of the employees or persons affiliated with the product must listen to the "Der Ententanz" (AKA "The Chicken Dance") as composed by Werner Thomas for no less than two (2) minutes
14
+ * For every twenty-thousand (20000) units distributed, one (1) or more persons affiliated with the entity must be recorded performing the full Chicken Dance, in an original video at the entity's own expense,and a video encoded in OGG Theora format or a formatand codec specified by <%=@copyright_owner%>, at least three (3) minutes in length, must be submitted to <%=@copyright_owner%>, provided <%=@copyright_owner%>'s contact information. Any and allcopyrights to this video must be transfered to <%=@copyright_organization%>. The dance featured in the videomust be based upon the instructions on how to perform the Chicken Dance that you should have received withthis software.
15
+ * Any employee or person affiliated with the product must be prohibited from saying the word "gazorninplat" in public at all times, as long as distribution of the product continues.
16
+
17
+ 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. <%=@copyright_organization%> ACCEPTS NO LIABILITY FORANY INJURIES OR EXPENSES SUSTAINED IN THE ACT OF FULFILLING ANY OF THE ABOVE TERMS AND CONDITIONS, ACCIDENTAL OR OTHERWISE.
@@ -0,0 +1,17 @@
1
+ Copyright (c) <%=@copyright_year%>, <%=@copyright_owner%>
2
+ All rights reserved.
3
+
4
+ Chicken Dance License v0.2
5
+ http://supertunaman.com/cdl/
6
+
7
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
10
+ 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.
11
+ 3. Neither the name of the <%=@copyright_organization%> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
12
+ 4. An entity wishing to redistribute in binary form or include this software in their product without redistribution of this software's source code with the product must also submit to these conditions where applicable:
13
+ * For every thousand (1000) units distributed, at least half of the employees or persons affiliated with the product must listen to the "Der Ententanz" (AKA "The Chicken Dance") as composed by Werner Thomas for no less than two (2) minutes
14
+ * For every twenty-thousand (20000) units distributed, one (1) or more persons affiliated with the entity must be recorded performing the full Chicken Dance, in an original video at the entity's own expense,and a video encoded in OGG Theora format or a formatand codec specified by <%=@copyright_owner%>, at least three (3) minutes in length, must be submitted to <%=@copyright_owner%>, provided <%=@copyright_owner%>'s contact information. Any and allcopyrights to this video must be transfered to <%=@copyright_organization%>. The dance featured in the videomust be based upon the instructions on how to perform the Chicken Dance that you should have received withthis software.
15
+ * Any employee or person affiliated with the product must be prohibited from saying the word "gazorninplat" in public at all times, as long as distribution of the product continues.
16
+
17
+ 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. <%=@copyright_organization%> ACCEPTS NO LIABILITY FORANY INJURIES OR EXPENSES SUSTAINED IN THE ACT OF FULFILLING ANY OF THE ABOVE TERMS AND CONDITIONS, ACCIDENTAL OR OTHERWISE.
@@ -0,0 +1,26 @@
1
+ # Firestorm Development Open-Source License
2
+ _Version 0.1_
3
+
4
+ This software is licensed under the Firestorm Development Open-Source License, which is a dual-licensing under the BSD and MIT license. Pursuant to these terms, you may use this software under the terms of either the BSD or MIT licenses - not both. One or the other, no mix-and-match. The license text of both licenses follows for clarity:
5
+
6
+ ## 2-clause BSD license:
7
+ > Copyright <%=@copyright_date%> <%=@copyright_holder%>. All rights reserved.
8
+ >
9
+ > Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
10
+ >
11
+ > 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
12
+ >
13
+ > 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.
14
+ >
15
+ > THIS SOFTWARE IS PROVIDED BY <%=@copyright_holder.upcase%> "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 <%=@copyright_holder.upcase%> 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.
16
+ >
17
+ > The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of <%=@copyright_holder%>.
18
+
19
+ ## MIT license:
20
+ > Copyright (c) <%=@copyright_date%> <%=@copyright_holder%>
21
+ >
22
+ > 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:
23
+ >
24
+ > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
25
+ >
26
+ > 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.
@@ -0,0 +1,32 @@
1
+ Firestorm Development Open-Source License
2
+
3
+ Version 0.1
4
+
5
+ This software is licensed under the Firestorm Development Open-Source License, which is a dual-licensing under the BSD and MIT license. Pursuant to these terms, you may use this software under the terms of either the BSD or MIT licenses - not both. One or the other, no mix-and-match. The license text of both licenses follows for clarity:
6
+
7
+ 2-clause BSD license:
8
+
9
+ Copyright <%=@copyright_date%> <%=@copyright_holder%>. All rights reserved.
10
+
11
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
12
+
13
+ 1. Redistributions of source code must retain the above copyright notice,
14
+ this list of conditions and the following disclaimer.
15
+
16
+ 2. Redistributions in binary form must reproduce the above copyright notice,
17
+ this list of conditions and the following disclaimer in the documentation
18
+ and/or other materials provided with the distribution.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY <%=@copyright_holder.upcase%> "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 <%=@copyright_holder.upcase%> 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.
21
+
22
+ The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of <%=@copyright_holder%>.
23
+
24
+ MIT license:
25
+
26
+ Copyright (c) <%=@copyright_date%> <%=@copyright_holder%>
27
+
28
+ 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:
29
+
30
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
31
+
32
+ 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.
@@ -0,0 +1,7 @@
1
+ Copyright (c) <%=@copyright_date%> <%=@copyright_holder%>
2
+
3
+ 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:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ 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.
@@ -0,0 +1,18 @@
1
+ Copyright (c) <%=@copyright_date%> <%=@copyright_holder%>
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
4
+ this software and associated documentation files (the "Software"), to deal in
5
+ the Software without restriction, including without limitation the rights to
6
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
7
+ the Software, and to permit persons to whom the Software is furnished to do so,
8
+ subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
15
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
16
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,11 @@
1
+ Copyright (c) <%=@copyright_year%> <%=@copyright_holders%>
2
+
3
+ This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
4
+
5
+ Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
6
+
7
+ 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
8
+
9
+ 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
10
+
11
+ 3. This notice may not be removed or altered from any source distribution.
@@ -0,0 +1,11 @@
1
+ Copyright (c) <%=@copyright_year%> <%=@copyright_holders%>
2
+
3
+ This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
4
+
5
+ Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
6
+
7
+ 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
8
+
9
+ 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
10
+
11
+ 3. This notice may not be removed or altered from any source distribution.
metadata ADDED
@@ -0,0 +1,101 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: legal-poo
3
+ version: !ruby/object:Gem::Version
4
+ hash: 249797067578206834
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 0
10
+ version: 0.0.0
11
+ platform: ruby
12
+ authors:
13
+ - Christopher Miller
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2012-03-01 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: thor
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 2002549777813010636
29
+ segments:
30
+ - 0
31
+ version: "0"
32
+ type: :runtime
33
+ version_requirements: *id001
34
+ description: Legal poo makes it easier to generate legal text for copyrighting and licensing your work.
35
+ email: lordsauronthegreat@gmail.com
36
+ executables:
37
+ - legal-poo
38
+ extensions: []
39
+
40
+ extra_rdoc_files: []
41
+
42
+ files:
43
+ - lib/apache2.caveats
44
+ - lib/apache2.md.erb
45
+ - lib/bsd2c.md.erb
46
+ - lib/bsd2c.txt.erb
47
+ - lib/bsd3c.md.erb
48
+ - lib/bsd3c.txt.erb
49
+ - lib/cdl-dance.md.erb
50
+ - lib/cdl-dance.txt.erb
51
+ - lib/cdl.caveats
52
+ - lib/cdl.md.erb
53
+ - lib/cdl.txt.erb
54
+ - lib/fdosl.md.erb
55
+ - lib/fdosl.txt.erb
56
+ - lib/mit.md.erb
57
+ - lib/mit.txt.erb
58
+ - lib/zlib.md.erb
59
+ - lib/zlib.txt.erb
60
+ - bin/legal-poo
61
+ - README.md
62
+ - COPYING.md
63
+ homepage: https://github.com/NSError/legal-poo
64
+ licenses: []
65
+
66
+ post_install_message:
67
+ rdoc_options: []
68
+
69
+ require_paths:
70
+ - lib
71
+ required_ruby_version: !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ hash: 2109750415666882822
77
+ segments:
78
+ - 1
79
+ - 8
80
+ - 7
81
+ version: 1.8.7
82
+ required_rubygems_version: !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ hash: 2387630629434237851
88
+ segments:
89
+ - 1
90
+ - 3
91
+ - 6
92
+ version: 1.3.6
93
+ requirements: []
94
+
95
+ rubyforge_project: legal-poo
96
+ rubygems_version: 1.8.12
97
+ signing_key:
98
+ specification_version: 3
99
+ summary: Crap out license text like a boss.
100
+ test_files: []
101
+