standard 0.1.10 → 0.2.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: a016d56655d297d2e161c5e426b4b195f8e6ddb8c95da83e1637fbcaa02b0ba9
4
- data.tar.gz: 047a6a69f496735238a3b84a81a9ed11bf6a5033f72690c0fb9e763ec73379c3
3
+ metadata.gz: bbb222080414ab996c3755f254b51642a9e9a9b466440700833d2a9c10bf7421
4
+ data.tar.gz: 34922d0f4f62cbad5b03075819ad70ac2899086f538dfb7078dd0c1f64a40e1c
5
5
  SHA512:
6
- metadata.gz: 109618c318b76b12227db4acd42c49b4d8b79f70c7ede49436897c97387e90b98ecc7415a46a096fa0c73ed0f0968368485e60495310d4ed871c8cd7670e7e5a
7
- data.tar.gz: 1e3290442444a828cb06896f4d15894bd8bfeb391a960140ed7f15d93c3deb1535de6a7ca1c2d539156dfbd5494c1e5cb96a606a50bd0eabdf1a03c25e4004d1
6
+ metadata.gz: 96a1d0dfa821ca62d9a1ba89cc92e1c77ee38c4ae438ef4cb500c28e1cef52d7842fe708137d6a33d1411ff9358fbac45dd98c6f6035973120fa7a03c3678e1c
7
+ data.tar.gz: eb06660f99d3f18c22bdc4c780cd5ae87c0cd944dd4add0c160d3b789f2485ab2f2d15263c740d856bff91c36a83a41442e52370bfa72a7b03c45582a473f8d9
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (0.1.10)
4
+ standard (0.2.0)
5
5
  rubocop (~> 0.79.0)
6
6
  rubocop-performance (~> 1.5.1)
7
7
 
@@ -16,7 +16,7 @@ GEM
16
16
  method_source (0.9.2)
17
17
  minitest (5.14.0)
18
18
  parallel (1.19.1)
19
- parser (2.7.0.2)
19
+ parser (2.7.0.3)
20
20
  ast (~> 2.4.0)
21
21
  pry (0.12.2)
22
22
  coderay (~> 1.1.0)
@@ -1013,11 +1013,11 @@ Style/TrailingBodyOnModule:
1013
1013
 
1014
1014
  Style/TrailingCommaInArrayLiteral:
1015
1015
  Enabled: true
1016
- EnforcedStyleForMultiline: consistent_comma
1016
+ EnforcedStyleForMultiline: no_comma
1017
1017
 
1018
1018
  Style/TrailingCommaInHashLiteral:
1019
1019
  Enabled: true
1020
- EnforcedStyleForMultiline: consistent_comma
1020
+ EnforcedStyleForMultiline: no_comma
1021
1021
 
1022
1022
  Style/TrailingMethodEndStatement:
1023
1023
  Enabled: true
@@ -8,7 +8,7 @@ class Standard::CreatesConfigStore
8
8
  # Standard's own default ignores:
9
9
  "bin/*",
10
10
  "db/schema.rb",
11
- "tmp/**/*",
11
+ "tmp/**/*"
12
12
  ].map { |path| [path, ["AllCops"]] }.freeze
13
13
 
14
14
  def call(options_config, standard_config)
@@ -17,7 +17,7 @@ class Standard::CreatesConfigStore
17
17
  options_config[cop] ||= {}
18
18
  options_config[cop]["Exclude"] ||= []
19
19
  options_config[cop]["Exclude"] |= [
20
- absolutify(standard_config[:config_root], path),
20
+ absolutify(standard_config[:config_root], path)
21
21
  ]
22
22
  end
23
23
  end
@@ -33,7 +33,7 @@ module Standard
33
33
  parallel: !!standard_yaml["parallel"],
34
34
  ignore: expand_ignore_config(standard_yaml["ignore"]),
35
35
  default_ignores: standard_yaml.key?("default_ignores") ? !!standard_yaml["default_ignores"] : true,
36
- config_root: yaml_path ? Pathname.new(yaml_path).dirname.to_s : nil,
36
+ config_root: yaml_path ? Pathname.new(yaml_path).dirname.to_s : nil
37
37
  }
38
38
  end
39
39
 
@@ -51,7 +51,7 @@ module Standard
51
51
  auto_correct: standard_yaml[:fix],
52
52
  safe_auto_correct: standard_yaml[:fix],
53
53
  formatters: [[standard_yaml[:format] || "Standard::Formatter", nil]],
54
- parallel: standard_yaml[:parallel],
54
+ parallel: standard_yaml[:parallel]
55
55
  }.merge(standard_cli_flags).merge(rubocop_cli_flags)
56
56
  end
57
57
 
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("0.1.10")
2
+ VERSION = Gem::Version.new("0.2.0")
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.1.10
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-24 00:00:00.000000000 Z
11
+ date: 2020-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop