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 CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
data/ext/jpeg_error.c CHANGED
@@ -3,8 +3,8 @@
3
3
  #include "ruby.h"
4
4
 
5
5
  extern VALUE Jpeg;
6
- VALUE Error;
6
+ VALUE Jpeg_Error;
7
7
 
8
8
  void Init_jpeg_error() {
9
- Error = rb_define_class_under(Jpeg, "Error", rb_eStandardError);
9
+ Jpeg_Error = rb_define_class_under(Jpeg, "Error", rb_eStandardError);
10
10
  }
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 Error;
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(Error, buffer);
29
+ rb_raise(Jpeg_Error, buffer);
30
30
  }
31
31
 
32
32
  static VALUE jpeg_jpeg_alloc(VALUE klass) {
data/jpeg.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "jpeg"
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["masarakki"]
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.1
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: 812764045
123
+ hash: 677594223
124
124
  required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  none: false
126
126
  requirements: