jpeg 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/ext/jpeg_error.c +2 -2
- data/ext/jpeg_jpeg.c +2 -2
- data/jpeg.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/ext/jpeg_error.c
CHANGED
data/ext/jpeg_jpeg.c
CHANGED
@@ -13,7 +13,7 @@ static VALUE jpeg_jpeg_width(VALUE self);
|
|
13
13
|
static VALUE jpeg_jpeg_height(VALUE self);
|
14
14
|
static VALUE jpeg_jpeg_size(VALUE self);
|
15
15
|
|
16
|
-
extern VALUE
|
16
|
+
extern VALUE Jpeg_Error;
|
17
17
|
|
18
18
|
void Init_jpeg_jpeg() {
|
19
19
|
Jpeg = rb_define_class("Jpeg", rb_cObject);
|
@@ -26,7 +26,7 @@ void Init_jpeg_jpeg() {
|
|
26
26
|
void jpeg_jpeg_exit(j_common_ptr jpeg) {
|
27
27
|
char buffer[JMSG_LENGTH_MAX];
|
28
28
|
jpeg->err->format_message(jpeg, buffer);
|
29
|
-
rb_raise(
|
29
|
+
rb_raise(Jpeg_Error, buffer);
|
30
30
|
}
|
31
31
|
|
32
32
|
static VALUE jpeg_jpeg_alloc(VALUE klass) {
|
data/jpeg.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jpeg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -120,7 +120,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
120
120
|
version: '0'
|
121
121
|
segments:
|
122
122
|
- 0
|
123
|
-
hash:
|
123
|
+
hash: 677594223
|
124
124
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
125
|
none: false
|
126
126
|
requirements:
|