shuttlerock_shared_config 0.2.26 → 0.2.31

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: 5b3e080b41707df9e9d2b4a5a10b23010c1afe82928c31478ddf2095204edb8c
4
- data.tar.gz: 865ec60a9f875ba6ba91ab689647071955eada22a4b78abd8197cc9d56503d72
3
+ metadata.gz: 8f344aa5b492eade85bde5c058ca82a0924a994a3f99428ce1ab4605a658e5c0
4
+ data.tar.gz: c57afb357d64b55ca5dd05e036c2cc7b514100dd38e6cfc7ed1c3a62084ae1c5
5
5
  SHA512:
6
- metadata.gz: 40a62b3c5f07b61f6deeec3fd711cc8926a5d17856f11f13b0cdc2d31e42f8d4d271cd848a6ffafc2f671afe1b66c165d8567f8f9f9fe946b56aaae3f5a78925
7
- data.tar.gz: 867157b175eafc5a53e008d628eb3ef471849f3e9be42d340f59c2d18cfbf23bd73f3a404aba0fd57746cc46e0b403db0b53502d62e878a7e6fc4eaf8bf8039e
6
+ metadata.gz: 8b3b405287866c57ed68ff932b4dcd46152d1b724ca719108a8c447a69a3e62c878286d362fc143aac6361090f92cb0e243d143377c6d22fe7ca75c73f476869
7
+ data.tar.gz: a7791ea0fe0b3c755ad13a5edaaa62fa62e55f552fa992adeabfc75030f676c3c4a6a6676a4e770d6d162025742fcc2261d3a5baf4f8362a28c1297e04eec22e
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ShuttlerockSharedConfig
4
- VERSION = '0.2.26'
4
+ VERSION = '0.2.31'
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
@@ -42,6 +42,9 @@ Layout/HashAlignment:
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
 
@@ -74,12 +77,34 @@ Naming/MethodParameterName:
74
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.26
4
+ version: 0.2.31
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-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -30,42 +30,42 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.78'
33
+ version: '0.88'
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.78'
40
+ version: '0.88'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: danger
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 6.0.9
47
+ version: '8.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 6.0.9
54
+ version: '8.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '3.8'
61
+ version: '3.9'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '3.8'
68
+ version: '3.9'
69
69
  description: Update shared config for Shuttlerock's projects.
70
70
  email:
71
71
  - tbvokh@gmail.com
@@ -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
  - - ">="