peppermint 0.1.15 → 0.1.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +16 -13
- data/Gemfile.lock +2 -2
- data/lib/peppermint/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5430f7e219a9f7a01d53eb0258802822c35a1b1fe7e4cb7957dfa569d4fefa2c
|
4
|
+
data.tar.gz: 9e3f91e22f3697f785ce9573bc7044b13e5b93235e32a7cca66bf897c93ffed5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: befad51768276590786a1bbc4fcf39780fb18c5500836b666ef719d423585a8385b6a5c4ff33e34b7682971177493df004151cefddac81ba97d98706ab2b6b4c
|
7
|
+
data.tar.gz: d827fb868a6c914887267fb8dece6d5b8a5c2afd640c3ec9ca576f777e44de100f5dac7c998f77e19c242a3a3073b9fe080bfabdca703947bf0b6b85bb71bd28
|
data/.rubocop.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<%
|
1
|
+
<%
|
2
2
|
require "open3"
|
3
3
|
def gem_exists(gem)
|
4
4
|
res = Open3.popen3("bundle", "info", "^#{gem}$") do |i, o, e, t|
|
@@ -22,9 +22,9 @@ require:
|
|
22
22
|
<%= "- rubocop-rails" if gem_exists "rails" %>
|
23
23
|
<%= "- rubocop-rspec_rails" if gem_exists "rails" %>
|
24
24
|
<%= "- rubocop-capybara" if gem_exists "capybara" %>
|
25
|
-
|
25
|
+
|
26
26
|
inherit_gem:
|
27
|
-
standard: config/base.yml
|
27
|
+
standard: config/base.yml
|
28
28
|
<%= "standard-rails: config/base.yml" if gem_exists "rails" %>
|
29
29
|
standard-performance: config/base.yml
|
30
30
|
standard-custom: config/base.yml
|
@@ -34,28 +34,30 @@ Layout/LineLength:
|
|
34
34
|
Enabled: false
|
35
35
|
Layout/EmptyLineBetweenDefs:
|
36
36
|
AllowAdjacentOneLineDefs: true
|
37
|
+
Layout/ExtraSpacing:
|
38
|
+
Enabled: false
|
39
|
+
Layout/SpaceBeforeComma:
|
40
|
+
Enabled: false
|
41
|
+
Layout/SpaceInsideHashLiteralBraces:
|
42
|
+
Enabled: false
|
37
43
|
Style/DisableCopsWithinSourceCodeDirective:
|
38
44
|
Enabled: true
|
39
45
|
Rake/Desc:
|
40
46
|
Enabled: false
|
41
|
-
<%
|
42
|
-
|
47
|
+
<% if gem_exists "rails" %>
|
48
|
+
Rails/ThreeStateBooleanColumn:
|
49
|
+
Enabled: false
|
50
|
+
<% end %>
|
51
|
+
<% if gem_exists "rspec" %>
|
43
52
|
RSpec/MultipleExpectations:
|
44
53
|
Enabled: false
|
45
54
|
RSpec/ExampleLength:
|
46
55
|
Enabled: false
|
47
|
-
|
48
|
-
%>
|
56
|
+
<% end %>
|
49
57
|
|
50
58
|
#
|
51
59
|
# Ignore differences from Rails autogeneration
|
52
60
|
#
|
53
|
-
Layout/SpaceInsideHashLiteralBraces:
|
54
|
-
Exclude:
|
55
|
-
- 'config/environments/*'
|
56
|
-
Layout/ExtraSpacing:
|
57
|
-
Exclude:
|
58
|
-
- 'config/environments/*'
|
59
61
|
Style/GlobalStdStream:
|
60
62
|
Exclude:
|
61
63
|
- 'config/environments/*'
|
@@ -134,3 +136,4 @@ AllCops:
|
|
134
136
|
- 'vendor/**/*'
|
135
137
|
- '.git/**/*'
|
136
138
|
- 'db/migrate/*.active_storage.rb'
|
139
|
+
- 'db/migrate/*.acts_as_taggable_on_engine.rb'
|
data/Gemfile.lock
CHANGED
data/lib/peppermint/version.rb
CHANGED