spicerack-styleguide 0.6.0.pre3 → 0.6.0.pre4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +21 -0
- data/README.md +57 -0
- data/lib/spicerack/styleguide/version.rb +8 -0
- data/lib/spicerack/styleguide.rb +7 -0
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a886c5daf95ad573ba23d70ca8fa4965c430ee726e8fb0230e99f5690d69a8b
|
4
|
+
data.tar.gz: b0e5b7b98b47ed2451d42d2b9c6d6b4f25f4e890863b62e98bee3282965565db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7b928131c125070924daeff989c5683b7adf8f5ad35a132911405b9e99090309e69cd4d53b0e0b2ebc1ad392698f49286670eafa8dd2bd1f016c57747f983d6
|
7
|
+
data.tar.gz: 3c99f5eced692ef573c92783aa76f05172aedcf667e8647bc9b02446edcb6a47e3ad918ed3d66a0e90926930a2ba30c4334c262ac3a3f23788bb8bc6b5ae78ff
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2019 Allen Rettberg
|
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
|
13
|
+
all 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
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
# Spicerack::Styleguide
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/spicerack-styleguide.svg)](https://badge.fury.io/rb/spicerack-styleguide)
|
4
|
+
[![Build Status](https://semaphoreci.com/api/v1/freshly/spicerack/branches/master/badge.svg)](https://semaphoreci.com/freshly/spicerack)
|
5
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/7e089c2617c530a85b17/maintainability)](https://codeclimate.com/github/Freshly/spicerack/maintainability)
|
6
|
+
[![Test Coverage](https://api.codeclimate.com/v1/badges/7e089c2617c530a85b17/test_coverage)](https://codeclimate.com/github/Freshly/spicerack/test_coverage)
|
7
|
+
|
8
|
+
## Installation
|
9
|
+
|
10
|
+
Add this line to your application's Gemfile:
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
gem 'spicerack-styleguide'
|
14
|
+
```
|
15
|
+
|
16
|
+
And then execute:
|
17
|
+
|
18
|
+
$ bundle
|
19
|
+
|
20
|
+
Or install it yourself as:
|
21
|
+
|
22
|
+
$ gem install spicerack-styleguide
|
23
|
+
|
24
|
+
## Usage
|
25
|
+
|
26
|
+
Add the following to the top of your rubocop.yml file - this will set your default Rubocop rules to anything we've set (which is most everything).
|
27
|
+
|
28
|
+
```yaml
|
29
|
+
inherit_gem:
|
30
|
+
spicerack-styleguide:
|
31
|
+
- rubocop.yml
|
32
|
+
```
|
33
|
+
|
34
|
+
If you'd like to override any rules we've set, just list them underneath the inherit block:
|
35
|
+
|
36
|
+
```yaml
|
37
|
+
inherit_gem:
|
38
|
+
spicerack-styleguide:
|
39
|
+
- rubocop.yml
|
40
|
+
|
41
|
+
# You're gonna want a flak jacket for this one
|
42
|
+
Style/StringLiterals:
|
43
|
+
Enabled: true
|
44
|
+
EnforcedStyle: single_quotes
|
45
|
+
```
|
46
|
+
|
47
|
+
## Development
|
48
|
+
|
49
|
+
See https://github.com/Freshly/spicerack/blob/master/README.md
|
50
|
+
|
51
|
+
## Contributing
|
52
|
+
|
53
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/Freshly/spicerack.
|
54
|
+
|
55
|
+
## License
|
56
|
+
|
57
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spicerack-styleguide
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.0.
|
4
|
+
version: 0.6.0.pre4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Allen Rettberg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -45,8 +45,12 @@ email:
|
|
45
45
|
executables: []
|
46
46
|
extensions: []
|
47
47
|
extra_rdoc_files: []
|
48
|
-
files:
|
49
|
-
|
48
|
+
files:
|
49
|
+
- LICENSE.txt
|
50
|
+
- README.md
|
51
|
+
- lib/spicerack/styleguide.rb
|
52
|
+
- lib/spicerack/styleguide/version.rb
|
53
|
+
homepage: https://github.com/Freshly/spicerack/tree/master/spicerack-styleguide
|
50
54
|
licenses:
|
51
55
|
- MIT
|
52
56
|
metadata: {}
|