vehiculum-codestyle 0.0.1 → 0.0.8

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: 58f10a4633c8c15341d7f333d0fecf1eb8a789b794584ef27f28b7a54f365662
4
- data.tar.gz: 2046045be0cf913e4507a20656ace93e540f666843317a6dc011b9b4ab6941a6
3
+ metadata.gz: 49c4c67956924d1595eb562aaea9c2f6f0dd557529c58dd6af1aaf2cc0ed3126
4
+ data.tar.gz: b8f896a4c4524e21a813cec5934d1e3f8398414d17e351c3df71267cc1d337a6
5
5
  SHA512:
6
- metadata.gz: 1137a39e294e8a1d281403309c8c8371e0d89ce5b4bcac7ebdc5338aba6a1fb10232067c400fad820ce682c47ee22f9b9d324d83ac7c16b5858148173bf9bf47
7
- data.tar.gz: fedfc5be039818af8e52a36b9434d68d767fd7b47a2f38add09aafb015d557e9573adb542fbc4209a1fc95bea1f74faf344f14718ada4ebbdc04ebc76ffdab4a
6
+ metadata.gz: 296364b4a6512425e60b3719d7d5e60ac1e604f8bac5c987dd4839247bad2ba12e2d61a5c9692bdd65fd343ebd8f05d0ae7f5faae8f7c3f05189eb2c74cb1bf0
7
+ data.tar.gz: a6ec42607f28f9be33cc26da9b141cd4430ef6856a8fb8f3673fd074686e64b752fa23b0c89e914e2b6f08a0c8839b10eeac7df6511d48227502f91173c4eb8b
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
@@ -7,7 +9,7 @@ Add this line to your application's Gemfile:
7
9
 
8
10
  ```
9
11
  group :test, :development do
10
- gem 'scc-codestyle'
12
+ gem 'vehiculum-codestyle'
11
13
  end
12
14
  ```
13
15
 
@@ -16,15 +18,26 @@ You do not need to include RuboCop directly in your application's dependencies.
16
18
  Usage
17
19
  Create a .rubocop.yml with the following directives:
18
20
 
21
+ ```
19
22
  inherit_gem:
20
23
  vehiculum-codestyle:
21
24
  - default.yml
25
+ ```
26
+
22
27
  Now, run:
23
28
 
29
+ ```
24
30
  $ bundle exec rubocop
31
+ ```
32
+
25
33
  You can also automatically generate a .rubocop_todo.yml file to temporarily ignore failing cops until the offenses are removed from your code base. Run:
26
34
 
35
+ ```
27
36
  $ bundle exec rubocop --auto-gen-config
37
+ ```
38
+
28
39
  And add this to .rubocop.yml below the previous block:
29
40
 
30
- inherit_from: .rubocop_todo.yml
41
+ ```
42
+ inherit_from: .rubocop_todo.yml
43
+ ```
@@ -153,7 +153,7 @@ Lint/Loop:
153
153
  Enabled: true
154
154
 
155
155
  Lint/MissingCopEnableDirective:
156
- Enable: true
156
+ Enabled: true
157
157
 
158
158
  Lint/ParenthesesAsGroupedExpression:
159
159
  Enabled: true
@@ -225,7 +225,7 @@ Metrics/AbcSize:
225
225
  Metrics/BlockLength:
226
226
  Enabled: false
227
227
 
228
- Mtrics/BlockNesting:
228
+ Metrics/BlockNesting:
229
229
  Enabled: true
230
230
  Max: 3
231
231
 
@@ -576,4 +576,4 @@ RSpec/RepeatedExampleGroupBody:
576
576
  Enabled: pending
577
577
 
578
578
  RSpec/RepeatedExampleGroupDescription:
579
- Enabled: pendinge
579
+ Enabled: pending
@@ -1,5 +1,5 @@
1
1
  module Vehiculum
2
2
  module Codestyle
3
- VERSION = '0.0.1'.freeze
3
+ VERSION = '0.0.8'.freeze
4
4
  end
5
5
  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.1
4
+ version: 0.0.8
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-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop