immutable 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,14 @@
1
+ require "test/unit"
2
+
3
+ def with_tailcall_optimization
4
+ old_compile_option = RubyVM::InstructionSequence.compile_option
5
+ RubyVM::InstructionSequence.compile_option = {
6
+ :tailcall_optimization => true,
7
+ :trace_instruction => false
8
+ }
9
+ begin
10
+ yield
11
+ ensure
12
+ RubyVM::InstructionSequence.compile_option = old_compile_option
13
+ end
14
+ end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: immutable
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.2.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Shugo Maeda
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-04-09 00:00:00 Z
13
+ date: 2012-04-25 00:00:00 Z
14
14
  dependencies: []
15
15
 
16
16
  description:
@@ -22,11 +22,21 @@ extensions: []
22
22
  extra_rdoc_files: []
23
23
 
24
24
  files:
25
+ - lib/immutable.rb
25
26
  - lib/immutable/map.rb
27
+ - lib/immutable/queue.rb
28
+ - lib/immutable/stream.rb
29
+ - lib/immutable/foldable.rb
26
30
  - lib/immutable/list.rb
31
+ - lib/immutable/promise.rb
32
+ - benchmark/benchmark_queue.rb
27
33
  - benchmark/benchmark_map.rb
34
+ - test/test_helper.rb
28
35
  - test/immutable/test_list.rb
36
+ - test/immutable/test_stream.rb
29
37
  - test/immutable/test_map.rb
38
+ - test/immutable/test_promise.rb
39
+ - test/immutable/test_queue.rb
30
40
  - README.md
31
41
  homepage: http://github.com/shugo/immutable
32
42
  licenses: []