lifen-ruby-style 0.0.10 → 0.0.11

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
- SHA256:
3
- metadata.gz: 797cb65ad6f0a8146f176544d64f62345b413ae8099cc79325c41f4b2b190647
4
- data.tar.gz: ad446aed1e8d52303e0c99111fb811ddb498e27e8c9041b124460b47378f17a2
2
+ SHA1:
3
+ metadata.gz: d5d8ed526276bdb7fabe782250ae1c0ef2809f8f
4
+ data.tar.gz: 35cb3f3622ae35d6f6dad79644c16c0cb64a9b00
5
5
  SHA512:
6
- metadata.gz: 9d7fc6719982ead7e11f82c803f4bfe9167cc43f0d1e865a078ce05e602a5be3f2f9369a8a553761a5a79c7925a59f8519457f7b30f8169c0d7d46919965f096
7
- data.tar.gz: 184c1eac487c72ec6f54392d618d29113ae871975299c7365fa48ee82196d0ebddafb090d8aefaeb62f68a895128964f96be8dd93fa4813bfc075d0ebc0354e1
6
+ metadata.gz: 9815ad3638b27d1521b6903abf2edab3f9846f1650015c1965f76b681f271d359813dcfe496449f86427fbad6df0381c9d278411b8498792ea1bb45e457c8a5e
7
+ data.tar.gz: 8a98e79610e2cbe4028d10e7fbd6d503dc4eed984dabde4c9f7c9e2c73f9ec61cae979ecab59c9577caa51fd1fc4b3502807db7b3a6ceb786e871ca7d45a1a83
data/.gitignore CHANGED
@@ -12,3 +12,4 @@
12
12
  # rspec failure tracking
13
13
  .rspec_status
14
14
  *.gem
15
+ .ruby-version
data/README.md CHANGED
@@ -63,7 +63,7 @@ $ bundle exec rubocop -a
63
63
  Il suffit d'ajouter dans le flow un job avant les tests (ou en parallèles) avec la commande suivante :
64
64
 
65
65
  ```bash
66
- git diff-tree -r --no-commit-id --name-only 'origin/develop..HEAD' | xargs --no-run-if-empty bundle exec rubocop --config .rubocop.yml --force-exclusion --fail-level warn
66
+ git diff-tree -r --no-commit-id --name-status 'origin/develop..HEAD' | grep -E 'A|M' | awk '{print $2}' | xargs --no-run-if-empty bundle exec rubocop --config .rubocop.yml --force-exclusion --fail-level warn
67
67
  ```
68
68
 
69
69
  ## Evolution des règles
data/default.yml CHANGED
@@ -140,7 +140,7 @@ RSpec/ImplicitSubject:
140
140
  Enabled: false
141
141
 
142
142
  RSpec/MessageSpies:
143
- EnforcedStyle: receive
143
+ EnforcedStyle: have_received
144
144
 
145
145
  RSpec/NestedGroups:
146
146
  Enabled: false
@@ -170,4 +170,4 @@ RSpec/DescribeClass:
170
170
  Enabled: false
171
171
 
172
172
  RSpec/OverwritingSetup:
173
- Enabled: false
173
+ Enabled: false
@@ -1,5 +1,5 @@
1
1
  module Lifen
2
2
  module RubyStyle
3
- VERSION = '0.0.10'.freeze
3
+ VERSION = '0.0.11'.freeze
4
4
  end
5
5
  end
@@ -30,6 +30,6 @@ Gem::Specification.new do |spec|
30
30
 
31
31
  spec.add_dependency "rubocop", "~> 0.58"
32
32
  spec.add_dependency "rubocop-rspec", "~> 1.29"
33
- spec.add_development_dependency "bundler", "~> 1.15"
33
+ spec.add_development_dependency "bundler", "~> 2.0"
34
34
  spec.add_development_dependency "rake", "~> 10.0"
35
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lifen-ruby-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Team Lifen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-09-21 00:00:00.000000000 Z
11
+ date: 2019-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.15'
47
+ version: '2.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.15'
54
+ version: '2.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  version: '0'
105
105
  requirements: []
106
106
  rubyforge_project:
107
- rubygems_version: 2.7.6
107
+ rubygems_version: 2.5.2.3
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: Lifen style guides and shared style configs.