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 +3 -0
- data/Rakefile +6 -0
- data/lib/webfontloader.rb +1 -1
- data/src/core/useragent.js +1 -1
- data/src/core/useragentparser.js +1 -1
- data/webfontloader.gemspec +2 -2
- metadata +4 -4
data/CHANGELOG
CHANGED
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
data/src/core/useragent.js
CHANGED
data/src/core/useragentparser.js
CHANGED
|
@@ -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_(
|
|
174
|
+
this.getPlatformVersion_(), this.getDocumentMode_(this.doc_), false);
|
|
175
175
|
};
|
|
176
176
|
|
|
177
177
|
/**
|
data/webfontloader.gemspec
CHANGED
|
@@ -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.
|
|
17
|
-
s.date = '2010-09-
|
|
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:
|
|
4
|
+
hash: 5
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 1.0.
|
|
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-
|
|
19
|
+
date: 2010-09-11 00:00:00 +01:00
|
|
20
20
|
default_executable:
|
|
21
21
|
dependencies:
|
|
22
22
|
- !ruby/object:Gem::Dependency
|