mattock 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/mattock/yard_extensions.rb +2 -4
  2. metadata +3 -3
@@ -21,7 +21,7 @@ module Mattock
21
21
  end
22
22
 
23
23
  def append_name(sexp, name)
24
- prefix = sexp.jump(:ident, :string_content)
24
+ prefix = sexp.jump(:ident, :tstring_content)
25
25
  if prefix == sexp
26
26
  raise YARD::Parser::UndocumentableError, sexp.source
27
27
  end
@@ -83,9 +83,7 @@ module Mattock
83
83
 
84
84
  def process
85
85
  remapped = statement.parameters(false).first.map do |assoc|
86
- new_name =
87
- append_name(statement.parameters[0], extract_name(assoc[0]))
88
- synthetic_setting(new_name, assoc[1])
86
+ synthetic_setting(extract_name(assoc[0]), assoc[1])
89
87
  end
90
88
  parser.process(remapped)
91
89
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: mattock
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.1
5
+ version: 0.2.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Judson Lester
@@ -195,7 +195,7 @@ rdoc_options:
195
195
  - --main
196
196
  - doc/README
197
197
  - --title
198
- - mattock-0.2.1 RDoc
198
+ - mattock-0.2.2 RDoc
199
199
  require_paths:
200
200
  - lib/
201
201
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -203,7 +203,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
203
203
  requirements:
204
204
  - - ">="
205
205
  - !ruby/object:Gem::Version
206
- hash: 697578897
206
+ hash: -727049471
207
207
  segments:
208
208
  - 0
209
209
  version: "0"