list 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/spec/mem_spec.rb CHANGED
@@ -2,10 +2,8 @@ require 'spec_helper'
2
2
 
3
3
  describe List do
4
4
  it "gc safe" do
5
- a = (0..3).to_a
6
- list = List.new a
5
+ list = (0...3000).to_list
7
6
  GC.start
8
- expect(list.to_a).to eq(a)
9
- expect(a.length).to eq(4)
7
+ expect(list.length).to eq(3000)
10
8
  end
11
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: list
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ksss
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-01 00:00:00.000000000 Z
11
+ date: 2014-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler