ws-style 5.0.0 → 5.1.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: e807ebe029aff8e0f38f0f111c274da419368a3f85f2d7d13073a4ff74a93145
4
- data.tar.gz: ef8929eaaee7d53b6951be05c4c8325e1596e492538cd6ff8578a855c3435ab6
3
+ metadata.gz: 5b1e5df9f91ab0d75f3f21a4f6489c9c5ae445d4ac64156047d497732bd4480c
4
+ data.tar.gz: a33315687b64a5d15fa1350d4266e1aa17bcc85d69922120394b2dc15be6e5d3
5
5
  SHA512:
6
- metadata.gz: 3a2034ae5965c99eefe0b61e39b8a859e9e8cac6d7d1ac3dcef69659b56f6e04d06fd146e2845a6cf48fd01a27d4fbe66943ddbdbdbcd2114889660c33ec6609
7
- data.tar.gz: 13a67f5daa06345b83ebafc624d41d7d54d76fdf28aa34b440593080eb0d43d37cb5ef755a010a51fa34e8b43bdc0b71dcc66266d17266c40c09fd16e92e2f33
6
+ metadata.gz: d295e743fedeba8ad1c745b2771697993e530f73588263a4d0398bb18bdc65704a4caf208e7995e73747704b19af99f8f09edd7d1290242008e8911a47be2be1
7
+ data.tar.gz: c0c27b08a5fe989b763c2dcb9df9f6e9244b40aa278fe1402b5db3075832755c4a1ae9d12140d8cae29762b22314df3ab5f1b76de1fdd395191a9dd2031b2d87
@@ -4,6 +4,34 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## 5.1.0 - 2019-06-06
8
+ ### Changed
9
+ - Added indentation cop, enforcing 2 space indentation.
10
+
11
+ This allows Rubocop to automatically format code like this:
12
+
13
+ ```ruby
14
+ class Wizard
15
+ def cast_spell
16
+ # ...
17
+ end
18
+ end
19
+ ```
20
+
21
+ into this:
22
+
23
+ ```ruby
24
+ class Wizard
25
+ def cast_spell
26
+ # ...
27
+ end
28
+ end
29
+ ```
30
+
31
+ ## 5.0.0 - 2019-05-30
32
+ ### Changed
33
+ - Enforce updating timestamps when changing Rails models.
34
+
7
35
  ## 4.1.0 - 2019-04-29
8
36
  ### Fixed
9
37
  - Address errors from installing latest rubocop.
@@ -53,7 +53,8 @@ Layout/IndentFirstArrayElement:
53
53
  EnforcedStyle: consistent
54
54
 
55
55
  Layout/IndentationWidth:
56
- Enabled: false
56
+ Enabled: true
57
+ Width: 2
57
58
 
58
59
  Layout/IndentFirstHashElement:
59
60
  EnforcedStyle: consistent
@@ -1,5 +1,5 @@
1
1
  module Ws
2
2
  module Style
3
- VERSION = '5.0.0'.freeze
3
+ VERSION = '5.1.0'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ws-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Graham
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-30 00:00:00.000000000 Z
11
+ date: 2019-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop