RubyExt 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README +846 -0
- data/lib/RubyExt/Cache.rb +101 -0
- data/lib/RubyExt/Cache.res/multiple_version_with_args.txt +12 -0
- data/lib/RubyExt/Cache.res/multiple_version_without_args.txt +11 -0
- data/lib/RubyExt/Cache.res/single_version_with_args.txt +11 -0
- data/lib/RubyExt/Cache.res/single_version_without_args.txt +10 -0
- data/lib/RubyExt/ClassLoader.rb +142 -0
- data/lib/RubyExt/Debug.rb +24 -0
- data/lib/RubyExt/ExtraBlankSlate.rb +14 -0
- data/lib/RubyExt/ImportAll.rb +9 -0
- data/lib/RubyExt/Localization/Module.rb +12 -0
- data/lib/RubyExt/Localization/Object.rb +19 -0
- data/lib/RubyExt/Localization/require.rb +3 -0
- data/lib/RubyExt/Localization.rb +28 -0
- data/lib/RubyExt/Log.config.sample +57 -0
- data/lib/RubyExt/Log.rb +59 -0
- data/lib/RubyExt/OpenConstructor.rb +51 -0
- data/lib/RubyExt/Path.rb +91 -0
- data/lib/RubyExt/Resource/file_system_provider.rb +244 -0
- data/lib/RubyExt/StateMashine.rb +176 -0
- data/lib/RubyExt/Synchronizer.rb +29 -0
- data/lib/RubyExt/array.rb +24 -0
- data/lib/RubyExt/assert.rb +111 -0
- data/lib/RubyExt/class.rb +0 -0
- data/lib/RubyExt/debug.rb +71 -0
- data/lib/RubyExt/false_class.rb +5 -0
- data/lib/RubyExt/file.rb +23 -0
- data/lib/RubyExt/ideas.txt +17 -0
- data/lib/RubyExt/kernel.rb +61 -0
- data/lib/RubyExt/module.rb +102 -0
- data/lib/RubyExt/nil_class.rb +5 -0
- data/lib/RubyExt/object.rb +7 -0
- data/lib/RubyExt/observable.rb +25 -0
- data/lib/RubyExt/require.rb +56 -0
- data/lib/RubyExt/require_base.rb +35 -0
- data/lib/RubyExt/resource.rb +198 -0
- data/lib/RubyExt/string.rb +21 -0
- data/lib/RubyExt/symbol.rb +21 -0
- data/lib/RubyExt/true_class +0 -0
- data/lib/RubyExt/true_class.rb +5 -0
- data/rakefile +49 -0
- data/spec/RubyExt/ForClassLoader/ClassA.rb +4 -0
- data/spec/RubyExt/ForClassLoader/LoadCount.rb +1 -0
- data/spec/RubyExt/ForClassLoader/ModuleA/ClassB.rb +3 -0
- data/spec/RubyExt/ForClassLoader/ModuleA/ClassInsideAnonymousClass.rb +3 -0
- data/spec/RubyExt/ForClassLoader/ModuleA/InfinityLoop.rb +3 -0
- data/spec/RubyExt/ForClassLoader/ModuleA/ModuleB/ClassC.rb +3 -0
- data/spec/RubyExt/ForClassLoader/ModuleA/SameName/SomeClass.rb +2 -0
- data/spec/RubyExt/ForClassLoader/ModuleA/SameName.rb +2 -0
- data/spec/RubyExt/ForClassLoader/Scope/ScopeA1.rb +3 -0
- data/spec/RubyExt/ForClassLoader/Scope/ScopeB1.rb +5 -0
- data/spec/RubyExt/ForKernel/Raise2.rb +5 -0
- data/spec/RubyExt/ForKernel/RaiseWithoutSelf.rb +9 -0
- data/spec/RubyExt/ForLocalization/NS/A.rb +3 -0
- data/spec/RubyExt/ForLocalization/NS/A.ru.localization.yaml +2 -0
- data/spec/RubyExt/ForLocalization/NS/B.rb +22 -0
- data/spec/RubyExt/ForLocalization/NS/B.ru.localization.yaml +3 -0
- data/spec/RubyExt/ForLocalization/NS.ru.localization.yaml +2 -0
- data/spec/RubyExt/ForModule/NS1/A.data +1 -0
- data/spec/RubyExt/ForModule/NS1/A.rb +1 -0
- data/spec/RubyExt/ForModule/NS1/A2.rb +1 -0
- data/spec/RubyExt/ForModule/NS1/B.rb +2 -0
- data/spec/RubyExt/ForModule/NS1/B2.rb +1 -0
- data/spec/RubyExt/ForModule/NS1.data +1 -0
- data/spec/RubyExt/ForModule/NS2/A.data +1 -0
- data/spec/RubyExt/ForModule/NS2/A.rb +3 -0
- data/spec/RubyExt/ForModule/NS2/B.rb +3 -0
- data/spec/RubyExt/ForModule/NS2/M.data +1 -0
- data/spec/RubyExt/ForModule/NS2/M.rb +3 -0
- data/spec/RubyExt/ForResource/ChangedClass.rb +1 -0
- data/spec/RubyExt/ForResource/ChangedClass.res/Text.txt +0 -0
- data/spec/RubyExt/ForResource/ChangedClass.txt +0 -0
- data/spec/RubyExt/ForResource/ProviderChaining/ProviderABaseDir/ChainTest.rb +3 -0
- data/spec/RubyExt/ForResource/ProviderChaining/ProviderABaseDir/ChainTest.resource +1 -0
- data/spec/RubyExt/ForResource/ProviderChaining/ProviderABaseDir/ClassExistOnlyInProviderA.rb +3 -0
- data/spec/RubyExt/ForResource/ProviderChaining/ProviderBBaseDir/ChainTest.rb +3 -0
- data/spec/RubyExt/ForResource/ProviderChaining/ProviderBBaseDir/ChainTest.resource +1 -0
- data/spec/RubyExt/ForResource/ResourceExtension.rb +1 -0
- data/spec/RubyExt/ForResource/ResourceExtension.res/Data.yaml +2 -0
- data/spec/RubyExt/ForResource/ResourceTest/Test.rb +1 -0
- data/spec/RubyExt/ForResource/ResourceTest/Test.res/Data.txt +1 -0
- data/spec/RubyExt/ForResource/ResourceTest/Test.res/txt +1 -0
- data/spec/array_spec.rb +27 -0
- data/spec/assert_spec.rb +18 -0
- data/spec/cache_spec.rb +95 -0
- data/spec/class_loader_spec.rb +94 -0
- data/spec/import_all_spec.rb +21 -0
- data/spec/kernel_spec.rb +38 -0
- data/spec/localization_spec.rb +49 -0
- data/spec/module_spec.rb +135 -0
- data/spec/object_spec.rb +8 -0
- data/spec/observable_spec.rb +44 -0
- data/spec/open_constructor_spec.rb +38 -0
- data/spec/path_spec.rb +169 -0
- data/spec/resource_spec.rb +135 -0
- data/spec/state_machine_spec.rb +201 -0
- data/spec/synchronizer_spec.rb +66 -0
- metadata +130 -10
- data/lib/RubyExt.rb +0 -1
- data/lib/hello_gem.rb +0 -5
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: RubyExt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey Petrushin
|
@@ -9,22 +9,142 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-06-
|
12
|
+
date: 2009-06-12 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
16
|
-
description:
|
16
|
+
description: A set of Ruby language extensions, mainly for ActivePoint Project
|
17
17
|
email:
|
18
18
|
executables: []
|
19
19
|
|
20
20
|
extensions: []
|
21
21
|
|
22
|
-
extra_rdoc_files:
|
23
|
-
|
22
|
+
extra_rdoc_files:
|
23
|
+
- README
|
24
24
|
files:
|
25
|
-
-
|
26
|
-
-
|
27
|
-
|
25
|
+
- rakefile
|
26
|
+
- README
|
27
|
+
- lib/RubyExt
|
28
|
+
- lib/RubyExt/Localization.rb
|
29
|
+
- lib/RubyExt/true_class.rb
|
30
|
+
- lib/RubyExt/array.rb
|
31
|
+
- lib/RubyExt/object.rb
|
32
|
+
- lib/RubyExt/file.rb
|
33
|
+
- lib/RubyExt/Resource
|
34
|
+
- lib/RubyExt/Resource/file_system_provider.rb
|
35
|
+
- lib/RubyExt/require.rb
|
36
|
+
- lib/RubyExt/resource.rb
|
37
|
+
- lib/RubyExt/Localization
|
38
|
+
- lib/RubyExt/Localization/require.rb
|
39
|
+
- lib/RubyExt/Localization/Object.rb
|
40
|
+
- lib/RubyExt/Localization/Module.rb
|
41
|
+
- lib/RubyExt/module.rb
|
42
|
+
- lib/RubyExt/Synchronizer.rb
|
43
|
+
- lib/RubyExt/kernel.rb
|
44
|
+
- lib/RubyExt/debug.rb
|
45
|
+
- lib/RubyExt/class.rb
|
46
|
+
- lib/RubyExt/ExtraBlankSlate.rb
|
47
|
+
- lib/RubyExt/observable.rb
|
48
|
+
- lib/RubyExt/Cache.res
|
49
|
+
- lib/RubyExt/Cache.res/single_version_with_args.txt
|
50
|
+
- lib/RubyExt/Cache.res/multiple_version_without_args.txt
|
51
|
+
- lib/RubyExt/Cache.res/multiple_version_with_args.txt
|
52
|
+
- lib/RubyExt/Cache.res/single_version_without_args.txt
|
53
|
+
- lib/RubyExt/ClassLoader.rb
|
54
|
+
- lib/RubyExt/Log.config.sample
|
55
|
+
- lib/RubyExt/string.rb
|
56
|
+
- lib/RubyExt/ForResource
|
57
|
+
- lib/RubyExt/Cache.rb
|
58
|
+
- lib/RubyExt/OpenConstructor.rb
|
59
|
+
- lib/RubyExt/nil_class.rb
|
60
|
+
- lib/RubyExt/ImportAll.rb
|
61
|
+
- lib/RubyExt/true_class
|
62
|
+
- lib/RubyExt/ideas.txt
|
63
|
+
- lib/RubyExt/StateMashine.rb
|
64
|
+
- lib/RubyExt/false_class.rb
|
65
|
+
- lib/RubyExt/require_base.rb
|
66
|
+
- lib/RubyExt/Debug.rb
|
67
|
+
- lib/RubyExt/Path.rb
|
68
|
+
- lib/RubyExt/Log.rb
|
69
|
+
- lib/RubyExt/assert.rb
|
70
|
+
- lib/RubyExt/symbol.rb
|
71
|
+
- spec/array_spec.rb
|
72
|
+
- spec/open_constructor_spec.rb
|
73
|
+
- spec/class_loader_spec.rb
|
74
|
+
- spec/object_spec.rb
|
75
|
+
- spec/state_machine_spec.rb
|
76
|
+
- spec/observable_spec.rb
|
77
|
+
- spec/kernel_spec.rb
|
78
|
+
- spec/RubyExt
|
79
|
+
- spec/RubyExt/ForLocalization
|
80
|
+
- spec/RubyExt/ForLocalization/NS.ru.localization.yaml
|
81
|
+
- spec/RubyExt/ForLocalization/NS
|
82
|
+
- spec/RubyExt/ForLocalization/NS/B.rb
|
83
|
+
- spec/RubyExt/ForLocalization/NS/B.ru.localization.yaml
|
84
|
+
- spec/RubyExt/ForLocalization/NS/A.ru.localization.yaml
|
85
|
+
- spec/RubyExt/ForLocalization/NS/A.rb
|
86
|
+
- spec/RubyExt/ForResource
|
87
|
+
- spec/RubyExt/ForResource/ProviderChaining
|
88
|
+
- spec/RubyExt/ForResource/ProviderChaining/ProviderABaseDir
|
89
|
+
- spec/RubyExt/ForResource/ProviderChaining/ProviderABaseDir/ChainTest.rb
|
90
|
+
- spec/RubyExt/ForResource/ProviderChaining/ProviderABaseDir/ChainTest.resource
|
91
|
+
- spec/RubyExt/ForResource/ProviderChaining/ProviderABaseDir/ClassExistOnlyInProviderA.rb
|
92
|
+
- spec/RubyExt/ForResource/ProviderChaining/ProviderBBaseDir
|
93
|
+
- spec/RubyExt/ForResource/ProviderChaining/ProviderBBaseDir/ChainTest.rb
|
94
|
+
- spec/RubyExt/ForResource/ProviderChaining/ProviderBBaseDir/ChainTest.resource
|
95
|
+
- spec/RubyExt/ForResource/ResourceExtension.res
|
96
|
+
- spec/RubyExt/ForResource/ResourceExtension.res/Data.yaml
|
97
|
+
- spec/RubyExt/ForResource/ChangedClass.res
|
98
|
+
- spec/RubyExt/ForResource/ChangedClass.res/Text.txt
|
99
|
+
- spec/RubyExt/ForResource/ChangedClass.txt
|
100
|
+
- spec/RubyExt/ForResource/ResourceExtension.rb
|
101
|
+
- spec/RubyExt/ForResource/ResourceTest
|
102
|
+
- spec/RubyExt/ForResource/ResourceTest/Test.rb
|
103
|
+
- spec/RubyExt/ForResource/ResourceTest/Test.res
|
104
|
+
- spec/RubyExt/ForResource/ResourceTest/Test.res/txt
|
105
|
+
- spec/RubyExt/ForResource/ResourceTest/Test.res/Data.txt
|
106
|
+
- spec/RubyExt/ForResource/ChangedClass.rb
|
107
|
+
- spec/RubyExt/ForClassLoader
|
108
|
+
- spec/RubyExt/ForClassLoader/ModuleA
|
109
|
+
- spec/RubyExt/ForClassLoader/ModuleA/InfinityLoop.rb
|
110
|
+
- spec/RubyExt/ForClassLoader/ModuleA/SameName.rb
|
111
|
+
- spec/RubyExt/ForClassLoader/ModuleA/ModuleB
|
112
|
+
- spec/RubyExt/ForClassLoader/ModuleA/ModuleB/ClassC.rb
|
113
|
+
- spec/RubyExt/ForClassLoader/ModuleA/SameName
|
114
|
+
- spec/RubyExt/ForClassLoader/ModuleA/SameName/SomeClass.rb
|
115
|
+
- spec/RubyExt/ForClassLoader/ModuleA/ClassInsideAnonymousClass.rb
|
116
|
+
- spec/RubyExt/ForClassLoader/ModuleA/ClassB.rb
|
117
|
+
- spec/RubyExt/ForClassLoader/Scope
|
118
|
+
- spec/RubyExt/ForClassLoader/Scope/ScopeB1.rb
|
119
|
+
- spec/RubyExt/ForClassLoader/Scope/ScopeA1.rb
|
120
|
+
- spec/RubyExt/ForClassLoader/LoadCount.rb
|
121
|
+
- spec/RubyExt/ForClassLoader/ClassA.rb
|
122
|
+
- spec/RubyExt/ForModule
|
123
|
+
- spec/RubyExt/ForModule/NS1
|
124
|
+
- spec/RubyExt/ForModule/NS1/B2.rb
|
125
|
+
- spec/RubyExt/ForModule/NS1/B.rb
|
126
|
+
- spec/RubyExt/ForModule/NS1/A2.rb
|
127
|
+
- spec/RubyExt/ForModule/NS1/A.data
|
128
|
+
- spec/RubyExt/ForModule/NS1/A.rb
|
129
|
+
- spec/RubyExt/ForModule/NS1.data
|
130
|
+
- spec/RubyExt/ForModule/NS2
|
131
|
+
- spec/RubyExt/ForModule/NS2/B.rb
|
132
|
+
- spec/RubyExt/ForModule/NS2/M.rb
|
133
|
+
- spec/RubyExt/ForModule/NS2/A.data
|
134
|
+
- spec/RubyExt/ForModule/NS2/M.data
|
135
|
+
- spec/RubyExt/ForModule/NS2/A.rb
|
136
|
+
- spec/RubyExt/ForKernel
|
137
|
+
- spec/RubyExt/ForKernel/RaiseWithoutSelf.rb
|
138
|
+
- spec/RubyExt/ForKernel/Raise2.rb
|
139
|
+
- spec/import_all_spec.rb
|
140
|
+
- spec/module_spec.rb
|
141
|
+
- spec/assert_spec.rb
|
142
|
+
- spec/resource_spec.rb
|
143
|
+
- spec/cache_spec.rb
|
144
|
+
- spec/synchronizer_spec.rb
|
145
|
+
- spec/localization_spec.rb
|
146
|
+
- spec/path_spec.rb
|
147
|
+
has_rdoc: true
|
28
148
|
homepage: http://www.bos-tec.com
|
29
149
|
post_install_message:
|
30
150
|
rdoc_options: []
|
@@ -45,10 +165,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
45
165
|
version:
|
46
166
|
requirements: []
|
47
167
|
|
48
|
-
rubyforge_project:
|
168
|
+
rubyforge_project: RubyExt
|
49
169
|
rubygems_version: 1.3.1
|
50
170
|
signing_key:
|
51
171
|
specification_version: 2
|
52
|
-
summary:
|
172
|
+
summary: A set of Ruby language extensions, mainly for ActivePoint Project
|
53
173
|
test_files: []
|
54
174
|
|
data/lib/RubyExt.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require File.dirname(__FILE__) + "/hello_gem.rb"
|