webfontloader 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. data/CHANGELOG +5 -0
  2. data/Rakefile +2 -1
  3. data/lib/webfontloader.rb +1 -1
  4. data/spec/core/font_spec.js +9 -4
  5. data/spec/core/fontruler_spec.js +3 -10
  6. data/spec/core/fontwatcher_spec.js +22 -23
  7. data/spec/core/fontwatchrunner_spec.js +206 -231
  8. data/spec/deps.js +27 -0
  9. data/spec/google/lastresortwebkitfontwatchrunner_spec.js +47 -58
  10. data/spec/index.html +14 -25
  11. data/src/ascender/ascender_script.js +52 -45
  12. data/src/core/browserinfo.js +54 -47
  13. data/src/core/cssclassname.js +27 -22
  14. data/src/core/cssfontfamilyname.js +23 -17
  15. data/src/core/domhelper.js +209 -203
  16. data/src/core/eventdispatcher.js +111 -103
  17. data/src/core/font.js +110 -68
  18. data/src/core/fontmoduleloader.js +56 -13
  19. data/src/core/fontruler.js +52 -43
  20. data/src/core/fontvariationdescription.js +82 -76
  21. data/src/core/fontwatcher.js +93 -88
  22. data/src/core/fontwatchrunner.js +161 -161
  23. data/src/core/initialize.js +22 -15
  24. data/src/core/namespace.js +0 -29
  25. data/src/core/size.js +31 -25
  26. data/src/core/useragent.js +63 -48
  27. data/src/core/useragentparser.js +317 -306
  28. data/src/custom/customcss.js +31 -24
  29. data/src/fontdeck/fontdeck_script.js +46 -37
  30. data/src/google/fontapiparser.js +105 -97
  31. data/src/google/fontapiurlbuilder.js +46 -41
  32. data/src/google/googlefontapi.js +48 -32
  33. data/src/google/lastresortwebkitfontwatchrunner.js +80 -67
  34. data/src/modules.yml +6 -6
  35. data/src/monotype/monotype_script.js +47 -40
  36. data/src/typekit/typekit_script.js +41 -35
  37. data/tools/compiler/base.js +1548 -0
  38. data/tools/compiler/compiler.jar +0 -0
  39. data/webfontloader.gemspec +4 -2
  40. metadata +18 -16
Binary file
@@ -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.3.0'
17
- s.date = '2013-02-28'
16
+ s.version = '1.3.1'
17
+ s.date = '2013-03-14'
18
18
 
19
19
  ## Make sure your summary is short. The description may be as long
20
20
  ## as you like.
@@ -122,6 +122,7 @@ DESC
122
122
  spec/core/size_spec.js
123
123
  spec/core/useragentparser_spec.js
124
124
  spec/custom/customcss_spec.js
125
+ spec/deps.js
125
126
  spec/fontdeck/fontdeckscript_spec.js
126
127
  spec/fonts/LICENSE.txt
127
128
  spec/fonts/nullfont.css
@@ -170,6 +171,7 @@ DESC
170
171
  src/modules.yml
171
172
  src/monotype/monotype_script.js
172
173
  src/typekit/typekit_script.js
174
+ tools/compiler/base.js
173
175
  tools/compiler/compiler.jar
174
176
  tools/jasmine-phantomjs/jasmine-phantomjs.js
175
177
  tools/jasmine-phantomjs/terminal-reporter.js
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: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 0
10
- version: 1.3.0
9
+ - 1
10
+ version: 1.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Carver
@@ -16,11 +16,12 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2013-02-28 00:00:00 Z
19
+ date: 2013-03-14 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
+ name: rake
22
23
  prerelease: false
23
- version_requirements: &id001 !ruby/object:Gem::Requirement
24
+ requirement: &id001 !ruby/object:Gem::Requirement
24
25
  none: false
25
26
  requirements:
26
27
  - - ">="
@@ -29,12 +30,12 @@ dependencies:
29
30
  segments:
30
31
  - 0
31
32
  version: "0"
32
- requirement: *id001
33
- name: rake
34
33
  type: :development
34
+ version_requirements: *id001
35
35
  - !ruby/object:Gem::Dependency
36
+ name: rack
36
37
  prerelease: false
37
- version_requirements: &id002 !ruby/object:Gem::Requirement
38
+ requirement: &id002 !ruby/object:Gem::Requirement
38
39
  none: false
39
40
  requirements:
40
41
  - - ~>
@@ -45,12 +46,12 @@ dependencies:
45
46
  - 5
46
47
  - 1
47
48
  version: 1.5.1
48
- requirement: *id002
49
- name: rack
50
49
  type: :development
50
+ version_requirements: *id002
51
51
  - !ruby/object:Gem::Dependency
52
+ name: sinatra
52
53
  prerelease: false
53
- version_requirements: &id003 !ruby/object:Gem::Requirement
54
+ requirement: &id003 !ruby/object:Gem::Requirement
54
55
  none: false
55
56
  requirements:
56
57
  - - ~>
@@ -61,12 +62,12 @@ dependencies:
61
62
  - 3
62
63
  - 4
63
64
  version: 1.3.4
64
- requirement: *id003
65
- name: sinatra
66
65
  type: :development
66
+ version_requirements: *id003
67
67
  - !ruby/object:Gem::Dependency
68
+ name: vegas
68
69
  prerelease: false
69
- version_requirements: &id004 !ruby/object:Gem::Requirement
70
+ requirement: &id004 !ruby/object:Gem::Requirement
70
71
  none: false
71
72
  requirements:
72
73
  - - ~>
@@ -77,9 +78,8 @@ dependencies:
77
78
  - 1
78
79
  - 11
79
80
  version: 0.1.11
80
- requirement: *id004
81
- name: vegas
82
81
  type: :development
82
+ version_requirements: *id004
83
83
  description: |
84
84
  WebFont Loader gives you added control when using linked fonts via
85
85
  `@font-face`. It provides a common interface to loading fonts regardless of
@@ -153,6 +153,7 @@ files:
153
153
  - spec/core/size_spec.js
154
154
  - spec/core/useragentparser_spec.js
155
155
  - spec/custom/customcss_spec.js
156
+ - spec/deps.js
156
157
  - spec/fontdeck/fontdeckscript_spec.js
157
158
  - spec/fonts/LICENSE.txt
158
159
  - spec/fonts/nullfont.css
@@ -201,6 +202,7 @@ files:
201
202
  - src/modules.yml
202
203
  - src/monotype/monotype_script.js
203
204
  - src/typekit/typekit_script.js
205
+ - tools/compiler/base.js
204
206
  - tools/compiler/compiler.jar
205
207
  - tools/jasmine-phantomjs/jasmine-phantomjs.js
206
208
  - tools/jasmine-phantomjs/terminal-reporter.js