rf-stylez 0.4.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6f7c63405aa58802e9d89b4e22c86236bd0bc98998286f345077168c97b77449
4
- data.tar.gz: 484542fe3a274b4e1f9af9ae11a456fea0542fd9f9033ac8d2f2538449f1af1b
3
+ metadata.gz: 05a16ca2326a623f6caff7a3989ceca3d08ba53324de71c0c34fe780821aaebb
4
+ data.tar.gz: 8139f2d31d10c1ad17fb616bd5a91b17dbeaf1d68fe24bf47590d7dc673fca34
5
5
  SHA512:
6
- metadata.gz: 9ed7b8530c2119d0a630a089541d41a52ad4dea78cdc3eda0a04f47b724cd73e9358d96d533fd8f47f94f8a985ed7eb040e09eab9b62fc5f8d4b0b64ce23bb7e
7
- data.tar.gz: c5e051a13e2ff4e0354ee3b5479883f3d17158fce85d6a4b1f74d2117e50bd3f99e1ccd82d7a69c68d45fe6324b208638b421e24b1e477a1235d3515591889a6
6
+ metadata.gz: f8a9ebb0ed26c14273c17368d7b2ad697ddf26159a15c743673bcaf3bdd0bbc72498eff11a72ea7a56534130084b630ace98bd647bd9555584093eadd3640a30
7
+ data.tar.gz: 18ea1dc2f36c0357963809b5c2ad43d680af5d0bc963c263602b0a94b3fa56179fb7800c869e40413575736001fb7e80b0e014b9ced8adb09593b697becef9b6
data/README.md CHANGED
@@ -13,15 +13,23 @@ This is a place for style configurations for [Rainforest QA](https://www.rainfor
13
13
 
14
14
  ## Adding `rf-stylez` to a new project
15
15
 
16
+ ### For Ruby projects
16
17
  Create a `.rubocop.yml` in the root project directory and paste the following:
17
18
  ```yml
18
19
  inherit_gem:
19
20
  rf-stylez: ruby/rubocop.yml
20
- Style/HashSyntax:
21
- Enabled: true
22
21
  ```
23
22
 
24
- To use it install rubocop and rf-stylez locally:
23
+ ### For Rails projects
24
+ Create a `.rubocop.yml` in the root project directory and paste the following:
25
+ ```yml
26
+ inherit_gem:
27
+ rf-stylez:
28
+ - ruby/rubocop.yml
29
+ - rails/rubocop.yml
30
+ ```
31
+
32
+ To use it you'll need to install rf-stylez locally:
25
33
  ```bash
26
34
  gem install rf-stylez
27
35
  ```
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rf
4
4
  module Stylez
5
- VERSION = '0.4.1'
5
+ VERSION = '0.5.0'
6
6
  end
7
7
  end
@@ -0,0 +1 @@
1
+ require: rubocop-rails
@@ -20,6 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.require_paths = ['lib']
21
21
 
22
22
  spec.add_runtime_dependency 'rubocop', '>= 0.59', '< 0.81'
23
+ spec.add_runtime_dependency 'rubocop-rails', '~> 2.5.0'
23
24
 
24
25
  spec.add_development_dependency 'bundler', '~> 1.10'
25
26
  spec.add_development_dependency 'rake', '~> 13.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rf-stylez
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emanuel Evans
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-06 00:00:00.000000000 Z
11
+ date: 2020-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -30,6 +30,20 @@ dependencies:
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '0.81'
33
+ - !ruby/object:Gem::Dependency
34
+ name: rubocop-rails
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: 2.5.0
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: 2.5.0
33
47
  - !ruby/object:Gem::Dependency
34
48
  name: bundler
35
49
  requirement: !ruby/object:Gem::Requirement
@@ -128,6 +142,7 @@ files:
128
142
  - lib/rubocop/cop/lint/no_untyped_raise.rb
129
143
  - lib/rubocop/cop/lint/obscure.rb
130
144
  - lib/rubocop/cop/lint/use_positive_int32_validator.rb
145
+ - rails/rubocop.yml
131
146
  - rf-stylez.gemspec
132
147
  - ruby/rubocop.yml
133
148
  - ruby/rubocop_lint.yml