rspec-api-docs 0.11.0 → 0.12.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
  SHA1:
3
- metadata.gz: 7d10d8bca800c45005afc8f8d95a1f5373885cb6
4
- data.tar.gz: 9f88eb3855beceebd31c878a3be6887c6cfc63d5
3
+ metadata.gz: 26184f0384cca66afd8b94743448a18b662bbd36
4
+ data.tar.gz: a9628d476adf0a5bdfa4a6e7ce2415df5e103a0f
5
5
  SHA512:
6
- metadata.gz: fec38ab112edb6805a565d7f220c427c66d77499429e61a4ffb3e689a99fc25e3c73edce2113faabc2d437f8fb175c121154865a623ea338706e15a37a844250
7
- data.tar.gz: 79aa77d8356314ac968ab9a9ca9064e0a5f95f0572b5f45a48013e9d07e727dca3fa1e06d52f6706a41d29134b4bc01eeac7cc579d945633bfc8689720f115bd
6
+ metadata.gz: f6d7b2eda271487ed01ed6392c31d6a05b55086cdd7ad376edfa0c7869fb766fe3e7cad6c53c3f232782e6439437c3b1dc29a7ddd594033d4abed7e5e8f3d539
7
+ data.tar.gz: 87ed6bb06d5d05498a73ab3f2e20f91aaf907d95af10449628b2fa18f0d705fb92923db933206f1afb33f8f20a4f79747b773749eb12bd88645897e0e48a3f35
@@ -48,5 +48,9 @@ Style/TrailingCommaInArguments:
48
48
  Style/ClassAndModuleChildren:
49
49
  EnforcedStyle: nested
50
50
 
51
- Layout/MultilineOperationIndentation:
52
- EnforcedStyle: indented
51
+ # NOTE: Cop seems to be broken at the moment:
52
+ #
53
+ # An error occurred while Layout/MultilineOperationIndentation cop was
54
+ # inspecting ./lib/rspec_api_docs/rake_task.rb:101:6
55
+ # Layout/MultilineOperationIndentation:
56
+ # EnforcedStyle: indented
data/README.md CHANGED
@@ -226,7 +226,7 @@ param :id, 'The id of a character', scope: :character, type: 'integer', required
226
226
  param :name, "The character's name", scope: :character, type: 'string'
227
227
  ```
228
228
 
229
- #### `notes`
229
+ #### `note`
230
230
 
231
231
  Accepts a `note` and optional `level`.
232
232
 
@@ -18,7 +18,7 @@ module RspecApiDocs
18
18
  def call
19
19
  keys.each_with_index do |key, index|
20
20
  case
21
- when key.empty? # TODO: should this require `key == []`?
21
+ when key.nil?
22
22
  deep_set_value_at_array(index)
23
23
  break
24
24
  when index == keys.size - 1
@@ -1,3 +1,3 @@
1
1
  module RspecApiDocs
2
- VERSION = '0.11.0'
2
+ VERSION = '0.12.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-api-docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Odin Dutton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-22 00:00:00.000000000 Z
11
+ date: 2017-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler