standard 0.0.39 → 0.0.40

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: 35fc9f029c054306c8a75d28545be86854b0500088f30072ff158196c2488ec4
4
- data.tar.gz: d685d64beb1215f81454e341627c183a45b0900c55d958eac0666ff51ff4ecab
3
+ metadata.gz: 3f6401dc8d927274f8371469003e7759853faf9604784db47b305ac5f7173ef3
4
+ data.tar.gz: 723f24771766a612c81be7643a754c9302f05cd22ada11d573e919f57c7e211a
5
5
  SHA512:
6
- metadata.gz: 7f7dfe1dc5dcf10417a83af4a369d688d43a9eb9191d33afd40cce44915c2caf7276b812818417bc6f8fb232777a1ff871cc530d43bba211e3b82f0627bbabd5
7
- data.tar.gz: 209d76ead1dc6f168f66512a9fe3e63080734354d746814567fe2098b1b4b2e228db410bf5bcd67d0b398ff103c0b1f34cbd5690a10ab8cde19d302f7468efbc
6
+ metadata.gz: c7f874ec6eb159dc21c5da9402b41f74cbc56f0a923336c532b0dbe0c7805bb294563db68f715baea2cb75f4723ed39b0c05ab1d65bcfb031d7ed8a2c1a58561
7
+ data.tar.gz: 1706bdddf6105d16863cc2589b2f16796ce18775ba2439b64409a77c2b5cfe0a114d6f0a13fbcb6e98a2f075a47896d17d6565fe66e4e0f272cafc963a7aff78
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (0.0.39)
4
+ standard (0.0.40)
5
5
  rubocop (~> 0.67.1)
6
6
 
7
7
  GEM
@@ -16,7 +16,7 @@ GEM
16
16
  method_source (0.9.2)
17
17
  minitest (5.11.3)
18
18
  parallel (1.17.0)
19
- parser (2.6.2.1)
19
+ parser (2.6.3.0)
20
20
  ast (~> 2.4.0)
21
21
  pry (0.12.2)
22
22
  coderay (~> 1.1.0)
data/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  [![CircleCI](https://circleci.com/gh/testdouble/standard.svg?style=svg)](https://circleci.com/gh/testdouble/standard)
4
4
  [![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/testdouble/standard)
5
+ [![Gem Version](https://badge.fury.io/rb/standard.svg)](https://rubygems.org/gems/standard)
5
6
 
6
7
  This gem is a spiritual port of [StandardJS](https://standardjs.com) and aims
7
8
  to save you (and others!) time in the same three ways:
@@ -45,6 +46,10 @@ flag.
45
46
  and [here](https://github.com/rubocop-hq/ruby-style-guide/issues/162)
46
47
  - **Leading dots on multi-line method chains** - chosen for
47
48
  [these](https://github.com/testdouble/standard/issues/75) reasons.
49
+ - **Spaces inside blocks, but not hash literals** - In Ruby, the `{` and `}`
50
+ characters do a lot of heavy lifting. To visually distinguish array literals
51
+ from blocks, Standard enforces that (like arrays), no leading or trailing
52
+ spaces be added to pad hashes
48
53
  - **And a good deal more**
49
54
 
50
55
  If you're familiar with [RuboCop](https://github.com/rubocop-hq/rubocop), you
@@ -218,10 +218,8 @@ Layout/SpaceInsideArrayLiteralBrackets:
218
218
  Layout/SpaceInsideArrayPercentLiteral:
219
219
  Enabled: true
220
220
 
221
- # Disabled without this:
222
- # http://github.com/rubocop-hq/rubocop/issues/6446
223
- # Layout/SpaceInsideBlockBraces:
224
- # Enabled: false
221
+ Layout/SpaceInsideBlockBraces:
222
+ Enabled: true
225
223
 
226
224
  Layout/SpaceInsideHashLiteralBraces:
227
225
  Enabled: true
@@ -593,9 +591,6 @@ Rails/FindEach:
593
591
  Rails/HasAndBelongsToMany:
594
592
  Enabled: true
595
593
 
596
- Rails/HasManyOrHasOneDependent:
597
- Enabled: true
598
-
599
594
  Rails/HttpPositionalArguments:
600
595
  Enabled: true
601
596
 
@@ -1020,8 +1015,5 @@ Style/WhenThen:
1020
1015
  Style/WhileUntilDo:
1021
1016
  Enabled: true
1022
1017
 
1023
- Style/WhileUntilModifier:
1024
- Enabled: true
1025
-
1026
1018
  Style/YodaCondition:
1027
1019
  Enabled: true
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("0.0.39")
2
+ VERSION = Gem::Version.new("0.0.40")
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.39
4
+ version: 0.0.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-04-19 00:00:00.000000000 Z
11
+ date: 2019-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop