br-cnpj 0.1.3 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/ext/CNPJ/extconf.rb +6 -1
  2. metadata +3 -3
data/ext/CNPJ/extconf.rb CHANGED
@@ -3,5 +3,10 @@ require 'mkmf'
3
3
  dir_config('cnpj')
4
4
 
5
5
  have_header('stdlib.h')
6
+ have_func('lldiv')
7
+ have_type('lldiv_t','stdlib.h')
6
8
 
7
- create_makefile('CNPJ')
9
+ cflags = '-std=c99 -U_FILE_OFFSET_BITS'
10
+ with_cflags(cflags) do
11
+ create_makefile('CNPJ')
12
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 3
9
- version: 0.1.3
8
+ - 5
9
+ version: 0.1.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Bruno Coimbra
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-10 00:00:00 -03:00
17
+ date: 2010-04-16 00:00:00 -03:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency