yard 0.9.7 → 0.9.8

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of yard might be problematic. Click here for more details.

@@ -296,6 +296,11 @@ eof
296
296
  expect(node.source).to eq(str[/(\%#{id}\(.+\))/m, 1])
297
297
  end
298
298
  end
299
+
300
+ it "tokenizing %#{id}(...) returns correct tokens" do
301
+ toks = tokenize("TEST = %#{id}(A B C)").flatten
302
+ expect(toks.count(:tstring_content)).to eq(3)
303
+ end
299
304
  end
300
305
 
301
306
  it "parses %w() array in constant declaration" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.7
4
+ version: 0.9.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Loren Segal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-09 00:00:00.000000000 Z
11
+ date: 2017-01-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  YARD is a documentation generation tool for the Ruby programming language.