jsduck 3.8.3 → 3.8.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ 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.8.3'
5
+ s.version = '3.8.4'
6
6
  s.date = '2012-04-05'
7
7
  s.summary = "Simple JavaScript Duckumentation generator"
8
8
  s.description = "Documentation generator for Sencha JS frameworks"
@@ -73,7 +73,7 @@ module JsDuck
73
73
  ]
74
74
  @meta_tag_paths = []
75
75
 
76
- @version = "3.8.3"
76
+ @version = "3.8.4"
77
77
 
78
78
  # Customizing output
79
79
  @title = "Sencha Docs - Ext JS"
@@ -80,10 +80,18 @@ module JsDuck
80
80
 
81
81
  # Parses the file depending on filename as JS or CSS
82
82
  def parse
83
- if @filename =~ /\.s?css$/
84
- CssParser.new(@contents, @options).parse
85
- else
86
- JsParser.new(@contents, @options).parse
83
+ begin
84
+ if @filename =~ /\.s?css$/
85
+ CssParser.new(@contents, @options).parse
86
+ else
87
+ JsParser.new(@contents, @options).parse
88
+ end
89
+ rescue
90
+ puts "Error while parsing #{@filename}: #{$!}"
91
+ puts
92
+ puts "Here's a full backtrace:"
93
+ puts $!.backtrace
94
+ exit(1)
87
95
  end
88
96
  end
89
97
 
@@ -248,7 +248,7 @@ app.post('/auth/:sdk/:version/comments', util.requireLoggedInUser, function(req,
248
248
  upVotes: [],
249
249
  createdAt: new Date,
250
250
  target: target,
251
- emaiHash: crypto.createHash('md5').update(req.session.user.email).digest("hex"),
251
+ emailHash: crypto.createHash('md5').update(req.session.user.email).digest("hex"),
252
252
  sdk: req.params.sdk,
253
253
  version: req.params.version,
254
254
  moderator: req.session.user.moderator,
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.8.3
4
+ version: 3.8.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ date: 2012-04-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rdiscount
17
- requirement: &9318620 !ruby/object:Gem::Requirement
17
+ requirement: &14573580 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *9318620
25
+ version_requirements: *14573580
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: json
28
- requirement: &9318020 !ruby/object:Gem::Requirement
28
+ requirement: &14573020 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *9318020
36
+ version_requirements: *14573020
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: parallel
39
- requirement: &9317460 !ruby/object:Gem::Requirement
39
+ requirement: &14572340 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: '0'
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *9317460
47
+ version_requirements: *14572340
48
48
  description: Documentation generator for Sencha JS frameworks
49
49
  email: rene.saarsoo@sencha.com
50
50
  executables: