rubocop-nosolosoftware 0.2.0 → 0.3.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: b41ca476ebbc24df90f844c99f14bb995deecd54dc2e29f292cdbc7904a84f12
4
- data.tar.gz: 1d039963ff9238491133bbb088bf112580bf769e7903720493e97342529b2fb4
3
+ metadata.gz: 95493de8291d171c46706f3e3886f5bf8e0a2b69c5eee7ac4343ce49374f7aad
4
+ data.tar.gz: 9726ee49118b1dbe8091d7b08aeb4317cc2c3db9cb5a4481e33cf1c681397168
5
5
  SHA512:
6
- metadata.gz: ecacf4bc61f13e6ae1524bbfb0739deb4380b66e4c3b41c7b16a1bffdf7d0dacadc78f9b187e6fb60ce7f02c800a0981c641171b302a6d1fbec9b7ecfbabf8d3
7
- data.tar.gz: 6932a0373cb07819401c43501e22dee57071ab7cdfc6863fad092dda6e61baa072473ba61bffa0bcb780815e02c2e4a909eb993f6eee4bb1e8b0113e5c346292
6
+ metadata.gz: 76780d778a59dbc7286198e0e023abb61910b77033a4a9d24d2e348fc9e44b786f05dec03993fc0ecebab5fff51fcfee3b5c1554d63c60bd9ede342b03e76a0b
7
+ data.tar.gz: 663483989289eb79930e0f2f314e2150a3c92105887edebe004ba51d7aef2f096b72084af40a26cdbfb5bb18f59db68e251d9b0e1b885ef3763dc942b48c43f4
data/CHANGELOG.md CHANGED
@@ -9,10 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
  ## [Unreleased]
10
10
 
11
11
 
12
- ## [0.2.0] - 2019-12-23
12
+ ## [0.3.0] - 2020-02-07
13
13
 
14
14
  ### Changed
15
+ - Set enforced style to braces_for_chaining in Style/BlockDelimiters cop.
16
+ - Relax required versions of rubocop gems.
17
+
15
18
 
19
+ ## [0.2.0] - 2019-12-23
20
+
21
+ ### Changed
16
22
  - Move LineLength cop from Metrics to Layout and require rubocop 0.78.0.
17
23
 
18
24
 
@@ -21,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
21
27
  First version of this gem.
22
28
 
23
29
 
24
- [Unreleased]: https://github.com/nosolosoftware/rubocop-nosolosoftware/compare/v0.2.0...HEAD
30
+ [Unreleased]: https://github.com/nosolosoftware/rubocop-nosolosoftware/compare/v0.3.0...HEAD
31
+ [0.3.0]: https://github.com/nosolosoftware/rubocop-nosolosoftware/compare/v0.2.0...v0.3.0
25
32
  [0.2.0]: https://github.com/nosolosoftware/rubocop-nosolosoftware/compare/v0.1.0...v0.2.0
26
33
  [0.1.0]: https://github.com/nosolosoftware/rubocop-nosolosoftware/releases/tag/v0.1.0
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2019 NoSoloSoftware Network S.L.
1
+ Copyright (c) 2019-2020 NoSoloSoftware Network S.L.
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -72,4 +72,4 @@ be a safe, welcoming space for collaboration, and contributors are expected to a
72
72
 
73
73
  ## License
74
74
 
75
- Copyright (c) 2019 NoSoloSoftware Network S.L. - Released under [MIT](LICENSE) license
75
+ Copyright (c) 2019-2020 NoSoloSoftware Network S.L. - Released under [MIT](LICENSE) license
data/rubocop-style.yml CHANGED
@@ -37,3 +37,7 @@ Style/MutableConstant:
37
37
  # https://rubocop.readthedocs.io/en/latest/cops_style/#styleregexpliteral
38
38
  Style/RegexpLiteral:
39
39
  Enabled: false
40
+
41
+ # https://rubocop.readthedocs.io/en/latest/cops_style/#styleblockdelimiters
42
+ Style/BlockDelimiters:
43
+ EnforcedStyle: braces_for_chaining
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-nosolosoftware
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Aranda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-23 00:00:00.000000000 Z
11
+ date: 2020-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,70 +16,70 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.78.0
19
+ version: '0.78'
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.78.0
26
+ version: '0.78'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.5.1
33
+ version: '1.5'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.5.1
40
+ version: '1.5'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.4.0
47
+ version: '2.4'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 2.4.0
54
+ version: '2.4'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop-rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.5.0
61
+ version: '0.5'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.5.0
68
+ version: '0.5'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 1.37.0
75
+ version: '1.37'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 1.37.0
82
+ version: '1.37'
83
83
  description: ''
84
84
  email: jaranda@nosolosoftware.es
85
85
  executables: []
@@ -91,7 +91,6 @@ files:
91
91
  - CHANGELOG.md
92
92
  - LICENSE
93
93
  - README.md
94
- - lib/rubocop-nosolosoftware/version.rb
95
94
  - rubocop-all.yml
96
95
  - rubocop-bundler.yml
97
96
  - rubocop-default.yml
@@ -110,8 +109,8 @@ homepage: https://github.com/nosolosoftware/rubocop-nosolosoftware
110
109
  licenses:
111
110
  - MIT
112
111
  metadata:
113
- source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v0.2.0
114
- changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v0.2.0/CHANGELOG.md
112
+ source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v0.3.0
113
+ changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v0.3.0/CHANGELOG.md
115
114
  homepage_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware
116
115
  post_install_message:
117
116
  rdoc_options:
@@ -1,22 +0,0 @@
1
- module RubocopNoSoloSoftware
2
- module VERSION
3
- MAJOR = 0
4
- MINOR = 2
5
- TINY = 0
6
- PRE = nil
7
-
8
- STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9
- end
10
-
11
- def self.version
12
- VERSION::STRING
13
- end
14
-
15
- def self.gem_version
16
- Gem::Version.new VERSION::STRING
17
- end
18
-
19
- def self.required_ruby_version
20
- Gem::Requirement.new('>= 2.5.0')
21
- end
22
- end