legal-poo 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/bin/legal-poo +9 -1
  2. data/lib/isc.md.erb +5 -0
  3. data/lib/isc.txt.erb +5 -0
  4. metadata +35 -52
@@ -78,6 +78,14 @@ class LegalPoo < Thor
78
78
  end
79
79
  end
80
80
 
81
+ desc 'isc FORMAT YOURNAME COPYRIGHT-YEAR EMAIL', 'Generate an ISC license file.'
82
+ def isc(format, copyright_owner, copyright_year, email)
83
+ @copyright_year = copyright_year
84
+ @name = copyright_owner
85
+ @email = email
86
+ emit_license format, 'isc'
87
+ end
88
+
81
89
  private
82
90
 
83
91
  def emit_license format, file
@@ -143,4 +151,4 @@ class LegalPoo < Thor
143
151
 
144
152
  end
145
153
 
146
- LegalPoo.start
154
+ LegalPoo.start
@@ -0,0 +1,5 @@
1
+ Copyright (c) <%=@copyright_year%>, <%=@name%> <<%=@email%>>
2
+
3
+ Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
4
+
5
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -0,0 +1,5 @@
1
+ Copyright (c) <%=@copyright_year%>, <%=@name%> <<%=@email%>>
2
+
3
+ Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
4
+
5
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
metadata CHANGED
@@ -1,45 +1,40 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: legal-poo
3
- version: !ruby/object:Gem::Version
4
- hash: 856480538658449761
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 1
10
- version: 0.0.1
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Christopher Miller
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-03-01 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-05-23 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: thor
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 2002549777813010636
29
- segments:
30
- - 0
31
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
32
22
  type: :runtime
33
- version_requirements: *id001
34
- description: Legal poo makes it easier to generate legal text for copyrighting and licensing your work.
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ description: Legal poo makes it easier to generate legal text for copyrighting and
31
+ licensing your work.
35
32
  email: lordsauronthegreat@gmail.com
36
- executables:
33
+ executables:
37
34
  - legal-poo
38
35
  extensions: []
39
-
40
36
  extra_rdoc_files: []
41
-
42
- files:
37
+ files:
43
38
  - lib/apache2.caveats
44
39
  - lib/apache2.md.erb
45
40
  - lib/bsd2c.md.erb
@@ -53,6 +48,8 @@ files:
53
48
  - lib/cdl.txt.erb
54
49
  - lib/fdosl.md.erb
55
50
  - lib/fdosl.txt.erb
51
+ - lib/isc.md.erb
52
+ - lib/isc.txt.erb
56
53
  - lib/mit.md.erb
57
54
  - lib/mit.txt.erb
58
55
  - lib/zlib.md.erb
@@ -62,40 +59,26 @@ files:
62
59
  - COPYING.md
63
60
  homepage: https://github.com/NSError/legal-poo
64
61
  licenses: []
65
-
66
62
  post_install_message:
67
63
  rdoc_options: []
68
-
69
- require_paths:
64
+ require_paths:
70
65
  - lib
71
- required_ruby_version: !ruby/object:Gem::Requirement
66
+ required_ruby_version: !ruby/object:Gem::Requirement
72
67
  none: false
73
- requirements:
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- hash: 2109750415666882822
77
- segments:
78
- - 1
79
- - 8
80
- - 7
68
+ requirements:
69
+ - - ! '>='
70
+ - !ruby/object:Gem::Version
81
71
  version: 1.8.7
82
- required_rubygems_version: !ruby/object:Gem::Requirement
72
+ required_rubygems_version: !ruby/object:Gem::Requirement
83
73
  none: false
84
- requirements:
85
- - - ">="
86
- - !ruby/object:Gem::Version
87
- hash: 2387630629434237851
88
- segments:
89
- - 1
90
- - 3
91
- - 6
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
92
77
  version: 1.3.6
93
78
  requirements: []
94
-
95
79
  rubyforge_project: legal-poo
96
- rubygems_version: 1.8.12
80
+ rubygems_version: 1.8.24
97
81
  signing_key:
98
82
  specification_version: 3
99
83
  summary: Crap out license text like a boss.
100
84
  test_files: []
101
-