jitai 0.3.0 → 0.3.1
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/README.textile +3 -3
- data/VERSION +1 -1
- data/jitai.gemspec +6 -6
- data/spec/{kana_spec.rb → jitai_spec.rb} +1 -1
- data/spec/rake/jitaitask_spec.rb +28 -0
- data/spec/spec_helper.rb +2 -2
- metadata +8 -8
- data/spec/rake/kanatask_spec.rb +0 -9
data/README.textile
CHANGED
@@ -13,10 +13,10 @@ Then, do a little bit of:
|
|
13
13
|
pre. sudo gem install jitai
|
14
14
|
rake jitai:refresh
|
15
15
|
|
16
|
-
|
16
|
+
Jitai automatically converts your ttf fonts into eot format, so now you have the following stylesheets to your disposal:
|
17
17
|
|
18
|
-
* fonts_moz.css
|
19
|
-
* fonts_ie.css
|
18
|
+
* fonts_moz.css, Chrome, Firefox, Safari, and Opera compatible
|
19
|
+
* fonts_ie.css, IE compatible
|
20
20
|
|
21
21
|
All of your custom fonts are now avaiable in your CSS files. For example, if you were to use the Yardsale font:
|
22
22
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
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.
|
8
|
+
s.version = "0.3.1"
|
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{2010-11-
|
12
|
+
s.date = %q{2010-11-16}
|
13
13
|
s.description = %q{CSS custom font consolidator}
|
14
14
|
s.email = %q{defaultstring@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -43,8 +43,8 @@ Gem::Specification.new do |s|
|
|
43
43
|
"public/stylesheets/fonts_ie.css",
|
44
44
|
"public/stylesheets/fonts_moz.css",
|
45
45
|
"rails/init.rb",
|
46
|
-
"spec/
|
47
|
-
"spec/rake/
|
46
|
+
"spec/jitai_spec.rb",
|
47
|
+
"spec/rake/jitaitask_spec.rb",
|
48
48
|
"spec/spec_helper.rb"
|
49
49
|
]
|
50
50
|
s.homepage = %q{http://github.com/kellydunn/jitai}
|
@@ -53,8 +53,8 @@ Gem::Specification.new do |s|
|
|
53
53
|
s.rubygems_version = %q{1.3.7}
|
54
54
|
s.summary = %q{CSS custom font consolidator}
|
55
55
|
s.test_files = [
|
56
|
-
"spec/
|
57
|
-
"spec/rake/
|
56
|
+
"spec/jitai_spec.rb",
|
57
|
+
"spec/rake/jitaitask_spec.rb",
|
58
58
|
"spec/spec_helper.rb"
|
59
59
|
]
|
60
60
|
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe "Jitai rake utility" do
|
4
|
+
context "refreshing a font directory" do
|
5
|
+
before :each do
|
6
|
+
%x{rake jitai:refresh}
|
7
|
+
end
|
8
|
+
|
9
|
+
# Currently just using naiive file exists test
|
10
|
+
# the rake task doesn't do much else :\
|
11
|
+
it "should create a public/fonts directory if it doesn't already exist" do
|
12
|
+
File.exists?("public/fonts").should == true
|
13
|
+
end
|
14
|
+
|
15
|
+
it "should create a public/stylesheets directory if it doesn't already exist" do
|
16
|
+
File.exists?("public/stylesheets").should == true
|
17
|
+
end
|
18
|
+
|
19
|
+
it "should create both mozilla and ie compatible css stylesheet" do
|
20
|
+
File.exists?("public/stylesheets/fonts_moz.css").should == true
|
21
|
+
File.exists?("public/stylesheets/fonts_ie.css").should == true
|
22
|
+
end
|
23
|
+
|
24
|
+
it "should provide conversion for true-type fonts to .eot font types" do
|
25
|
+
File.exists?("public/fonts/yardsale.eot").should == true
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
data/spec/spec_helper.rb
CHANGED
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:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 1
|
10
|
+
version: 0.3.1
|
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: 2010-11-
|
18
|
+
date: 2010-11-16 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -70,8 +70,8 @@ files:
|
|
70
70
|
- public/stylesheets/fonts_ie.css
|
71
71
|
- public/stylesheets/fonts_moz.css
|
72
72
|
- rails/init.rb
|
73
|
-
- spec/
|
74
|
-
- spec/rake/
|
73
|
+
- spec/jitai_spec.rb
|
74
|
+
- spec/rake/jitaitask_spec.rb
|
75
75
|
- spec/spec_helper.rb
|
76
76
|
has_rdoc: true
|
77
77
|
homepage: http://github.com/kellydunn/jitai
|
@@ -108,6 +108,6 @@ signing_key:
|
|
108
108
|
specification_version: 3
|
109
109
|
summary: CSS custom font consolidator
|
110
110
|
test_files:
|
111
|
-
- spec/
|
112
|
-
- spec/rake/
|
111
|
+
- spec/jitai_spec.rb
|
112
|
+
- spec/rake/jitaitask_spec.rb
|
113
113
|
- spec/spec_helper.rb
|