jsduck 3.10.4 → 3.10.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/jsduck.gemspec +2 -2
- data/lib/jsduck/options.rb +1 -1
- data/lib/jsduck/type_parser.rb +3 -0
- metadata +2 -2
data/Gemfile.lock
CHANGED
data/jsduck.gemspec
CHANGED
@@ -2,8 +2,8 @@ Gem::Specification.new do |s|
|
|
2
2
|
s.required_rubygems_version = ">= 1.3.5"
|
3
3
|
|
4
4
|
s.name = 'jsduck'
|
5
|
-
s.version = '3.10.
|
6
|
-
s.date = '2012-05-
|
5
|
+
s.version = '3.10.5'
|
6
|
+
s.date = '2012-05-23'
|
7
7
|
s.summary = "Simple JavaScript Duckumentation generator"
|
8
8
|
s.description = "Documentation generator for Sencha JS frameworks"
|
9
9
|
s.homepage = "https://github.com/senchalabs/jsduck"
|
data/lib/jsduck/options.rb
CHANGED
data/lib/jsduck/type_parser.rb
CHANGED
@@ -207,6 +207,7 @@ module JsDuck
|
|
207
207
|
|
208
208
|
key = @input.scan(/[a-zA-Z0-9_]+/)
|
209
209
|
return false unless key
|
210
|
+
@out << key
|
210
211
|
|
211
212
|
skip_whitespace
|
212
213
|
if @input.scan(/:/)
|
@@ -321,8 +322,10 @@ module JsDuck
|
|
321
322
|
|
322
323
|
# All type names besides * can be followed by .<arguments>
|
323
324
|
if name != "*" && @input.scan(/\.</)
|
325
|
+
@out << ".<"
|
324
326
|
return false unless type_arguments
|
325
327
|
return false unless @input.scan(/>/)
|
328
|
+
@out << ">"
|
326
329
|
end
|
327
330
|
|
328
331
|
true
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jsduck
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.10.
|
4
|
+
version: 3.10.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-05-
|
13
|
+
date: 2012-05-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rdiscount
|