shuttlerock_shared_config 0.2.29 → 0.2.30
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/lib/shuttlerock_shared_config/version.rb +1 -1
- data/lib/tasks/tasks.rb +8 -1
- data/lib/templates/.rubocop.yml +18 -0
- data/lib/templates/codecov.yml +17 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 93b5ef96ed341a57dd4419c33257a10572c8089fec43246b6c9b680fedeb8520
|
|
4
|
+
data.tar.gz: 17ab9bb80793fe05453f29f4fb9d9cf3b2f37efb599162fe64536260ba7a68d6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f4b1eea129102e414f12f316edd07a71d667c548f152d8d1e7b112d9c8ecef047c7c218fd023342ba4d89d3537a0fa974b19c68961e925111c85c6a12283b928
|
|
7
|
+
data.tar.gz: c58eac05bfafcfab6beb7c1de0f168320f23fcf0154cbb41031729f401a3d3c2e42cdc9e53bc08eb29293f6ca46a2b369a0dd9c8ff49a0f13ec0901238e3c99f
|
data/lib/tasks/tasks.rb
CHANGED
|
@@ -4,7 +4,7 @@ require 'rake'
|
|
|
4
4
|
require 'fileutils'
|
|
5
5
|
|
|
6
6
|
namespace :shuttlerock_shared_config do
|
|
7
|
-
task update: %i[update_codeclimate update_eslint update_rubocop update_stylelintrc update_dangerfile update_pull_request_template] do
|
|
7
|
+
task update: %i[update_codeclimate update_eslint update_rubocop update_stylelintrc update_dangerfile update_pull_request_template update_codecov] do
|
|
8
8
|
end
|
|
9
9
|
|
|
10
10
|
desc 'Update .codeclimate.yml'
|
|
@@ -62,4 +62,11 @@ namespace :shuttlerock_shared_config do
|
|
|
62
62
|
FileUtils.copy(input_path, result_dir)
|
|
63
63
|
warn('Updated pull_request_template.md')
|
|
64
64
|
end
|
|
65
|
+
|
|
66
|
+
desc 'Update codecov.yml'
|
|
67
|
+
task :update_codecov do
|
|
68
|
+
input_path = File.expand_path('../../lib/templates/codecov.yml', __dir__)
|
|
69
|
+
FileUtils.copy(input_path, Dir.pwd)
|
|
70
|
+
warn('Updated codecov.yml')
|
|
71
|
+
end
|
|
65
72
|
end
|
data/lib/templates/.rubocop.yml
CHANGED
|
@@ -77,9 +77,18 @@ Naming/MethodParameterName:
|
|
|
77
77
|
Naming/BlockParameterName:
|
|
78
78
|
MinNameLength: 2
|
|
79
79
|
|
|
80
|
+
Lint/DeprecatedOpenSSLConstant:
|
|
81
|
+
Enabled: true
|
|
82
|
+
|
|
80
83
|
Layout/EmptyLinesAroundBlockBody:
|
|
81
84
|
Enabled: false
|
|
82
85
|
|
|
86
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
|
87
|
+
Enabled: true
|
|
88
|
+
|
|
89
|
+
Lint/MixedRegexpCaptureTypes:
|
|
90
|
+
Enabled: false
|
|
91
|
+
|
|
83
92
|
#Checks method call operators to not have spaces around them.
|
|
84
93
|
Layout/SpaceAroundMethodCallOperator:
|
|
85
94
|
Enabled: true
|
|
@@ -124,6 +133,15 @@ Style/HashTransformValues:
|
|
|
124
133
|
Style/RedundantReturn:
|
|
125
134
|
Enabled: false
|
|
126
135
|
|
|
136
|
+
Style/RedundantRegexpCharacterClass:
|
|
137
|
+
Enabled: true
|
|
138
|
+
|
|
139
|
+
Style/RedundantRegexpEscape:
|
|
140
|
+
Enabled: false
|
|
141
|
+
|
|
142
|
+
Style/SlicingWithRange:
|
|
143
|
+
Enabled: true
|
|
144
|
+
|
|
127
145
|
Style/TrailingCommaInArguments:
|
|
128
146
|
Enabled: true
|
|
129
147
|
EnforcedStyleForMultiline: comma
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
coverage:
|
|
2
|
+
precision: 1
|
|
3
|
+
round: up
|
|
4
|
+
range: "70...100"
|
|
5
|
+
|
|
6
|
+
parsers:
|
|
7
|
+
gcov:
|
|
8
|
+
branch_detection:
|
|
9
|
+
conditional: yes
|
|
10
|
+
loop: yes
|
|
11
|
+
method: no
|
|
12
|
+
macro: no
|
|
13
|
+
|
|
14
|
+
comment:
|
|
15
|
+
layout: "reach,diff,flags,tree"
|
|
16
|
+
behavior: default
|
|
17
|
+
require_changes: no
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shuttlerock_shared_config
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.30
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ElseThen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-06-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -84,6 +84,7 @@ files:
|
|
|
84
84
|
- lib/templates/.stylelintrc
|
|
85
85
|
- lib/templates/Dangerfile
|
|
86
86
|
- lib/templates/PULL_REQUEST_TEMPLATE.md
|
|
87
|
+
- lib/templates/codecov.yml
|
|
87
88
|
- lib/templates/env_list.yml
|
|
88
89
|
homepage: https://github.com/Shuttlerock/shuttlerock_shared_config
|
|
89
90
|
licenses:
|