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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/yard/cli/diff.rb +1 -1
- data/lib/yard/cli/gems.rb +1 -1
- data/lib/yard/cli/server.rb +1 -1
- data/lib/yard/cli/yri.rb +1 -1
- data/lib/yard/config.rb +1 -1
- data/lib/yard/gem_index.rb +12 -0
- data/lib/yard/parser/ruby/ruby_parser.rb +5 -1
- data/lib/yard/version.rb +1 -1
- data/spec/cli/diff_spec.rb +1 -1
- data/spec/cli/gems_spec.rb +2 -2
- data/spec/cli/server_spec.rb +2 -1
- data/spec/config_spec.rb +2 -2
- data/spec/examples.txt +1757 -1753
- data/spec/parser/ruby/ruby_parser_spec.rb +5 -0
- metadata +2 -2
@@ -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.
|
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-
|
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.
|