reot 0.0.1 → 0.0.2

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/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - rbx-19mode
data/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ ## Reot 0.0.2 ##
2
+
3
+ * rbx-19mode compatibility
4
+
5
+ ## Reot 0.0.1 ##
6
+
7
+ * initial version
data/README.md CHANGED
@@ -1,8 +1,15 @@
1
- Reot
1
+ Reot [![Build Status](https://secure.travis-ci.org/simi/reot.png?branch=master)](http://travis-ci.org/simi/reot)
2
2
  ====
3
3
 
4
4
  Simple library for converting [ttf](http://en.wikipedia.org/wiki/TrueType) to [eot](http://en.wikipedia.org/wiki/Embedded_OpenType) format. It is using [ttf2eot](http://code.google.com/p/ttf2eot/), just instead of using console, you can use simple ruby module.
5
5
 
6
+ Ruby 1.9 only!
7
+
8
+ Install
9
+ -------
10
+
11
+ ```gem install reot```
12
+
6
13
  Example
7
14
  -------
8
15
 
data/ext/reot/reot.cpp CHANGED
@@ -7,6 +7,10 @@
7
7
  #include "ruby.h"
8
8
  #include "OpenTypeUtilities.h"
9
9
 
10
+ #ifndef SIZE_MAX
11
+ # define SIZE_MAX UINT_MAX
12
+ #endif
13
+
10
14
  VALUE Reot = Qnil;
11
15
 
12
16
  extern "C" void Init_reot();
data/lib/reot/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Reot
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/test/reot_test.rb CHANGED
@@ -2,7 +2,7 @@ require 'helper'
2
2
 
3
3
  class TestReot < MiniTest::Unit::TestCase
4
4
  def setup
5
- File.delete('test/fonts/Metalista.ttf.eot') if File.exists?("test/fonts/Metalista.ttf.eot")
5
+ File.delete('test/fonts/Metalista.eot') if File.exists?("test/fonts/Metalista.eot")
6
6
  end
7
7
 
8
8
  def test_reot_converts_ttf_to_eot
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-03-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake-compiler
16
- requirement: &4034600 !ruby/object:Gem::Requirement
16
+ requirement: &10790660 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *4034600
24
+ version_requirements: *10790660
25
25
  description: Simple ttf2eot convertor
26
26
  email:
27
27
  - retro@ballgag.cz
@@ -31,6 +31,8 @@ extensions:
31
31
  extra_rdoc_files: []
32
32
  files:
33
33
  - .gitignore
34
+ - .travis.yml
35
+ - CHANGELOG.md
34
36
  - Gemfile
35
37
  - README.md
36
38
  - Rakefile