licensor 0.1.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/.travis.yml +4 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +50 -0
- data/Rakefile +10 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/exe/licensor +5 -0
- data/lib/licensor.rb +4 -0
- data/lib/licensor/cli.rb +55 -0
- data/lib/licensor/default_setting.rb +17 -0
- data/lib/licensor/template.rb +28 -0
- data/lib/licensor/templates/apache.mustache +201 -0
- data/lib/licensor/templates/artistic.mustache +201 -0
- data/lib/licensor/templates/bsd.mustache +23 -0
- data/lib/licensor/templates/eclipse.mustache +203 -0
- data/lib/licensor/templates/gpl.mustache +339 -0
- data/lib/licensor/templates/lgpl.mustache +504 -0
- data/lib/licensor/templates/mit.mustache +21 -0
- data/lib/licensor/templates/mozilla.mustache +362 -0
- data/lib/licensor/templates/no-license.mustache +1 -0
- data/lib/licensor/templates/nysl.mustache +20 -0
- data/lib/licensor/templates/unlicense.mustache +24 -0
- data/lib/licensor/templates/zlib.mustache +22 -0
- data/lib/licensor/version.rb +3 -0
- data/licensor.gemspec +26 -0
- metadata +141 -0
data/licensor.gemspec
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'licensor/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "licensor"
|
8
|
+
spec.version = Licensor::VERSION
|
9
|
+
spec.authors = ["OTSUKA Tatsuya"]
|
10
|
+
spec.email = ["tatzyr@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Create LICENSE file into your project.}
|
13
|
+
spec.homepage = "https://github.com/tatzyr/licensor"
|
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.add_dependency "mustache", "~> 1.0"
|
21
|
+
spec.add_dependency "thor", "~> 0.19"
|
22
|
+
|
23
|
+
spec.add_development_dependency "bundler", "~> 1.10"
|
24
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
25
|
+
spec.add_development_dependency "minitest"
|
26
|
+
end
|
metadata
ADDED
@@ -0,0 +1,141 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: licensor
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- OTSUKA Tatsuya
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-05-30 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: minitest
|
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
|
+
- licensor
|
88
|
+
extensions: []
|
89
|
+
extra_rdoc_files: []
|
90
|
+
files:
|
91
|
+
- ".gitignore"
|
92
|
+
- ".travis.yml"
|
93
|
+
- Gemfile
|
94
|
+
- LICENSE
|
95
|
+
- README.md
|
96
|
+
- Rakefile
|
97
|
+
- bin/console
|
98
|
+
- bin/setup
|
99
|
+
- exe/licensor
|
100
|
+
- lib/licensor.rb
|
101
|
+
- lib/licensor/cli.rb
|
102
|
+
- lib/licensor/default_setting.rb
|
103
|
+
- lib/licensor/template.rb
|
104
|
+
- lib/licensor/templates/apache.mustache
|
105
|
+
- lib/licensor/templates/artistic.mustache
|
106
|
+
- lib/licensor/templates/bsd.mustache
|
107
|
+
- lib/licensor/templates/eclipse.mustache
|
108
|
+
- lib/licensor/templates/gpl.mustache
|
109
|
+
- lib/licensor/templates/lgpl.mustache
|
110
|
+
- lib/licensor/templates/mit.mustache
|
111
|
+
- lib/licensor/templates/mozilla.mustache
|
112
|
+
- lib/licensor/templates/no-license.mustache
|
113
|
+
- lib/licensor/templates/nysl.mustache
|
114
|
+
- lib/licensor/templates/unlicense.mustache
|
115
|
+
- lib/licensor/templates/zlib.mustache
|
116
|
+
- lib/licensor/version.rb
|
117
|
+
- licensor.gemspec
|
118
|
+
homepage: https://github.com/tatzyr/licensor
|
119
|
+
licenses: []
|
120
|
+
metadata: {}
|
121
|
+
post_install_message:
|
122
|
+
rdoc_options: []
|
123
|
+
require_paths:
|
124
|
+
- lib
|
125
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - ">="
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '0'
|
130
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
|
+
requirements:
|
132
|
+
- - ">="
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '0'
|
135
|
+
requirements: []
|
136
|
+
rubyforge_project:
|
137
|
+
rubygems_version: 2.4.7
|
138
|
+
signing_key:
|
139
|
+
specification_version: 4
|
140
|
+
summary: Create LICENSE file into your project.
|
141
|
+
test_files: []
|