mfind-rubocop-rspec-rails 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rubocop.yml +1 -0
- data/default.yml +25 -0
- data/lib/mfind_rubocop_rspec_rails.rb +5 -0
- metadata +80 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 77191b0a77c90c55fe8432de701eeb2d66494473e09c20f5e1e7044c8dfed9a2
|
4
|
+
data.tar.gz: f05a6cac30cd78b85fe2c6088b7a0195ef9245e137c80965a9e853231d07a087
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5b417cebd344ad15f5e6ae0af50f76abdc6f02899ebbbe69139532a32b5f88642396da8964168c2d19ba11c478723b9e0f047bac0af81f49870c6b6961081a70
|
7
|
+
data.tar.gz: 5d752230d0454fd32ba2aa7903947051ed8d79e7868c550a0f83af64dfb3c43577de8634f595ecfd252449d9ef9ea031ab163da19d0108b25177b51b1ebfdb06
|
data/.rubocop.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
inherit_from: default.yml
|
data/default.yml
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
inherit_gem:
|
2
|
+
mfind-rubocop-rspec:
|
3
|
+
- default.yml
|
4
|
+
|
5
|
+
inherit_mode:
|
6
|
+
merge:
|
7
|
+
- Exclude
|
8
|
+
|
9
|
+
require: rubocop-rails
|
10
|
+
|
11
|
+
AllCops:
|
12
|
+
Exclude:
|
13
|
+
- script/**/*
|
14
|
+
- db/**/*
|
15
|
+
|
16
|
+
# Allow usage of `render :x and return if condition?`
|
17
|
+
# in controllers, where `&&` instead of `and` wouldn't work
|
18
|
+
Style/AndOr:
|
19
|
+
Include:
|
20
|
+
- app/controllers/**/*_controller.rb
|
21
|
+
EnforcedStyle: conditionals
|
22
|
+
|
23
|
+
Rails/SkipsModelValidations:
|
24
|
+
Exclude:
|
25
|
+
- "**/*_spec.rb"
|
metadata
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: mfind-rubocop-rspec-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- mFind IT
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-07-13 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: mfind-rubocop-rspec
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.0.1
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.0'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.0.1
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: rubocop-rails
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: 2.3.2
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 2.3.2
|
47
|
+
description:
|
48
|
+
email:
|
49
|
+
- development@mfind.pl
|
50
|
+
executables: []
|
51
|
+
extensions: []
|
52
|
+
extra_rdoc_files: []
|
53
|
+
files:
|
54
|
+
- ".rubocop.yml"
|
55
|
+
- default.yml
|
56
|
+
- lib/mfind_rubocop_rspec_rails.rb
|
57
|
+
homepage: https://github.com/mfind-project/mfind-rubocop-rspec-rails
|
58
|
+
licenses:
|
59
|
+
- Nonstandard
|
60
|
+
metadata: {}
|
61
|
+
post_install_message:
|
62
|
+
rdoc_options: []
|
63
|
+
require_paths:
|
64
|
+
- lib
|
65
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
requirements: []
|
76
|
+
rubygems_version: 3.0.3
|
77
|
+
signing_key:
|
78
|
+
specification_version: 4
|
79
|
+
summary: mFind RuboCop configuration for Ruby apps using RSpec and Ruby on Rails
|
80
|
+
test_files: []
|