alpinelab-codestyle 0.5.0 → 0.6.0
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 +4 -4
- data/README.md +19 -0
- data/config/default.yml +14 -2
- data/config/rails.yml +6 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: df92749117f00caaa06ab7ce13f143e336b7b620b1d99b375082fe6fee725549
|
|
4
|
+
data.tar.gz: 035d39d77a6f48ecf2036a75bfc2c4b00f9f89a17ebbcdda98bda95b8691c465
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ed3bb86a26ce51679a20a27c5ece2dbbcb3c66c66640b79804d7753fedb482139df43aaafadde262cd28e56281dcb3a9354ad4dec211af9226815775d41d4803
|
|
7
|
+
data.tar.gz: e6500e31dae61db2f646991d75f6de6d61b9c62e249d05187224a3faf4610a06cf59404bd588aea08ba5e53bc451f061e74862d585d7f089595a4849c80f4fd1
|
data/README.md
CHANGED
|
@@ -56,6 +56,25 @@ Some conventions are adopted and enforced, in no particular order:
|
|
|
56
56
|
|
|
57
57
|
* `config/database.yml`
|
|
58
58
|
|
|
59
|
+
## Releases
|
|
60
|
+
|
|
61
|
+
To release this very gem:
|
|
62
|
+
|
|
63
|
+
1. Bump its version number in
|
|
64
|
+
[`lib/alpine_lab/code_style/version.rb`](lib/alpine_lab/code_style/version.rb)
|
|
65
|
+
according to [Semantic Versioning 2.0.0](https://semver.org/spec/v2.0.0.html)
|
|
66
|
+
|
|
67
|
+
2. Use Bundler Rake task to build, tag and push the gem:
|
|
68
|
+
|
|
69
|
+
```shell
|
|
70
|
+
rake release
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
_(with Docker, you need to have configured both
|
|
74
|
+
[Git authentication](https://github.com/alpinelab/docker-ruby-dev/blob/latest/RECIPES.md#git-authentication)
|
|
75
|
+
and [Rubygems authentication](https://github.com/alpinelab/docker-ruby-dev/blob/latest/RECIPES.md#rubygems-authentication)
|
|
76
|
+
then you can run the same command with `docker-compose run app rake release`)_
|
|
77
|
+
|
|
59
78
|
## License
|
|
60
79
|
|
|
61
80
|
This project is developed by [Alpine Lab](https://www.alpine-lab.com) and released under the terms of the [MIT license](LICENSE.md).
|
data/config/default.yml
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
Layout/AccessModifierIndentation:
|
|
2
2
|
EnforcedStyle: outdent
|
|
3
3
|
|
|
4
|
+
Layout/AlignParameters:
|
|
5
|
+
EnforcedStyle: with_fixed_indentation
|
|
6
|
+
|
|
7
|
+
Layout/EmptyLineAfterGuardClause:
|
|
8
|
+
Enabled: false
|
|
9
|
+
|
|
10
|
+
Layout/EmptyLineAfterMagicComment:
|
|
11
|
+
Enabled: false
|
|
12
|
+
|
|
4
13
|
Layout/EndAlignment:
|
|
5
14
|
EnforcedStyleAlignWith: start_of_line
|
|
6
15
|
|
|
7
|
-
Layout/
|
|
8
|
-
EnforcedStyle:
|
|
16
|
+
Layout/SpaceInLambdaLiteral:
|
|
17
|
+
EnforcedStyle: require_space
|
|
9
18
|
|
|
10
19
|
Metrics:
|
|
11
20
|
Exclude:
|
|
@@ -35,6 +44,9 @@ Style/Documentation:
|
|
|
35
44
|
Style/DoubleNegation:
|
|
36
45
|
Enabled: false
|
|
37
46
|
|
|
47
|
+
Style/Lambda:
|
|
48
|
+
EnforcedStyle: literal
|
|
49
|
+
|
|
38
50
|
Style/StringLiterals:
|
|
39
51
|
EnforcedStyle: double_quotes
|
|
40
52
|
|
data/config/rails.yml
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: alpinelab-codestyle
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- AlpineLab developers
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-10-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|