sizes 1.1.0 → 1.1.1

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/ext/sizes/sizes.c +12 -0
  3. data/sizes.gemspec +1 -1
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.1
@@ -1,5 +1,17 @@
1
1
  #include "ruby.h"
2
2
 
3
+ #if HAVE_STDDEF_H
4
+ #include <stddef.h>
5
+ #endif
6
+
7
+ #if HAVE_STDLIB_H
8
+ #include <stdlib.h>
9
+ #endif
10
+
11
+ #if HAVE_INTTYPES_H
12
+ #include <inttypes.h>
13
+ #endif
14
+
3
15
  /* I almost wonder if I should have just generated this file with Ruby. Ah, well... */
4
16
 
5
17
  static VALUE sizeof_char(VALUE self) { return INT2FIX(sizeof(char)); }
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{sizes}
8
- s.version = "1.1.0"
8
+ s.version = "1.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Colin MacKenzie IV"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 0
9
- version: 1.1.0
8
+ - 1
9
+ version: 1.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Colin MacKenzie IV