boxt_ruby_style_guide 7.9.0 → 7.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -5
- data/VERSION +1 -1
- metadata +1 -119
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b20dbc0617054f0833a0ea820b2e2b52b33db8ab0d9be3f583d5eaa6ac4c8fd
|
4
|
+
data.tar.gz: cdadaee95107f3b2ae348c9dd8249dd8302b47a3a9cc06a023e4029f24ad858a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a80294c77bd1a084f6d407fa81b4df31a9a880a3ba6d32898162fa60df09cdc16fe16b770954b4ded58d73d115721a901965155c3f66c20a84a6c52552c7bc4
|
7
|
+
data.tar.gz: bab04c5492332e6610e26f682b3d6b17bfdd741bf2321b063cf4b9bb2fafb09fdec0bb18df00feb3ab3b8c92ee15510d48a82ff0ec478535a31fccbe79e29969
|
data/README.md
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
# BOXT Ruby Style Guide
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/boxt_ruby_style_guide.png)](https://badge.fury.io/rb/boxt_ruby_style_guide)
|
4
|
+
|
3
5
|
Ruby style guide and base Rubocop settings for Boxt Ruby projects.
|
4
6
|
|
5
7
|
For the most part we are using [this Ruby style guide](https://github.com/bbatsov/ruby-style-guide) as the base guide, with any deviations can be found in the `default.yml`.
|
6
8
|
|
7
|
-
[![Gem Version](https://badge.fury.io/rb/boxt_ruby_style_guide.png)](https://badge.fury.io/rb/boxt_ruby_style_guide)
|
8
|
-
[![CircleCI](https://circleci.com/gh/boxt/boxt_ruby_style_guide/tree/master.svg?style=svg)](https://circleci.com/gh/boxt/boxt_ruby_style_guide/tree/master)
|
9
|
-
|
10
9
|
## Installation
|
11
10
|
|
12
11
|
Add this line to your application's Gemfile:
|
@@ -24,8 +23,6 @@ And then execute:
|
|
24
23
|
bundle
|
25
24
|
```
|
26
25
|
|
27
|
-
Rails apps should have access to the lint tasks by default.
|
28
|
-
|
29
26
|
## Usage
|
30
27
|
|
31
28
|
Add a `.rubocop.yml` file to the root of your project with the following settings:
|
@@ -46,6 +43,7 @@ The following Rubocop gems are also installed with this gem:
|
|
46
43
|
|
47
44
|
* [rubocop-faker](https://github.com/koic/rubocop-faker)
|
48
45
|
* [rubocop-rails](https://github.com/rubocop-hq/rubocop-rails)
|
46
|
+
* [rubocop-rake](https://github.com/rubocop-hq/rubocop-rake)
|
49
47
|
* [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec)
|
50
48
|
|
51
49
|
To enable add the following to your `.rubocop.yml` file.
|
@@ -58,6 +56,7 @@ inherit_gem:
|
|
58
56
|
require:
|
59
57
|
- rubocop-faker # if your project is using the Faker gem then add this
|
60
58
|
- rubocop-rails # if your project is a Rails app/engine then add this, plus the - rails.yml setting above
|
59
|
+
- rubocop-rake # if your project is using rake then add this
|
61
60
|
- rubocop-rspec # if your project is using rspec then add this, plus the - rspec.yml setting above
|
62
61
|
```
|
63
62
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
7.9.
|
1
|
+
7.9.1
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boxt_ruby_style_guide
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.9.
|
4
|
+
version: 7.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boxt
|
@@ -94,124 +94,6 @@ dependencies:
|
|
94
94
|
- - '='
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 2.1.0
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: bundler
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '2.1'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '2.1'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: bundler-audit
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: 0.7.0.1
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: 0.7.0.1
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: byebug
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - ">="
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: rails
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - ">"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '5'
|
146
|
-
- - "<"
|
147
|
-
- !ruby/object:Gem::Version
|
148
|
-
version: '7'
|
149
|
-
type: :development
|
150
|
-
prerelease: false
|
151
|
-
version_requirements: !ruby/object:Gem::Requirement
|
152
|
-
requirements:
|
153
|
-
- - ">"
|
154
|
-
- !ruby/object:Gem::Version
|
155
|
-
version: '5'
|
156
|
-
- - "<"
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version: '7'
|
159
|
-
- !ruby/object:Gem::Dependency
|
160
|
-
name: rake
|
161
|
-
requirement: !ruby/object:Gem::Requirement
|
162
|
-
requirements:
|
163
|
-
- - "~>"
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
version: '13.0'
|
166
|
-
type: :development
|
167
|
-
prerelease: false
|
168
|
-
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
requirements:
|
170
|
-
- - "~>"
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
version: '13.0'
|
173
|
-
- !ruby/object:Gem::Dependency
|
174
|
-
name: rspec
|
175
|
-
requirement: !ruby/object:Gem::Requirement
|
176
|
-
requirements:
|
177
|
-
- - "~>"
|
178
|
-
- !ruby/object:Gem::Version
|
179
|
-
version: '3.9'
|
180
|
-
type: :development
|
181
|
-
prerelease: false
|
182
|
-
version_requirements: !ruby/object:Gem::Requirement
|
183
|
-
requirements:
|
184
|
-
- - "~>"
|
185
|
-
- !ruby/object:Gem::Version
|
186
|
-
version: '3.9'
|
187
|
-
- !ruby/object:Gem::Dependency
|
188
|
-
name: rspec-nc
|
189
|
-
requirement: !ruby/object:Gem::Requirement
|
190
|
-
requirements:
|
191
|
-
- - "~>"
|
192
|
-
- !ruby/object:Gem::Version
|
193
|
-
version: '0.3'
|
194
|
-
type: :development
|
195
|
-
prerelease: false
|
196
|
-
version_requirements: !ruby/object:Gem::Requirement
|
197
|
-
requirements:
|
198
|
-
- - "~>"
|
199
|
-
- !ruby/object:Gem::Version
|
200
|
-
version: '0.3'
|
201
|
-
- !ruby/object:Gem::Dependency
|
202
|
-
name: simplecov
|
203
|
-
requirement: !ruby/object:Gem::Requirement
|
204
|
-
requirements:
|
205
|
-
- - "~>"
|
206
|
-
- !ruby/object:Gem::Version
|
207
|
-
version: '0.19'
|
208
|
-
type: :development
|
209
|
-
prerelease: false
|
210
|
-
version_requirements: !ruby/object:Gem::Requirement
|
211
|
-
requirements:
|
212
|
-
- - "~>"
|
213
|
-
- !ruby/object:Gem::Version
|
214
|
-
version: '0.19'
|
215
97
|
description: Ruby styleguide info for the BOXT projects, as well as config settings
|
216
98
|
for Rubocop
|
217
99
|
email:
|