missing_rspec 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/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/lib/missing_rspec/creator.rb +2 -0
- data/lib/missing_rspec/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ce4c5ca1f6b58e346ec3a0dd352719c453de57856e01a8068cd278c2692bcf8
|
4
|
+
data.tar.gz: '081b5367736f0080fbaaacd6d472c93c9b3da1d36700fcb7f3162f0de480d761'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5be9272e204ca25fbe5410df7f15402316b1119e4b5295a5bdd05fc4fb30e8e5f46476dbf0d784add22af1565a472291d883c6fe7107afef9b3387db5e1352b
|
7
|
+
data.tar.gz: 3b508b92ab1e1b1864bebca8ddc1cfce5a8f37a901a7a7673c99194d16bfa030456e27410144754ec4759dd4fbe2829392ca4158766a18379b11eb65ed30b15e
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -43,7 +43,7 @@ bin/rails missing_rspec
|
|
43
43
|
The following is an example of specifying models, controllers and jobs.
|
44
44
|
|
45
45
|
```shell
|
46
|
-
bin/rails missing_rspec[/app,models
|
46
|
+
bin/rails missing_rspec[/app,models\;controllers\;jobs]
|
47
47
|
```
|
48
48
|
|
49
49
|
### Execution example
|
@@ -187,7 +187,7 @@ bin/rails missing_rspec_create
|
|
187
187
|
The following is an example of specifying models, controllers and jobs.
|
188
188
|
|
189
189
|
```shell
|
190
|
-
bin/rails missing_rspec_create[/app,models
|
190
|
+
bin/rails missing_rspec_create[/app,models\;controllers\;jobs]
|
191
191
|
```
|
192
192
|
|
193
193
|
## Contributing
|
@@ -58,8 +58,10 @@ module MissingRspec
|
|
58
58
|
|
59
59
|
def build_rspec_content(full_class_name, folder_type)
|
60
60
|
<<~EOS
|
61
|
+
# rubocop:disable Lint/EmptyBlock
|
61
62
|
RSpec.describe #{full_class_name}, type: :#{folder_type.singularize} do
|
62
63
|
end
|
64
|
+
# rubocop:enaable Lint/EmptyBlock
|
63
65
|
EOS
|
64
66
|
end
|
65
67
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: missing_rspec
|
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
|
- Keiichi Kayama
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: This Gem extracts RSpec files that have not yet been created.
|
14
14
|
email:
|
@@ -45,7 +45,7 @@ metadata:
|
|
45
45
|
homepage_uri: https://github.com/kayamak/missing_rspec
|
46
46
|
source_code_uri: https://github.com/kayamak/missing_rspec
|
47
47
|
changelog_uri: https://github.com/kayamak/missing_rspec
|
48
|
-
post_install_message:
|
48
|
+
post_install_message:
|
49
49
|
rdoc_options: []
|
50
50
|
require_paths:
|
51
51
|
- lib
|
@@ -60,8 +60,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
requirements: []
|
63
|
-
rubygems_version: 3.3
|
64
|
-
signing_key:
|
63
|
+
rubygems_version: 3.0.3
|
64
|
+
signing_key:
|
65
65
|
specification_version: 4
|
66
66
|
summary: find missing rspec files.
|
67
67
|
test_files: []
|