gemsmith 14.1.3 → 14.2.0

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
  SHA256:
3
- metadata.gz: 71d69e330ddeb10a0f0ee86df268f4831ba97995c4ee7076258cff58c77f6f91
4
- data.tar.gz: 5528d59e7b48c184f54158590fc87e384c0cfe6e9d581e50922a14029a20f93e
3
+ metadata.gz: fec266e5af75d5e73a8406e702430fcbe4e9d007b4206a7f66822801edb6a0ef
4
+ data.tar.gz: 7f96466a64fe9ea9c0dd29e9ac54e277ff2abd4a08f8c44e186934304285b277
5
5
  SHA512:
6
- metadata.gz: 60eaeb450c590452151a0f18a79e8fb0bf2f42f49e34b76e6a0e2c5784f70f861c2a4ef434245d7cad84d53897fabca182c4ba3229e339a02f174e3431410d80
7
- data.tar.gz: d26144e6176b38b04421c9ba163fd3b0d570b04d038c5491f49416d87257eb16a6537784ee7f7c819c94508def16cef19fa14384564ed3f9b6e61e3e092328f3
6
+ metadata.gz: 5c79e2e4f66f4f6f9c52d6e6ab142a56dbd70871324e5bb1fda2ac96ea36904863021e2ea0800aa90ec4a37ff44e507777c0394837741f671502750325dd2c9a
7
+ data.tar.gz: 759ec8bd5cd230f47b564ae0b2cafe7e81d345c1d26353614ac4d38ddf3df4995a3cf8b19e28577a7a334b63eb475b3b0cf7ebdca8e831ebf544ac865853d2e4
@@ -1,2 +1 @@
1
- 6�]aƏc/XT��F��"xTmMK4�[��2+���z% w{�&�E�:@�h/�JDь��P��@�������qY6r3̣��Rd���xy�ѥy�Q�����J2������c�j�6Ϡ1�Ԣ���X�zl�
2
- {\������4�Y1ij<�Q�SD��m�H~4M�y�9��$�Ki��w��8Iӊ�G;x��/F��Q9���:>�������Xz���ΜCV�%lf\Ku���Su�CbMb�ހ�
1
+ H9#G���Q��e]�� PVbg8O��nɚiY�� �7���5nn��}�!s���0�)�Q�<'mq6�N�V/���N�"��c���`{?�oK����{j��@�}�#܈�z���4�ђI�!@P/c\@ ����j����̇�mvBp
data.tar.gz.sig CHANGED
Binary file
@@ -24,7 +24,7 @@ toc::[]
24
24
  * Uses link:https://www.alchemists.io/projects/tocer[Tocer] for README table of contents generation.
25
25
  * Supports link:https://github.com/rubysec/bundler-audit[Bundler Audit].
26
26
  * Supports link:https://circleci.com[Circle CI].
27
- * Supports link:https://www.alchemists.io/projects/git-cop[Git Cop].
27
+ * Supports link:https://www.alchemists.io/projects/git-lint[Git Lint].
28
28
  * Supports link:https://github.com[GitHub].
29
29
  * Supports link:https://github.com/guard/guard[Guard].
30
30
  * Supports link:http://pryrepl.org[Pry].
@@ -111,10 +111,10 @@ For more gem generation options, type: `gemsmith --help --generate`
111
111
  [--circle-ci], [--no-circle-ci] # Add Circle CI support.
112
112
  [--cli], [--no-cli] # Add CLI support.
113
113
  [--engine], [--no-engine] # Add Rails Engine support.
114
- [--git-cop], [--no-git-cop] # Add Git Cop support.
114
+ [--git-cop], [--no-git-cop] # Add Git Cop support. DEPRECATED: Use Git Lint instead.
115
+ [--git-lint], [--no-git-lint] # Add Git Lint support.
115
116
  # Default: true
116
117
  [--git-hub], [--no-git-hub] # Add GitHub support.
117
- # Default: true
118
118
  [--guard], [--no-guard] # Add Guard support.
119
119
  # Default: true
120
120
  [--pry], [--no-pry] # Add Pry support.
@@ -125,6 +125,8 @@ For more gem generation options, type: `gemsmith --help --generate`
125
125
  # Default: true
126
126
  [--rubocop], [--no-rubocop] # Add Rubocop support.
127
127
  # Default: true
128
+ [--simple-cov], [--no-simple-cov] # Add SimpleCov support.
129
+ # Default: true
128
130
  [--security], [--no-security] # Add security support.
129
131
  ....
130
132
 
@@ -202,7 +204,7 @@ The default configuration is as follows:
202
204
  :circle_ci: false
203
205
  :cli: false
204
206
  :engine: false
205
- :git_cop: true
207
+ :git_lint: true
206
208
  :git_hub: true
207
209
  :guard: true
208
210
  :pry: true
@@ -20,6 +20,7 @@ require "gemsmith/generators/documentation"
20
20
  require "gemsmith/generators/gem"
21
21
  require "gemsmith/generators/git"
22
22
  require "gemsmith/generators/git_cop"
23
+ require "gemsmith/generators/git_lint"
23
24
  require "gemsmith/generators/git_hub"
24
25
  require "gemsmith/generators/guard"
25
26
  require "gemsmith/generators/pragma"
@@ -58,7 +58,7 @@ module Gemsmith
58
58
  bundler_audit: true,
59
59
  circle_ci: false,
60
60
  cli: false,
61
- git_cop: true,
61
+ git_lint: true,
62
62
  git_hub: false,
63
63
  guard: true,
64
64
  pry: true,
@@ -88,6 +88,7 @@ module Gemsmith
88
88
  Generators::Rspec,
89
89
  Generators::BundlerAudit,
90
90
  Generators::GitCop,
91
+ Generators::GitLint,
91
92
  Generators::Reek,
92
93
  Generators::Guard,
93
94
  Generators::CircleCI,
@@ -127,9 +128,13 @@ module Gemsmith
127
128
  type: :boolean,
128
129
  default: configuration.to_h.dig(:generate, :engine)
129
130
  method_option :git_cop,
130
- desc: "Add Git Cop support.",
131
+ desc: "Add Git Cop support. DEPRECATED: Use Git Lint instead.",
131
132
  type: :boolean,
132
- default: configuration.to_h.dig(:generate, :git_cop)
133
+ default: false
134
+ method_option :git_lint,
135
+ desc: "Add Git Lint support.",
136
+ type: :boolean,
137
+ default: configuration.to_h.dig(:generate, :git_lint)
133
138
  method_option :git_hub,
134
139
  desc: "Add GitHub support.",
135
140
  type: :boolean,
@@ -7,7 +7,7 @@ module Gemsmith
7
7
  def run
8
8
  return unless configuration.dig :generate, :git_cop
9
9
 
10
- cli.uncomment_lines "#{gem_name}/Rakefile", %r(require.+git/cop.+)
10
+ warn "[DEPRECATION]: Git Cop is deprecated, use Git Lint instead."
11
11
  end
12
12
  end
13
13
  end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Gemsmith
4
+ module Generators
5
+ # Generates Git Lint support.
6
+ class GitLint < Base
7
+ def run
8
+ return unless configuration.dig :generate, :git_lint
9
+
10
+ cli.uncomment_lines "#{gem_name}/Rakefile", %r(require.+git/lint.+)
11
+ end
12
+ end
13
+ end
14
+ end
@@ -36,8 +36,8 @@ module Gemsmith
36
36
  configuration.dig(:generate, :bundler_audit) ? "bundle:audit" : ""
37
37
  end
38
38
 
39
- def git_cop_task
40
- configuration.dig(:generate, :git_cop) ? "git_cop" : ""
39
+ def git_lint_task
40
+ configuration.dig(:generate, :git_lint) ? "git_lint" : ""
41
41
  end
42
42
 
43
43
  def reek_task
@@ -51,7 +51,7 @@ module Gemsmith
51
51
  def code_quality_tasks
52
52
  [
53
53
  bundler_audit_task,
54
- git_cop_task,
54
+ git_lint_task,
55
55
  reek_task,
56
56
  rubocop_task
57
57
  ].compress.join " "
@@ -5,7 +5,7 @@ module Gemsmith
5
5
  module Identity
6
6
  NAME = "gemsmith"
7
7
  LABEL = "Gemsmith"
8
- VERSION = "14.1.3"
8
+ VERSION = "14.2.0"
9
9
  VERSION_LABEL = "#{LABEL} #{VERSION}"
10
10
  URL = "https://www.alchemists.io/projects/gemsmith"
11
11
  end
@@ -33,8 +33,8 @@ Gem::Specification.new do |spec|
33
33
  spec.add_development_dependency "bundler-audit", "~> 0.6"
34
34
  <%- end -%>
35
35
  spec.add_development_dependency "gemsmith", "~> <%= Gemsmith::Identity::VERSION[/\d+\.\d+/] %>"
36
- <%- if config.dig(:generate, :git_cop) -%>
37
- spec.add_development_dependency "git-cop", "~> 4.0"
36
+ <%- if config.dig(:generate, :git_lint) -%>
37
+ spec.add_development_dependency "git-lint", "~> 1.0"
38
38
  <%- end -%>
39
39
  <%- if config.dig(:generate, :guard) -%>
40
40
  spec.add_development_dependency "guard-rspec", "~> 4.7"
@@ -1,11 +1,14 @@
1
1
  ## Overview
2
- <!-- Required. Describe, in detail, the behavior experienced and what is desired. -->
2
+ <!-- Required. Describe, briefly, the behavior experienced. -->
3
+
4
+ ## Screenshots/Screencasts
5
+ <!-- Optional. Attach screenshot(s) and/or screencast(s) that demo the behavior. -->
3
6
 
4
7
  ## Steps to Recreate
5
- <!-- Optional. List exact steps (numbered list) to reproduce errant behavior. Delete if unused. -->
8
+ <!-- Required. List exact steps (numbered list) to reproduce errant behavior. -->
6
9
 
7
- ## Screenshots/Screencasts
8
- <!-- Optional. Attach screenshot/screencast(s) that demo the behavior. Delete if unused. -->
10
+ ## Desired Behavior
11
+ <!-- Required. Describe the behavior you'd like to see or your idea of a proposed solution. -->
9
12
 
10
13
  ## Environment
11
- <!-- Optional. What is your operating system, software version(s), etc. Delete if unused. -->
14
+ <!-- Required. What is your operating system, software version(s), etc. -->
@@ -1,11 +1,11 @@
1
1
  ## Overview
2
- <!-- Required. Why is this important/necessary? -->
2
+ <!-- Required. Why is this important/necessary and what is the overarching architecture. -->
3
+
4
+ ## Screenshots/Screencasts
5
+ <!-- Optional. Provide supporting image/video. -->
3
6
 
4
7
  ## Details
5
- <!-- Optional. List the key features/highlights as bullet points. Delete if unused. -->
8
+ <!-- Optional. List the key features/highlights as bullet points. -->
6
9
 
7
10
  ## Notes
8
- <!-- Optional. List additional notes/references as bullet points. Delete if unused. -->
9
-
10
- ## Screenshots/Screencasts
11
- <!-- Optional. Provide supporting image/video. Delete if unused. -->
11
+ <!-- Optional. List additional notes/references as bullet points. -->
@@ -1,3 +1,3 @@
1
1
  # 0.1.0 (<%= Time.now.strftime "%Y-%m-%d" %>)
2
2
 
3
- - Initial version.
3
+ - Initial implementation.
@@ -1,7 +1,7 @@
1
1
  begin
2
2
  require "gemsmith/rake/setup"
3
3
  # require "bundler/audit/task"
4
- # require "git/cop/rake/setup"
4
+ # require "git/lint/rake/setup"
5
5
  # require "rspec/core/rake_task"
6
6
  # require "reek/rake/task"
7
7
  # require "rubocop/rake_task"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemsmith
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.1.3
4
+ version: 14.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -28,7 +28,7 @@ cert_chain:
28
28
  2XV8FRa7/JimI07sPLC13eLY3xd/aYTi85Z782KIA4j0G8XEEWAX0ouBhlXPocZv
29
29
  QWc=
30
30
  -----END CERTIFICATE-----
31
- date: 2020-06-06 00:00:00.000000000 Z
31
+ date: 2020-06-13 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: milestoner
@@ -171,19 +171,19 @@ dependencies:
171
171
  - !ruby/object:Gem::Version
172
172
  version: '0.2'
173
173
  - !ruby/object:Gem::Dependency
174
- name: git-cop
174
+ name: git-lint
175
175
  requirement: !ruby/object:Gem::Requirement
176
176
  requirements:
177
177
  - - "~>"
178
178
  - !ruby/object:Gem::Version
179
- version: '4.0'
179
+ version: '1.0'
180
180
  type: :development
181
181
  prerelease: false
182
182
  version_requirements: !ruby/object:Gem::Requirement
183
183
  requirements:
184
184
  - - "~>"
185
185
  - !ruby/object:Gem::Version
186
- version: '4.0'
186
+ version: '1.0'
187
187
  - !ruby/object:Gem::Dependency
188
188
  name: guard-rspec
189
189
  requirement: !ruby/object:Gem::Requirement
@@ -361,6 +361,7 @@ files:
361
361
  - lib/gemsmith/generators/git.rb
362
362
  - lib/gemsmith/generators/git_cop.rb
363
363
  - lib/gemsmith/generators/git_hub.rb
364
+ - lib/gemsmith/generators/git_lint.rb
364
365
  - lib/gemsmith/generators/guard.rb
365
366
  - lib/gemsmith/generators/pragma.rb
366
367
  - lib/gemsmith/generators/rake.rb
metadata.gz.sig CHANGED
Binary file