licensor 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/README.md +30 -10
- data/lib/licensor/template.rb +1 -1
- data/lib/licensor/version.rb +1 -1
- data/licensor.gemspec +3 -0
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dffa8eb5358db48284060ba8e6d8c31d7c23015b
|
4
|
+
data.tar.gz: e9d0df358b97b21f68beac4f7febf777fcca0755
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4894872294fdd4f9547ea93322f84e489d95c0c7f7cdf2a2ef2c6658812670e4348c4aa2a24e75ded2e61497f04b3165ce4fab31c6e01c02bb885b9307e7ad6
|
7
|
+
data.tar.gz: f11b907720e80ea8e42554fea1f4daa6cc6f0e881d609fb72a8ec4b9f9d573e023a7560f45381172e4a922a283d354b391624d2744fca51d3519f96d7cd00d54
|
data/README.md
CHANGED
@@ -2,15 +2,10 @@
|
|
2
2
|
|
3
3
|
Create LICENSE file into your project.
|
4
4
|
|
5
|
+

|
5
6
|
|
6
|
-
## Usage
|
7
|
-
|
8
|
-
```
|
9
|
-
$ licensor --list
|
10
|
-
$ licensor show zlib -n "John Doe"
|
11
|
-
$ licensor create bsd
|
12
|
-
```
|
13
7
|
|
8
|
+
## Usage
|
14
9
|
### Commands
|
15
10
|
* `-l`, `--list`: See all available licenses.
|
16
11
|
* `-v`, `--version`: Print the version.
|
@@ -19,9 +14,16 @@ $ licensor create bsd
|
|
19
14
|
* `show <LICENSE>`: Show a license text.
|
20
15
|
|
21
16
|
|
22
|
-
### Options
|
17
|
+
### Options
|
18
|
+
* `-f`, `--filename <FILENAME>`: The output filename. Default value is `LICENSE'.
|
19
|
+
* `-n`, `--name <NAME>`: The name to use. Default value is obtained from git.
|
23
20
|
* `-y`, `--year <YEAR>`: The year to use. Default value is this year.
|
24
|
-
|
21
|
+
|
22
|
+
### Examples
|
23
|
+
|
24
|
+

|
25
|
+
|
26
|
+

|
25
27
|
|
26
28
|
## Installation
|
27
29
|
|
@@ -29,6 +31,24 @@ $ licensor create bsd
|
|
29
31
|
$ gem install licensor
|
30
32
|
```
|
31
33
|
|
34
|
+
## Available Licenses
|
35
|
+
|
36
|
+
Run `licensor --list` to see all available licenses.
|
37
|
+
|
38
|
+
* apache
|
39
|
+
* artistic
|
40
|
+
* bsd
|
41
|
+
* eclipse
|
42
|
+
* gpl
|
43
|
+
* lgpl
|
44
|
+
* mit
|
45
|
+
* mozilla
|
46
|
+
* nysl
|
47
|
+
* zlib
|
48
|
+
* no-license
|
49
|
+
* unlicense
|
50
|
+
|
51
|
+
|
32
52
|
## Development
|
33
53
|
|
34
54
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. Run `bundle exec licensor` to use the gem in this directory, ignoring other installed copies of this gem.
|
@@ -42,7 +62,7 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/tatzyr
|
|
42
62
|
|
43
63
|
## Licence
|
44
64
|
|
45
|
-
See [LICENSE]().
|
65
|
+
See [LICENSE](LICENSE).
|
46
66
|
|
47
67
|
|
48
68
|
## Author
|
data/lib/licensor/template.rb
CHANGED
data/lib/licensor/version.rb
CHANGED
data/licensor.gemspec
CHANGED
@@ -17,6 +17,9 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
|
+
spec.required_ruby_version = "~> 2.0"
|
21
|
+
spec.license = "Zlib"
|
22
|
+
|
20
23
|
spec.add_dependency "mustache", "~> 1.0"
|
21
24
|
spec.add_dependency "thor", "~> 0.19"
|
22
25
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: licensor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OTSUKA Tatsuya
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mustache
|
@@ -116,7 +116,8 @@ files:
|
|
116
116
|
- lib/licensor/version.rb
|
117
117
|
- licensor.gemspec
|
118
118
|
homepage: https://github.com/tatzyr/licensor
|
119
|
-
licenses:
|
119
|
+
licenses:
|
120
|
+
- Zlib
|
120
121
|
metadata: {}
|
121
122
|
post_install_message:
|
122
123
|
rdoc_options: []
|
@@ -124,9 +125,9 @@ require_paths:
|
|
124
125
|
- lib
|
125
126
|
required_ruby_version: !ruby/object:Gem::Requirement
|
126
127
|
requirements:
|
127
|
-
- - "
|
128
|
+
- - "~>"
|
128
129
|
- !ruby/object:Gem::Version
|
129
|
-
version: '0'
|
130
|
+
version: '2.0'
|
130
131
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
132
|
requirements:
|
132
133
|
- - ">="
|