shuttlerock_shared_config 0.2.25 → 0.2.30

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76a22161cfd53b898f3891c77b2fb4199d50ce205177a19ef85f1ce7fc7b5766
4
- data.tar.gz: a2b27b3da52cd45516e6bc79de5f8681f309000240de4955bf1d410aef8d5013
3
+ metadata.gz: 93b5ef96ed341a57dd4419c33257a10572c8089fec43246b6c9b680fedeb8520
4
+ data.tar.gz: 17ab9bb80793fe05453f29f4fb9d9cf3b2f37efb599162fe64536260ba7a68d6
5
5
  SHA512:
6
- metadata.gz: c056fb0d4303289646a2bf94c2339f90e1b5b7480d9abf2d823606454f2a51ee7b9d963ef2af0e366e38b6a0bb897eac85575467681184117bba905115627bb3
7
- data.tar.gz: ecefde6dcd13240a4f37d8a619ec850236fa6ec1fc1419de46727d065458b6ec54af97096ff492b99b8d645327438f6d617afe64e0191bc66b49c6a545056d90
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.25'
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] 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'
@@ -53,4 +53,20 @@ namespace :shuttlerock_shared_config do
53
53
  warn('Created /doc/env_list.yml')
54
54
  end
55
55
  end
56
+
57
+ desc 'Update pull_request_template.md'
58
+ task :update_pull_request_template do
59
+ input_path = File.expand_path('../../lib/templates/PULL_REQUEST_TEMPLATE.md', __dir__)
60
+ result_dir = Dir.pwd + '/.github'
61
+ FileUtils.mkdir_p(result_dir) unless File.directory?(result_dir)
62
+ FileUtils.copy(input_path, result_dir)
63
+ warn('Updated pull_request_template.md')
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
56
72
  end
@@ -16,7 +16,7 @@ AllCops:
16
16
  - 'vendor/**/*'
17
17
 
18
18
  # Align the elements of a hash literal if they span more than one line.
19
- Layout/AlignHash:
19
+ Layout/HashAlignment:
20
20
  # Alignment of entries using hash rocket as separator. Valid values are:
21
21
  #
22
22
  # key - left alignment of keys
@@ -42,6 +42,9 @@ Layout/AlignHash:
42
42
  # bb: 1
43
43
  EnforcedColonStyle: table
44
44
 
45
+ Rails/ApplicationController:
46
+ Enabled: true
47
+
45
48
  Style/Documentation:
46
49
  Enabled: false
47
50
 
@@ -68,18 +71,40 @@ Metrics/MethodLength:
68
71
  CountComments: false
69
72
  Max: 25
70
73
 
71
- Naming/UncommunicativeMethodParamName:
74
+ Naming/MethodParameterName:
72
75
  MinNameLength: 2
73
76
 
74
- Naming/UncommunicativeBlockParamName:
77
+ Naming/BlockParameterName:
75
78
  MinNameLength: 2
76
79
 
80
+ Lint/DeprecatedOpenSSLConstant:
81
+ Enabled: true
82
+
83
+ Layout/EmptyLinesAroundBlockBody:
84
+ Enabled: false
85
+
86
+ Layout/EmptyLinesAroundAttributeAccessor:
87
+ Enabled: true
88
+
89
+ Lint/MixedRegexpCaptureTypes:
90
+ Enabled: false
91
+
92
+ #Checks method call operators to not have spaces around them.
93
+ Layout/SpaceAroundMethodCallOperator:
94
+ Enabled: true
95
+
77
96
  Layout/SpaceInsideParens:
78
97
  Enabled: false
79
98
 
80
99
  Layout/SpaceBeforeFirstArg:
81
100
  Enabled: false
82
101
 
102
+ Lint/RaiseException:
103
+ Enabled: true
104
+
105
+ Lint/StructNewOverride:
106
+ Enabled: true
107
+
83
108
  Style/AccessModifierDeclarations:
84
109
  Enabled: false
85
110
 
@@ -90,15 +115,33 @@ Style/ClassAndModuleChildren:
90
115
  Enabled: true
91
116
  EnforcedStyle: compact
92
117
 
93
- Layout/EmptyLinesAroundBlockBody:
118
+ Style/ExponentialNotation:
94
119
  Enabled: false
95
120
 
96
121
  Style/FrozenStringLiteralComment:
97
122
  Enabled: false
98
123
 
124
+ Style/HashEachMethods:
125
+ Enabled: true
126
+
127
+ Style/HashTransformKeys:
128
+ Enabled: true
129
+
130
+ Style/HashTransformValues:
131
+ Enabled: true
132
+
99
133
  Style/RedundantReturn:
100
134
  Enabled: false
101
135
 
136
+ Style/RedundantRegexpCharacterClass:
137
+ Enabled: true
138
+
139
+ Style/RedundantRegexpEscape:
140
+ Enabled: false
141
+
142
+ Style/SlicingWithRange:
143
+ Enabled: true
144
+
102
145
  Style/TrailingCommaInArguments:
103
146
  Enabled: true
104
147
  EnforcedStyleForMultiline: comma
@@ -0,0 +1,21 @@
1
+ ## Clubhouse Card Name Here
2
+
3
+ [Clubhouse Story](link-here)
4
+
5
+ Description from the Clubhouse story
6
+
7
+ ## How to test the PR
8
+
9
+ - How to test feature 1
10
+ - Do this
11
+ - Do that
12
+ - Success
13
+ - How to test feature 2
14
+ - How to test feature 3
15
+
16
+ ## Deployment Notes
17
+
18
+ It requires new Environmental variables:
19
+
20
+ - `EXAMPLE_ENV_VARIABLE=content`
21
+ - `EXAMPLE_ENV_VARIABLE2=content`
@@ -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.25
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-01-16 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
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.64'
33
+ version: '0.78'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.64'
40
+ version: '0.78'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: danger
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -83,6 +83,8 @@ files:
83
83
  - lib/templates/.rubocop.yml
84
84
  - lib/templates/.stylelintrc
85
85
  - lib/templates/Dangerfile
86
+ - lib/templates/PULL_REQUEST_TEMPLATE.md
87
+ - lib/templates/codecov.yml
86
88
  - lib/templates/env_list.yml
87
89
  homepage: https://github.com/Shuttlerock/shuttlerock_shared_config
88
90
  licenses:
@@ -96,7 +98,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
96
98
  requirements:
97
99
  - - ">="
98
100
  - !ruby/object:Gem::Version
99
- version: 2.6.5
101
+ version: 2.6.6
100
102
  required_rubygems_version: !ruby/object:Gem::Requirement
101
103
  requirements:
102
104
  - - ">="