public
Description: StrokeDB is an embeddable distributed document database written in Ruby
Homepage: http://strokedb.com/
Clone URL: git://github.com/yrashk/strokedb.git
spec coverage has been slightly improved
yrashk (author)
Fri May 02 23:20:19 -0700 2008
commit  ec0591ed4a24f776500474ae402a854783c569ce
tree    b5d5969cffcf03f44476425ae27db61d230ccf44
parent  1e53dcfa179fdb44385de12fbe201a2575b01074
...
20
21
22
23
 
24
25
26
...
20
21
22
 
23
24
25
26
0
@@ -20,7 +20,7 @@ module StrokeDB
0
   
0
   # Coverage threshold - bump this float anytime your changes increase the spec coverage
0
   # DO NOT LOWER THIS NUMBER. EVER.
0
- COVERAGE = 91.9
0
+ COVERAGE = 92
0
 
0
   # UUID regexp (like 1e3d02cc-0769-4bd8-9113-e033b246b013)
0
   UUID_RE = /([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/
...
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
...
26
27
28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
0
@@ -26,33 +26,4 @@ module StrokeDB
0
   end
0
 end
0
 
0
-if $0 == __FILE__
0
-
0
- module MetaDSL
0
- def on_initialize(&block)
0
- store_dsl_options("on_initialize", block)
0
- end
0
- end
0
-
0
- module HasMany
0
- attach_dsl MetaDSL
0
- def has_many(*args)
0
- store_dsl_options("has_many", { :module => HasMany, :args => args } )
0
- puts "has_many defined in #{self.inspect}"
0
- end
0
- on_initialize do |doc|
0
- blah_blah
0
- end
0
- end
0
-
0
- module App1
0
- attach_dsl HasMany
0
- has_many :blah, :blah => :blah
0
- end
0
-
0
- p App1.dsl
0
- p App1.dsl["has_many"][:module].dsl
0
-
0
-end
0
-
0
 

Comments

    No one has commented yet.