jitai 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/jitai.gemspec +2 -2
  3. data/lib/jitai.rb +3 -2
  4. metadata +4 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.2
1
+ 0.3.3
data/jitai.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{jitai}
8
- s.version = "0.3.2"
8
+ s.version = "0.3.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["kellydunn"]
12
- s.date = %q{2011-01-10}
12
+ s.date = %q{2011-02-03}
13
13
  s.description = %q{CSS custom font consolidator}
14
14
  s.email = %q{defaultstring@gmail.com}
15
15
  s.extra_rdoc_files = [
data/lib/jitai.rb CHANGED
@@ -50,8 +50,9 @@ module Jitai
50
50
  end
51
51
 
52
52
  def to_css
53
- moz = "@font-face {font-family:'#{@name}'; src:url('#{name}.ttf');}"
54
- ie = "@font-face {font-family:'#{@name}'; src:url('#{name}.eot');}"
53
+ # TODO make configurable for sinatra apps, etc
54
+ moz = "@font-face {font-family:'#{@name}'; src:url('/fonts/#{name}.ttf');}"
55
+ ie = "@font-face {font-family:'#{@name}'; src:url('/fonts/#{name}.eot');}"
55
56
  manager = Jitai::FontManager.new
56
57
  find_font(manager.moz_path, moz)
57
58
  find_font(manager.ie_path, ie)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jitai
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 2
10
- version: 0.3.2
9
+ - 3
10
+ version: 0.3.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - kellydunn
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-10 00:00:00 -08:00
18
+ date: 2011-02-03 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency