ruby-vips 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/ext/ruby_vips.c +24 -0
- data/lib/vips/version.rb +1 -1
- data/ruby-vips.gemspec +2 -2
- metadata +3 -3
data/CHANGELOG.md
CHANGED
data/ext/ruby_vips.c
CHANGED
@@ -83,6 +83,28 @@ vips_s_debug_info(VALUE obj)
|
|
83
83
|
return Qnil;
|
84
84
|
}
|
85
85
|
|
86
|
+
/*
|
87
|
+
* call-seq:
|
88
|
+
* VIPS.thread_shutdown -> string
|
89
|
+
*
|
90
|
+
* Free any thread-private data and flush any profiling information.
|
91
|
+
*
|
92
|
+
* This function needs to be called when a thread that has been using vips
|
93
|
+
* exits. It is called for you by vips_shutdown() and for any threads created
|
94
|
+
* by vips_g_thread_new().
|
95
|
+
*
|
96
|
+
* You will need to call it from threads created in other ways. If you do
|
97
|
+
* not call it, vips will generate an error message.
|
98
|
+
*
|
99
|
+
* May be called many times.
|
100
|
+
*/
|
101
|
+
static VALUE
|
102
|
+
vips_s_thread_shutdown(VALUE obj)
|
103
|
+
{
|
104
|
+
vips_thread_shutdown();
|
105
|
+
return Qnil;
|
106
|
+
}
|
107
|
+
|
86
108
|
/*
|
87
109
|
* Build a call to im_init_world() and pass command line options to vips. This
|
88
110
|
* sets some library wide options.
|
@@ -149,6 +171,8 @@ Init_vips_ext()
|
|
149
171
|
|
150
172
|
rb_define_singleton_method(mVIPS, "debug_info", vips_s_debug_info, 0);
|
151
173
|
|
174
|
+
rb_define_singleton_method(mVIPS, "thread_shutdown", vips_s_thread_shutdown, 0);
|
175
|
+
|
152
176
|
/* Vips Library version string */
|
153
177
|
rb_define_const(mVIPS, "LIB_VERSION", vips_s_version_string());
|
154
178
|
|
data/lib/vips/version.rb
CHANGED
data/ruby-vips.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "ruby-vips"
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.8"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Timothy Elliott", "John Cupitt"]
|
12
|
-
s.date = "2014-
|
12
|
+
s.date = "2014-05-11"
|
13
13
|
s.description = "Ruby extension for the vips image processing library."
|
14
14
|
s.email = "jcupitt@gmail.com"
|
15
15
|
s.extensions = ["ext/extconf.rb"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-vips
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-05-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rdoc
|
@@ -153,7 +153,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
153
153
|
version: '0'
|
154
154
|
segments:
|
155
155
|
- 0
|
156
|
-
hash:
|
156
|
+
hash: 608630802592582756
|
157
157
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
158
|
none: false
|
159
159
|
requirements:
|