refuse 0.0.2 → 0.1.0
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.textile +6 -0
- data/lib/refuse/cucumber.rb +2 -2
- data/lib/refuse/version.rb +1 -1
- data/refuse.gemspec +1 -1
- metadata +15 -3
data/README.textile
CHANGED
@@ -18,6 +18,10 @@ export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1
|
|
18
18
|
export RUBY_GC_MALLOC_LIMIT=1000000000
|
19
19
|
export RUBY_HEAP_FREE_MIN=500000</pre>
|
20
20
|
|
21
|
+
h2. Install
|
22
|
+
|
23
|
+
Add @gem 'refuse'@ to your @Gemfile@
|
24
|
+
|
21
25
|
h2. Usage
|
22
26
|
|
23
27
|
h3. Rspec
|
@@ -48,6 +52,8 @@ After do
|
|
48
52
|
Refuse.collect
|
49
53
|
end</pre>
|
50
54
|
|
55
|
+
You can use the @@automatic-garbage-collect@ tag to skip the deferred GC.
|
56
|
+
|
51
57
|
h3. Test::Unit
|
52
58
|
|
53
59
|
Fork this and send me a pull request please.
|
data/lib/refuse/cucumber.rb
CHANGED
data/lib/refuse/version.rb
CHANGED
data/refuse.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
9
|
s.authors = ["Brian Ryckbost"]
|
10
10
|
s.email = ["brian@collectiveidea.com"]
|
11
|
-
s.homepage = "http://github.com/collectiveidea/refuse
|
11
|
+
s.homepage = "http://github.com/collectiveidea/refuse"
|
12
12
|
s.summary = %q{Defer garbage collection}
|
13
13
|
s.description = %q{Wrap up some common functionality of deferring garbage collection. Often used to speed up test suites by 40%-60%.}
|
14
14
|
|
metadata
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refuse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
4
5
|
prerelease:
|
5
|
-
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 0
|
10
|
+
version: 0.1.0
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
13
|
- Brian Ryckbost
|
@@ -10,7 +15,7 @@ autorequire:
|
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
17
|
|
13
|
-
date: 2011-06-
|
18
|
+
date: 2011-06-07 00:00:00 Z
|
14
19
|
dependencies: []
|
15
20
|
|
16
21
|
description: Wrap up some common functionality of deferring garbage collection. Often used to speed up test suites by 40%-60%.
|
@@ -31,7 +36,7 @@ files:
|
|
31
36
|
- lib/refuse/cucumber.rb
|
32
37
|
- lib/refuse/version.rb
|
33
38
|
- refuse.gemspec
|
34
|
-
homepage: http://github.com/collectiveidea/refuse
|
39
|
+
homepage: http://github.com/collectiveidea/refuse
|
35
40
|
licenses: []
|
36
41
|
|
37
42
|
post_install_message:
|
@@ -44,12 +49,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
44
49
|
requirements:
|
45
50
|
- - ">="
|
46
51
|
- !ruby/object:Gem::Version
|
52
|
+
hash: 3
|
53
|
+
segments:
|
54
|
+
- 0
|
47
55
|
version: "0"
|
48
56
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
49
57
|
none: false
|
50
58
|
requirements:
|
51
59
|
- - ">="
|
52
60
|
- !ruby/object:Gem::Version
|
61
|
+
hash: 3
|
62
|
+
segments:
|
63
|
+
- 0
|
53
64
|
version: "0"
|
54
65
|
requirements: []
|
55
66
|
|
@@ -60,3 +71,4 @@ specification_version: 3
|
|
60
71
|
summary: Defer garbage collection
|
61
72
|
test_files: []
|
62
73
|
|
74
|
+
has_rdoc:
|