oil 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4036eeaab5f839b40269e35db9d1c5e74f905a2d
4
- data.tar.gz: c369f27885d7edc5353b0012973075b7b1969aac
3
+ metadata.gz: fd14ee7146af851bb1e18d91cd713a70245ccd18
4
+ data.tar.gz: 7f7821f5b3d7f93e916783fdd1d4373a1e7ca9c8
5
5
  SHA512:
6
- metadata.gz: ff2f9e88da8fd2c1845e63ceffc1fd460d58a1ede777734c812eaad8a195bc7007575aa1221cd80c529a4f2ce0ddabaa23b900dd996c489c8dbe10fb07555025
7
- data.tar.gz: ad0f4b2dfee53093fa6daf65a3d7deba426799e2921f0d4d6e76e6742efc423ad5f9a4429addf1f9b702eab2d6f0927d3f75c9d9014dd070b34414a2b55142d8
6
+ metadata.gz: 3eb3e7645f3a4930ef96932615f06d3802fb5aa200319e22c015d4568cfb2448cbf21e966b5a6cc0775c3ab22d41cca77215a5e23caa203d219310808e71e22d
7
+ data.tar.gz: 25c9425aff69764f680a521808db27ab76418a1d4bec6428689885ea4d718f47e87d37b79cdd095edc51c2c9fb6616ed9ccdf862fd37a44ed070f7ace61456f4
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ Rake::ExtensionTask.new('oil') do |ext|
6
6
  ext.lib_dir = 'lib/oil'
7
7
  end
8
8
 
9
- s = Gem::Specification.new('oil', '0.1.0') do |s|
9
+ s = Gem::Specification.new('oil', '0.1.1') do |s|
10
10
  s.license = 'MIT'
11
11
  s.summary = 'Resize JPEG and PNG images.'
12
12
  s.description = 'Resize JPEG and PNG images, aiming for fast performance and low memory use.'
@@ -1,4 +1,5 @@
1
1
  #include <ruby.h>
2
+ #include <ruby/st.h>
2
3
  #include <jpeglib.h>
3
4
  #include "resample.h"
4
5
  #include "yscaler.h"
data/lib/oil.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Oil
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
 
4
4
  def self.fix_ratio(sw, sh, boxw, boxh)
5
5
  x = boxw / sw.to_f
@@ -1,3 +1,4 @@
1
+ require 'minitest'
1
2
  require 'minitest/autorun'
2
3
  require 'oil'
3
4
  require 'stringio'
@@ -1,3 +1,4 @@
1
+ require 'minitest'
1
2
  require 'minitest/autorun'
2
3
  require 'oil'
3
4
  require 'stringio'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timothy Elliott