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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ace8628bb615f766437017632c7e127224f3daac
4
- data.tar.gz: ea9be3907d5619bd96222e2cbd7034aba3782851
3
+ metadata.gz: 03d6898c133c6e9c36e9f15a4e8b80f7418989ba
4
+ data.tar.gz: b248a831d6adc5842ef14578a0ea522b78a60cc4
5
5
  SHA512:
6
- metadata.gz: 8451ca09ff84cf2d563ad40ca9c523c0c71093a2d1b528cf85bfe60fc38b0514979671150f887c01a4c506e1c50f43f1c0d2a868f27339098e28bd560cd57d6b
7
- data.tar.gz: ad60724817a7cc344aedf5f4bc4f4b28fbf99c5c3123afe68b7cd6de0d893c5dc3b49735d405c4db984855845461ec064285df29942563a74a957ea989f4d262
6
+ metadata.gz: ff76614f4113bb450fb930168ea69a9f30582ccac4ae16aca0079cdeacd6c1ede7abc2583d5ae45522941a04f3d6a71041f50d3f17ac1a869508f6f6196dcbf4
7
+ data.tar.gz: 14b9145abbdda45cd476cd7f4148bdef04a35e1b06ce3c837b7e57e2d055e8e8d981b6ef16d6551f6270e5b5656b2b64854756a0b8a6cc28d39d198cee77c1e1
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The zlib license (Zlib)
2
2
 
3
- Copyright (c) 2015 OTSUKA Tatsuya
3
+ Copyright (c) 2015 Tatsuya Otsuka
4
4
 
5
5
  This software is provided 'as-is', without any express or implied
6
6
  warranty. In no event will the authors be held liable for any damages
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
- ### Examples
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 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.
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/tatzyr/licensor.
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
- [OTSUKA Tatsuya](https://github.com/tatzyr)
76
+ [Tatsuya Otsuka](https://github.com/Tatzyr)
data/Rakefile CHANGED
@@ -1,10 +1,6 @@
1
1
  require "bundler/gem_tasks"
2
- require "rake/testtask"
2
+ require "rspec/core/rake_task"
3
3
 
4
- Rake::TestTask.new(:test) do |t|
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 => :test
6
+ task :default => :spec
@@ -1,5 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require "licensor"
4
+ require "colorize"
4
5
 
6
+ warn "[DEPRECATION] This gem has been renamed to `licenza` and will no longer be supported. Please switch to `licenza` as soon as possible.".colorize(:red)
5
7
  Licensor::CLI.start(ARGV)
@@ -1,3 +1,3 @@
1
1
  module Licensor
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -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 = ["OTSUKA Tatsuya"]
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/tatzyr/licensor"
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 "minitest"
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.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
- - OTSUKA Tatsuya
7
+ - Tatsuya Otsuka
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-05-31 00:00:00.000000000 Z
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: minitest
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/tatzyr/licensor
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.4.7
156
+ rubygems_version: 2.5.0
139
157
  signing_key:
140
158
  specification_version: 4
141
159
  summary: Create LICENSE file into your project.