fastruby 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/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ 0.0.8 Lambda support
2
+
3
+ Re-implemented break
4
+
5
+ DAG representation of stack
6
+
1
7
  0.0.7 Normalized random class names on specs to maximize the profit of the cache when running specs
2
8
 
3
9
  Implemented dump of classes into literals using rb_define_class. This improves the cache loads
data/Rakefile CHANGED
@@ -7,7 +7,7 @@ require "rspec/core/rake_task"
7
7
 
8
8
  spec = Gem::Specification.new do |s|
9
9
  s.name = 'fastruby'
10
- s.version = '0.0.7'
10
+ s.version = '0.0.8'
11
11
  s.author = 'Dario Seminara'
12
12
  s.email = 'robertodarioseminara@gmail.com'
13
13
  s.platform = Gem::Platform::RUBY
@@ -17,8 +17,9 @@ spec = Gem::Specification.new do |s|
17
17
  s.add_dependency "ruby_parser", "= 2.0.6"
18
18
  s.has_rdoc = true
19
19
  s.extra_rdoc_files = [ 'README' ]
20
+ s.extensions = FileList["ext/**/extconf.rb"].to_a
20
21
  # s.rdoc_options << '--main' << 'README'
21
- s.files = Dir.glob("{benchmarks,examples,lib,spec}/**/*") +
22
+ s.files = Dir.glob("{benchmarks,examples,lib,spec}/**/*") + Dir.glob("ext/**/*.c") + Dir.glob("ext/**/*.h") + Dir.glob("ext/**/extconf.rb") +
22
23
  [ 'LICENSE', 'AUTHORS', 'README', 'Rakefile', 'TODO', 'CHANGELOG' ]
23
24
  end
24
25
 
@@ -0,0 +1,7 @@
1
+ require 'mkmf'
2
+ dir_config('fastruby_base')
3
+ CONFIG['CC'] = 'gcc'
4
+ create_makefile('fastruby_base')
5
+
6
+
7
+
@@ -0,0 +1,5 @@
1
+ #include "fastruby_base.inl"
2
+
3
+ void Init_fastruby_base() {
4
+ Init_stack_chunk();
5
+ }