lcgstyle 0.0.5 → 0.0.6

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
  SHA1:
3
- metadata.gz: 223cd50f0aa9c07cb2548aece94bd5f1189dcff4
4
- data.tar.gz: 5690f5ddf32aa7844e2fb148ff15def783e9a5d4
3
+ metadata.gz: 9f6dd155d5ff3cb439b02173ca467654cd5e660e
4
+ data.tar.gz: 71374c4b676c446e04bd597d53a45f2f97de3b47
5
5
  SHA512:
6
- metadata.gz: 2c993c27513c40d0a2b423ee469b9cc2d887dd23322c6635efe068e88205feb07f4bf793d3d139da0b843ef995bb8c7c128dd5fc92e1730c29e1116322c609f9
7
- data.tar.gz: 2c5b36ce6717806eceb8bbd907eba33178d085980ff364274df58b7a18fa055d6945c3e706eddbf3565c9bb6b83842754edf5d3287c7d97333b1465a6670e1f6
6
+ metadata.gz: 84fd27d76c66ce70e0fac6cad8f99162da21284e7633c4713d56c340e1f2911d39a27387ce9c1c2424222e1e2f1e2dae47c71f41f6ddc107c574b393da856298
7
+ data.tar.gz: 25a9e43dd497bbc6f317da55fe99e57c1b8e74cbb35afcb85c99193c3f1711e4cbf3eb6f21995ba415613f3d4e6b50ebc6b31034e0a46b9acd11164a21462cc1
File without changes
data/Rakefile CHANGED
@@ -14,7 +14,7 @@ task :vendor do
14
14
 
15
15
  require "rubocop"
16
16
  require "yaml"
17
- cfg = RuboCop::Cop::Cop.all.inject({}) { |acc, cop| acc[cop.cop_name] = { "Enabled" => false }; acc }
17
+ cfg = RuboCop::Cop::Cop.all.each_with_object({}) { |cop, acc| acc[cop.cop_name] = { "Enabled" => false }; acc }
18
18
  File.open(dst.join("disable_all.yml"), "w") { |fh| fh.write cfg.to_yaml }
19
19
 
20
20
  sh %{git add #{dst}/{upstream,enabled,disabled,disable_all}.yml}
@@ -322,6 +322,9 @@ Style/RedundantFreeze:
322
322
  Enabled: true
323
323
  Style/RescueEnsureAlignment:
324
324
  Enabled: true
325
+ Style/Semicolon:
326
+ AllowAsExpressionSeparator: true
327
+ Enabled: true
325
328
  # we only 'raise' and do not 'fail'
326
329
  Style/SignalException:
327
330
  EnforcedStyle: only_raise
@@ -1,4 +1,4 @@
1
1
  module Lcgstyle
2
- VERSION = "0.0.5".freeze
2
+ VERSION = "0.0.6".freeze
3
3
  RUBOCOP_VERSION = "0.45.0".freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lcgstyle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thom May
@@ -76,6 +76,7 @@ extra_rdoc_files: []
76
76
  files:
77
77
  - ".gitignore"
78
78
  - ".rspec"
79
+ - ".rubocop.yml"
79
80
  - ".travis.yml"
80
81
  - Gemfile
81
82
  - LICENSE.txt