onkcop 0.52.1.0 → 0.52.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
  SHA256:
3
- metadata.gz: fefd5a5d4b95eaa60ceff510ef96edfa5132a8ee0cceb38788dd09d41a4682c9
4
- data.tar.gz: 0f57936ba4873985a89ab80b57367c2d2c6d2bc988f5d9fbc02affeccee4c12c
3
+ metadata.gz: f2829a1ab9edf1262b0dedc9e9cd2a39e2243ac7e2b5b00a483924963705822e
4
+ data.tar.gz: cdd0e610daafc9cafad70cc0e20004891e18b7081a0f8d999fc133eb39921738
5
5
  SHA512:
6
- metadata.gz: 2dee74d2c77ffdb3b96e4cc64fb204938fa170c8820731fa17d4f14363f334a6a75adde92b2c0a0ccfdee204c1a33110fd125c12d62f7afb51a70091458bbdfa
7
- data.tar.gz: 92763036f738253f9d53771ad57ef42703b000648ce21e6c0882569881d528f10dd1e116dc9ee251ecb4e96decd7ac4f6eaa81c8a250856e995391f80fd4df34
6
+ metadata.gz: ab357b4c69996f6b795f0f7fe672f9ad308e13ac7fd249c1b69a166cfbb6fa0d34ca89368069123581521044b46c53735c2bc139406dc5b5d46e7bab39a0fd31
7
+ data.tar.gz: 23381aafd40181296850e952c23a5243af5ef2a909ff303400a609521ce4f6fb4cef804145c964596a1f100e9779804fdeb85ff0fb5d5df1c1fee844b66e3a87
@@ -1,5 +1,11 @@
1
1
  # onkcop
2
2
 
3
+ ## v0.52.1.1 (2018-01-11)
4
+
5
+ * Update `rubocop-rspec` to v1.22.0
6
+ * Change new `RSpec/ExpectChange` cop to `block` style
7
+
8
+
3
9
  ## v0.52.1.0 (2017-12-28)
4
10
 
5
11
  * Update `rubocop` to v0.52.1
@@ -22,6 +22,12 @@ RSpec/EmptyLineAfterFinalLet:
22
22
  RSpec/ExampleLength:
23
23
  Max: 8
24
24
 
25
+ # block の方がテスト対象が
26
+ # * `{}` の前後のスペースと相まって目立つ
27
+ # * 普段書く形と同じなので自然に脳内に入ってくる
28
+ RSpec/ExpectChange:
29
+ EnforcedStyle: block
30
+
25
31
  # one-liner の should は書きやすいし意味が通りやすいし副作用も無いので撥ねる必要がない。
26
32
  # ただ expect 派に対して強制するほどでもないので統一はしない。
27
33
  RSpec/ImplicitExpect:
@@ -16,7 +16,8 @@ Layout/ClassStructure:
16
16
  Enabled: true
17
17
 
18
18
  # メソッドチェーンの改行は末尾に . を入れる
19
- # REPL に貼り付けた際の暴発を防ぐため
19
+ # * REPL に貼り付けた際の暴発を防ぐため
20
+ # * 途中にコメントをはさむことができて実用上圧倒的に便利
20
21
  Layout/DotPosition:
21
22
  EnforcedStyle: trailing
22
23
 
@@ -1,3 +1,3 @@
1
1
  module Onkcop
2
- VERSION = "0.52.1.0"
2
+ VERSION = "0.52.1.1"
3
3
  end
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.require_paths = ["lib"]
21
21
 
22
22
  spec.add_dependency "rubocop", "~> 0.52.1"
23
- spec.add_dependency "rubocop-rspec", ">= 1.21.0"
23
+ spec.add_dependency "rubocop-rspec", ">= 1.22.0"
24
24
  spec.add_development_dependency "bundler"
25
25
  spec.add_development_dependency "rake"
26
26
  spec.add_development_dependency "rspec"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onkcop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.52.1.0
4
+ version: 0.52.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takafumi ONAKA
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-27 00:00:00.000000000 Z
11
+ date: 2018-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 1.21.0
33
+ version: 1.22.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 1.21.0
40
+ version: 1.22.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement