wetransfer_style 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +27 -0
- data/ruby/default.yml +42 -0
- metadata +60 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e60e371671cadee903ab33e9977bf9022b143fe9
|
4
|
+
data.tar.gz: bde051cbf4cccae10f97c528a327a98c3364a053
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b97b89f5f198edf6ad615747f79d2f7e5ccf305ab65d4902e02f519d746dea6acb7f95dc6cf69dfe1e303e04bbf949dd58a30851a91e1eaecf01f692e4c056b9
|
7
|
+
data.tar.gz: 7ce578699dddfbdbb7d595e2f5c33ab2a28be1a224d69a5b2b4b2616708b057f3aa928eaaea533977ec9ca658e26047d83764c1fe4c08121f5f86671acbc35c6
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2018 WeTransfer
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# wetransfer_style
|
2
|
+
At WeTransfer we code in style. This is our style.
|
3
|
+
|
4
|
+
## Using our style
|
5
|
+
|
6
|
+
If you want to code in our style, here's what you have to do:
|
7
|
+
|
8
|
+
### Ruby
|
9
|
+
|
10
|
+
Add `wetransfer_style` to your `Gemfile`:
|
11
|
+
|
12
|
+
```
|
13
|
+
gem 'wetransfer_style'
|
14
|
+
```
|
15
|
+
|
16
|
+
or to your `*.gemspec`:
|
17
|
+
|
18
|
+
```
|
19
|
+
spec.add_development_dependency 'wetransfer_style'
|
20
|
+
```
|
21
|
+
|
22
|
+
Add a `.rubocop.yml` in the root of you repository, having:
|
23
|
+
|
24
|
+
```
|
25
|
+
inherit_gem:
|
26
|
+
wetransfer_style: ruby/default.yml
|
27
|
+
```
|
data/ruby/default.yml
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# Only allow our set of cops
|
2
|
+
AllCops:
|
3
|
+
DisabledByDefault: true
|
4
|
+
TargetRubyVersion: 2.3
|
5
|
+
|
6
|
+
# Lint & Metrics will be enabled at the next iteration
|
7
|
+
Layout:
|
8
|
+
Enabled: true
|
9
|
+
Naming:
|
10
|
+
Enabled: true
|
11
|
+
Style:
|
12
|
+
Enabled: true
|
13
|
+
|
14
|
+
Layout/SpaceInsideHashLiteralBraces:
|
15
|
+
Enabled: false
|
16
|
+
|
17
|
+
Style/Alias:
|
18
|
+
EnforcedStyle: prefer_alias_method
|
19
|
+
Style/AsciiComments:
|
20
|
+
Enabled: false
|
21
|
+
Style/ClassAndModuleChildren:
|
22
|
+
Enabled: false
|
23
|
+
Style/Documentation:
|
24
|
+
Enabled: false
|
25
|
+
Style/DoubleNegation:
|
26
|
+
Enabled: false
|
27
|
+
Style/FrozenStringLiteralComment:
|
28
|
+
Enabled: false
|
29
|
+
Style/FormatStringToken:
|
30
|
+
Enabled: false
|
31
|
+
Style/MultilineBlockChain:
|
32
|
+
Enabled: false
|
33
|
+
Style/RescueStandardError:
|
34
|
+
EnforcedStyle: implicit
|
35
|
+
Style/StructInheritance:
|
36
|
+
Enabled: false
|
37
|
+
Style/SymbolArray:
|
38
|
+
Enabled: false
|
39
|
+
Style/TrailingCommaInLiteral:
|
40
|
+
Enabled: false
|
41
|
+
Style/ZeroLengthPredicate:
|
42
|
+
Enabled: false
|
metadata
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: wetransfer_style
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Andrei Horak
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-01-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rubocop
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.52.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.52.0
|
27
|
+
description: At WeTransfer we code in style. This is our style.
|
28
|
+
email: linkyndy@gmail.com
|
29
|
+
executables: []
|
30
|
+
extensions: []
|
31
|
+
extra_rdoc_files: []
|
32
|
+
files:
|
33
|
+
- LICENSE
|
34
|
+
- README.md
|
35
|
+
- ruby/default.yml
|
36
|
+
homepage: https://github.com/WeTransfer/wetransfer_style
|
37
|
+
licenses:
|
38
|
+
- MIT
|
39
|
+
metadata: {}
|
40
|
+
post_install_message:
|
41
|
+
rdoc_options: []
|
42
|
+
require_paths:
|
43
|
+
- lib
|
44
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
49
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
requirements: []
|
55
|
+
rubyforge_project:
|
56
|
+
rubygems_version: 2.6.12
|
57
|
+
signing_key:
|
58
|
+
specification_version: 4
|
59
|
+
summary: At WeTransfer we code in style. This is our style.
|
60
|
+
test_files: []
|