barcoop 0.2.4 → 0.2.5

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: fe78a4f14b92fcc57af4a34a86d25bee198a3073
4
- data.tar.gz: cfee362b2207fb7e759786a6b83c3643991962c6
3
+ metadata.gz: e63769d464f697f4ba830962df4d6f9a5d04dd41
4
+ data.tar.gz: '09d0de3a1f83e17c8aa6325fcc9ee7b54105b491'
5
5
  SHA512:
6
- metadata.gz: 5aece3f4cfbd163fcc8614bce668a8de73423c7244fa2fb1481b64bce7f51f4378118c1f095ffa8717f16664db73ae8197cb29bb22264d633dfb8b5c1704c877
7
- data.tar.gz: df23af6ddd33a2d2444afd21536a7394a98d40d1fbd7b98f5bd3dbdf5f10a679dcc6e4b830d0bb03b3d9ba64331bb607f2df981303c0e12b72f7e5a58a26039b
6
+ metadata.gz: 934e61958f1ced91502b5b5f3bd655d1f3fbfde1a883db7205c8751bebe786eb32bea1a3d54cb7e5ab9c244f087edbeb42bb0bb790f9fee829dfbecdfe3e5ba2
7
+ data.tar.gz: 8e353575affa00b02afd2de4d69e4ddbedc7de8d3cb52f32896d25a359e6c76555f325aeb0b6acf9ea4e120aaa94441af0a60a289830a572358333f54feddcee
data/.gitignore CHANGED
@@ -1,2 +1,4 @@
1
1
  Gemfile.lock
2
2
  pkg
3
+ vendor/bundle
4
+ .bundle
data/barcoop.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.require_paths = ['lib']
23
23
 
24
- spec.add_runtime_dependency 'rubocop'
24
+ spec.add_runtime_dependency 'rubocop', '~> 0.49.1'
25
25
 
26
26
  spec.add_development_dependency 'bundler', '~> 1.14'
27
27
  spec.add_development_dependency 'rake', '~> 10.0'
data/conf/rubocop.yml CHANGED
@@ -52,10 +52,10 @@ Style/RedundantReturn:
52
52
  Style/GuardClause:
53
53
  Enabled: false
54
54
 
55
- Style/IndentHash:
55
+ Layout/IndentHash:
56
56
  EnforcedStyle: consistent
57
57
 
58
- Style/IndentArray:
58
+ Layout/IndentArray:
59
59
  EnforcedStyle: consistent
60
60
 
61
61
  Metrics/ClassLength:
@@ -70,10 +70,10 @@ Style/NegatedIf:
70
70
  Style/DefWithParentheses:
71
71
  Enabled: false
72
72
 
73
- Style/MultilineMethodCallIndentation:
73
+ Layout/MultilineMethodCallIndentation:
74
74
  EnforcedStyle: indented
75
75
 
76
- Style/AlignParameters:
76
+ Layout/AlignParameters:
77
77
  EnforcedStyle: with_fixed_indentation
78
78
 
79
79
  Style/SingleLineBlockParams:
@@ -20,7 +20,7 @@ module Barcoop
20
20
 
21
21
  def on_send(node)
22
22
  receiver, method_name = *node
23
- if %i(production? development? test?).include?(method_name)
23
+ if %i[production? development? test?].include?(method_name)
24
24
  msg = 'Avoid using Rails.env.environment? and prefer adding a feature flag in the configuration file.'
25
25
  add_offense(node, :expression, msg) if rails_env?(receiver)
26
26
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Barcoop
4
- VERSION = '0.2.4'
4
+ VERSION = '0.2.5'
5
5
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: barcoop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Medina
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-28 00:00:00.000000000 Z
11
+ date: 2017-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 0.49.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 0.49.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  requirements: []
93
93
  rubyforge_project:
94
- rubygems_version: 2.6.11
94
+ rubygems_version: 2.6.12
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: barcoo's rubocop config and cops