contextr 0.1.1 → 0.1.9
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.tar.gz.sig +2 -2
- data/History.txt +8 -0
- data/Manifest.txt +15 -0
- data/Rakefile +2 -2
- data/lib/contextr.rb +2 -1
- data/lib/contextr/class_methods.rb +19 -15
- data/lib/contextr/core_ext/module.rb +18 -39
- data/lib/contextr/core_ext/object.rb +1 -68
- data/lib/contextr/event_machine.rb +3 -3
- data/lib/contextr/inner_class.rb +47 -0
- data/lib/contextr/layer.rb +62 -68
- data/lib/contextr/version.rb +1 -1
- data/lib/ext/dynamic.rb +2 -2
- data/spec/contextr_spec.rb +36 -30
- data/test/lib/example_test.rb +59 -0
- data/test/lib/literate_markaby_test.rb +97 -0
- data/test/lib/literate_maruku_test.rb +108 -0
- data/test/test_class_side.mkd +234 -0
- data/test/test_class_side.rb +1 -222
- data/test/test_contextr.rb +0 -12
- data/test/test_dynamic_scope.mkd +61 -0
- data/test/test_dynamic_scope.rb +4 -0
- data/test/test_dynamics.mkd +201 -0
- data/test/test_dynamics.rb +1 -204
- data/test/test_hello_world.mkd +70 -0
- data/test/test_hello_world.rb +4 -0
- data/test/test_helper.rb +4 -53
- data/test/test_introduction.mkd +325 -0
- data/test/test_introduction.rb +1 -308
- data/test/test_layer_state.mkd +170 -0
- data/test/test_layer_state.rb +1 -176
- data/test/test_meta_api.mkd +21 -0
- data/test/test_meta_api.rb +4 -0
- data/test/test_ordering.mkd +142 -0
- data/test/test_ordering.rb +1 -144
- metadata +65 -41
- metadata.gz.sig +0 -0
metadata
CHANGED
|
@@ -1,29 +1,12 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
|
-
rubygems_version: 0.9.4
|
|
3
|
-
specification_version: 1
|
|
4
2
|
name: contextr
|
|
5
3
|
version: !ruby/object:Gem::Version
|
|
6
|
-
version: 0.1.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
- lib
|
|
11
|
-
email: ruby@schmidtwisser.de
|
|
12
|
-
homepage: http://contextr.rubyforge.org
|
|
13
|
-
rubyforge_project: contextr
|
|
14
|
-
description: The goal is to equip Ruby with an API to allow context-oriented programming.
|
|
4
|
+
version: 0.1.9
|
|
5
|
+
platform: ""
|
|
6
|
+
authors:
|
|
7
|
+
- Gregor Schmidt
|
|
15
8
|
autorequire:
|
|
16
|
-
default_executable:
|
|
17
9
|
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
10
|
cert_chain:
|
|
28
11
|
- |
|
|
29
12
|
-----BEGIN CERTIFICATE-----
|
|
@@ -47,9 +30,22 @@ cert_chain:
|
|
|
47
30
|
y3O9DT3o4BiyPe77
|
|
48
31
|
-----END CERTIFICATE-----
|
|
49
32
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
33
|
+
date: 2007-11-30 00:00:00 +01:00
|
|
34
|
+
default_executable:
|
|
35
|
+
dependencies: []
|
|
36
|
+
|
|
37
|
+
description: The goal is to equip Ruby with an API to allow context-oriented programming.
|
|
38
|
+
email: ruby@schmidtwisser.de
|
|
39
|
+
executables: []
|
|
40
|
+
|
|
41
|
+
extensions: []
|
|
42
|
+
|
|
43
|
+
extra_rdoc_files:
|
|
44
|
+
- COPYING.txt
|
|
45
|
+
- History.txt
|
|
46
|
+
- LICENSE.txt
|
|
47
|
+
- Manifest.txt
|
|
48
|
+
- README.txt
|
|
53
49
|
files:
|
|
54
50
|
- COPYING.txt
|
|
55
51
|
- History.txt
|
|
@@ -64,6 +60,7 @@ files:
|
|
|
64
60
|
- lib/contextr/core_ext/module.rb
|
|
65
61
|
- lib/contextr/core_ext/object.rb
|
|
66
62
|
- lib/contextr/event_machine.rb
|
|
63
|
+
- lib/contextr/inner_class.rb
|
|
67
64
|
- lib/contextr/layer.rb
|
|
68
65
|
- lib/contextr/modules/mutex_code.rb
|
|
69
66
|
- lib/contextr/modules/unique_id.rb
|
|
@@ -76,35 +73,62 @@ files:
|
|
|
76
73
|
- spec/contextr_spec.rb
|
|
77
74
|
- spec/spec.opts
|
|
78
75
|
- spec/spec_helper.rb
|
|
76
|
+
- test/lib/example_test.rb
|
|
77
|
+
- test/lib/literate_markaby_test.rb
|
|
78
|
+
- test/lib/literate_maruku_test.rb
|
|
79
|
+
- test/test_class_side.mkd
|
|
79
80
|
- test/test_class_side.rb
|
|
80
81
|
- test/test_contextr.rb
|
|
82
|
+
- test/test_dynamic_scope.mkd
|
|
83
|
+
- test/test_dynamic_scope.rb
|
|
84
|
+
- test/test_dynamics.mkd
|
|
81
85
|
- test/test_dynamics.rb
|
|
86
|
+
- test/test_hello_world.mkd
|
|
87
|
+
- test/test_hello_world.rb
|
|
82
88
|
- test/test_helper.rb
|
|
89
|
+
- test/test_introduction.mkd
|
|
83
90
|
- test/test_introduction.rb
|
|
91
|
+
- test/test_layer_state.mkd
|
|
84
92
|
- test/test_layer_state.rb
|
|
93
|
+
- test/test_meta_api.mkd
|
|
94
|
+
- test/test_meta_api.rb
|
|
95
|
+
- test/test_ordering.mkd
|
|
85
96
|
- test/test_ordering.rb
|
|
97
|
+
has_rdoc: true
|
|
98
|
+
homepage: http://contextr.rubyforge.org
|
|
99
|
+
post_install_message:
|
|
100
|
+
rdoc_options:
|
|
101
|
+
- --main
|
|
102
|
+
- README.txt
|
|
103
|
+
require_paths:
|
|
104
|
+
- lib
|
|
105
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
106
|
+
requirements:
|
|
107
|
+
- - ">="
|
|
108
|
+
- !ruby/object:Gem::Version
|
|
109
|
+
version: "0"
|
|
110
|
+
version:
|
|
111
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
|
+
requirements:
|
|
113
|
+
- - ">="
|
|
114
|
+
- !ruby/object:Gem::Version
|
|
115
|
+
version: "0"
|
|
116
|
+
version:
|
|
117
|
+
requirements: []
|
|
118
|
+
|
|
119
|
+
rubyforge_project: contextr
|
|
120
|
+
rubygems_version: 0.9.5
|
|
121
|
+
signing_key:
|
|
122
|
+
specification_version: 2
|
|
123
|
+
summary: The goal is to equip Ruby with an API to allow context-oriented programming.
|
|
86
124
|
test_files:
|
|
87
125
|
- test/test_class_side.rb
|
|
88
126
|
- test/test_contextr.rb
|
|
127
|
+
- test/test_dynamic_scope.rb
|
|
89
128
|
- test/test_dynamics.rb
|
|
129
|
+
- test/test_hello_world.rb
|
|
90
130
|
- test/test_helper.rb
|
|
91
131
|
- test/test_introduction.rb
|
|
92
132
|
- test/test_layer_state.rb
|
|
133
|
+
- test/test_meta_api.rb
|
|
93
134
|
- test/test_ordering.rb
|
|
94
|
-
rdoc_options:
|
|
95
|
-
- --main
|
|
96
|
-
- README.txt
|
|
97
|
-
extra_rdoc_files:
|
|
98
|
-
- COPYING.txt
|
|
99
|
-
- History.txt
|
|
100
|
-
- LICENSE.txt
|
|
101
|
-
- Manifest.txt
|
|
102
|
-
- README.txt
|
|
103
|
-
executables: []
|
|
104
|
-
|
|
105
|
-
extensions: []
|
|
106
|
-
|
|
107
|
-
requirements: []
|
|
108
|
-
|
|
109
|
-
dependencies: []
|
|
110
|
-
|
metadata.gz.sig
CHANGED
|
Binary file
|