shop_storm_cops 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: ed7b2b5ed1e389be21ff9a8f66ff41fdd8237d03
4
- data.tar.gz: 513d649114ade19569d56efb42e911b15204ebec
3
+ metadata.gz: 64b284500c80b9bff7c77b260cd6d03b7f8e5c04
4
+ data.tar.gz: 5d76dcd7de766b75febc24ad81e81b5efdf4b85f
5
5
  SHA512:
6
- metadata.gz: bee5da9e744668b74e3b445a113b1ff298654726212f6ca1c15392ebe3d90664dfc87707531d049ccdd0fb9c2a42227d64844c6e5061aa8abf299af6efae0e80
7
- data.tar.gz: 14256daf9fa5cd0cd1e6d9697b16858d7d6218170d813837157b1cefc246c4374849cc2ee5a55dbd4d4c4cb86bccdea0679a97c8bd02ec1a24222d11955d795f
6
+ metadata.gz: 3be2c1c7146fb00f4ec6527e679a4902beaa0b10b97234dc183abfea2d47276f55077cb98cad35a95ddb47ce32803eb51709f3b808718d859be0709d315c71ff
7
+ data.tar.gz: 90e36c89dd30483d1b00d1b3c53787782c92303d992a4af8384ea02bd014c31ce0e7f0572d870174fc8014c781041db4401c63085dd8bee914f60eef5fc291e4
data/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ ## 0.1.1
2
+
3
+ * Disable temporarily the Style/ClassAndModuleChildren Cop because it's not possible to override it from the .rubocop_todo.yml file.
4
+
5
+ ## 0.1.0
6
+
7
+ * First release with a shared rubocop config file
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Gem Version](https://badge.fury.io/rb/shop_storm_cops.svg)](https://badge.fury.io/rb/shop_storm_cops)
2
+
1
3
  # ShopStormCops
2
4
 
3
5
  ShopStormCops is a little library that integrates [RuboCop](https://github.com/bbatsov/rubocop) into your Ruby project, configured for following the coding conventions we use at [SkyVerge](https://www.skyverge.com/) ([ShopStorm](https://shopstorm.com/) division). It is planned to add more 3rd party coding style tools in the future.
@@ -8,7 +10,7 @@ Add the gem into your Gemfile’s development and test groups:
8
10
 
9
11
  ```ruby
10
12
  group :development, :test do
11
- gem shop_storm_cops
13
+ gem 'shop_storm_cops'
12
14
  end
13
15
  ```
14
16
 
@@ -24,9 +24,16 @@ Style/Documentation:
24
24
  Enabled: false
25
25
 
26
26
  # Allow compact `Module::Class` style inside tests.
27
- Style/ClassAndModuleChildren:
28
- Exclude:
29
- - 'test/**/*'
27
+ #
28
+ # We comment this line since RuboCop seems to have a bug in the loading order
29
+ # of the inherited config files. This file is supposed to be loaded in the less
30
+ # precedence way, so Cops configured into .rubocop_todo.yml should overwrite it.
31
+ # However that's not the real behaviour (bug), and it's specially problematic
32
+ # in this Cop, the only one setting an Exclude parameter in this file.
33
+ #
34
+ # Style/ClassAndModuleChildren:
35
+ # Exclude:
36
+ # - 'test/**/*'
30
37
 
31
38
  Style/FormatString:
32
39
  EnforcedStyle: sprintf
@@ -1,3 +1,3 @@
1
1
  module ShopStormCops
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shop_storm_cops
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Madrid
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: exe
14
14
  cert_chain: []
15
- date: 2015-11-13 00:00:00.000000000 Z
15
+ date: 2015-11-16 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rubocop
@@ -79,6 +79,7 @@ extra_rdoc_files: []
79
79
  files:
80
80
  - ".gitignore"
81
81
  - ".rubocop.yml"
82
+ - CHANGELOG.md
82
83
  - Gemfile
83
84
  - LICENSE.txt
84
85
  - README.md