oops-null 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/ext/oops_null/extconf.rb +2 -1
  3. metadata +3 -3
data/Rakefile CHANGED
@@ -16,7 +16,7 @@ spec = Gem::Specification.new do |s|
16
16
  s.summary = 'A segfaulting native RubyGem for Windows'
17
17
  s.description = 'A native RubyGem for Windows that segfaults due to dereferencing a NULL pointer'
18
18
  s.homepage = 'http://oopsforge.github.com/'
19
- s.version = '0.1.0'
19
+ s.version = '0.2.0'
20
20
  s.date = Time.now.strftime('%Y-%m-%d')
21
21
 
22
22
  s.authors = ['Jon Maken']
@@ -1,7 +1,8 @@
1
1
  require 'mkmf'
2
2
 
3
3
  # override normal build configuration to build debug friendly library
4
- if ENV['BUILD_DEBUG_LIB']
4
+ # if installed via 'gem install oops-null -- --enable-debug'
5
+ if enable_config('debug')
5
6
  puts '[INFO] enabling debug library build configuration.'
6
7
  if RUBY_VERSION < '1.9'
7
8
  $CFLAGS = CONFIG['CFLAGS'].gsub(/\s\-O\d?\s/, ' -O0 ')
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 1
7
+ - 2
8
8
  - 0
9
- version: 0.1.0
9
+ version: 0.2.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jon Maken
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-01-27 00:00:00 -05:00
17
+ date: 2011-01-28 00:00:00 -05:00
18
18
  default_executable: nulloops
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency