bunraku 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest.txt +39 -0
- data/README.txt +25 -0
- data/Rakefile +93 -0
- data/examples/corechain.rb +46 -0
- data/examples/person.rb +67 -0
- data/examples/person2.rb +62 -0
- data/examples/person3.rb +72 -0
- data/examples/rentalshop.rb +127 -0
- data/examples/requires.rb +50 -0
- data/examples/scope.rb +63 -0
- data/hacks/add_method_by_method_of_Class.rb +18 -0
- data/hacks/add_method_to_Class.rb +12 -0
- data/hacks/add_method_with_local_context.rb +27 -0
- data/hacks/anonymous_method.rb +37 -0
- data/hacks/class_creation_events.rb +45 -0
- data/hacks/get_nested_class.rb +22 -0
- data/hacks/hook_method.rb +50 -0
- data/hacks/method_missing_chain.rb +33 -0
- data/hacks/method_missing_chain_override.rb +39 -0
- data/hacks/pluralize.rb +24 -0
- data/lib/bunraku.rb +3 -0
- data/lib/bunraku/base.rb +9 -0
- data/lib/bunraku/class_ext.rb +37 -0
- data/lib/bunraku/core.rb +257 -0
- data/lib/bunraku/exceptions.rb +10 -0
- data/lib/bunraku/proxies.rb +121 -0
- data/lib/bunraku/utils.rb +21 -0
- data/lib/bunraku/version.rb +9 -0
- data/scripts/makemanifest.rb +20 -0
- data/scripts/uproadwebsite.sh +18 -0
- data/setup.rb +1585 -0
- data/spec/def_context_spec.rb +34 -0
- data/spec/interaction_spec.rb +127 -0
- data/spec/require_spec.rb +44 -0
- data/spec/role2_spec.rb +116 -0
- data/spec/role_spec.rb +120 -0
- data/test/test_bunraku.rb +11 -0
- data/test/test_helper.rb +2 -0
- data/website/index.html +13 -0
- metadata +94 -0
data/test/test_helper.rb
ADDED
data/website/index.html
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
<html>
|
2
|
+
<body>
|
3
|
+
<h1>Bunraku Website Test</h1>
|
4
|
+
<ul>
|
5
|
+
<li>
|
6
|
+
<a href="http://rubyforge.org/projects/bunraku/">project home</a>
|
7
|
+
</li>
|
8
|
+
<li>
|
9
|
+
<a href="http://viewvc.rubyforge.mmmultiworks.com/cgi/viewvc.cgi/?root=bunraku">source code</a>
|
10
|
+
</li>
|
11
|
+
</ul>
|
12
|
+
</body>
|
13
|
+
</html>
|
metadata
ADDED
@@ -0,0 +1,94 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.9.4
|
3
|
+
specification_version: 1
|
4
|
+
name: bunraku
|
5
|
+
version: !ruby/object:Gem::Version
|
6
|
+
version: 3.0.0
|
7
|
+
date: 2007-07-13 00:00:00 +09:00
|
8
|
+
summary: description of gem
|
9
|
+
require_paths:
|
10
|
+
- lib
|
11
|
+
email: your contact email for bug fixes and info
|
12
|
+
homepage: http://bunraku.rubyforge.org
|
13
|
+
rubyforge_project: bunraku
|
14
|
+
description: description of gem
|
15
|
+
autorequire:
|
16
|
+
default_executable:
|
17
|
+
bindir: bin
|
18
|
+
has_rdoc: true
|
19
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.0.0
|
24
|
+
version:
|
25
|
+
platform: ruby
|
26
|
+
signing_key:
|
27
|
+
cert_chain:
|
28
|
+
post_install_message:
|
29
|
+
authors:
|
30
|
+
- ichiyama
|
31
|
+
files:
|
32
|
+
- Manifest.txt
|
33
|
+
- README.txt
|
34
|
+
- Rakefile
|
35
|
+
- examples/corechain.rb
|
36
|
+
- examples/person.rb
|
37
|
+
- examples/person2.rb
|
38
|
+
- examples/person3.rb
|
39
|
+
- examples/rentalshop.rb
|
40
|
+
- examples/requires.rb
|
41
|
+
- examples/scope.rb
|
42
|
+
- hacks/add_method_by_method_of_Class.rb
|
43
|
+
- hacks/add_method_to_Class.rb
|
44
|
+
- hacks/add_method_with_local_context.rb
|
45
|
+
- hacks/anonymous_method.rb
|
46
|
+
- hacks/class_creation_events.rb
|
47
|
+
- hacks/get_nested_class.rb
|
48
|
+
- hacks/hook_method.rb
|
49
|
+
- hacks/method_missing_chain.rb
|
50
|
+
- hacks/method_missing_chain_override.rb
|
51
|
+
- hacks/pluralize.rb
|
52
|
+
- lib/bunraku.rb
|
53
|
+
- lib/bunraku/base.rb
|
54
|
+
- lib/bunraku/class_ext.rb
|
55
|
+
- lib/bunraku/core.rb
|
56
|
+
- lib/bunraku/exceptions.rb
|
57
|
+
- lib/bunraku/proxies.rb
|
58
|
+
- lib/bunraku/utils.rb
|
59
|
+
- lib/bunraku/version.rb
|
60
|
+
- scripts/makemanifest.rb
|
61
|
+
- scripts/uproadwebsite.sh
|
62
|
+
- setup.rb
|
63
|
+
- spec/def_context_spec.rb
|
64
|
+
- spec/interaction_spec.rb
|
65
|
+
- spec/require_spec.rb
|
66
|
+
- spec/role2_spec.rb
|
67
|
+
- spec/role_spec.rb
|
68
|
+
- test/test_bunraku.rb
|
69
|
+
- test/test_helper.rb
|
70
|
+
- website/index.html
|
71
|
+
test_files: []
|
72
|
+
|
73
|
+
rdoc_options:
|
74
|
+
- --main
|
75
|
+
- README.txt
|
76
|
+
extra_rdoc_files:
|
77
|
+
- Manifest.txt
|
78
|
+
- README.txt
|
79
|
+
executables: []
|
80
|
+
|
81
|
+
extensions: []
|
82
|
+
|
83
|
+
requirements: []
|
84
|
+
|
85
|
+
dependencies:
|
86
|
+
- !ruby/object:Gem::Dependency
|
87
|
+
name: active_support
|
88
|
+
version_requirement:
|
89
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">"
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 0.0.0
|
94
|
+
version:
|