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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 06f929e104c36480a2d3d565dd6480f1a8ebd31f4f37f545dcf8fdb2a8877c4e
4
- data.tar.gz: 7eacfe261bd7b70931bddaaa82e28b86bd03975e222b0ae9b6218eb49977ac3d
3
+ metadata.gz: 93b5ef96ed341a57dd4419c33257a10572c8089fec43246b6c9b680fedeb8520
4
+ data.tar.gz: 17ab9bb80793fe05453f29f4fb9d9cf3b2f37efb599162fe64536260ba7a68d6
5
5
  SHA512:
6
- metadata.gz: c359d3b43c729a9d37f0a110feecc312fe89c6a22b9e29bca6e29a755c0aa52944ada4ed1a090431bfe6508639da43eade382cedd4babc022c71931fdebedd02
7
- data.tar.gz: 84dea2ac3b869d4e8172d602d023508dc8a30065ea9c37f2acf4958af81056beac45cb81803583c6896bb9286cbe5ffadc9622d14748c7c29760822976b0b023
6
+ metadata.gz: f4b1eea129102e414f12f316edd07a71d667c548f152d8d1e7b112d9c8ecef047c7c218fd023342ba4d89d3537a0fa974b19c68961e925111c85c6a12283b928
7
+ data.tar.gz: c58eac05bfafcfab6beb7c1de0f168320f23fcf0154cbb41031729f401a3d3c2e42cdc9e53bc08eb29293f6ca46a2b369a0dd9c8ff49a0f13ec0901238e3c99f
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ShuttlerockSharedConfig
4
- VERSION = '0.2.29'
4
+ VERSION = '0.2.30'
5
5
  end
@@ -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
@@ -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.29
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-05-04 00:00:00.000000000 Z
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: