radius-spec 0.2.0 → 0.2.1

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: 199cf6c21d0f54935244a6f92f77bfd2292648ae7817e0dc6d2556dca0cddb40
4
- data.tar.gz: fe88a096f2fac711be28918c786242796616375dfd5f7d038210c577104866a2
3
+ metadata.gz: 72f2b3e03304c307956320dcaf22bf432d7ddbda2cd893c3b9bd772b8bd3a73b
4
+ data.tar.gz: cb707ef2cf3c9bdacfefd43047fdb5bf777292acf3adfbb5a251257e63b5d1f7
5
5
  SHA512:
6
- metadata.gz: d881caef9047764de02e3e59a2de2722c620ecfd4c55c825d19d6ac2a90dceeb8e229a52363120991fd6c166737ddfef8f49e3b3b74621da9eed27318dfc221b
7
- data.tar.gz: c8a090b6431ec6c6d3439b4947ac4640ddeb10f9b48c6c29c992e7207c0a71f1e5db48c26d630fdc95830be79b62c99ed1b2d4599eccd28c61a206615cf2de12
6
+ metadata.gz: 0df7e27e7c00b3bb076a9b3b84b3076971dd3b15b086e18d350fe43e08116a95637a48213f2a7400169daac766b0e67486fb291bb486906e1cc276acac917490
7
+ data.tar.gz: 532110d779de9e684f7dc422dbf6413e3f9162901ea8a11380d1d7878d8622c488e5d005bc81e35081624cbc3f30dc254cfd8e4333eb0020cd161d2838c17fd3
data/.rubocop.yml CHANGED
@@ -1,6 +1,7 @@
1
1
  inherit_mode:
2
2
  merge:
3
3
  - Exclude
4
+ - IgnoredPatterns
4
5
 
5
6
  inherit_from: common_rubocop.yml
6
7
 
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 0.2.1 (May 17, 2018)
2
+
3
+ [Full Changelog](https://github.com/RadiusNetworks/radius-spec/compare/v0.2.0...v0.2.1)
4
+
5
+ ### Bug Fixes
6
+
7
+ - Fix warning about overriding parameter (Aaron Kromer, #4)
8
+
9
+
1
10
  ## 0.2.0 (May 17, 2018)
2
11
 
3
12
  [Full Changelog](https://github.com/RadiusNetworks/radius-spec/compare/v0.1.1...v0.2.0)
data/README.md CHANGED
@@ -92,11 +92,20 @@ end
92
92
 
93
93
  ### Common Rubocop Config
94
94
 
95
- Projects can inherit from the [base Rubocop config](.rubocop.yml) by using
96
- either the remote raw URL or dependency gem formats:
95
+ Projects can inherit from the [base Rubocop config](.rubocop.yml). This can be
96
+ accomplished by using either the remote raw URL or dependency gem formats. With
97
+ either method we also strongly suggest setting the `inherit_mode` to `merge`
98
+ for both `Exclude` and `IgnoredPatterns`. This way you can append additional
99
+ exceptions without overwriting the defaults.
100
+
101
+ #### Inherit from Gem (Recommended Method)
97
102
 
98
103
  ```yaml
99
- # Recommended Method
104
+ inherit_mode:
105
+ merge:
106
+ - Exclude
107
+ - IgnoredPatterns
108
+
100
109
  inherit_gem:
101
110
  radius-spec:
102
111
  - common_rubocop.yml
@@ -104,7 +113,14 @@ inherit_gem:
104
113
  - common_rubocop_rails.yml
105
114
  ```
106
115
 
116
+ #### Inherit from URL
117
+
107
118
  ```yaml
119
+ inherit_mode:
120
+ merge:
121
+ - Exclude
122
+ - IgnoredPatterns
123
+
108
124
  # Available for projects which cannot include this gem (i.e. Ruby < 2.5)
109
125
  inherit_from:
110
126
  - https://raw.githubusercontent.com/RadiusNetworks/radius-spec/master/common_rubocop.yml
@@ -120,6 +136,8 @@ When using the raw URL you may need to add the following to the project's
120
136
  .rubocop-https---raw-githubusercontent-com-RadiusNetworks-radius-spec-master-common-rubocop-yml
121
137
  ```
122
138
 
139
+ #### General Inheritance Notes
140
+
123
141
  Be sure to include the project's local `.rubocop_todo.yml` **after** inheriting
124
142
  the base configuration so that they take precedence. Also, use the directive
125
143
  `inherit_mode` to specify which array configurations to merge together instead
@@ -137,6 +155,7 @@ inherit_from: .rubocop_todo.yml
137
155
  inherit_mode:
138
156
  merge:
139
157
  - Exclude
158
+ - IgnoredPatterns
140
159
 
141
160
  Style/For:
142
161
  inherit_mode:
@@ -1,6 +1,7 @@
1
1
  inherit_mode:
2
2
  merge:
3
3
  - Exclude
4
+ - IgnoredPatterns
4
5
 
5
6
  inherit_from: common_rubocop.yml
6
7
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Radius
4
4
  module Spec
5
- VERSION = "0.2.0"
5
+ VERSION = "0.2.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radius-spec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Radius Networks
@@ -93,8 +93,8 @@ licenses:
93
93
  - Apache-2.0
94
94
  metadata:
95
95
  bug_tracker_uri: https://github.com/RadiusNetworks/radius-spec/issues
96
- changelog_uri: https://github.com/RadiusNetworks/radius-spec/blob/v0.2.0/CHANGELOG.md
97
- source_code_uri: https://github.com/RadiusNetworks/radius-spec/tree/v0.2.0
96
+ changelog_uri: https://github.com/RadiusNetworks/radius-spec/blob/v0.2.1/CHANGELOG.md
97
+ source_code_uri: https://github.com/RadiusNetworks/radius-spec/tree/v0.2.1
98
98
  post_install_message:
99
99
  rdoc_options: []
100
100
  require_paths: