licensor 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +2 -0
- data/LICENSE +1 -1
- data/README.md +9 -4
- data/Rakefile +3 -7
- data/exe/licensor +2 -0
- data/lib/licensor/version.rb +1 -1
- data/licensor.gemspec +10 -3
- metadata +25 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03d6898c133c6e9c36e9f15a4e8b80f7418989ba
|
4
|
+
data.tar.gz: b248a831d6adc5842ef14578a0ea522b78a60cc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff76614f4113bb450fb930168ea69a9f30582ccac4ae16aca0079cdeacd6c1ede7abc2583d5ae45522941a04f3d6a71041f50d3f17ac1a869508f6f6196dcbf4
|
7
|
+
data.tar.gz: 14b9145abbdda45cd476cd7f4148bdef04a35e1b06ce3c837b7e57e2d055e8e8d981b6ef16d6551f6270e5b5656b2b64854756a0b8a6cc28d39d198cee77c1e1
|
data/.rspec
ADDED
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Licensor
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/licensor.svg)](http://badge.fury.io/rb/licensor)
|
4
|
+
[![Code Climate](https://codeclimate.com/github/Tatzyr/licensor/badges/gpa.svg)](https://codeclimate.com/github/Tatzyr/licensor)
|
5
|
+
[![Dependency Status](https://gemnasium.com/Tatzyr/licensor.svg)](https://gemnasium.com/Tatzyr/licensor)
|
6
|
+
|
7
|
+
|
3
8
|
Create LICENSE file into your project.
|
4
9
|
|
5
10
|
![create-demo](https://cloud.githubusercontent.com/assets/1025461/7900296/ab43db5a-0788-11e5-9e61-7a3366ff460d.gif)
|
@@ -20,7 +25,7 @@ Create LICENSE file into your project.
|
|
20
25
|
* `-n`, `--name <NAME>`: The name to use. Default value is obtained from git.
|
21
26
|
* `-y`, `--year <YEAR>`: The year to use. Default value is this year.
|
22
27
|
|
23
|
-
###
|
28
|
+
### Demo
|
24
29
|
|
25
30
|
![options-demo](https://cloud.githubusercontent.com/assets/1025461/7900297/b8a3e45c-0788-11e5-892f-f0670ea3593f.gif)
|
26
31
|
|
@@ -52,13 +57,13 @@ Run `licensor list` to see all available licenses.
|
|
52
57
|
|
53
58
|
## Development
|
54
59
|
|
55
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake
|
60
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake rspec` 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.
|
56
61
|
|
57
62
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
58
63
|
|
59
64
|
## Contributing
|
60
65
|
|
61
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
66
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/Tatzyr/licensor.
|
62
67
|
|
63
68
|
|
64
69
|
## Licence
|
@@ -68,4 +73,4 @@ See [LICENSE](LICENSE).
|
|
68
73
|
|
69
74
|
## Author
|
70
75
|
|
71
|
-
[
|
76
|
+
[Tatsuya Otsuka](https://github.com/Tatzyr)
|
data/Rakefile
CHANGED
@@ -1,10 +1,6 @@
|
|
1
1
|
require "bundler/gem_tasks"
|
2
|
-
require "
|
2
|
+
require "rspec/core/rake_task"
|
3
3
|
|
4
|
-
|
5
|
-
t.libs << "test"
|
6
|
-
t.libs << "lib"
|
7
|
-
t.test_files = FileList['test/**/*_test.rb']
|
8
|
-
end
|
4
|
+
RSpec::Core::RakeTask.new(:spec)
|
9
5
|
|
10
|
-
task :default => :
|
6
|
+
task :default => :spec
|
data/exe/licensor
CHANGED
data/lib/licensor/version.rb
CHANGED
data/licensor.gemspec
CHANGED
@@ -6,11 +6,11 @@ require 'licensor/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "licensor"
|
8
8
|
spec.version = Licensor::VERSION
|
9
|
-
spec.authors = ["
|
9
|
+
spec.authors = ["Tatsuya Otsuka"]
|
10
10
|
spec.email = ["tatzyr@gmail.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{Create LICENSE file into your project.}
|
13
|
-
spec.homepage = "https://github.com/
|
13
|
+
spec.homepage = "https://github.com/Tatzyr/licensor"
|
14
14
|
|
15
15
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
16
16
|
spec.bindir = "exe"
|
@@ -20,10 +20,17 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.required_ruby_version = "~> 2.0"
|
21
21
|
spec.license = "Zlib"
|
22
22
|
|
23
|
+
spec.add_dependency "colorize", "~> 0.7.7"
|
23
24
|
spec.add_dependency "mustache", "~> 1.0"
|
24
25
|
spec.add_dependency "thor", "~> 0.19"
|
25
26
|
|
26
27
|
spec.add_development_dependency "bundler", "~> 1.10"
|
27
28
|
spec.add_development_dependency "rake", "~> 10.0"
|
28
|
-
spec.add_development_dependency "
|
29
|
+
spec.add_development_dependency "rspec"
|
30
|
+
|
31
|
+
spec.post_install_message = <<-MESSAGE
|
32
|
+
! The 'licensor' gem has been deprecated and has been replaced by 'licenza'.
|
33
|
+
! See: https://rubygems.org/gems/licenza
|
34
|
+
! And: https://github.com/Tatzyr/licenza
|
35
|
+
MESSAGE
|
29
36
|
end
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Tatsuya Otsuka
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: colorize
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.7.7
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.7.7
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: mustache
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,7 +81,7 @@ dependencies:
|
|
67
81
|
- !ruby/object:Gem::Version
|
68
82
|
version: '10.0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
84
|
+
name: rspec
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
87
|
- - ">="
|
@@ -89,6 +103,7 @@ extensions: []
|
|
89
103
|
extra_rdoc_files: []
|
90
104
|
files:
|
91
105
|
- ".gitignore"
|
106
|
+
- ".rspec"
|
92
107
|
- ".travis.yml"
|
93
108
|
- Gemfile
|
94
109
|
- LICENSE
|
@@ -115,11 +130,14 @@ files:
|
|
115
130
|
- lib/licensor/templates/zlib.mustache
|
116
131
|
- lib/licensor/version.rb
|
117
132
|
- licensor.gemspec
|
118
|
-
homepage: https://github.com/
|
133
|
+
homepage: https://github.com/Tatzyr/licensor
|
119
134
|
licenses:
|
120
135
|
- Zlib
|
121
136
|
metadata: {}
|
122
|
-
post_install_message:
|
137
|
+
post_install_message: |2
|
138
|
+
! The 'licensor' gem has been deprecated and has been replaced by 'licenza'.
|
139
|
+
! See: https://rubygems.org/gems/licenza
|
140
|
+
! And: https://github.com/Tatzyr/licenza
|
123
141
|
rdoc_options: []
|
124
142
|
require_paths:
|
125
143
|
- lib
|
@@ -135,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
153
|
version: '0'
|
136
154
|
requirements: []
|
137
155
|
rubyforge_project:
|
138
|
-
rubygems_version: 2.
|
156
|
+
rubygems_version: 2.5.0
|
139
157
|
signing_key:
|
140
158
|
specification_version: 4
|
141
159
|
summary: Create LICENSE file into your project.
|