ashton 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/ashton/extconf.rb +3 -3
- data/lib/ashton/version.rb +1 -1
- metadata +2 -2
data/ext/ashton/extconf.rb
CHANGED
@@ -26,7 +26,7 @@ case RUBY_PLATFORM
|
|
26
26
|
end
|
27
27
|
|
28
28
|
# 1.9 compatibility
|
29
|
-
$CFLAGS << ' -DRUBY_19'
|
29
|
+
$CFLAGS << ' -DRUBY_19' if RUBY_VERSION =~ /^1.9/
|
30
30
|
|
31
31
|
# let's use a nicer C (rather than C90)
|
32
32
|
$CFLAGS << " -std=gnu99"
|
@@ -36,9 +36,9 @@ $CFLAGS << " -std=gnu99"
|
|
36
36
|
|
37
37
|
if $warnflags
|
38
38
|
# Stop getting annoying warnings for valid C99 code.
|
39
|
-
$warnflags.gsub!('-Wdeclaration-after-statement', '')
|
39
|
+
$warnflags.gsub!('-Wdeclaration-after-statement', '')
|
40
40
|
# Let's be good boys and girls!
|
41
|
-
$warnflags << ' -Wall'
|
41
|
+
$warnflags << ' -Wall'
|
42
42
|
end
|
43
43
|
|
44
44
|
create_header
|
data/lib/ashton/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ashton
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -311,7 +311,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
311
311
|
version: '0'
|
312
312
|
segments:
|
313
313
|
- 0
|
314
|
-
hash:
|
314
|
+
hash: 1251081987634460007
|
315
315
|
requirements: []
|
316
316
|
rubyforge_project: ashton
|
317
317
|
rubygems_version: 1.8.23
|