ludy 0.1.11 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +9 -0
- data/README +3 -1
- data/Rakefile +28 -10
- data/TODO +1 -1
- data/lib/ludy/paginator.rb +17 -0
- data/lib/ludy.rb +1 -1
- data/ludy.gemspec +25 -0
- data/spec/spec_helper.rb +1 -1
- data/tasks/ann.rake +19 -14
- data/tasks/bones.rake +6 -25
- data/tasks/gem.rake +46 -36
- data/tasks/git.rake +41 -0
- data/tasks/notes.rake +28 -0
- data/tasks/post_load.rake +18 -11
- data/tasks/{doc.rake → rdoc.rake} +10 -7
- data/tasks/rubyforge.rake +12 -12
- data/tasks/setup.rb +121 -80
- data/tasks/spec.rake +12 -13
- data/tasks/svn.rake +15 -11
- data/tasks/test.rake +6 -6
- data/test/ludy/test_paginator.rb +11 -1
- metadata +69 -26
- data/Manifest.txt +0 -121
- data/tasks/annotations.rake +0 -22
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ludy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Lin Jen-Shin (a.k.a. godfat \xE7\x9C\x9F\xE5\xB8\xB8)"
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-06-14 00:00:00 +08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -20,36 +20,54 @@ executables:
|
|
20
20
|
extensions: []
|
21
21
|
|
22
22
|
extra_rdoc_files:
|
23
|
+
- bin
|
24
|
+
- bin/ludy
|
23
25
|
- CHANGES
|
26
|
+
- lib
|
27
|
+
- lib/ludy
|
28
|
+
- lib/ludy/array
|
29
|
+
- lib/ludy/class
|
30
|
+
- lib/ludy/deprecated
|
31
|
+
- lib/ludy/hash
|
32
|
+
- lib/ludy/helpers
|
33
|
+
- lib/ludy/kernel
|
34
|
+
- lib/ludy/proc
|
35
|
+
- lib/ludy/symbol
|
36
|
+
- lib/ludy/tasks
|
37
|
+
- lib/ludy/tasks/preprocess_cpp
|
38
|
+
- lib/ludy/test
|
39
|
+
- lib/puzzle_generator
|
24
40
|
- LICENSE
|
41
|
+
- ludy.gemspec
|
25
42
|
- NOTICE
|
26
43
|
- README
|
27
|
-
-
|
28
|
-
-
|
44
|
+
- spec
|
45
|
+
- tasks
|
29
46
|
- tasks/ann.rake
|
30
|
-
- tasks/annotations.rake
|
31
47
|
- tasks/bones.rake
|
32
|
-
- tasks/doc.rake
|
33
48
|
- tasks/gem.rake
|
49
|
+
- tasks/git.rake
|
34
50
|
- tasks/manifest.rake
|
51
|
+
- tasks/notes.rake
|
35
52
|
- tasks/post_load.rake
|
53
|
+
- tasks/rdoc.rake
|
36
54
|
- tasks/rubyforge.rake
|
37
55
|
- tasks/spec.rake
|
38
56
|
- tasks/svn.rake
|
39
57
|
- tasks/test.rake
|
58
|
+
- test
|
59
|
+
- test/deprecated
|
60
|
+
- test/ludy
|
40
61
|
- test/multiruby.sh
|
41
|
-
files:
|
42
|
-
- CHANGES
|
43
|
-
- LICENSE
|
44
|
-
- Manifest.txt
|
45
|
-
- NOTICE
|
46
|
-
- README
|
47
|
-
- Rakefile
|
48
62
|
- TODO
|
63
|
+
files:
|
64
|
+
- bin
|
49
65
|
- bin/ludy
|
50
|
-
-
|
66
|
+
- CHANGES
|
67
|
+
- lib
|
68
|
+
- lib/ludy
|
51
69
|
- lib/ludy/all.rb
|
52
|
-
- lib/ludy/array
|
70
|
+
- lib/ludy/array
|
53
71
|
- lib/ludy/array/body.rb
|
54
72
|
- lib/ludy/array/choice.rb
|
55
73
|
- lib/ludy/array/combine.rb
|
@@ -64,9 +82,12 @@ files:
|
|
64
82
|
- lib/ludy/array/product.rb
|
65
83
|
- lib/ludy/array/rotate.rb
|
66
84
|
- lib/ludy/array/tail.rb
|
85
|
+
- lib/ludy/array.rb
|
67
86
|
- lib/ludy/blackhole.rb
|
68
|
-
- lib/ludy/class
|
87
|
+
- lib/ludy/class
|
69
88
|
- lib/ludy/class/undef_all_methods.rb
|
89
|
+
- lib/ludy/class.rb
|
90
|
+
- lib/ludy/deprecated
|
70
91
|
- lib/ludy/deprecated/aspect.rb
|
71
92
|
- lib/ludy/deprecated/callstack.rb
|
72
93
|
- lib/ludy/deprecated/curry.rb
|
@@ -75,10 +96,12 @@ files:
|
|
75
96
|
- lib/ludy/deprecated/untranspose.rb
|
76
97
|
- lib/ludy/deprecated/unzip.rb
|
77
98
|
- lib/ludy/dices.rb
|
78
|
-
- lib/ludy/hash
|
99
|
+
- lib/ludy/hash
|
79
100
|
- lib/ludy/hash/reverse_merge.rb
|
101
|
+
- lib/ludy/hash.rb
|
102
|
+
- lib/ludy/helpers
|
80
103
|
- lib/ludy/helpers/check_box.rb
|
81
|
-
- lib/ludy/kernel
|
104
|
+
- lib/ludy/kernel
|
82
105
|
- lib/ludy/kernel/deep_copy.rb
|
83
106
|
- lib/ludy/kernel/defun.rb
|
84
107
|
- lib/ludy/kernel/ergo.rb
|
@@ -89,54 +112,72 @@ files:
|
|
89
112
|
- lib/ludy/kernel/public_send.rb
|
90
113
|
- lib/ludy/kernel/singleton_method.rb
|
91
114
|
- lib/ludy/kernel/tap.rb
|
115
|
+
- lib/ludy/kernel.rb
|
92
116
|
- lib/ludy/lazy.rb
|
93
117
|
- lib/ludy/list.rb
|
94
118
|
- lib/ludy/message_dispatcher.rb
|
95
119
|
- lib/ludy/namespace.rb
|
96
120
|
- lib/ludy/paginator.rb
|
97
121
|
- lib/ludy/pattern_matcher.rb
|
98
|
-
- lib/ludy/proc
|
122
|
+
- lib/ludy/proc
|
99
123
|
- lib/ludy/proc/bind.rb
|
100
124
|
- lib/ludy/proc/chain.rb
|
101
125
|
- lib/ludy/proc/compose.rb
|
102
126
|
- lib/ludy/proc/curry.rb
|
103
|
-
- lib/ludy/
|
127
|
+
- lib/ludy/proc.rb
|
128
|
+
- lib/ludy/symbol
|
104
129
|
- lib/ludy/symbol/curry.rb
|
105
130
|
- lib/ludy/symbol/to_msg.rb
|
106
131
|
- lib/ludy/symbol/to_proc.rb
|
107
|
-
- lib/ludy/
|
132
|
+
- lib/ludy/symbol.rb
|
133
|
+
- lib/ludy/tasks
|
108
134
|
- lib/ludy/tasks/common.rb
|
109
|
-
- lib/ludy/tasks/preprocess_cpp
|
135
|
+
- lib/ludy/tasks/preprocess_cpp
|
110
136
|
- lib/ludy/tasks/preprocess_cpp/attr_builder.rb
|
111
137
|
- lib/ludy/tasks/preprocess_cpp/debug_hook.rb
|
112
138
|
- lib/ludy/tasks/preprocess_cpp/header_guard.rb
|
113
139
|
- lib/ludy/tasks/preprocess_cpp/template_forward_parameters.rb
|
140
|
+
- lib/ludy/tasks/preprocess_cpp.rb
|
141
|
+
- lib/ludy/tasks.rb
|
142
|
+
- lib/ludy/test
|
114
143
|
- lib/ludy/timer.rb
|
115
144
|
- lib/ludy/variable.rb
|
116
145
|
- lib/ludy/version.rb
|
117
146
|
- lib/ludy/y_combinator.rb
|
118
147
|
- lib/ludy/z_combinator.rb
|
119
|
-
- lib/
|
148
|
+
- lib/ludy.rb
|
149
|
+
- lib/puzzle_generator
|
120
150
|
- lib/puzzle_generator/chain.rb
|
121
151
|
- lib/puzzle_generator/chained_map.rb
|
122
152
|
- lib/puzzle_generator/colored_map.rb
|
123
153
|
- lib/puzzle_generator/map.rb
|
124
154
|
- lib/puzzle_generator/misc.rb
|
125
155
|
- lib/puzzle_generator/puzzle.rb
|
156
|
+
- lib/puzzle_generator.rb
|
157
|
+
- LICENSE
|
158
|
+
- ludy.gemspec
|
159
|
+
- NOTICE
|
160
|
+
- Rakefile
|
161
|
+
- README
|
162
|
+
- spec
|
126
163
|
- spec/ludy_spec.rb
|
127
164
|
- spec/spec_helper.rb
|
165
|
+
- tasks
|
128
166
|
- tasks/ann.rake
|
129
|
-
- tasks/annotations.rake
|
130
167
|
- tasks/bones.rake
|
131
|
-
- tasks/doc.rake
|
132
168
|
- tasks/gem.rake
|
169
|
+
- tasks/git.rake
|
133
170
|
- tasks/manifest.rake
|
171
|
+
- tasks/notes.rake
|
134
172
|
- tasks/post_load.rake
|
173
|
+
- tasks/rdoc.rake
|
135
174
|
- tasks/rubyforge.rake
|
136
175
|
- tasks/setup.rb
|
137
176
|
- tasks/spec.rake
|
138
177
|
- tasks/svn.rake
|
139
178
|
- tasks/test.rake
|
179
|
+
- test
|
180
|
+
- test/deprecated
|
140
181
|
- test/deprecated/callstack.rb
|
141
182
|
- test/deprecated/curry.rb
|
142
183
|
- test/deprecated/rambda.rb
|
@@ -145,6 +186,7 @@ files:
|
|
145
186
|
- test/deprecated/unzip_and_untranspose.rb
|
146
187
|
- test/example_puzzle.rb
|
147
188
|
- test/helper.rb
|
189
|
+
- test/ludy
|
148
190
|
- test/ludy/test_array.rb
|
149
191
|
- test/ludy/test_class.rb
|
150
192
|
- test/ludy/test_defun.rb
|
@@ -160,6 +202,7 @@ files:
|
|
160
202
|
- test/ludy/test_y_combinator.rb
|
161
203
|
- test/ludy/test_z_combinator.rb
|
162
204
|
- test/multiruby.sh
|
205
|
+
- TODO
|
163
206
|
has_rdoc: true
|
164
207
|
homepage: http://ludy.rubyforge.org/
|
165
208
|
post_install_message:
|
@@ -188,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
231
|
requirements: []
|
189
232
|
|
190
233
|
rubyforge_project: ludy
|
191
|
-
rubygems_version: 1.
|
234
|
+
rubygems_version: 1.1.1
|
192
235
|
signing_key:
|
193
236
|
specification_version: 2
|
194
237
|
summary: Aims to extend Ruby standard library, providing some useful tools that's not existed in the standard library, especially for functional programming.
|
data/Manifest.txt
DELETED
@@ -1,121 +0,0 @@
|
|
1
|
-
CHANGES
|
2
|
-
LICENSE
|
3
|
-
Manifest.txt
|
4
|
-
NOTICE
|
5
|
-
README
|
6
|
-
Rakefile
|
7
|
-
TODO
|
8
|
-
bin/ludy
|
9
|
-
lib/ludy.rb
|
10
|
-
lib/ludy/all.rb
|
11
|
-
lib/ludy/array.rb
|
12
|
-
lib/ludy/array/body.rb
|
13
|
-
lib/ludy/array/choice.rb
|
14
|
-
lib/ludy/array/combine.rb
|
15
|
-
lib/ludy/array/combos.rb
|
16
|
-
lib/ludy/array/count.rb
|
17
|
-
lib/ludy/array/filter.rb
|
18
|
-
lib/ludy/array/foldl.rb
|
19
|
-
lib/ludy/array/foldr.rb
|
20
|
-
lib/ludy/array/head.rb
|
21
|
-
lib/ludy/array/map_with_index.rb
|
22
|
-
lib/ludy/array/pad.rb
|
23
|
-
lib/ludy/array/product.rb
|
24
|
-
lib/ludy/array/rotate.rb
|
25
|
-
lib/ludy/array/tail.rb
|
26
|
-
lib/ludy/blackhole.rb
|
27
|
-
lib/ludy/class.rb
|
28
|
-
lib/ludy/class/undef_all_methods.rb
|
29
|
-
lib/ludy/deprecated/aspect.rb
|
30
|
-
lib/ludy/deprecated/callstack.rb
|
31
|
-
lib/ludy/deprecated/curry.rb
|
32
|
-
lib/ludy/deprecated/rambda.rb
|
33
|
-
lib/ludy/deprecated/this.rb
|
34
|
-
lib/ludy/deprecated/untranspose.rb
|
35
|
-
lib/ludy/deprecated/unzip.rb
|
36
|
-
lib/ludy/dices.rb
|
37
|
-
lib/ludy/hash.rb
|
38
|
-
lib/ludy/hash/reverse_merge.rb
|
39
|
-
lib/ludy/helpers/check_box.rb
|
40
|
-
lib/ludy/kernel.rb
|
41
|
-
lib/ludy/kernel/deep_copy.rb
|
42
|
-
lib/ludy/kernel/defun.rb
|
43
|
-
lib/ludy/kernel/ergo.rb
|
44
|
-
lib/ludy/kernel/id.rb
|
45
|
-
lib/ludy/kernel/if_else.rb
|
46
|
-
lib/ludy/kernel/m.rb
|
47
|
-
lib/ludy/kernel/maybe.rb
|
48
|
-
lib/ludy/kernel/public_send.rb
|
49
|
-
lib/ludy/kernel/singleton_method.rb
|
50
|
-
lib/ludy/kernel/tap.rb
|
51
|
-
lib/ludy/lazy.rb
|
52
|
-
lib/ludy/list.rb
|
53
|
-
lib/ludy/message_dispatcher.rb
|
54
|
-
lib/ludy/namespace.rb
|
55
|
-
lib/ludy/paginator.rb
|
56
|
-
lib/ludy/pattern_matcher.rb
|
57
|
-
lib/ludy/proc.rb
|
58
|
-
lib/ludy/proc/bind.rb
|
59
|
-
lib/ludy/proc/chain.rb
|
60
|
-
lib/ludy/proc/compose.rb
|
61
|
-
lib/ludy/proc/curry.rb
|
62
|
-
lib/ludy/symbol.rb
|
63
|
-
lib/ludy/symbol/curry.rb
|
64
|
-
lib/ludy/symbol/to_msg.rb
|
65
|
-
lib/ludy/symbol/to_proc.rb
|
66
|
-
lib/ludy/tasks.rb
|
67
|
-
lib/ludy/tasks/common.rb
|
68
|
-
lib/ludy/tasks/preprocess_cpp.rb
|
69
|
-
lib/ludy/tasks/preprocess_cpp/attr_builder.rb
|
70
|
-
lib/ludy/tasks/preprocess_cpp/debug_hook.rb
|
71
|
-
lib/ludy/tasks/preprocess_cpp/header_guard.rb
|
72
|
-
lib/ludy/tasks/preprocess_cpp/template_forward_parameters.rb
|
73
|
-
lib/ludy/timer.rb
|
74
|
-
lib/ludy/variable.rb
|
75
|
-
lib/ludy/version.rb
|
76
|
-
lib/ludy/y_combinator.rb
|
77
|
-
lib/ludy/z_combinator.rb
|
78
|
-
lib/puzzle_generator.rb
|
79
|
-
lib/puzzle_generator/chain.rb
|
80
|
-
lib/puzzle_generator/chained_map.rb
|
81
|
-
lib/puzzle_generator/colored_map.rb
|
82
|
-
lib/puzzle_generator/map.rb
|
83
|
-
lib/puzzle_generator/misc.rb
|
84
|
-
lib/puzzle_generator/puzzle.rb
|
85
|
-
spec/ludy_spec.rb
|
86
|
-
spec/spec_helper.rb
|
87
|
-
tasks/ann.rake
|
88
|
-
tasks/annotations.rake
|
89
|
-
tasks/bones.rake
|
90
|
-
tasks/doc.rake
|
91
|
-
tasks/gem.rake
|
92
|
-
tasks/manifest.rake
|
93
|
-
tasks/post_load.rake
|
94
|
-
tasks/rubyforge.rake
|
95
|
-
tasks/setup.rb
|
96
|
-
tasks/spec.rake
|
97
|
-
tasks/svn.rake
|
98
|
-
tasks/test.rake
|
99
|
-
test/deprecated/callstack.rb
|
100
|
-
test/deprecated/curry.rb
|
101
|
-
test/deprecated/rambda.rb
|
102
|
-
test/deprecated/this.rb
|
103
|
-
test/deprecated/ts_ludy.rb
|
104
|
-
test/deprecated/unzip_and_untranspose.rb
|
105
|
-
test/example_puzzle.rb
|
106
|
-
test/helper.rb
|
107
|
-
test/ludy/test_array.rb
|
108
|
-
test/ludy/test_class.rb
|
109
|
-
test/ludy/test_defun.rb
|
110
|
-
test/ludy/test_dices.rb
|
111
|
-
test/ludy/test_hash.rb
|
112
|
-
test/ludy/test_kernel.rb
|
113
|
-
test/ludy/test_lazy.rb
|
114
|
-
test/ludy/test_paginator.rb
|
115
|
-
test/ludy/test_proc.rb
|
116
|
-
test/ludy/test_require_all.rb
|
117
|
-
test/ludy/test_symbol.rb
|
118
|
-
test/ludy/test_variable.rb
|
119
|
-
test/ludy/test_y_combinator.rb
|
120
|
-
test/ludy/test_z_combinator.rb
|
121
|
-
test/multiruby.sh
|
data/tasks/annotations.rake
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
# $Id$
|
2
|
-
|
3
|
-
if HAVE_BONES
|
4
|
-
|
5
|
-
desc "Enumerate all annotations"
|
6
|
-
task :notes do
|
7
|
-
Bones::AnnotationExtractor.enumerate(
|
8
|
-
PROJ, PROJ.annotation_tags.join('|'), :tag => true)
|
9
|
-
end
|
10
|
-
|
11
|
-
namespace :notes do
|
12
|
-
PROJ.annotation_tags.each do |tag|
|
13
|
-
desc "Enumerate all #{tag} annotations"
|
14
|
-
task tag.downcase.to_sym do
|
15
|
-
Bones::AnnotationExtractor.enumerate(PROJ, tag)
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
end # if HAVE_BONES
|
21
|
-
|
22
|
-
# EOF
|