rbtrace 0.3.17 → 0.3.18

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.
data/ext/extconf.rb CHANGED
@@ -17,6 +17,7 @@ unless File.exists?("#{CWD}/dst/lib/libmsgpackc.a")
17
17
  msgpack = File.basename('msgpack-0.5.7.tar.gz')
18
18
  dir = File.basename(msgpack, '.tar.gz')
19
19
  cflags, ldflags = ENV['CFLAGS'], ENV['LDFLAGS']
20
+ cc = ENV['CC']
20
21
 
21
22
  # build fat binaries on osx
22
23
  if RUBY_PLATFORM =~ /darwin/ and (archs = Config::CONFIG['LDFLAGS'].scan(/(-arch\s+.+?)(?:\s|$)/).flatten).any?
@@ -32,6 +33,9 @@ unless File.exists?("#{CWD}/dst/lib/libmsgpackc.a")
32
33
  if RUBY_PLATFORM =~ /i686/ and gcc = `gcc -v 2>&1` and gcc =~ /gcc version (\d\.\d)/ and $1.to_f <= 4.1
33
34
  ENV['CFLAGS'] = " #{ENV['CFLAGS']} -march=i686 "
34
35
  end
36
+ if RUBY_PLATFORM =~ /darwin/ and File.exist?("/usr/bin/gcc-4.2")
37
+ ENV['CC'] = '/usr/bin/gcc-4.2'
38
+ end
35
39
  sys("./configure --disable-dependency-tracking --disable-shared --with-pic --prefix=#{CWD}/dst/")
36
40
  sys("make install")
37
41
  end
@@ -40,6 +44,9 @@ unless File.exists?("#{CWD}/dst/lib/libmsgpackc.a")
40
44
  if cflags or ldflags
41
45
  ENV['CFLAGS'], ENV['LDFLAGS'] = cflags, ldflags
42
46
  end
47
+ if cc
48
+ ENV['CC'] = cc
49
+ end
43
50
  end
44
51
 
45
52
  FileUtils.cp "#{CWD}/dst/lib/libmsgpackc.a", "#{CWD}/libmsgpackc_ext.a"
data/rbtrace.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'rbtrace'
3
- s.version = '0.3.17'
3
+ s.version = '0.3.18'
4
4
  s.homepage = 'http://github.com/tmm1/rbtrace'
5
5
 
6
6
  s.authors = 'Aman Gupta'
@@ -1 +1,3 @@
1
1
  ActiveRecord::ConnectionAdapters::MysqlAdapter#execute(sql)
2
+ ActiveRecord::ConnectionAdapters::PostgreSQLAdapter#execute(sql)
3
+ ActiveRecord::ConnectionAdapters::SQLiteAdapter#execute(sql)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbtrace
3
3
  version: !ruby/object:Gem::Version
4
- hash: 49
4
+ hash: 55
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 17
10
- version: 0.3.17
9
+ - 18
10
+ version: 0.3.18
11
11
  platform: ruby
12
12
  authors:
13
13
  - Aman Gupta
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-11-26 00:00:00 -08:00
18
+ date: 2012-01-04 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency