noderb 0.0.7 → 0.0.8

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/README.md CHANGED
@@ -152,6 +152,10 @@ Schedules new repeated event that will be called every *timeout* seconds.
152
152
 
153
153
  ## Changelog
154
154
 
155
+ ### 0.0.6
156
+
157
+ * FileSystem support
158
+
155
159
  ### 0.0.4
156
160
 
157
161
  * Hostname resolution
@@ -160,11 +164,7 @@ Schedules new repeated event that will be called every *timeout* seconds.
160
164
 
161
165
  ## Compatibility
162
166
 
163
- * Full
164
- ** Ruby 1.8
165
- ** Ruby 1.9
166
- * Preliminary
167
- ** Rubinius
167
+ * Ruby 1.9
168
168
 
169
169
  ## Dependencies
170
170
 
@@ -172,4 +172,4 @@ No external dependencies except compiler for native extension.
172
172
 
173
173
  ## License
174
174
 
175
- MIT
175
+ MIT
@@ -1,6 +1,18 @@
1
1
  require "mkmf"
2
2
 
3
- `cd libuv; make; cd ..; cp libuv/uv.a libuv.a`
3
+ cflags = " -shared "
4
+
5
+ if $solaris
6
+ cflags = " -G -fPIC "
7
+ # From EventMachine
8
+ CONFIG['LDSHARED'] = "$(CXX) -G -fPIC"
9
+ if CONFIG['CC'] == 'cc'
10
+ $CFLAGS = CONFIG['CFLAGS'] = "-g -O2 -fPIC"
11
+ CONFIG['CCDLFLAGS'] = "-fPIC"
12
+ end
13
+ end
14
+
15
+ `cd libuv; CFLAGS="#{cflags}" make; cd ..; cp libuv/uv.a libuv.a`
4
16
 
5
17
  dir_config("uv", File.expand_path("../libuv/include", __FILE__), File.expand_path("../libuv", __FILE__))
6
18
 
@@ -1,3 +1,3 @@
1
1
  module NodeRb
2
- VERSION = "0.0.7" unless const_defined?(:VERSION)
3
- end
2
+ VERSION = "0.0.8" unless const_defined?(:VERSION)
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noderb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: