lita 4.2.0 → 4.2.1

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: 24b9a37965d639387442b0a419f4c1c860f726b9
4
- data.tar.gz: 59d805329cc2aeab6724473f78dda55e01a1e970
3
+ metadata.gz: 84bc810d10e1bb7f969577c1670a4c9c72e0ffbb
4
+ data.tar.gz: 81b164c6c02ad46b14002c2ac9beac67755802f0
5
5
  SHA512:
6
- metadata.gz: 06734db0a8f1de6b83acabcea2546db17df71900876ee1864ef524c7607c60a3a223919dbb9aa30602915bce5d10aeacdedf84e6f7da324575d3bc0701eb305b
7
- data.tar.gz: c94be903e979b6a5a0d3c3eae0cfcf8d1d457d5895c087d5b64070fddcf0cf88b647c425123e427d0caae149b188863f3fc1e9b0f7395189a0516093b222d382
6
+ metadata.gz: dfff3d4d0fd43f3efb59ce330c7d7f06e1220f873b46ca3e0e2b15b2eb038aa8737bcd0b036c05094fbab2849cef40236883c703ee8d0e54b8c0f3b242e79b72
7
+ data.tar.gz: 86802672a9ee263a436dfc4a3f75dcacf14a6fb7e635999cb7ef62d1d12dac7d7623a36e643c3a5941471ff23525c6cc6da8bf065fc2f2436f3647082ca6c7fe
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013 Jimmy Cuadra
1
+ Copyright (c) 2013-2015 Jimmy Cuadra
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
@@ -91,6 +91,7 @@ module Lita
91
91
  # @return [void]
92
92
  def adapter(name)
93
93
  generate_templates(generate_config(name, "adapter"))
94
+ license_message
94
95
  end
95
96
 
96
97
  desc "handler NAME", "Generates a new Lita handler"
@@ -99,6 +100,7 @@ module Lita
99
100
  # @return [void]
100
101
  def handler(name)
101
102
  generate_templates(generate_config(name, "handler"))
103
+ license_message
102
104
  end
103
105
 
104
106
  desc "extension NAME", "Generates a new Lita extension"
@@ -107,6 +109,7 @@ module Lita
107
109
  # @return [void]
108
110
  def extension(name)
109
111
  generate_templates(generate_config(name, "extension"))
112
+ license_message
110
113
  end
111
114
 
112
115
  desc "version", "Outputs the current version of Lita"
@@ -179,11 +182,14 @@ module Lita
179
182
  template("plugin/gemspec.tt", "#{target}/#{gem_name}.gemspec", config)
180
183
  copy_file("plugin/gitignore", "#{target}/.gitignore")
181
184
  copy_file("plugin/travis.yml", "#{target}/.travis.yml") if travis
182
- template("plugin/LICENSE.tt", "#{target}/LICENSE", config)
183
185
  copy_file("plugin/Rakefile", "#{target}/Rakefile")
184
186
  template("plugin/README.tt", "#{target}/README.md", config)
185
187
  end
186
188
 
189
+ def license_message
190
+ say I18n.t("lita.cli.license_notice"), :yellow
191
+ end
192
+
187
193
  def normalize_names(name)
188
194
  name = name.downcase.sub(/^lita[_-]/, "")
189
195
  gem_name = "lita-#{name}"
@@ -1,4 +1,4 @@
1
1
  module Lita
2
2
  # The current version of Lita.
3
- VERSION = "4.2.0"
3
+ VERSION = "4.2.1"
4
4
  end
@@ -64,12 +64,18 @@ en:
64
64
  no_gemfile_warning: >-
65
65
  The default command "start" must be run inside a Lita project. Try running `lita new` to
66
66
  generate a new Lita project or `lita help` to see all commands.
67
- travis_question: Do you want to test your plugin on Travis CI?
68
- coveralls_question: |-
67
+ travis_question: Do you want to test your plugin on Travis CI? ("yes" or "no", default is "no")
68
+ coveralls_question: >-
69
69
  Do you want to generate code coverage information with SimpleCov and Coveralls.io?
70
+ ("yes" or "no", default is "no")
70
71
  daemon_deprecated: >-
71
72
  Lita's built-in daemonization is deprecated without replacement and will be removed in
72
73
  Lita 5.0. Use your operating system's process manager instead.
74
+ license_notice: >-
75
+ If you plan to release this plugin as open source software, consider adding a LICENSE file
76
+ to the root of the repository.
77
+
78
+ Common open source software licenses can be found at http://choosealicense.com/.
73
79
  config:
74
80
  adapter_deprecated:
75
81
  config.adapter is deprecated and will be removed in Lita 5.0. Use config.adapters instead.
@@ -3,8 +3,8 @@ Gem::Specification.new do |spec|
3
3
  spec.version = "0.0.1"
4
4
  spec.authors = ["<%= config[:author] %>"]
5
5
  spec.email = ["<%= config[:email] %>"]
6
- spec.description = %q{TODO: Add a description}
7
- spec.summary = %q{TODO: Add a summary}
6
+ spec.description = "TODO: Add a description"
7
+ spec.summary = "TODO: Add a summary"
8
8
  spec.homepage = "TODO: Add a homepage"
9
9
  spec.license = "MIT"
10
10
  spec.metadata = { "lita_plugin_type" => "<%= config[:plugin_type] %>" }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jimmy Cuadra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-30 00:00:00.000000000 Z
11
+ date: 2015-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -368,7 +368,6 @@ files:
368
368
  - spec/templates/interpolated.erb
369
369
  - templates/locales/en.yml
370
370
  - templates/plugin/Gemfile
371
- - templates/plugin/LICENSE.tt
372
371
  - templates/plugin/README.tt
373
372
  - templates/plugin/Rakefile
374
373
  - templates/plugin/gemspec.tt
@@ -1,19 +0,0 @@
1
- Copyright (c) <%= Time.now.year %> <%= config[:author] %>
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy
4
- of this software and associated documentation files (the "Software"), to deal
5
- in the Software without restriction, including without limitation the rights
6
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
- copies of the Software, and to permit persons to whom the Software is
8
- furnished to do so, subject to the following conditions:
9
-
10
- The above copyright notice and this permission notice shall be included in
11
- all copies or substantial portions of the Software.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
- THE SOFTWARE.