ruby-ext 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/.git/index +0 -0
- data/.git/logs/HEAD +2 -0
- data/.git/logs/refs/heads/master +2 -0
- data/.git/logs/refs/remotes/origin/master +1 -0
- data/.git/objects/22/442fd63bedf426d8039bd36db647f4343a7c0c +0 -0
- data/.git/objects/29/b721d4f9ccdd3e4ed3f58778a0ab9d660fc7b1 +0 -0
- data/.git/objects/37/56676bcca271d513748813326b9d1cb06289b6 +2 -0
- data/.git/objects/4e/0a70ecd04d25a3c9c572224bab6eeae899b238 +0 -0
- data/.git/objects/55/64bf7edfff421a8a139bc630311a999e9187df +2 -0
- data/.git/objects/7b/1a120eb8491f04c4a0d16fe3571dcb57e98ca0 +0 -0
- data/.git/objects/b0/d1bed68f91428a83ef698b448a19d74638bfc5 +0 -0
- data/.git/objects/d7/1e9cc429b430f712bd189869d27ae8bea9508c +0 -0
- data/.git/refs/heads/master +1 -1
- data/.git/refs/remotes/origin/master +1 -1
- data/Rakefile +1 -1
- data/lib/ruby_ext/should.rb +6 -6
- metadata +11 -3
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -14,3 +14,5 @@ ee69f9fad83c5b0668b62622037094e989d3c394 493774d80093f4ec3c6c3bfad21e1c8c9eaf41e
|
|
14
14
|
493774d80093f4ec3c6c3bfad21e1c8c9eaf41ec 09c02be5623fa00484aa07a311112b1e0828f7e9 alex <alex@amac.local> 1265749453 +0300 commit: upd
|
15
15
|
09c02be5623fa00484aa07a311112b1e0828f7e9 edf084d86f4c5aa17fce73a22a44c2dda49c7cab alex <alex@amac.local> 1266000346 +0300 commit: upd
|
16
16
|
edf084d86f4c5aa17fce73a22a44c2dda49c7cab 76d8411ad8aa53f568f378bd48dee0cfbd107a16 alex <alex@amac.local> 1268137348 +0300 commit: upd
|
17
|
+
76d8411ad8aa53f568f378bd48dee0cfbd107a16 5564bf7edfff421a8a139bc630311a999e9187df alex <alex@amac.local> 1268680901 +0300 commit: upd should
|
18
|
+
5564bf7edfff421a8a139bc630311a999e9187df 3756676bcca271d513748813326b9d1cb06289b6 alex <alex@amac.local> 1268706445 +0300 commit: upd
|
data/.git/logs/refs/heads/master
CHANGED
@@ -14,3 +14,5 @@ ee69f9fad83c5b0668b62622037094e989d3c394 493774d80093f4ec3c6c3bfad21e1c8c9eaf41e
|
|
14
14
|
493774d80093f4ec3c6c3bfad21e1c8c9eaf41ec 09c02be5623fa00484aa07a311112b1e0828f7e9 alex <alex@amac.local> 1265749453 +0300 commit: upd
|
15
15
|
09c02be5623fa00484aa07a311112b1e0828f7e9 edf084d86f4c5aa17fce73a22a44c2dda49c7cab alex <alex@amac.local> 1266000346 +0300 commit: upd
|
16
16
|
edf084d86f4c5aa17fce73a22a44c2dda49c7cab 76d8411ad8aa53f568f378bd48dee0cfbd107a16 alex <alex@amac.local> 1268137348 +0300 commit: upd
|
17
|
+
76d8411ad8aa53f568f378bd48dee0cfbd107a16 5564bf7edfff421a8a139bc630311a999e9187df alex <alex@amac.local> 1268680901 +0300 commit: upd should
|
18
|
+
5564bf7edfff421a8a139bc630311a999e9187df 3756676bcca271d513748813326b9d1cb06289b6 alex <alex@amac.local> 1268706445 +0300 commit: upd
|
@@ -13,3 +13,4 @@ ee69f9fad83c5b0668b62622037094e989d3c394 493774d80093f4ec3c6c3bfad21e1c8c9eaf41e
|
|
13
13
|
493774d80093f4ec3c6c3bfad21e1c8c9eaf41ec 09c02be5623fa00484aa07a311112b1e0828f7e9 alex <alex@amac.local> 1265749458 +0300 update by push
|
14
14
|
09c02be5623fa00484aa07a311112b1e0828f7e9 edf084d86f4c5aa17fce73a22a44c2dda49c7cab alex <alex@amac.local> 1266000350 +0300 update by push
|
15
15
|
edf084d86f4c5aa17fce73a22a44c2dda49c7cab 76d8411ad8aa53f568f378bd48dee0cfbd107a16 alex <alex@amac.local> 1268137352 +0300 update by push
|
16
|
+
76d8411ad8aa53f568f378bd48dee0cfbd107a16 3756676bcca271d513748813326b9d1cb06289b6 alex <alex@amac.local> 1268706452 +0300 update by push
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3756676bcca271d513748813326b9d1cb06289b6
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3756676bcca271d513748813326b9d1cb06289b6
|
data/Rakefile
CHANGED
@@ -18,7 +18,7 @@ require 'fileutils'
|
|
18
18
|
|
19
19
|
spec = Gem::Specification.new do |s|
|
20
20
|
s.name = "ruby-ext"
|
21
|
-
s.version = "0.2.
|
21
|
+
s.version = "0.2.7"
|
22
22
|
s.summary = "Set of common Ruby language extensions"
|
23
23
|
s.description = "Set of common Ruby language extensions"
|
24
24
|
s.author = "Alexey Petrushin"
|
data/lib/ruby_ext/should.rb
CHANGED
@@ -4,7 +4,7 @@ Object.class_eval do
|
|
4
4
|
def should_be! method
|
5
5
|
unless self.send("#{method}?") == true
|
6
6
|
raise AssertionError, "
|
7
|
-
ASSERTION FAILED:
|
7
|
+
ASSERTION FAILED (#{caller[0]}):
|
8
8
|
#{self.inspect} should be #{method}
|
9
9
|
", caller
|
10
10
|
end
|
@@ -16,7 +16,7 @@ Object.class_eval do
|
|
16
16
|
def should_not_be! method
|
17
17
|
unless self.send("#{method}?") == false
|
18
18
|
raise AssertionError, "
|
19
|
-
ASSERTION FAILED:
|
19
|
+
ASSERTION FAILED (#{caller[0]}):
|
20
20
|
#{self.inspect} should not be #{method}
|
21
21
|
", caller
|
22
22
|
end
|
@@ -80,12 +80,12 @@ Object.class_eval do
|
|
80
80
|
unless result
|
81
81
|
unless arg.equal? NotDefined
|
82
82
|
raise AssertionError, "
|
83
|
-
ASSERTION FAILED:
|
83
|
+
ASSERTION FAILED (#{caller[0]}):
|
84
84
|
#{self.inspect} should #{cmd} #{arg.inspect}
|
85
85
|
", caller
|
86
86
|
else
|
87
87
|
raise AssertionError, "
|
88
|
-
ASSERTION FAILED:
|
88
|
+
ASSERTION FAILED (#{caller[0]}):
|
89
89
|
#{self.inspect} should #{cmd}
|
90
90
|
", caller
|
91
91
|
end
|
@@ -150,12 +150,12 @@ Object.class_eval do
|
|
150
150
|
if result
|
151
151
|
unless arg.equal? NotDefined
|
152
152
|
raise AssertionError, "
|
153
|
-
ASSERTION FAILED:
|
153
|
+
ASSERTION FAILED (#{caller[0]}):
|
154
154
|
#{self.inspect} should not #{cmd} #{arg.inspect}
|
155
155
|
", caller
|
156
156
|
else
|
157
157
|
raise AssertionError, "
|
158
|
-
ASSERTION FAILED:
|
158
|
+
ASSERTION FAILED (#{caller[0]}):
|
159
159
|
#{self.inspect} should not #{cmd}
|
160
160
|
", caller
|
161
161
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 0.2.
|
8
|
+
- 7
|
9
|
+
version: 0.2.7
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Alexey Petrushin
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-03-
|
17
|
+
date: 2010-03-16 00:00:00 +03:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|
@@ -168,15 +168,18 @@ files:
|
|
168
168
|
- .git/objects/18/fa4a1fd6a6e5293c34c6eebefaff644c553a97
|
169
169
|
- .git/objects/19/342d43c2e91b7bca75f329bf758d69818c827e
|
170
170
|
- .git/objects/20/c2ee1bb9f6749181e464a4ce444092fc1a1ecb
|
171
|
+
- .git/objects/22/442fd63bedf426d8039bd36db647f4343a7c0c
|
171
172
|
- .git/objects/26/4d70a16bbad0c5b3b16fb7a92bcc6178f2cca2
|
172
173
|
- .git/objects/27/eb5694d78540b1a489a1aff5415d4713d5fca9
|
173
174
|
- .git/objects/29/88f150ee1623b97d234b2742b30caad382775b
|
174
175
|
- .git/objects/29/8cb590f97362cc7a326815dac3289a88b69153
|
176
|
+
- .git/objects/29/b721d4f9ccdd3e4ed3f58778a0ab9d660fc7b1
|
175
177
|
- .git/objects/2b/edc3eb69408a817194c28d14fb2dbfed5a21c0
|
176
178
|
- .git/objects/2d/2f0676ef5509c4e7a65dcc3d0fceaa1368ffaa
|
177
179
|
- .git/objects/2e/3e3fc8e46949a9b944da3c36207c444aa2c9b7
|
178
180
|
- .git/objects/2f/74073c8d1580f5a8fc59389b4c1b6d89e4d85f
|
179
181
|
- .git/objects/34/a418e8c4b43510124491ff3be262edd8008043
|
182
|
+
- .git/objects/37/56676bcca271d513748813326b9d1cb06289b6
|
180
183
|
- .git/objects/38/91f271b22f2a1caee6910a34139076e27ade00
|
181
184
|
- .git/objects/38/bf6dbb2520b448e08ac9cb353523bbc72118db
|
182
185
|
- .git/objects/3a/5fe0dc6aaa6e41eb8dd865fa7d7100f4e68ced
|
@@ -185,8 +188,10 @@ files:
|
|
185
188
|
- .git/objects/44/e92f51b4c9a44497c7f170598fae64564052eb
|
186
189
|
- .git/objects/49/3774d80093f4ec3c6c3bfad21e1c8c9eaf41ec
|
187
190
|
- .git/objects/4b/2ac3de91e560277749f749ed47230ef080d36c
|
191
|
+
- .git/objects/4e/0a70ecd04d25a3c9c572224bab6eeae899b238
|
188
192
|
- .git/objects/52/94913c6107b381d1378279e58551fa2be7cecb
|
189
193
|
- .git/objects/54/4fb213faf0c1b4cc459ada84120823d204ae3a
|
194
|
+
- .git/objects/55/64bf7edfff421a8a139bc630311a999e9187df
|
190
195
|
- .git/objects/55/a433dd00ba298006a2fc028964eb0cde7c2e5b
|
191
196
|
- .git/objects/55/f338afb8c82f8cad38b28d0e8cf887f9bda1ce
|
192
197
|
- .git/objects/57/64ef3e607d3570146219cd858a1dd4afb24ea5
|
@@ -215,6 +220,7 @@ files:
|
|
215
220
|
- .git/objects/74/bf8f37d70d9818474e1fb5081f04c496741a28
|
216
221
|
- .git/objects/76/d8411ad8aa53f568f378bd48dee0cfbd107a16
|
217
222
|
- .git/objects/77/141a7a91a61baff283e5f16e55a720d0bc65e0
|
223
|
+
- .git/objects/7b/1a120eb8491f04c4a0d16fe3571dcb57e98ca0
|
218
224
|
- .git/objects/7f/2c583d1fdcc5313140c57778be8b0d45824be9
|
219
225
|
- .git/objects/81/6bb8c35fe2169fa9ecbcd40941c440e5d032e1
|
220
226
|
- .git/objects/81/a5373f6837b02ace55c07cebf4a60fb6d4b084
|
@@ -238,6 +244,7 @@ files:
|
|
238
244
|
- .git/objects/ad/09237b6008fc0ebfb9b8c920490dda8503bfd1
|
239
245
|
- .git/objects/ad/7462077a480cb995d1ad397c3c737644e59887
|
240
246
|
- .git/objects/ad/e1a70e7cf984a2f518d19ef625362d78a5fbd0
|
247
|
+
- .git/objects/b0/d1bed68f91428a83ef698b448a19d74638bfc5
|
241
248
|
- .git/objects/b2/07485e0a3aabbdae649837d2a50b95194a33fa
|
242
249
|
- .git/objects/b4/cbb05893636d6b7314fbc4df7e3a8dcaeb0de1
|
243
250
|
- .git/objects/b6/17a8cc2ae7f6ea496051db493aa56edc178073
|
@@ -255,6 +262,7 @@ files:
|
|
255
262
|
- .git/objects/d0/b6eae8243889753a5a3e9a801b4dd5bcd09d91
|
256
263
|
- .git/objects/d2/366fe2df53e14c3069d23cad37fe21a8f1c129
|
257
264
|
- .git/objects/d4/8b935ca7e38d2434ceb1711544293f4baf8203
|
265
|
+
- .git/objects/d7/1e9cc429b430f712bd189869d27ae8bea9508c
|
258
266
|
- .git/objects/dd/e851a435431f0c03b12f7a9ca6e5dd5ce80617
|
259
267
|
- .git/objects/e0/79f0e8854797974df458de31b88bb8b4b0fdbf
|
260
268
|
- .git/objects/e0/c54997bfab8a0bf135d0de79ddee431b9112ad
|