jsduck 5.0.0.beta5 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/jsduck.gemspec CHANGED
@@ -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 = '5.0.0.beta5'
5
+ s.version = '5.0.0'
6
6
  s.date = Time.new.strftime('%Y-%m-%d')
7
7
  s.summary = "Simple JavaScript Duckumentation generator"
8
8
  s.description = "Documentation generator for Sencha JS frameworks"
@@ -94,7 +94,7 @@ module JsDuck
94
94
  ]
95
95
  @ext4_events = nil
96
96
 
97
- @version = "5.0.0.beta5"
97
+ @version = "5.0.0"
98
98
  # Customizing output
99
99
  @title = "Documentation - JSDuck"
100
100
  @header = "<strong>Documentation</strong> JSDuck"
@@ -8,13 +8,15 @@ module JsDuck
8
8
  # have surprising results. So in here we read in all files in UTF-8
9
9
  # (the default) or in some other encoding specified through --encoding
10
10
  # option and convert it to UTF-8 internally.
11
+ #
12
+ # We also allow for UTF-8 byte order mark.
11
13
  class IO
12
- @@encoding = "UTF-8"
14
+ @@encoding = "BOM|UTF-8"
13
15
 
14
16
  # Sets the external encoding to be used for reading files.
15
17
  # When it's different from UTF-8, the input will be converted to UTF-8.
16
18
  def self.encoding=(e)
17
- if e =~ /^UTF-8$/i
19
+ if e =~ /^(BOM\|)?UTF-8$/i
18
20
  @@encoding = e
19
21
  else
20
22
  @@encoding = e+":UTF-8"
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsduck
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0.beta5
5
- prerelease: 6
4
+ version: 5.0.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Rene Saarsoo
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-07-04 00:00:00.000000000 Z
13
+ date: 2013-07-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rdiscount
@@ -355,7 +355,6 @@ files:
355
355
  - template-min/template.html
356
356
  - template-min/favicon.ico
357
357
  - template-min/print-template.html
358
- - template-min/app-437ace20e4b34ff36bb9071208984e6d.js
359
358
  - template-min/extjs/ext-all.js
360
359
  - template-min/extjs/resources/themes/images/default/dd/drop-add.gif
361
360
  - template-min/extjs/resources/themes/images/default/dd/drop-no.gif
@@ -731,6 +730,7 @@ files:
731
730
  - template-min/README.md
732
731
  - template-min/eg-iframe.html
733
732
  - template-min/index.php
733
+ - template-min/app-a8090ead174f6ef97730c23b30459d2d.js
734
734
  - template-min/resources/css/app-68f1acb2324b20262c41507f2e1b4b0b.css
735
735
  - template-min/resources/images/link-green-standard.png
736
736
  - template-min/resources/images/class-m.png
@@ -791,9 +791,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
791
791
  required_rubygems_version: !ruby/object:Gem::Requirement
792
792
  none: false
793
793
  requirements:
794
- - - ! '>'
794
+ - - ! '>='
795
795
  - !ruby/object:Gem::Version
796
- version: 1.3.1
796
+ version: 1.3.5
797
797
  requirements: []
798
798
  rubyforge_project: jsduck
799
799
  rubygems_version: 1.8.24