zucker 1 → 2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +14 -0
- data/Rakefile +14 -4
- data/lib/zucker.rb +0 -4
- data/lib/zucker/2/D.rb +19 -0
- data/lib/zucker/2/aliases.rb +28 -0
- data/lib/zucker/2/all.rb +6 -0
- data/lib/zucker/2/array.rb +17 -0
- data/lib/zucker/2/array2proc.rb +16 -0
- data/lib/zucker/2/binding.rb +25 -0
- data/lib/zucker/2/blank.rb +26 -0
- data/lib/zucker/2/class2proc.rb +10 -0
- data/lib/zucker/2/debug.rb +4 -0
- data/lib/zucker/2/default.rb +25 -0
- data/lib/zucker/2/desc/D.yaml +23 -0
- data/lib/zucker/2/desc/aliases.yaml +16 -0
- data/lib/zucker/2/desc/array.yaml +14 -0
- data/lib/zucker/2/desc/array2proc.yaml +17 -0
- data/lib/zucker/2/desc/binding.yaml +10 -0
- data/lib/zucker/2/desc/blank.yaml +10 -0
- data/lib/zucker/2/desc/class2proc.yaml +12 -0
- data/lib/zucker/2/desc/egonil.yaml +17 -0
- data/lib/zucker/2/desc/enumerable.yaml +11 -0
- data/lib/zucker/2/desc/hash.yaml +14 -0
- data/lib/zucker/2/desc/hash2proc.yaml +11 -0
- data/lib/zucker/2/desc/info.yaml +12 -0
- data/lib/zucker/2/desc/iterate.yaml +17 -0
- data/lib/zucker/2/desc/ivars.yaml +20 -0
- data/lib/zucker/2/desc/kernel.yaml +13 -0
- data/lib/zucker/2/desc/mcopy.yaml +12 -0
- data/lib/zucker/2/desc/mm.yaml +12 -0
- data/lib/zucker/2/desc/regexp2proc.yaml +13 -0
- data/lib/zucker/2/desc/sandbox.yaml +19 -0
- data/lib/zucker/2/desc/square_brackets_for.yaml +23 -0
- data/lib/zucker/2/desc/string.yaml +13 -0
- data/lib/zucker/2/desc/unary.yaml +15 -0
- data/lib/zucker/2/desc/union.yaml +11 -0
- data/lib/zucker/2/doc/zucker_doc.html +1494 -0
- data/lib/zucker/2/doc/zucker_doc.rb +498 -0
- data/lib/zucker/2/egonil.rb +14 -0
- data/lib/zucker/2/enumerable.rb +12 -0
- data/lib/zucker/2/hash.rb +19 -0
- data/lib/zucker/2/hash2proc.rb +14 -0
- data/lib/zucker/2/info.rb +164 -0
- data/lib/zucker/2/iterate.rb +23 -0
- data/lib/zucker/2/ivars.rb +26 -0
- data/lib/zucker/2/kernel.rb +18 -0
- data/lib/zucker/2/mcopy.rb +9 -0
- data/lib/zucker/2/mm.rb +31 -0
- data/lib/zucker/2/regexp2proc.rb +10 -0
- data/lib/zucker/2/sandbox.rb +19 -0
- data/lib/zucker/2/spec/D_spec.rb +35 -0
- data/lib/zucker/2/spec/aliases_spec.rb +13 -0
- data/lib/zucker/2/spec/array2proc_spec.rb +12 -0
- data/lib/zucker/2/spec/array_spec.rb +23 -0
- data/lib/zucker/2/spec/binding_spec.rb +8 -0
- data/lib/zucker/2/spec/blank_spec.rb +20 -0
- data/lib/zucker/2/spec/class2proc_spec.rb +9 -0
- data/lib/zucker/2/spec/egonil_spec.rb +30 -0
- data/lib/zucker/2/spec/enumerable_spec.rb +8 -0
- data/lib/zucker/2/spec/hash2proc_spec.rb +12 -0
- data/lib/zucker/2/spec/hash_spec.rb +17 -0
- data/lib/zucker/2/spec/info_spec.rb +8 -0
- data/lib/zucker/2/spec/iterate_spec.rb +54 -0
- data/lib/zucker/2/spec/ivars_spec.rb +20 -0
- data/lib/zucker/2/spec/kernel_spec.rb +28 -0
- data/lib/zucker/2/spec/mcopy_spec.rb +13 -0
- data/lib/zucker/2/spec/mm_spec.rb +8 -0
- data/lib/zucker/2/spec/regexp2proc_spec.rb +9 -0
- data/lib/zucker/2/spec/sandbox_spec.rb +26 -0
- data/lib/zucker/2/spec/spec_helper.rb +18 -0
- data/lib/zucker/2/spec/square_brackets_for_spec.rb +59 -0
- data/lib/zucker/2/spec/string_spec.rb +29 -0
- data/lib/zucker/2/spec/unary_spec.rb +26 -0
- data/lib/zucker/2/spec/union_spec.rb +15 -0
- data/lib/zucker/2/square_brackets_for.rb +20 -0
- data/lib/zucker/2/string.rb +25 -0
- data/lib/zucker/2/unary.rb +22 -0
- data/lib/zucker/2/union.rb +14 -0
- data/lib/zucker/all.rb +2 -2
- data/lib/zucker/array2proc.rb +7 -1
- data/lib/zucker/debug.rb +3 -3
- data/lib/zucker/default.rb +1 -1
- data/lib/zucker/desc/D.yaml +1 -1
- data/lib/zucker/desc/array.yaml +1 -1
- data/lib/zucker/desc/array2proc.yaml +5 -1
- data/lib/zucker/desc/binding.yaml +2 -2
- data/lib/zucker/desc/blank.yaml +1 -3
- data/lib/zucker/desc/egonil.yaml +1 -1
- data/lib/zucker/desc/enumerable.yaml +1 -1
- data/lib/zucker/desc/hash.yaml +4 -2
- data/lib/zucker/desc/info.yaml +12 -0
- data/lib/zucker/desc/kernel.yaml +2 -2
- data/lib/zucker/desc/mm.yaml +3 -3
- data/lib/zucker/desc/regexp2proc.yaml +1 -1
- data/lib/zucker/desc/sandbox.yaml +6 -1
- data/lib/zucker/desc/string.yaml +1 -1
- data/lib/zucker/desc/unary.yaml +2 -2
- data/lib/zucker/desc/union.yaml +1 -1
- data/lib/zucker/doc/zucker_doc.html +441 -233
- data/lib/zucker/doc/zucker_doc.rb +32 -27
- data/lib/zucker/hash.rb +3 -3
- data/lib/zucker/info.rb +164 -0
- data/lib/zucker/ivars.rb +1 -1
- data/lib/zucker/kernel.rb +2 -4
- data/lib/zucker/sandbox.rb +7 -3
- data/lib/zucker/spec/D_spec.rb +15 -7
- data/lib/zucker/spec/aliases_spec.rb +3 -24
- data/lib/zucker/spec/array2proc_spec.rb +5 -1
- data/lib/zucker/spec/array_spec.rb +1 -1
- data/lib/zucker/spec/binding_spec.rb +4 -2
- data/lib/zucker/spec/blank_spec.rb +1 -1
- data/lib/zucker/spec/class2proc_spec.rb +1 -1
- data/lib/zucker/spec/egonil_spec.rb +1 -1
- data/lib/zucker/spec/enumerable_spec.rb +1 -1
- data/lib/zucker/spec/hash2proc_spec.rb +1 -1
- data/lib/zucker/spec/hash_spec.rb +10 -3
- data/lib/zucker/spec/info_spec.rb +8 -0
- data/lib/zucker/spec/iterate_spec.rb +1 -1
- data/lib/zucker/spec/ivars_spec.rb +1 -1
- data/lib/zucker/spec/kernel_spec.rb +1 -7
- data/lib/zucker/spec/mcopy_spec.rb +1 -1
- data/lib/zucker/spec/mm_spec.rb +4 -2
- data/lib/zucker/spec/regexp2proc_spec.rb +1 -1
- data/lib/zucker/spec/sandbox_spec.rb +22 -3
- data/lib/zucker/spec/spec_helper.rb +18 -0
- data/lib/zucker/spec/square_brackets_for_spec.rb +1 -1
- data/lib/zucker/spec/string_spec.rb +7 -7
- data/lib/zucker/spec/unary_spec.rb +1 -1
- data/lib/zucker/spec/union_spec.rb +8 -6
- metadata +207 -131
- data/lib/zucker/doc/meta.yaml +0 -4
@@ -1,8 +1,12 @@
|
|
1
|
-
require 'array2proc'
|
1
|
+
require 'zucker/array2proc'
|
2
2
|
|
3
3
|
describe 'Array#to_proc' do
|
4
4
|
it 'should call the method of the first symbol, using the remaining elements as paramaters' do
|
5
5
|
[1,2,3,4].map( &[:to_s, 2] ).should == ["1", "10", "11", "100"]
|
6
6
|
end
|
7
|
+
|
8
|
+
it "should convert each element to a proc and chain it, if the first parameter is an array" do
|
9
|
+
[1,2,3,4].map( &[[:*,2],[:+,4]] ).should == [1,2,3,4].map{|i| i*2 + 4 }
|
10
|
+
end
|
7
11
|
end
|
8
12
|
|
@@ -1,10 +1,17 @@
|
|
1
|
-
require 'hash'
|
1
|
+
require 'zucker/hash'
|
2
2
|
|
3
3
|
describe 'Hash.zip' do
|
4
|
-
it 'should zip together both given enumerables and take them as key=>values for a new hash'
|
4
|
+
it 'should zip together both given enumerables and take them as key=>values for a new hash' do
|
5
|
+
Hash.zip( [1,2,3], [4,5,6] ).should == { 1=>4, 2=>5, 3=>6 }
|
6
|
+
end
|
5
7
|
end
|
6
8
|
|
7
9
|
describe 'Hash#<<' do
|
8
|
-
it 'should append new elements to the hash'
|
10
|
+
it 'should append new elements to the hash' do
|
11
|
+
a = { 1=>4, 2=>5, 3=>6 }
|
12
|
+
a << { 4=>7 }
|
13
|
+
a << [5, 8]
|
14
|
+
a.should == { 1=>4, 2=>5, 3=>6, 4=>7, 5=>8 }
|
15
|
+
end
|
9
16
|
end
|
10
17
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require 'kernel'
|
1
|
+
require 'zucker/kernel'
|
2
2
|
|
3
3
|
describe 'activate_warnings!' do
|
4
4
|
it 'should set $VERBOSE to true' do
|
@@ -14,12 +14,6 @@ describe 'deactivate_warnings!' do
|
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|
17
|
-
describe 'warnings_activated?' do
|
18
|
-
it 'should return $VERBOSE' do
|
19
|
-
warnings_activated?.should == $VERBOSE
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
17
|
describe 'library?' do
|
24
18
|
it 'should return false if the file is invoked directly' do
|
25
19
|
library?.should == ( __FILE__ != $PROGRAM_NAME )
|
data/lib/zucker/spec/mm_spec.rb
CHANGED
@@ -1,7 +1,26 @@
|
|
1
|
-
require 'sandbox'
|
1
|
+
require 'zucker/sandbox'
|
2
2
|
|
3
3
|
describe 'sandbox' do
|
4
|
-
it 'should throw a SecurityError if bad commands are issued'
|
5
|
-
|
4
|
+
it 'should throw a SecurityError if bad commands are issued' do
|
5
|
+
proc do
|
6
|
+
sandbox do
|
7
|
+
`ls`
|
8
|
+
end
|
9
|
+
end.should raise_exception SecurityError
|
10
|
+
end
|
11
|
+
|
12
|
+
it 'should not throw an exception for errors, if the given parameter is not nil' do
|
13
|
+
proc do
|
14
|
+
sandbox( true ) do
|
15
|
+
`ls`
|
16
|
+
end
|
17
|
+
end.should_not raise_exception
|
18
|
+
end
|
19
|
+
|
20
|
+
it 'should run the proc passed as parameter for errors, if it is given' do
|
21
|
+
sandbox( lambda{|e| e.class } ) do
|
22
|
+
`ls`
|
23
|
+
end.should == SecurityError
|
24
|
+
end
|
6
25
|
end
|
7
26
|
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'stringio'
|
2
|
+
|
3
|
+
def capture_stdout
|
4
|
+
capture = StringIO.new
|
5
|
+
restore, $stdout = $stdout, capture
|
6
|
+
yield
|
7
|
+
$stdout = restore
|
8
|
+
capture.string
|
9
|
+
end
|
10
|
+
|
11
|
+
def capture_stderr
|
12
|
+
capture = StringIO.new
|
13
|
+
restore, $stderr = $stderr, capture
|
14
|
+
yield
|
15
|
+
$stderr = restore
|
16
|
+
capture.string
|
17
|
+
end
|
18
|
+
|
@@ -1,15 +1,15 @@
|
|
1
|
-
require 'string'
|
1
|
+
require 'zucker/string'
|
2
2
|
|
3
3
|
describe 'String#^' do
|
4
4
|
it 'should give C-like substring access to strings' do
|
5
5
|
string = 'Theoretische Informatik ist voll geil!'
|
6
6
|
|
7
|
-
(string
|
8
|
-
(string
|
9
|
-
(string
|
10
|
-
(string
|
11
|
-
(string
|
12
|
-
(string
|
7
|
+
(string^0).should == 'Theoretische Informatik ist voll geil!'
|
8
|
+
(string^1).should == 'heoretische Informatik ist voll geil!'
|
9
|
+
(string^13).should == 'Informatik ist voll geil!'
|
10
|
+
(string^-1).should == 'Theoretische Informatik ist voll geil'
|
11
|
+
(string^38).should == ''
|
12
|
+
(string^99).should == nil
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
@@ -1,13 +1,15 @@
|
|
1
|
-
require 'union'
|
1
|
+
require 'zucker/union'
|
2
2
|
|
3
|
-
|
4
|
-
it
|
5
|
-
(/hallo/ | /\d+/ | /./).should ==
|
6
|
-
Regexp.union( Regexp.union(/hallo/, /\d+/), /./ )
|
3
|
+
shared_examples_for "Regexp.union operator" do
|
4
|
+
it "should create an Regexp.union of both operands" do
|
7
5
|
end
|
8
6
|
end
|
9
7
|
|
8
|
+
describe 'Regexp#|' do
|
9
|
+
it_should_behave_like 'Regexp.union operator'
|
10
|
+
end
|
11
|
+
|
10
12
|
describe 'String#|' do
|
11
|
-
it_should_behave_like 'Regexp
|
13
|
+
it_should_behave_like 'Regexp.union operator'
|
12
14
|
end
|
13
15
|
|
metadata
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zucker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 1
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
|
-
-
|
8
|
-
version: "
|
6
|
+
- 2
|
7
|
+
version: "2"
|
9
8
|
platform: ruby
|
10
9
|
authors:
|
11
10
|
- Jan Lelis
|
@@ -13,7 +12,7 @@ autorequire:
|
|
13
12
|
bindir: bin
|
14
13
|
cert_chain: []
|
15
14
|
|
16
|
-
date: 2010-08-
|
15
|
+
date: 2010-08-08 00:00:00 +02:00
|
17
16
|
default_executable:
|
18
17
|
dependencies: []
|
19
18
|
|
@@ -27,161 +26,240 @@ extra_rdoc_files: []
|
|
27
26
|
|
28
27
|
files:
|
29
28
|
- MIT-LICENSE
|
30
|
-
- Rakefile
|
31
29
|
- README
|
32
|
-
-
|
33
|
-
-
|
34
|
-
- lib/zucker
|
35
|
-
- lib/zucker/sandbox.rb
|
36
|
-
- lib/zucker/regexp2proc.rb
|
37
|
-
- lib/zucker/ivars.rb
|
30
|
+
- Rakefile
|
31
|
+
- CHANGELOG
|
32
|
+
- lib/zucker.rb
|
38
33
|
- lib/zucker/class2proc.rb
|
39
|
-
- lib/zucker/
|
40
|
-
- lib/zucker/
|
41
|
-
- lib/zucker/
|
42
|
-
- lib/zucker/spec/D_spec.rb
|
43
|
-
- lib/zucker/spec/kernel_spec.rb
|
44
|
-
- lib/zucker/spec/union_spec.rb
|
45
|
-
- lib/zucker/spec/string_spec.rb
|
46
|
-
- lib/zucker/spec/class2proc_spec.rb
|
47
|
-
- lib/zucker/spec/unary_spec.rb
|
48
|
-
- lib/zucker/spec/egonil_spec.rb
|
49
|
-
- lib/zucker/spec/ivars_spec.rb
|
50
|
-
- lib/zucker/spec/sandbox_spec.rb
|
51
|
-
- lib/zucker/spec/hash_spec.rb
|
52
|
-
- lib/zucker/spec/array2proc_spec.rb
|
53
|
-
- lib/zucker/spec/binding_spec.rb
|
54
|
-
- lib/zucker/spec/mcopy_spec.rb
|
55
|
-
- lib/zucker/spec/aliases_spec.rb
|
56
|
-
- lib/zucker/spec/square_brackets_for_spec.rb
|
57
|
-
- lib/zucker/spec/enumerable_spec.rb
|
58
|
-
- lib/zucker/spec/blank_spec.rb
|
59
|
-
- lib/zucker/spec/mm_spec.rb
|
60
|
-
- lib/zucker/spec/array_spec.rb
|
61
|
-
- lib/zucker/spec/regexp2proc_spec.rb
|
62
|
-
- lib/zucker/1/default.rb
|
63
|
-
- lib/zucker/1/all.rb
|
64
|
-
- lib/zucker/1/string.rb
|
65
|
-
- lib/zucker/1/sandbox.rb
|
66
|
-
- lib/zucker/1/regexp2proc.rb
|
67
|
-
- lib/zucker/1/ivars.rb
|
34
|
+
- lib/zucker/hash2proc.rb
|
35
|
+
- lib/zucker/unary.rb
|
36
|
+
- lib/zucker/kernel.rb
|
68
37
|
- lib/zucker/1/class2proc.rb
|
69
|
-
- lib/zucker/1/
|
70
|
-
- lib/zucker/1/
|
71
|
-
- lib/zucker/1/
|
72
|
-
- lib/zucker/1/spec/
|
73
|
-
- lib/zucker/1/spec/
|
74
|
-
- lib/zucker/1/spec/
|
38
|
+
- lib/zucker/1/hash2proc.rb
|
39
|
+
- lib/zucker/1/unary.rb
|
40
|
+
- lib/zucker/1/kernel.rb
|
41
|
+
- lib/zucker/1/spec/aliases_spec.rb
|
42
|
+
- lib/zucker/1/spec/mm_spec.rb
|
43
|
+
- lib/zucker/1/spec/egonil_spec.rb
|
75
44
|
- lib/zucker/1/spec/string_spec.rb
|
76
|
-
- lib/zucker/1/spec/
|
45
|
+
- lib/zucker/1/spec/D_spec.rb
|
77
46
|
- lib/zucker/1/spec/unary_spec.rb
|
78
|
-
- lib/zucker/1/spec/egonil_spec.rb
|
79
|
-
- lib/zucker/1/spec/ivars_spec.rb
|
80
47
|
- lib/zucker/1/spec/sandbox_spec.rb
|
81
|
-
- lib/zucker/1/spec/hash_spec.rb
|
82
|
-
- lib/zucker/1/spec/array2proc_spec.rb
|
83
|
-
- lib/zucker/1/spec/binding_spec.rb
|
84
48
|
- lib/zucker/1/spec/mcopy_spec.rb
|
85
|
-
- lib/zucker/1/spec/
|
86
|
-
- lib/zucker/1/spec/
|
87
|
-
- lib/zucker/1/spec/
|
49
|
+
- lib/zucker/1/spec/regexp2proc_spec.rb
|
50
|
+
- lib/zucker/1/spec/union_spec.rb
|
51
|
+
- lib/zucker/1/spec/ivars_spec.rb
|
52
|
+
- lib/zucker/1/spec/class2proc_spec.rb
|
53
|
+
- lib/zucker/1/spec/iterate_spec.rb
|
54
|
+
- lib/zucker/1/spec/array2proc_spec.rb
|
88
55
|
- lib/zucker/1/spec/blank_spec.rb
|
89
|
-
- lib/zucker/1/spec/
|
56
|
+
- lib/zucker/1/spec/hash2proc_spec.rb
|
57
|
+
- lib/zucker/1/spec/square_brackets_for_spec.rb
|
58
|
+
- lib/zucker/1/spec/binding_spec.rb
|
59
|
+
- lib/zucker/1/spec/hash_spec.rb
|
60
|
+
- lib/zucker/1/spec/kernel_spec.rb
|
90
61
|
- lib/zucker/1/spec/array_spec.rb
|
91
|
-
- lib/zucker/1/spec/
|
92
|
-
- lib/zucker/1/unary.rb
|
93
|
-
- lib/zucker/1/hash.rb
|
94
|
-
- lib/zucker/1/hash2proc.rb
|
95
|
-
- lib/zucker/1/blank.rb
|
96
|
-
- lib/zucker/1/array2proc.rb
|
62
|
+
- lib/zucker/1/spec/enumerable_spec.rb
|
97
63
|
- lib/zucker/1/array.rb
|
98
|
-
- lib/zucker/1/
|
99
|
-
- lib/zucker/1/
|
100
|
-
- lib/zucker/1/doc/meta.yaml
|
101
|
-
- lib/zucker/1/doc/zucker_doc.html
|
102
|
-
- lib/zucker/1/doc/zucker_doc.rb
|
103
|
-
- lib/zucker/1/aliases.rb
|
104
|
-
- lib/zucker/1/iterate.rb
|
105
|
-
- lib/zucker/1/egonil.rb
|
106
|
-
- lib/zucker/1/mcopy.rb
|
107
|
-
- lib/zucker/1/D.rb
|
108
|
-
- lib/zucker/1/desc/class2proc.yaml
|
109
|
-
- lib/zucker/1/desc/iterate.yaml
|
110
|
-
- lib/zucker/1/desc/unary.yaml
|
111
|
-
- lib/zucker/1/desc/ivars.yaml
|
112
|
-
- lib/zucker/1/desc/D.yaml
|
64
|
+
- lib/zucker/1/all.rb
|
65
|
+
- lib/zucker/1/array2proc.rb
|
113
66
|
- lib/zucker/1/desc/array.yaml
|
114
|
-
- lib/zucker/1/desc/
|
115
|
-
- lib/zucker/1/desc/
|
67
|
+
- lib/zucker/1/desc/sandbox.yaml
|
68
|
+
- lib/zucker/1/desc/enumerable.yaml
|
116
69
|
- lib/zucker/1/desc/mm.yaml
|
117
|
-
- lib/zucker/1/desc/
|
70
|
+
- lib/zucker/1/desc/ivars.yaml
|
118
71
|
- lib/zucker/1/desc/mcopy.yaml
|
119
|
-
- lib/zucker/1/desc/
|
120
|
-
- lib/zucker/1/desc/enumerable.yaml
|
72
|
+
- lib/zucker/1/desc/unary.yaml
|
121
73
|
- lib/zucker/1/desc/union.yaml
|
122
|
-
- lib/zucker/1/desc/
|
74
|
+
- lib/zucker/1/desc/string.yaml
|
75
|
+
- lib/zucker/1/desc/iterate.yaml
|
76
|
+
- lib/zucker/1/desc/array2proc.yaml
|
123
77
|
- lib/zucker/1/desc/hash.yaml
|
78
|
+
- lib/zucker/1/desc/hash2proc.yaml
|
124
79
|
- lib/zucker/1/desc/aliases.yaml
|
125
|
-
- lib/zucker/1/desc/
|
80
|
+
- lib/zucker/1/desc/class2proc.yaml
|
81
|
+
- lib/zucker/1/desc/D.yaml
|
82
|
+
- lib/zucker/1/desc/square_brackets_for.yaml
|
83
|
+
- lib/zucker/1/desc/egonil.yaml
|
126
84
|
- lib/zucker/1/desc/blank.yaml
|
127
|
-
- lib/zucker/1/desc/
|
85
|
+
- lib/zucker/1/desc/regexp2proc.yaml
|
86
|
+
- lib/zucker/1/desc/kernel.yaml
|
128
87
|
- lib/zucker/1/desc/binding.yaml
|
129
|
-
- lib/zucker/1/
|
88
|
+
- lib/zucker/1/default.rb
|
89
|
+
- lib/zucker/1/doc/meta.yaml
|
90
|
+
- lib/zucker/1/doc/zucker_doc.rb
|
91
|
+
- lib/zucker/1/doc/zucker_doc.html
|
92
|
+
- lib/zucker/1/D.rb
|
93
|
+
- lib/zucker/1/string.rb
|
94
|
+
- lib/zucker/1/blank.rb
|
95
|
+
- lib/zucker/1/binding.rb
|
96
|
+
- lib/zucker/1/egonil.rb
|
97
|
+
- lib/zucker/1/iterate.rb
|
98
|
+
- lib/zucker/1/ivars.rb
|
99
|
+
- lib/zucker/1/hash.rb
|
100
|
+
- lib/zucker/1/regexp2proc.rb
|
130
101
|
- lib/zucker/1/square_brackets_for.rb
|
131
|
-
- lib/zucker/1/
|
132
|
-
- lib/zucker/1/
|
102
|
+
- lib/zucker/1/aliases.rb
|
103
|
+
- lib/zucker/1/mm.rb
|
104
|
+
- lib/zucker/1/enumerable.rb
|
133
105
|
- lib/zucker/1/union.rb
|
134
|
-
- lib/zucker/
|
135
|
-
- lib/zucker/
|
136
|
-
- lib/zucker/
|
137
|
-
- lib/zucker/
|
138
|
-
- lib/zucker/
|
106
|
+
- lib/zucker/1/mcopy.rb
|
107
|
+
- lib/zucker/1/debug.rb
|
108
|
+
- lib/zucker/1/sandbox.rb
|
109
|
+
- lib/zucker/spec/aliases_spec.rb
|
110
|
+
- lib/zucker/spec/mm_spec.rb
|
111
|
+
- lib/zucker/spec/egonil_spec.rb
|
112
|
+
- lib/zucker/spec/string_spec.rb
|
113
|
+
- lib/zucker/spec/D_spec.rb
|
114
|
+
- lib/zucker/spec/unary_spec.rb
|
115
|
+
- lib/zucker/spec/sandbox_spec.rb
|
116
|
+
- lib/zucker/spec/mcopy_spec.rb
|
117
|
+
- lib/zucker/spec/regexp2proc_spec.rb
|
118
|
+
- lib/zucker/spec/union_spec.rb
|
119
|
+
- lib/zucker/spec/ivars_spec.rb
|
120
|
+
- lib/zucker/spec/class2proc_spec.rb
|
121
|
+
- lib/zucker/spec/iterate_spec.rb
|
122
|
+
- lib/zucker/spec/array2proc_spec.rb
|
123
|
+
- lib/zucker/spec/blank_spec.rb
|
124
|
+
- lib/zucker/spec/hash2proc_spec.rb
|
125
|
+
- lib/zucker/spec/square_brackets_for_spec.rb
|
126
|
+
- lib/zucker/spec/binding_spec.rb
|
127
|
+
- lib/zucker/spec/hash_spec.rb
|
128
|
+
- lib/zucker/spec/info_spec.rb
|
129
|
+
- lib/zucker/spec/kernel_spec.rb
|
130
|
+
- lib/zucker/spec/spec_helper.rb
|
131
|
+
- lib/zucker/spec/array_spec.rb
|
132
|
+
- lib/zucker/spec/enumerable_spec.rb
|
139
133
|
- lib/zucker/array.rb
|
140
|
-
- lib/zucker/
|
141
|
-
- lib/zucker/
|
142
|
-
- lib/zucker/
|
143
|
-
- lib/zucker/doc/zucker_doc.html
|
144
|
-
- lib/zucker/doc/zucker_doc.rb
|
145
|
-
- lib/zucker/edge/ideas/dclone.yaml
|
146
|
-
- lib/zucker/edge/ideas/hash.rb
|
147
|
-
- lib/zucker/edge/ideas/require_directory.rb
|
148
|
-
- lib/zucker/edge/ideas/clone_deep_spec.rb
|
149
|
-
- lib/zucker/edge/ideas/args.yaml
|
150
|
-
- lib/zucker/edge/ideas/clone_deep.rb
|
151
|
-
- lib/zucker/edge/ideas/args.rb
|
152
|
-
- lib/zucker/edge/ideas/args_spec.rb
|
153
|
-
- lib/zucker/aliases.rb
|
154
|
-
- lib/zucker/iterate.rb
|
155
|
-
- lib/zucker/egonil.rb
|
156
|
-
- lib/zucker/mcopy.rb
|
157
|
-
- lib/zucker/D.rb
|
158
|
-
- lib/zucker/desc/class2proc.yaml
|
159
|
-
- lib/zucker/desc/iterate.yaml
|
160
|
-
- lib/zucker/desc/unary.yaml
|
161
|
-
- lib/zucker/desc/ivars.yaml
|
162
|
-
- lib/zucker/desc/D.yaml
|
134
|
+
- lib/zucker/all.rb
|
135
|
+
- lib/zucker/array2proc.rb
|
136
|
+
- lib/zucker/desc/info.yaml
|
163
137
|
- lib/zucker/desc/array.yaml
|
164
|
-
- lib/zucker/desc/
|
165
|
-
- lib/zucker/desc/
|
138
|
+
- lib/zucker/desc/sandbox.yaml
|
139
|
+
- lib/zucker/desc/enumerable.yaml
|
166
140
|
- lib/zucker/desc/mm.yaml
|
167
|
-
- lib/zucker/desc/
|
141
|
+
- lib/zucker/desc/ivars.yaml
|
168
142
|
- lib/zucker/desc/mcopy.yaml
|
169
|
-
- lib/zucker/desc/
|
170
|
-
- lib/zucker/desc/enumerable.yaml
|
143
|
+
- lib/zucker/desc/unary.yaml
|
171
144
|
- lib/zucker/desc/union.yaml
|
172
|
-
- lib/zucker/desc/
|
145
|
+
- lib/zucker/desc/string.yaml
|
146
|
+
- lib/zucker/desc/iterate.yaml
|
147
|
+
- lib/zucker/desc/array2proc.yaml
|
173
148
|
- lib/zucker/desc/hash.yaml
|
149
|
+
- lib/zucker/desc/hash2proc.yaml
|
174
150
|
- lib/zucker/desc/aliases.yaml
|
175
|
-
- lib/zucker/desc/
|
151
|
+
- lib/zucker/desc/class2proc.yaml
|
152
|
+
- lib/zucker/desc/D.yaml
|
153
|
+
- lib/zucker/desc/square_brackets_for.yaml
|
154
|
+
- lib/zucker/desc/egonil.yaml
|
176
155
|
- lib/zucker/desc/blank.yaml
|
177
|
-
- lib/zucker/desc/
|
156
|
+
- lib/zucker/desc/regexp2proc.yaml
|
157
|
+
- lib/zucker/desc/kernel.yaml
|
178
158
|
- lib/zucker/desc/binding.yaml
|
179
|
-
- lib/zucker/
|
159
|
+
- lib/zucker/default.rb
|
160
|
+
- lib/zucker/doc/zucker_doc.rb
|
161
|
+
- lib/zucker/doc/zucker_doc.html
|
162
|
+
- lib/zucker/D.rb
|
163
|
+
- lib/zucker/string.rb
|
164
|
+
- lib/zucker/blank.rb
|
165
|
+
- lib/zucker/binding.rb
|
166
|
+
- lib/zucker/egonil.rb
|
167
|
+
- lib/zucker/info.rb
|
168
|
+
- lib/zucker/iterate.rb
|
169
|
+
- lib/zucker/ivars.rb
|
170
|
+
- lib/zucker/hash.rb
|
171
|
+
- lib/zucker/2/class2proc.rb
|
172
|
+
- lib/zucker/2/hash2proc.rb
|
173
|
+
- lib/zucker/2/unary.rb
|
174
|
+
- lib/zucker/2/kernel.rb
|
175
|
+
- lib/zucker/2/spec/aliases_spec.rb
|
176
|
+
- lib/zucker/2/spec/mm_spec.rb
|
177
|
+
- lib/zucker/2/spec/egonil_spec.rb
|
178
|
+
- lib/zucker/2/spec/string_spec.rb
|
179
|
+
- lib/zucker/2/spec/D_spec.rb
|
180
|
+
- lib/zucker/2/spec/unary_spec.rb
|
181
|
+
- lib/zucker/2/spec/sandbox_spec.rb
|
182
|
+
- lib/zucker/2/spec/mcopy_spec.rb
|
183
|
+
- lib/zucker/2/spec/regexp2proc_spec.rb
|
184
|
+
- lib/zucker/2/spec/union_spec.rb
|
185
|
+
- lib/zucker/2/spec/ivars_spec.rb
|
186
|
+
- lib/zucker/2/spec/class2proc_spec.rb
|
187
|
+
- lib/zucker/2/spec/iterate_spec.rb
|
188
|
+
- lib/zucker/2/spec/array2proc_spec.rb
|
189
|
+
- lib/zucker/2/spec/blank_spec.rb
|
190
|
+
- lib/zucker/2/spec/hash2proc_spec.rb
|
191
|
+
- lib/zucker/2/spec/square_brackets_for_spec.rb
|
192
|
+
- lib/zucker/2/spec/binding_spec.rb
|
193
|
+
- lib/zucker/2/spec/hash_spec.rb
|
194
|
+
- lib/zucker/2/spec/info_spec.rb
|
195
|
+
- lib/zucker/2/spec/kernel_spec.rb
|
196
|
+
- lib/zucker/2/spec/spec_helper.rb
|
197
|
+
- lib/zucker/2/spec/array_spec.rb
|
198
|
+
- lib/zucker/2/spec/enumerable_spec.rb
|
199
|
+
- lib/zucker/2/array.rb
|
200
|
+
- lib/zucker/2/all.rb
|
201
|
+
- lib/zucker/2/array2proc.rb
|
202
|
+
- lib/zucker/2/desc/info.yaml
|
203
|
+
- lib/zucker/2/desc/array.yaml
|
204
|
+
- lib/zucker/2/desc/sandbox.yaml
|
205
|
+
- lib/zucker/2/desc/enumerable.yaml
|
206
|
+
- lib/zucker/2/desc/mm.yaml
|
207
|
+
- lib/zucker/2/desc/ivars.yaml
|
208
|
+
- lib/zucker/2/desc/mcopy.yaml
|
209
|
+
- lib/zucker/2/desc/unary.yaml
|
210
|
+
- lib/zucker/2/desc/union.yaml
|
211
|
+
- lib/zucker/2/desc/string.yaml
|
212
|
+
- lib/zucker/2/desc/iterate.yaml
|
213
|
+
- lib/zucker/2/desc/array2proc.yaml
|
214
|
+
- lib/zucker/2/desc/hash.yaml
|
215
|
+
- lib/zucker/2/desc/hash2proc.yaml
|
216
|
+
- lib/zucker/2/desc/aliases.yaml
|
217
|
+
- lib/zucker/2/desc/class2proc.yaml
|
218
|
+
- lib/zucker/2/desc/D.yaml
|
219
|
+
- lib/zucker/2/desc/square_brackets_for.yaml
|
220
|
+
- lib/zucker/2/desc/egonil.yaml
|
221
|
+
- lib/zucker/2/desc/blank.yaml
|
222
|
+
- lib/zucker/2/desc/regexp2proc.yaml
|
223
|
+
- lib/zucker/2/desc/kernel.yaml
|
224
|
+
- lib/zucker/2/desc/binding.yaml
|
225
|
+
- lib/zucker/2/default.rb
|
226
|
+
- lib/zucker/2/doc/zucker_doc.rb
|
227
|
+
- lib/zucker/2/doc/zucker_doc.html
|
228
|
+
- lib/zucker/2/D.rb
|
229
|
+
- lib/zucker/2/string.rb
|
230
|
+
- lib/zucker/2/blank.rb
|
231
|
+
- lib/zucker/2/binding.rb
|
232
|
+
- lib/zucker/2/egonil.rb
|
233
|
+
- lib/zucker/2/info.rb
|
234
|
+
- lib/zucker/2/iterate.rb
|
235
|
+
- lib/zucker/2/ivars.rb
|
236
|
+
- lib/zucker/2/hash.rb
|
237
|
+
- lib/zucker/2/regexp2proc.rb
|
238
|
+
- lib/zucker/2/square_brackets_for.rb
|
239
|
+
- lib/zucker/2/aliases.rb
|
240
|
+
- lib/zucker/2/mm.rb
|
241
|
+
- lib/zucker/2/enumerable.rb
|
242
|
+
- lib/zucker/2/union.rb
|
243
|
+
- lib/zucker/2/mcopy.rb
|
244
|
+
- lib/zucker/2/debug.rb
|
245
|
+
- lib/zucker/2/sandbox.rb
|
246
|
+
- lib/zucker/regexp2proc.rb
|
180
247
|
- lib/zucker/square_brackets_for.rb
|
181
|
-
- lib/zucker/
|
182
|
-
- lib/zucker/
|
248
|
+
- lib/zucker/aliases.rb
|
249
|
+
- lib/zucker/mm.rb
|
250
|
+
- lib/zucker/enumerable.rb
|
183
251
|
- lib/zucker/union.rb
|
184
|
-
- lib/zucker.rb
|
252
|
+
- lib/zucker/mcopy.rb
|
253
|
+
- lib/zucker/edge/ideas/require_directory.rb
|
254
|
+
- lib/zucker/edge/ideas/args.yaml
|
255
|
+
- lib/zucker/edge/ideas/clone_deep.rb
|
256
|
+
- lib/zucker/edge/ideas/dclone.yaml
|
257
|
+
- lib/zucker/edge/ideas/args.rb
|
258
|
+
- lib/zucker/edge/ideas/hash.rb
|
259
|
+
- lib/zucker/edge/ideas/args_spec.rb
|
260
|
+
- lib/zucker/edge/ideas/clone_deep_spec.rb
|
261
|
+
- lib/zucker/debug.rb
|
262
|
+
- lib/zucker/sandbox.rb
|
185
263
|
has_rdoc: true
|
186
264
|
homepage: http://rubyzucker.info
|
187
265
|
licenses: []
|
@@ -197,7 +275,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
197
275
|
requirements:
|
198
276
|
- - ">="
|
199
277
|
- !ruby/object:Gem::Version
|
200
|
-
hash: 3
|
201
278
|
segments:
|
202
279
|
- 0
|
203
280
|
version: "0"
|
@@ -206,7 +283,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
206
283
|
requirements:
|
207
284
|
- - ">="
|
208
285
|
- !ruby/object:Gem::Version
|
209
|
-
hash: 3
|
210
286
|
segments:
|
211
287
|
- 0
|
212
288
|
version: "0"
|
@@ -216,6 +292,6 @@ rubyforge_project:
|
|
216
292
|
rubygems_version: 1.3.7
|
217
293
|
signing_key:
|
218
294
|
specification_version: 3
|
219
|
-
summary:
|
295
|
+
summary: "Make your Ruby code even sweeter with this syntacitcal sugar: http://rubyzucker.info :)"
|
220
296
|
test_files: []
|
221
297
|
|