licenza 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/.rspec +2 -0
- data/.travis.yml +4 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +76 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/exe/licenza +5 -0
- data/lib/licenza.rb +4 -0
- data/lib/licenza/cli.rb +55 -0
- data/lib/licenza/default_setting.rb +17 -0
- data/lib/licenza/template.rb +28 -0
- data/lib/licenza/templates/apache.mustache +201 -0
- data/lib/licenza/templates/artistic.mustache +201 -0
- data/lib/licenza/templates/bsd.mustache +23 -0
- data/lib/licenza/templates/eclipse.mustache +203 -0
- data/lib/licenza/templates/gpl.mustache +339 -0
- data/lib/licenza/templates/lgpl.mustache +504 -0
- data/lib/licenza/templates/mit.mustache +21 -0
- data/lib/licenza/templates/mozilla.mustache +362 -0
- data/lib/licenza/templates/no-license.mustache +1 -0
- data/lib/licenza/templates/nysl.mustache +20 -0
- data/lib/licenza/templates/unlicense.mustache +24 -0
- data/lib/licenza/templates/zlib.mustache +22 -0
- data/lib/licenza/version.rb +3 -0
- data/licenza.gemspec +29 -0
- metadata +143 -0
data/licenza.gemspec
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'licenza/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "licenza"
|
8
|
+
spec.version = Licenza::VERSION
|
9
|
+
spec.authors = ["Tatsuya Otsuka"]
|
10
|
+
spec.email = ["tatzyr@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Create LICENSE file into your project. Formerly known as 'licensor'.}
|
13
|
+
spec.homepage = "https://github.com/Tatzyr/licenza"
|
14
|
+
|
15
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
16
|
+
spec.bindir = "exe"
|
17
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
18
|
+
spec.require_paths = ["lib"]
|
19
|
+
|
20
|
+
spec.required_ruby_version = "~> 2.0"
|
21
|
+
spec.license = "Zlib"
|
22
|
+
|
23
|
+
spec.add_dependency "mustache", "~> 1.0"
|
24
|
+
spec.add_dependency "thor", "~> 0.19"
|
25
|
+
|
26
|
+
spec.add_development_dependency "bundler", "~> 1.10"
|
27
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
28
|
+
spec.add_development_dependency "rspec"
|
29
|
+
end
|
metadata
ADDED
@@ -0,0 +1,143 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: licenza
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tatsuya Otsuka
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-11-17 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: mustache
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: thor
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.19'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.19'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.10'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.10'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '10.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '10.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
description:
|
84
|
+
email:
|
85
|
+
- tatzyr@gmail.com
|
86
|
+
executables:
|
87
|
+
- licenza
|
88
|
+
extensions: []
|
89
|
+
extra_rdoc_files: []
|
90
|
+
files:
|
91
|
+
- ".gitignore"
|
92
|
+
- ".rspec"
|
93
|
+
- ".travis.yml"
|
94
|
+
- Gemfile
|
95
|
+
- LICENSE
|
96
|
+
- README.md
|
97
|
+
- Rakefile
|
98
|
+
- bin/console
|
99
|
+
- bin/setup
|
100
|
+
- exe/licenza
|
101
|
+
- lib/licenza.rb
|
102
|
+
- lib/licenza/cli.rb
|
103
|
+
- lib/licenza/default_setting.rb
|
104
|
+
- lib/licenza/template.rb
|
105
|
+
- lib/licenza/templates/apache.mustache
|
106
|
+
- lib/licenza/templates/artistic.mustache
|
107
|
+
- lib/licenza/templates/bsd.mustache
|
108
|
+
- lib/licenza/templates/eclipse.mustache
|
109
|
+
- lib/licenza/templates/gpl.mustache
|
110
|
+
- lib/licenza/templates/lgpl.mustache
|
111
|
+
- lib/licenza/templates/mit.mustache
|
112
|
+
- lib/licenza/templates/mozilla.mustache
|
113
|
+
- lib/licenza/templates/no-license.mustache
|
114
|
+
- lib/licenza/templates/nysl.mustache
|
115
|
+
- lib/licenza/templates/unlicense.mustache
|
116
|
+
- lib/licenza/templates/zlib.mustache
|
117
|
+
- lib/licenza/version.rb
|
118
|
+
- licenza.gemspec
|
119
|
+
homepage: https://github.com/Tatzyr/licenza
|
120
|
+
licenses:
|
121
|
+
- Zlib
|
122
|
+
metadata: {}
|
123
|
+
post_install_message:
|
124
|
+
rdoc_options: []
|
125
|
+
require_paths:
|
126
|
+
- lib
|
127
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '2.0'
|
132
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0'
|
137
|
+
requirements: []
|
138
|
+
rubyforge_project:
|
139
|
+
rubygems_version: 2.5.0
|
140
|
+
signing_key:
|
141
|
+
specification_version: 4
|
142
|
+
summary: Create LICENSE file into your project. Formerly known as 'licensor'.
|
143
|
+
test_files: []
|