webfontloader 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -1,5 +1,8 @@
1
1
  master
2
2
 
3
+ v1.0.9 (September 10, 2010)
4
+ * Bugfix: of the bug fix
5
+
3
6
  v1.0.8 (September 10, 2010)
4
7
  * Bugfix: fix type definitions
5
8
 
data/Rakefile CHANGED
@@ -112,6 +112,12 @@ file "target/webfont.js" => SourceJs + ["target"] do |t|
112
112
  ["--summary_detail_level", "3"]
113
113
  ]
114
114
 
115
+ # Extra args to add warnings.
116
+ args.concat([
117
+ ["--warning_level", "VERBOSE"],
118
+ ["--summary_detail_level", "1"]
119
+ ])
120
+
115
121
  source = @modules.all_source_files
116
122
  args.concat source.map { |f| ["--js", f] }
117
123
 
data/lib/webfontloader.rb CHANGED
@@ -3,7 +3,7 @@ require 'yaml'
3
3
  require 'webfontloader/modules'
4
4
 
5
5
  module WebFontLoader
6
- VERSION = '1.0.8'
6
+ VERSION = '1.0.9'
7
7
 
8
8
  ProjectRoot = File.expand_path(File.dirname(__FILE__) + "/..")
9
9
 
@@ -64,7 +64,7 @@ webfont.UserAgent.prototype.getPlatformVersion = function() {
64
64
  };
65
65
 
66
66
  /**
67
- * @return {string}
67
+ * @return {number|undefined}
68
68
  */
69
69
  webfont.UserAgent.prototype.getDocumentMode = function() {
70
70
  return this.documentMode_;
@@ -171,7 +171,7 @@ webfont.UserAgentParser.prototype.parseOperaUserAgentString_ = function() {
171
171
  }
172
172
  return new webfont.UserAgent("Opera", webfont.UserAgentParser.UNKNOWN,
173
173
  engineName, engineVersion, this.getPlatform_(),
174
- this.getPlatformVersion_(this.doc_), this.getDocumentMode_(this.doc_), false);
174
+ this.getPlatformVersion_(), this.getDocumentMode_(this.doc_), false);
175
175
  };
176
176
 
177
177
  /**
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'webfontloader'
16
- s.version = '1.0.8'
17
- s.date = '2010-09-10'
16
+ s.version = '1.0.9'
17
+ s.date = '2010-09-11'
18
18
 
19
19
  ## Make sure your summary is short. The description may be as long
20
20
  ## as you like.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webfontloader
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 8
10
- version: 1.0.8
9
+ - 9
10
+ version: 1.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Carver
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-09-10 00:00:00 +01:00
19
+ date: 2010-09-11 00:00:00 +01:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency