ruby-ext 0.2.2 → 0.2.3
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/.git/COMMIT_EDITMSG +1 -1
- data/.git/index +0 -0
- data/.git/logs/HEAD +3 -0
- data/.git/logs/refs/heads/master +3 -0
- data/.git/logs/refs/remotes/origin/master +3 -0
- data/.git/objects/3a/5fe0dc6aaa6e41eb8dd865fa7d7100f4e68ced +0 -0
- data/.git/objects/49/3774d80093f4ec3c6c3bfad21e1c8c9eaf41ec +0 -0
- data/.git/objects/52/94913c6107b381d1378279e58551fa2be7cecb +0 -0
- data/.git/objects/57/ab6c10ddf4eff75d98b5770a2c2bf573b692cd +0 -0
- data/.git/objects/61/beeaa4bc6790a469babafbdc7395e9e19dcb5d +0 -0
- data/.git/objects/62/3a67b104c04e24316da21f3e229e1bc2ba9d31 +0 -0
- data/.git/objects/6d/1da4d8a2949a1a9714d5f9979c7ee9613d7cfd +0 -0
- data/.git/objects/7f/2c583d1fdcc5313140c57778be8b0d45824be9 +0 -0
- data/.git/objects/9f/e2acc9bded3dc0d29b1dfc7dc1b3bed5d72c8f +0 -0
- data/.git/objects/e1/3f643da891453763504616e4f5a8195b8ffdb9 +0 -0
- data/.git/objects/ee/69f9fad83c5b0668b62622037094e989d3c394 +0 -0
- data/.git/refs/heads/master +1 -1
- data/.git/refs/remotes/origin/master +1 -1
- data/Rakefile +2 -2
- data/lib/ruby_ext/should.rb +14 -0
- data/old/README +860 -0
- data/old/lib/RubyExt/ClassLoader.rb +142 -0
- data/old/lib/RubyExt/ExtraBlankSlate.rb +14 -0
- data/old/lib/RubyExt/ImportAll.rb +9 -0
- data/old/lib/RubyExt/Localization/Module.rb +12 -0
- data/old/lib/RubyExt/Localization/Object.rb +19 -0
- data/old/lib/RubyExt/Localization/require.rb +3 -0
- data/old/lib/RubyExt/Localization.rb +28 -0
- data/old/lib/RubyExt/Log.config.sample +57 -0
- data/old/lib/RubyExt/Log.rb +59 -0
- data/old/lib/RubyExt/Path.rb +91 -0
- data/old/lib/RubyExt/Resource/file_system_provider.rb +273 -0
- data/old/lib/RubyExt/StateMashine.rb +176 -0
- data/old/lib/RubyExt/array.rb +24 -0
- data/old/lib/RubyExt/class.rb +0 -0
- data/old/lib/RubyExt/debug.rb +71 -0
- data/old/lib/RubyExt/false_class.rb +5 -0
- data/old/lib/RubyExt/kernel.rb +3 -0
- data/old/lib/RubyExt/module.rb +26 -0
- data/old/lib/RubyExt/nil_class.rb +5 -0
- data/old/lib/RubyExt/observable.rb +25 -0
- data/old/lib/RubyExt/require.rb +1 -0
- data/old/lib/RubyExt/require_base.rb +1 -0
- data/old/lib/RubyExt/resource.rb +172 -0
- data/old/lib/RubyExt/true_class.rb +5 -0
- data/old/rakefile +52 -0
- data/old/require.rb +3 -0
- data/old/require_base.rb +3 -0
- data/old/spec/RubyExt/ForClassLoader/ClassA.rb +4 -0
- data/old/spec/RubyExt/ForClassLoader/LoadCount.rb +1 -0
- data/old/spec/RubyExt/ForClassLoader/ModuleA/ClassB.rb +3 -0
- data/old/spec/RubyExt/ForClassLoader/ModuleA/ClassInsideAnonymousClass.rb +3 -0
- data/old/spec/RubyExt/ForClassLoader/ModuleA/InfinityLoop.rb +3 -0
- data/old/spec/RubyExt/ForClassLoader/ModuleA/ModuleB/ClassC.rb +3 -0
- data/old/spec/RubyExt/ForClassLoader/ModuleA/SameName/SomeClass.rb +2 -0
- data/old/spec/RubyExt/ForClassLoader/ModuleA/SameName.rb +2 -0
- data/old/spec/RubyExt/ForClassLoader/Scope/ScopeA1.rb +3 -0
- data/old/spec/RubyExt/ForClassLoader/Scope/ScopeB1.rb +5 -0
- data/old/spec/RubyExt/ForKernel/Raise2.rb +5 -0
- data/old/spec/RubyExt/ForKernel/RaiseWithoutSelf.rb +9 -0
- data/old/spec/RubyExt/ForLocalization/NS/A.rb +3 -0
- data/old/spec/RubyExt/ForLocalization/NS/A.ru.localization.yaml +2 -0
- data/old/spec/RubyExt/ForLocalization/NS/B.rb +22 -0
- data/old/spec/RubyExt/ForLocalization/NS/B.ru.localization.yaml +3 -0
- data/old/spec/RubyExt/ForLocalization/NS.ru.localization.yaml +2 -0
- data/old/spec/RubyExt/ForModule/NS1/A.data +1 -0
- data/old/spec/RubyExt/ForModule/NS1/A.rb +1 -0
- data/old/spec/RubyExt/ForModule/NS1/A2.rb +1 -0
- data/old/spec/RubyExt/ForModule/NS1/B.rb +2 -0
- data/old/spec/RubyExt/ForModule/NS1/B2.rb +1 -0
- data/old/spec/RubyExt/ForModule/NS1.data +1 -0
- data/old/spec/RubyExt/ForModule/NS2/A.data +1 -0
- data/old/spec/RubyExt/ForModule/NS2/A.rb +3 -0
- data/old/spec/RubyExt/ForModule/NS2/B.rb +3 -0
- data/old/spec/RubyExt/ForModule/NS2/M.data +1 -0
- data/old/spec/RubyExt/ForModule/NS2/M.rb +3 -0
- data/old/spec/RubyExt/ForResource/ChangedClass.rb +1 -0
- data/old/spec/RubyExt/ForResource/ChangedClass.res/Text.txt +0 -0
- data/old/spec/RubyExt/ForResource/ChangedClass.txt +0 -0
- data/old/spec/RubyExt/ForResource/ProviderChaining/ProviderABaseDir/ChainTest.rb +3 -0
- data/old/spec/RubyExt/ForResource/ProviderChaining/ProviderABaseDir/ChainTest.resource +1 -0
- data/old/spec/RubyExt/ForResource/ProviderChaining/ProviderABaseDir/ClassExistOnlyInProviderA.rb +3 -0
- data/old/spec/RubyExt/ForResource/ProviderChaining/ProviderBBaseDir/ChainTest.rb +3 -0
- data/old/spec/RubyExt/ForResource/ProviderChaining/ProviderBBaseDir/ChainTest.resource +1 -0
- data/old/spec/RubyExt/ForResource/ResourceExtension.rb +1 -0
- data/old/spec/RubyExt/ForResource/ResourceExtension.res/Data.yaml +2 -0
- data/old/spec/RubyExt/ForResource/ResourceTest/Test.rb +11 -0
- data/old/spec/RubyExt/ForResource/ResourceTest/Test.res/Data.txt +1 -0
- data/old/spec/RubyExt/ForResource/ResourceTest/Test.res/txt +1 -0
- data/old/spec/array_spec.rb +27 -0
- data/old/spec/class_loader_spec.rb +94 -0
- data/old/spec/import_all_spec.rb +21 -0
- data/old/spec/kernel_spec.rb +29 -0
- data/old/spec/localization_spec.rb +49 -0
- data/old/spec/module_spec.rb +14 -0
- data/old/spec/object_spec.rb +8 -0
- data/old/spec/observable_spec.rb +44 -0
- data/old/spec/path_spec.rb +169 -0
- data/old/spec/resource_spec.rb +136 -0
- data/old/spec/state_machine_spec.rb +201 -0
- metadata +93 -2
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-ext
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexey Petrushin
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date:
|
|
12
|
+
date: 2010-02-01 00:00:00 +03:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|
|
@@ -47,6 +47,86 @@ files:
|
|
|
47
47
|
- spec/spec.opts
|
|
48
48
|
- spec/spec_require.rb
|
|
49
49
|
- spec/synchronizer_spec.rb
|
|
50
|
+
- old/lib/RubyExt/array.rb
|
|
51
|
+
- old/lib/RubyExt/class.rb
|
|
52
|
+
- old/lib/RubyExt/ClassLoader.rb
|
|
53
|
+
- old/lib/RubyExt/debug.rb
|
|
54
|
+
- old/lib/RubyExt/ExtraBlankSlate.rb
|
|
55
|
+
- old/lib/RubyExt/false_class.rb
|
|
56
|
+
- old/lib/RubyExt/ImportAll.rb
|
|
57
|
+
- old/lib/RubyExt/kernel.rb
|
|
58
|
+
- old/lib/RubyExt/Localization/Module.rb
|
|
59
|
+
- old/lib/RubyExt/Localization/Object.rb
|
|
60
|
+
- old/lib/RubyExt/Localization/require.rb
|
|
61
|
+
- old/lib/RubyExt/Localization.rb
|
|
62
|
+
- old/lib/RubyExt/Log.config.sample
|
|
63
|
+
- old/lib/RubyExt/Log.rb
|
|
64
|
+
- old/lib/RubyExt/module.rb
|
|
65
|
+
- old/lib/RubyExt/nil_class.rb
|
|
66
|
+
- old/lib/RubyExt/observable.rb
|
|
67
|
+
- old/lib/RubyExt/Path.rb
|
|
68
|
+
- old/lib/RubyExt/require.rb
|
|
69
|
+
- old/lib/RubyExt/require_base.rb
|
|
70
|
+
- old/lib/RubyExt/Resource/file_system_provider.rb
|
|
71
|
+
- old/lib/RubyExt/resource.rb
|
|
72
|
+
- old/lib/RubyExt/StateMashine.rb
|
|
73
|
+
- old/lib/RubyExt/true_class.rb
|
|
74
|
+
- old/rakefile
|
|
75
|
+
- old/README
|
|
76
|
+
- old/require.rb
|
|
77
|
+
- old/require_base.rb
|
|
78
|
+
- old/spec/array_spec.rb
|
|
79
|
+
- old/spec/class_loader_spec.rb
|
|
80
|
+
- old/spec/import_all_spec.rb
|
|
81
|
+
- old/spec/kernel_spec.rb
|
|
82
|
+
- old/spec/localization_spec.rb
|
|
83
|
+
- old/spec/module_spec.rb
|
|
84
|
+
- old/spec/object_spec.rb
|
|
85
|
+
- old/spec/observable_spec.rb
|
|
86
|
+
- old/spec/path_spec.rb
|
|
87
|
+
- old/spec/resource_spec.rb
|
|
88
|
+
- old/spec/RubyExt/ForClassLoader/ClassA.rb
|
|
89
|
+
- old/spec/RubyExt/ForClassLoader/LoadCount.rb
|
|
90
|
+
- old/spec/RubyExt/ForClassLoader/ModuleA/ClassB.rb
|
|
91
|
+
- old/spec/RubyExt/ForClassLoader/ModuleA/ClassInsideAnonymousClass.rb
|
|
92
|
+
- old/spec/RubyExt/ForClassLoader/ModuleA/InfinityLoop.rb
|
|
93
|
+
- old/spec/RubyExt/ForClassLoader/ModuleA/ModuleB/ClassC.rb
|
|
94
|
+
- old/spec/RubyExt/ForClassLoader/ModuleA/SameName/SomeClass.rb
|
|
95
|
+
- old/spec/RubyExt/ForClassLoader/ModuleA/SameName.rb
|
|
96
|
+
- old/spec/RubyExt/ForClassLoader/Scope/ScopeA1.rb
|
|
97
|
+
- old/spec/RubyExt/ForClassLoader/Scope/ScopeB1.rb
|
|
98
|
+
- old/spec/RubyExt/ForKernel/Raise2.rb
|
|
99
|
+
- old/spec/RubyExt/ForKernel/RaiseWithoutSelf.rb
|
|
100
|
+
- old/spec/RubyExt/ForLocalization/NS/A.rb
|
|
101
|
+
- old/spec/RubyExt/ForLocalization/NS/A.ru.localization.yaml
|
|
102
|
+
- old/spec/RubyExt/ForLocalization/NS/B.rb
|
|
103
|
+
- old/spec/RubyExt/ForLocalization/NS/B.ru.localization.yaml
|
|
104
|
+
- old/spec/RubyExt/ForLocalization/NS.ru.localization.yaml
|
|
105
|
+
- old/spec/RubyExt/ForModule/NS1/A.data
|
|
106
|
+
- old/spec/RubyExt/ForModule/NS1/A.rb
|
|
107
|
+
- old/spec/RubyExt/ForModule/NS1/A2.rb
|
|
108
|
+
- old/spec/RubyExt/ForModule/NS1/B.rb
|
|
109
|
+
- old/spec/RubyExt/ForModule/NS1/B2.rb
|
|
110
|
+
- old/spec/RubyExt/ForModule/NS1.data
|
|
111
|
+
- old/spec/RubyExt/ForModule/NS2/A.data
|
|
112
|
+
- old/spec/RubyExt/ForModule/NS2/A.rb
|
|
113
|
+
- old/spec/RubyExt/ForModule/NS2/B.rb
|
|
114
|
+
- old/spec/RubyExt/ForModule/NS2/M.data
|
|
115
|
+
- old/spec/RubyExt/ForModule/NS2/M.rb
|
|
116
|
+
- old/spec/RubyExt/ForResource/ChangedClass.rb
|
|
117
|
+
- old/spec/RubyExt/ForResource/ChangedClass.res/Text.txt
|
|
118
|
+
- old/spec/RubyExt/ForResource/ChangedClass.txt
|
|
119
|
+
- old/spec/RubyExt/ForResource/ProviderChaining/ProviderABaseDir/ChainTest.rb
|
|
120
|
+
- old/spec/RubyExt/ForResource/ProviderChaining/ProviderABaseDir/ChainTest.resource
|
|
121
|
+
- old/spec/RubyExt/ForResource/ProviderChaining/ProviderABaseDir/ClassExistOnlyInProviderA.rb
|
|
122
|
+
- old/spec/RubyExt/ForResource/ProviderChaining/ProviderBBaseDir/ChainTest.rb
|
|
123
|
+
- old/spec/RubyExt/ForResource/ProviderChaining/ProviderBBaseDir/ChainTest.resource
|
|
124
|
+
- old/spec/RubyExt/ForResource/ResourceExtension.rb
|
|
125
|
+
- old/spec/RubyExt/ForResource/ResourceExtension.res/Data.yaml
|
|
126
|
+
- old/spec/RubyExt/ForResource/ResourceTest/Test.rb
|
|
127
|
+
- old/spec/RubyExt/ForResource/ResourceTest/Test.res/Data.txt
|
|
128
|
+
- old/spec/RubyExt/ForResource/ResourceTest/Test.res/txt
|
|
129
|
+
- old/spec/state_machine_spec.rb
|
|
50
130
|
- .git/COMMIT_EDITMSG
|
|
51
131
|
- .git/config
|
|
52
132
|
- .git/description
|
|
@@ -90,13 +170,17 @@ files:
|
|
|
90
170
|
- .git/objects/34/a418e8c4b43510124491ff3be262edd8008043
|
|
91
171
|
- .git/objects/38/91f271b22f2a1caee6910a34139076e27ade00
|
|
92
172
|
- .git/objects/38/bf6dbb2520b448e08ac9cb353523bbc72118db
|
|
173
|
+
- .git/objects/3a/5fe0dc6aaa6e41eb8dd865fa7d7100f4e68ced
|
|
93
174
|
- .git/objects/44/73d59f32a2806eca098ba6bf10cdc2e6453542
|
|
94
175
|
- .git/objects/44/e92f51b4c9a44497c7f170598fae64564052eb
|
|
176
|
+
- .git/objects/49/3774d80093f4ec3c6c3bfad21e1c8c9eaf41ec
|
|
95
177
|
- .git/objects/4b/2ac3de91e560277749f749ed47230ef080d36c
|
|
178
|
+
- .git/objects/52/94913c6107b381d1378279e58551fa2be7cecb
|
|
96
179
|
- .git/objects/54/4fb213faf0c1b4cc459ada84120823d204ae3a
|
|
97
180
|
- .git/objects/55/a433dd00ba298006a2fc028964eb0cde7c2e5b
|
|
98
181
|
- .git/objects/55/f338afb8c82f8cad38b28d0e8cf887f9bda1ce
|
|
99
182
|
- .git/objects/57/64ef3e607d3570146219cd858a1dd4afb24ea5
|
|
183
|
+
- .git/objects/57/ab6c10ddf4eff75d98b5770a2c2bf573b692cd
|
|
100
184
|
- .git/objects/57/cf2479bb9c6e31118c42c5cceaffada1862c72
|
|
101
185
|
- .git/objects/59/60bdbdc3be504b89371c2b4b09d22754251260
|
|
102
186
|
- .git/objects/59/653cefe5b174e4a7002100f024448cdb337373
|
|
@@ -105,14 +189,18 @@ files:
|
|
|
105
189
|
- .git/objects/5d/281b39340e5d448c63c8f439c9ca4035ccaf66
|
|
106
190
|
- .git/objects/5d/37379f1b929c7b82f96382fc256895a50e97fd
|
|
107
191
|
- .git/objects/60/a681e873ca0ae0b7da3f37dbc5701f6e42b970
|
|
192
|
+
- .git/objects/61/beeaa4bc6790a469babafbdc7395e9e19dcb5d
|
|
108
193
|
- .git/objects/61/d4509b8fc63e53b8e5d417ace33919e8a7a8f2
|
|
194
|
+
- .git/objects/62/3a67b104c04e24316da21f3e229e1bc2ba9d31
|
|
109
195
|
- .git/objects/6a/0946485381787f48e60893549eac156d1f057c
|
|
110
196
|
- .git/objects/6b/dcac704e4f8abe1928e8f3f5d9b7e17e4992de
|
|
111
197
|
- .git/objects/6b/e43d64c6aeffd7ac08701e1ee93865248683cf
|
|
112
198
|
- .git/objects/6c/18afba63861887fb7ac53fee1b24c181b2a8e4
|
|
199
|
+
- .git/objects/6d/1da4d8a2949a1a9714d5f9979c7ee9613d7cfd
|
|
113
200
|
- .git/objects/70/222d828221b1884b6b8ce124b7f22eea5d420d
|
|
114
201
|
- .git/objects/74/bf8f37d70d9818474e1fb5081f04c496741a28
|
|
115
202
|
- .git/objects/77/141a7a91a61baff283e5f16e55a720d0bc65e0
|
|
203
|
+
- .git/objects/7f/2c583d1fdcc5313140c57778be8b0d45824be9
|
|
116
204
|
- .git/objects/81/6bb8c35fe2169fa9ecbcd40941c440e5d032e1
|
|
117
205
|
- .git/objects/81/a5373f6837b02ace55c07cebf4a60fb6d4b084
|
|
118
206
|
- .git/objects/82/8cab0a228a826cb346b6cf4ffffac84c674e4b
|
|
@@ -123,6 +211,7 @@ files:
|
|
|
123
211
|
- .git/objects/9c/d9497bad03afd65531dda2695719b3593e02b6
|
|
124
212
|
- .git/objects/9e/a37d9fc7e1ad1504b50da2a1ec639c523fb8b7
|
|
125
213
|
- .git/objects/9f/9a4ebb6d3b4f75ebebc57119b2cf61606d4685
|
|
214
|
+
- .git/objects/9f/e2acc9bded3dc0d29b1dfc7dc1b3bed5d72c8f
|
|
126
215
|
- .git/objects/a4/ab487fcb12cfb831b09c525544f52d60a98598
|
|
127
216
|
- .git/objects/a4/d0f078375c5b39cee3083ad428912698777c7b
|
|
128
217
|
- .git/objects/a9/2112f979b22837fa6d3d39829eff7c3fd34947
|
|
@@ -144,8 +233,10 @@ files:
|
|
|
144
233
|
- .git/objects/dd/e851a435431f0c03b12f7a9ca6e5dd5ce80617
|
|
145
234
|
- .git/objects/e0/79f0e8854797974df458de31b88bb8b4b0fdbf
|
|
146
235
|
- .git/objects/e0/c54997bfab8a0bf135d0de79ddee431b9112ad
|
|
236
|
+
- .git/objects/e1/3f643da891453763504616e4f5a8195b8ffdb9
|
|
147
237
|
- .git/objects/e9/03ba4c283cd16c7291500d4f80da24c8f5f4df
|
|
148
238
|
- .git/objects/e9/d385c1913656b7ce15a1ac1424361d2e065a6c
|
|
239
|
+
- .git/objects/ee/69f9fad83c5b0668b62622037094e989d3c394
|
|
149
240
|
- .git/objects/f0/c37cf78e53e6f859111f35d9dbf52cbfbc633d
|
|
150
241
|
- .git/objects/f0/f0c35fd385e1ac016e6d3f7d72ea188c578b77
|
|
151
242
|
- .git/objects/f1/2346269ed5287267f0271f57546291c013b318
|