vehiculum-codestyle 0.0.7 → 0.1.2

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: 7b05557d2d0669f28368680e9d27c29509cb30648a36e712cf5ef81ac943fe32
4
- data.tar.gz: 66c26a5a74d8af311ee050734a1f795eb77f179a716ce33918c549824a9147e3
3
+ metadata.gz: '029a84d16f6c4365067d5f9873a5804aff95e9ef5211d694388428a80934565d'
4
+ data.tar.gz: 27304ecc089b72cd0798a64fa45020af3c661c9f80c3ee0f74d2cef48136a327
5
5
  SHA512:
6
- metadata.gz: 1673d53b614f3e49cc5b924b25cb8ce4d632d07eeb534beeeaf232b859f30f209a83db7a5873985ad0297897d1b239a7e148297871b515278943891931857565
7
- data.tar.gz: 75b093d438713f9bb2f64ed7efd38a420c35e2a072275f8285e6bf55d02ef37ada9e233a7be3906b8e621a69b79c9184c37080a21f6087164d2070fd2ecd2a6b
6
+ metadata.gz: 9064d1255849bf2231f1b38eb9a1fe3e1a094793eee93b50964636e561fef4a0c4d466dc5d3c3db25e5b40c031ab8625de3b8459037b1492a5e150d79880868a
7
+ data.tar.gz: 96d701b3f4dc767456a2c688f64bf1ec6abf640947c410810a3c39b7f9caa77f435fccacfc7aaf8a376fbef3e2a1b999d8a09f8fffe9a6de0d4900cbc6b3b41f
@@ -3,8 +3,6 @@ name: vehiculum-codestyle
3
3
  on:
4
4
  push:
5
5
  branches: [ master ]
6
- pull_request:
7
- branches: [ master ]
8
6
 
9
7
  jobs:
10
8
  build:
@@ -0,0 +1,76 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, sex characteristics, gender identity and expression,
9
+ level of experience, education, socio-economic status, nationality, personal
10
+ appearance, race, religion, or sexual identity and orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at tech-services@vehiculum.de. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72
+
73
+ [homepage]: https://www.contributor-covenant.org
74
+
75
+ For answers to common questions about this code of conduct, see
76
+ https://www.contributor-covenant.org/faq
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # vehiculum-codestyle
2
2
 
3
+ ![vehiculum-codestyle](https://github.com/vehiculum-berlin/vehiculum-codestyle/workflows/vehiculum-codestyle/badge.svg?branch=master)
4
+
3
5
  Shared Ruby style guide used by Vehiculum Tech team
4
6
 
5
7
  ## Installation
@@ -62,6 +62,9 @@ Style/Next:
62
62
  Layout/ClosingParenthesisIndentation:
63
63
  Enabled: false
64
64
 
65
+ Layout/EmptyLinesAroundAttributeAccessor:
66
+ Enabled: true
67
+
65
68
  Style/WordArray:
66
69
  Enabled: false
67
70
 
@@ -112,6 +115,15 @@ Style/GuardClause:
112
115
  Style/HashSyntax:
113
116
  EnforcedStyle: ruby19
114
117
 
118
+ Style/RedundantRegexpCharacterClass:
119
+ Enabled: true
120
+
121
+ Style/RedundantRegexpEscape:
122
+ Enabled: true
123
+
124
+ Style/SlicingWithRange:
125
+ Enabled: true
126
+
115
127
  Style/RedundantSelf:
116
128
  Enabled: true
117
129
 
@@ -146,6 +158,9 @@ Lint/AssignmentInCondition:
146
158
  Layout/BlockAlignment:
147
159
  Enabled: true
148
160
 
161
+ Lint/DeprecatedOpenSSLConstant:
162
+ Enabled: true
163
+
149
164
  Lint/LiteralAsCondition:
150
165
  Enabled: true
151
166
 
@@ -155,6 +170,9 @@ Lint/Loop:
155
170
  Lint/MissingCopEnableDirective:
156
171
  Enabled: true
157
172
 
173
+ Lint/MixedRegexpCaptureTypes:
174
+ Enabled: true
175
+
158
176
  Lint/ParenthesesAsGroupedExpression:
159
177
  Enabled: true
160
178
 
@@ -1,5 +1,5 @@
1
1
  module Vehiculum
2
2
  module Codestyle
3
- VERSION = '0.0.7'.freeze
3
+ VERSION = '0.1.2'.freeze
4
4
  end
5
5
  end
@@ -17,10 +17,10 @@ Gem::Specification.new do |spec|
17
17
  end
18
18
  spec.require_paths = ['lib']
19
19
 
20
- spec.add_dependency 'rubocop', '0.82.0'
20
+ spec.add_dependency 'rubocop', '0.85.1'
21
21
  spec.add_dependency 'rubocop-performance', '1.5.2'
22
22
  spec.add_dependency 'rubocop-rails', '2.5.2'
23
23
  spec.add_dependency 'rubocop-rspec', '1.39.0'
24
- spec.add_development_dependency 'bundler', '~> 1.15'
25
- spec.add_development_dependency 'rake', '~> 12.3'
24
+ spec.add_development_dependency 'bundler', '~> 2.1.2'
25
+ spec.add_development_dependency 'rake', '~> 13.0.1'
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vehiculum-codestyle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vehiculum Tech Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-11 00:00:00.000000000 Z
11
+ date: 2020-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.82.0
19
+ version: 0.85.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.82.0
26
+ version: 0.85.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -72,28 +72,28 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.15'
75
+ version: 2.1.2
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1.15'
82
+ version: 2.1.2
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '12.3'
89
+ version: 13.0.1
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '12.3'
96
+ version: 13.0.1
97
97
  description:
98
98
  email:
99
99
  - tech-services@vehiculum.de
@@ -104,6 +104,7 @@ files:
104
104
  - ".github/workflows/gem-push.yml"
105
105
  - ".gitignore"
106
106
  - ".rubocop.yml"
107
+ - CODE_OF_CONDUCT.md
107
108
  - Gemfile
108
109
  - LICENSE
109
110
  - README.md