vehiculum-codestyle 0.0.6 → 0.1.1

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: 92326423549e56d9bb3b42aafb362da4f62b6f947b6d05686f534faf2837c342
4
- data.tar.gz: bf1035f0c97da724bd6c61dc7ab5ae6533dc872c5ae35cb98d126b4356124aea
3
+ metadata.gz: 5f7c0dd50b3a967352b0fb06b2525f34e216bab45acd3d838e5170a9a4b44e81
4
+ data.tar.gz: af4be069a402b223158e4ee049b392e699c506f658d9e0e5122ccf6d9e659e24
5
5
  SHA512:
6
- metadata.gz: 192a660e8d5ff3dc033a6ceee4fec7ac5169cd8eb65a7b28dc59eb3fe7393c29005692b0fab826be7bc29b6f2457c10403c77333450b3bd698a2d873e5ce42b6
7
- data.tar.gz: 229f44b49665494452f0d59ddb03ecfda0c0ed4dbe449b56ee6bba9f32d91451f550c56f0683bee8ad52127b454fd699725b7d85fafd4b549bff388cdad26778
6
+ metadata.gz: 8a65300955274ab596bdc536d59e8b658706fd258f2e7cb19bcc687c2022a1a2feb50018dbd2f4d51ab19b3f413a5035979e717257e36633495133ad9b35519e
7
+ data.tar.gz: 2cb5bfa481d79862cc029c0830f0e6d3a837b78313220a375a117d4a898c1c6083973300c0ba1becfe7a8374b29e33fcdf504d0bddf47ea1b33ea5652fd7bf94
@@ -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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2017 SUSE Linux GmbH
3
+ Copyright (c) 2020 Vehiculum mobility solutions GmbH
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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.6'.freeze
3
+ VERSION = '0.1.1'.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.6
4
+ version: 0.1.1
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-10 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