fuby 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (222) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/.ruby-version +1 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +29 -0
  7. data/Rakefile +8 -0
  8. data/VERSION +1 -0
  9. data/fuby.gemspec +21 -0
  10. data/lib/fuby.rb +1 -0
  11. data/lib/fuby/abbreviation.rb +20 -0
  12. data/lib/fuby/alias_method.rb +13 -0
  13. data/lib/fuby/all.rb +11 -0
  14. data/lib/fuby/and.rb +9 -0
  15. data/lib/fuby/any.rb +11 -0
  16. data/lib/fuby/attributes.rb +17 -0
  17. data/lib/fuby/bind.rb +21 -0
  18. data/lib/fuby/class_attributes.rb +39 -0
  19. data/lib/fuby/deep.rb +1 -0
  20. data/lib/fuby/deep_each.rb +14 -0
  21. data/lib/fuby/define_instance_method.rb +18 -0
  22. data/lib/fuby/define_missing_method.rb +36 -0
  23. data/lib/fuby/define_object_method.rb +18 -0
  24. data/lib/fuby/define_tok.rb +11 -0
  25. data/lib/fuby/descendants.rb +15 -0
  26. data/lib/fuby/dimension.rb +23 -0
  27. data/lib/fuby/drop.rb +20 -0
  28. data/lib/fuby/drop_until.rb +18 -0
  29. data/lib/fuby/drop_while.rb +15 -0
  30. data/lib/fuby/each.rb +2 -0
  31. data/lib/fuby/each_with_index_or_key.rb +19 -0
  32. data/lib/fuby/eql.rb +1 -0
  33. data/lib/fuby/eql_componentwise.rb +13 -0
  34. data/lib/fuby/equivalence.rb +13 -0
  35. data/lib/fuby/eval.rb +54 -0
  36. data/lib/fuby/extend.rb +13 -0
  37. data/lib/fuby/format.rb +9 -0
  38. data/lib/fuby/include.rb +13 -0
  39. data/lib/fuby/index_or_key.rb +19 -0
  40. data/lib/fuby/instance_attributes.rb +39 -0
  41. data/lib/fuby/intercept.rb +27 -0
  42. data/lib/fuby/invert.rb +16 -0
  43. data/lib/fuby/longest_common.rb +16 -0
  44. data/lib/fuby/matches.rb +11 -0
  45. data/lib/fuby/matches_componentwise.rb +11 -0
  46. data/lib/fuby/matches_part_of.rb +16 -0
  47. data/lib/fuby/matches_prefix_of.rb +11 -0
  48. data/lib/fuby/matches_suffix_of.rb +13 -0
  49. data/lib/fuby/member.rb +11 -0
  50. data/lib/fuby/merge.rb +20 -0
  51. data/lib/fuby/merge_css.rb +32 -0
  52. data/lib/fuby/method_added_as.rb +1 -0
  53. data/lib/fuby/method_added_as_binary_operator.rb +16 -0
  54. data/lib/fuby/method_added_as_filter.rb +19 -0
  55. data/lib/fuby/new.rb +16 -0
  56. data/lib/fuby/not.rb +25 -0
  57. data/lib/fuby/opposite.rb +29 -0
  58. data/lib/fuby/or.rb +9 -0
  59. data/lib/fuby/otherwise.rb +18 -0
  60. data/lib/fuby/part_of.rb +16 -0
  61. data/lib/fuby/plus.rb +10 -0
  62. data/lib/fuby/pop.rb +11 -0
  63. data/lib/fuby/pop_if.rb +15 -0
  64. data/lib/fuby/pop_options.rb +15 -0
  65. data/lib/fuby/pop_unless.rb +11 -0
  66. data/lib/fuby/pop_until.rb +11 -0
  67. data/lib/fuby/pop_while.rb +11 -0
  68. data/lib/fuby/prefix_of.rb +14 -0
  69. data/lib/fuby/prefixes.rb +11 -0
  70. data/lib/fuby/prepend.rb +11 -0
  71. data/lib/fuby/private.rb +11 -0
  72. data/lib/fuby/protected.rb +11 -0
  73. data/lib/fuby/public.rb +11 -0
  74. data/lib/fuby/push.rb +1 -0
  75. data/lib/fuby/push_options.rb +9 -0
  76. data/lib/fuby/random.rb +31 -0
  77. data/lib/fuby/self_and_descendants.rb +15 -0
  78. data/lib/fuby/shift.rb +11 -0
  79. data/lib/fuby/shift_if.rb +12 -0
  80. data/lib/fuby/shift_options.rb +11 -0
  81. data/lib/fuby/shift_unless.rb +12 -0
  82. data/lib/fuby/shift_until.rb +12 -0
  83. data/lib/fuby/shift_while.rb +16 -0
  84. data/lib/fuby/splat.rb +11 -0
  85. data/lib/fuby/strip.rb +24 -0
  86. data/lib/fuby/subclass.rb +22 -0
  87. data/lib/fuby/submodule.rb +22 -0
  88. data/lib/fuby/suffix_of.rb +19 -0
  89. data/lib/fuby/suffixes.rb +11 -0
  90. data/lib/fuby/take.rb +20 -0
  91. data/lib/fuby/take_until.rb +17 -0
  92. data/lib/fuby/take_while.rb +14 -0
  93. data/lib/fuby/tap.rb +28 -0
  94. data/lib/fuby/to.rb +1 -0
  95. data/lib/fuby/to_boolean.rb +32 -0
  96. data/lib/fuby/to_camel_case.rb +32 -0
  97. data/lib/fuby/to_case.rb +1 -0
  98. data/lib/fuby/to_components.rb +33 -0
  99. data/lib/fuby/to_dash_case.rb +28 -0
  100. data/lib/fuby/to_hash.rb +25 -0
  101. data/lib/fuby/to_pred.rb +7 -0
  102. data/lib/fuby/to_proc.rb +45 -0
  103. data/lib/fuby/to_regexp.rb +38 -0
  104. data/lib/fuby/to_snake_case.rb +28 -0
  105. data/lib/fuby/to_tok.rb +27 -0
  106. data/lib/fuby/tok.rb +2 -0
  107. data/lib/fuby/tok_arity.rb +18 -0
  108. data/lib/fuby/tok_direction.rb +16 -0
  109. data/lib/fuby/tok_parity.rb +11 -0
  110. data/lib/fuby/tok_side.rb +11 -0
  111. data/lib/fuby/try.rb +73 -0
  112. data/lib/fuby/try_each.rb +25 -0
  113. data/lib/fuby/try_eval.rb +19 -0
  114. data/lib/fuby/try_exec.rb +15 -0
  115. data/lib/fuby/unabbreviation.rb +17 -0
  116. data/lib/fuby/unshift.rb +1 -0
  117. data/lib/fuby/unshift_options.rb +11 -0
  118. data/lib/fuby/uuid.rb +28 -0
  119. data/test/fuby/abbreviation.rb +25 -0
  120. data/test/fuby/alias_method.rb +29 -0
  121. data/test/fuby/all.rb +15 -0
  122. data/test/fuby/and.rb +14 -0
  123. data/test/fuby/any.rb +15 -0
  124. data/test/fuby/attributes.rb +0 -0
  125. data/test/fuby/bind.rb +17 -0
  126. data/test/fuby/class_attributes.rb +0 -0
  127. data/test/fuby/deep.rb +0 -0
  128. data/test/fuby/deep_each.rb +0 -0
  129. data/test/fuby/define_missing_method.rb +33 -0
  130. data/test/fuby/define_tok.rb +0 -0
  131. data/test/fuby/descendants.rb +0 -0
  132. data/test/fuby/dimension.rb +0 -0
  133. data/test/fuby/drop.rb +28 -0
  134. data/test/fuby/drop_until.rb +26 -0
  135. data/test/fuby/drop_while.rb +26 -0
  136. data/test/fuby/each.rb +0 -0
  137. data/test/fuby/each_with_index_or_key.rb +22 -0
  138. data/test/fuby/eql.rb +0 -0
  139. data/test/fuby/eql_componentwise.rb +0 -0
  140. data/test/fuby/equivalence.rb +0 -0
  141. data/test/fuby/eval.rb +0 -0
  142. data/test/fuby/extend.rb +20 -0
  143. data/test/fuby/format.rb +0 -0
  144. data/test/fuby/include.rb +20 -0
  145. data/test/fuby/index_or_key.rb +0 -0
  146. data/test/fuby/instance_attributes.rb +0 -0
  147. data/test/fuby/intercept.rb +16 -0
  148. data/test/fuby/invert.rb +0 -0
  149. data/test/fuby/longest_common.rb +0 -0
  150. data/test/fuby/matches.rb +0 -0
  151. data/test/fuby/matches_componentwise.rb +0 -0
  152. data/test/fuby/matches_prefix_of.rb +0 -0
  153. data/test/fuby/matches_suffix_of.rb +0 -0
  154. data/test/fuby/member.rb +0 -0
  155. data/test/fuby/merge.rb +0 -0
  156. data/test/fuby/merge_css.rb +0 -0
  157. data/test/fuby/method_added_as.rb +0 -0
  158. data/test/fuby/method_added_as_binary_operator.rb +20 -0
  159. data/test/fuby/method_added_as_filter.rb +28 -0
  160. data/test/fuby/new.rb +3 -0
  161. data/test/fuby/not.rb +0 -0
  162. data/test/fuby/opposite.rb +0 -0
  163. data/test/fuby/or.rb +19 -0
  164. data/test/fuby/otherwise.rb +30 -0
  165. data/test/fuby/part_of.rb +0 -0
  166. data/test/fuby/plus.rb +0 -0
  167. data/test/fuby/pop.rb +0 -0
  168. data/test/fuby/pop_if.rb +31 -0
  169. data/test/fuby/pop_options.rb +31 -0
  170. data/test/fuby/pop_unless.rb +0 -0
  171. data/test/fuby/pop_until.rb +0 -0
  172. data/test/fuby/pop_while.rb +0 -0
  173. data/test/fuby/prefix_of.rb +0 -0
  174. data/test/fuby/prefixes.rb +13 -0
  175. data/test/fuby/prepend.rb +34 -0
  176. data/test/fuby/private.rb +0 -0
  177. data/test/fuby/protected.rb +0 -0
  178. data/test/fuby/public.rb +0 -0
  179. data/test/fuby/push.rb +0 -0
  180. data/test/fuby/push_options.rb +32 -0
  181. data/test/fuby/random.rb +0 -0
  182. data/test/fuby/self_and_descendants.rb +0 -0
  183. data/test/fuby/shift.rb +0 -0
  184. data/test/fuby/shift_if.rb +0 -0
  185. data/test/fuby/shift_options.rb +0 -0
  186. data/test/fuby/shift_unless.rb +0 -0
  187. data/test/fuby/shift_until.rb +0 -0
  188. data/test/fuby/shift_while.rb +0 -0
  189. data/test/fuby/splat.rb +0 -0
  190. data/test/fuby/strip.rb +0 -0
  191. data/test/fuby/submodule.rb +15 -0
  192. data/test/fuby/suffix_of.rb +0 -0
  193. data/test/fuby/suffixes.rb +13 -0
  194. data/test/fuby/take.rb +0 -0
  195. data/test/fuby/take_until.rb +0 -0
  196. data/test/fuby/take_while.rb +0 -0
  197. data/test/fuby/tap.rb +58 -0
  198. data/test/fuby/to_boolean.rb +31 -0
  199. data/test/fuby/to_camel_case.rb +15 -0
  200. data/test/fuby/to_components.rb +0 -0
  201. data/test/fuby/to_dash_case.rb +15 -0
  202. data/test/fuby/to_hash.rb +23 -0
  203. data/test/fuby/to_pred.rb +25 -0
  204. data/test/fuby/to_proc.rb +56 -0
  205. data/test/fuby/to_regexp.rb +38 -0
  206. data/test/fuby/to_snake_case.rb +15 -0
  207. data/test/fuby/to_tok.rb +0 -0
  208. data/test/fuby/tok.rb +0 -0
  209. data/test/fuby/tok_arity.rb +0 -0
  210. data/test/fuby/tok_direction.rb +0 -0
  211. data/test/fuby/tok_parity.rb +0 -0
  212. data/test/fuby/tok_side.rb +0 -0
  213. data/test/fuby/try.rb +52 -0
  214. data/test/fuby/try_each.rb +30 -0
  215. data/test/fuby/try_eval.rb +34 -0
  216. data/test/fuby/try_exec.rb +0 -0
  217. data/test/fuby/unabbreviation.rb +25 -0
  218. data/test/fuby/unshift.rb +0 -0
  219. data/test/fuby/unshift_options.rb +0 -0
  220. data/test/fuby/uuid.rb +31 -0
  221. data/test/fuby/version.rb +0 -0
  222. metadata +369 -0
@@ -0,0 +1,15 @@
1
+ require 'fuby/to_snake_case'
2
+
3
+ using Fuby
4
+
5
+ describe Symbol do
6
+ describe "to_snake_case" do
7
+ it "converts self to a snake_case symbol" do
8
+
9
+ :html5The5thElement.to_snake_case.must_equal :html5_the_5th_element
10
+ :HTML5TH.to_snake_case.must_equal :html_5th
11
+ :HTML5th.to_snake_case.must_equal :html_5th
12
+
13
+ end
14
+ end
15
+ end
File without changes
data/test/fuby/tok.rb ADDED
File without changes
File without changes
File without changes
File without changes
File without changes
data/test/fuby/try.rb ADDED
@@ -0,0 +1,52 @@
1
+ # require 'fuby/try'
2
+
3
+ # using Fuby
4
+
5
+ # describe Object do
6
+ # describe :try do
7
+ # describe [] do
8
+ # it "returns a proxy of self that either responds with the original method, or nil if method_missing" do
9
+
10
+ # obj = Object.new
11
+ # obj.try.this_method_does_not_exist.must_be_nil
12
+ # obj.try.class.must_equal Object
13
+
14
+ # end
15
+ # end
16
+ # describe [Proc] do
17
+ # it "calls the block_given with self, chaining each method as a try, returning the result" do
18
+
19
+ # arr = [1, 2, 3]
20
+ # arr.try { |arr| arr }.must_be_same_as arr
21
+ # arr.try { |arr| arr.length }.must_equal 3
22
+ # arr.try { |arr| arr.length.this_method_does_not_exist 5, 6, 7 }.must_be_nil
23
+ # arr.try { |arr| arr.this_method_does_not_exist.and_neither_does_this }.must_be_nil
24
+ # arr.try { |arr| 5 }.must_equal 5
25
+
26
+ # end
27
+ # end
28
+ # end
29
+ # describe :try? do
30
+ # describe [] do
31
+ # it "returns a proxy of self that either responds with the original method, or nil if method_missing" do
32
+
33
+ # obj = Object.new
34
+ # obj.try?.this_method_does_not_exist.must_be_same_as obj
35
+ # obj.try?.class.must_equal Object
36
+
37
+ # end
38
+ # end
39
+ # describe [Proc] do
40
+ # it "calls the block_given with self, chaining each method as a try, returning the result or the original object (if the result is nil)" do
41
+
42
+ # arr = [1, 2, 3]
43
+ # arr.try? { |arr| arr }.must_be_same_as arr
44
+ # arr.try? { |arr| arr.length }.must_equal 3
45
+ # arr.try? { |arr| arr.length.this_method_does_not_exist 5, 6, 7 }.must_be_same_as arr
46
+ # arr.try? { |arr| arr.this_method_does_not_exist.and_neither_does_this }.must_be_same_as arr
47
+ # arr.try? { |arr| 5 }.must_equal 5
48
+
49
+ # end
50
+ # end
51
+ # end
52
+ # end
@@ -0,0 +1,30 @@
1
+ require 'fuby/try_each'
2
+
3
+ using Fuby
4
+
5
+ describe Object do
6
+ describe :try_each do
7
+ describe [] do
8
+ it "returns a proxy of self that tries applying method_missing to each element of the collection" do
9
+
10
+ modules = [Array, Object, Enumerable]
11
+
12
+ modules.try_each.module_exec do
13
+ self.must_be_kind_of Module
14
+ end
15
+
16
+ modules.try_each.non_existant_method.must_equal modules
17
+
18
+ end
19
+ end
20
+ describe [Proc] do
21
+ it "tries calling the block_given with each element wrapped in a try proxy" do
22
+
23
+ [Array, Object, Enumerable].try_each do |mod|
24
+ mod.non_existant_method.must_be_nil
25
+ end
26
+
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,34 @@
1
+ require 'fuby/try_eval'
2
+
3
+ using Fuby
4
+
5
+ describe Object do
6
+ describe :try_eval do
7
+ describe [Proc] do
8
+ it "evals the block_given in self, chaining each method as a try, returning the result" do
9
+
10
+ arr = [1, 2, 3]
11
+ arr.try_eval { self }.must_be_same_as arr
12
+ arr.try_eval { length }.must_equal 3
13
+ arr.try_eval { length.this_method_does_not_exist 5, 6, 7 }.must_be_nil
14
+ arr.try_eval { this_method_does_not_exist.and_neither_does_this }.must_be_nil
15
+ arr.try_eval { 5 }.must_equal 5
16
+
17
+ end
18
+ end
19
+ end
20
+ describe :try_eval? do
21
+ describe [Proc] do
22
+ it "evals the block_given in self, chaining each method as a try, returning the result or the original object (if the result is nil)" do
23
+
24
+ arr = [1, 2, 3]
25
+ arr.try_eval? { self }.must_be_same_as arr
26
+ arr.try_eval? { length }.must_equal 3
27
+ arr.try_eval? { length.this_method_does_not_exist 5, 6, 7 }.must_be_same_as arr
28
+ arr.try_eval? { this_method_does_not_exist.and_neither_does_this }.must_be_same_as arr
29
+ arr.try_eval? { 5 }.must_equal 5
30
+
31
+ end
32
+ end
33
+ end
34
+ end
File without changes
@@ -0,0 +1,25 @@
1
+ require 'fuby/unabbreviation'
2
+
3
+ using Fuby
4
+
5
+ describe Symbol do
6
+ describe "unabbreviation" do
7
+ it "gets the abbreviated form of the receiver" do
8
+
9
+ :ascending.abbreviation = :asc
10
+ :asc.unabbreviation.must_equal :ascending
11
+
12
+ :desc.unabbreviation = :descending
13
+ :desc.unabbreviation.must_equal :descending
14
+
15
+ end
16
+ end
17
+ describe "unabbreviation=" do
18
+ it "sets the abbreviation for the receiver" do
19
+
20
+ :descending.abbreviation = :desc
21
+ -> { :descending.abbreviation = :d }.must_raise ArgumentError
22
+
23
+ end
24
+ end
25
+ end
File without changes
File without changes
data/test/fuby/uuid.rb ADDED
@@ -0,0 +1,31 @@
1
+ require 'fuby/uuid'
2
+
3
+ using Fuby
4
+
5
+ describe Symbol do
6
+ describe :uuid do
7
+
8
+ it "generates a universally unique identifier" do
9
+ Symbol.uuid.wont_be_same_as Symbol.uuid
10
+ end
11
+
12
+ it "generates identifiers with format [0-9a-z]+(_[0-9a-z]+)+" do
13
+ Symbol.uuid.must_match /^[0-9a-z]+(_[0-9a-z]+)+$/
14
+ end
15
+
16
+ end
17
+ describe "method __uuid" do # can't `describe` anything prefixed with underscore!
18
+
19
+ it "generates identifiers with format __[0-9a-z]+(_[0-9a-z]+)+" do
20
+ Symbol.__uuid.must_match /^__[0-9a-z]+(_[0-9a-z]+)+$/
21
+ end
22
+
23
+ end
24
+ describe "method __uuid__" do
25
+
26
+ it "generates identifiers with format __[0-9a-z]+(_[0-9a-z]+)+" do
27
+ Symbol.__uuid__.must_match /^__[0-9a-z]+(_[0-9a-z]+)+__$/
28
+ end
29
+
30
+ end
31
+ end
File without changes
metadata ADDED
@@ -0,0 +1,369 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fuby
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Alex Goldsmith
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-10-20 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Lightweight extensions to the Ruby standard library provided by the refinements
14
+ mechanism.
15
+ email:
16
+ - alex.k.goldsmith@gmail.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - .gitignore
22
+ - .ruby-version
23
+ - Gemfile
24
+ - LICENSE.txt
25
+ - README.md
26
+ - Rakefile
27
+ - VERSION
28
+ - fuby.gemspec
29
+ - lib/fuby.rb
30
+ - lib/fuby/abbreviation.rb
31
+ - lib/fuby/alias_method.rb
32
+ - lib/fuby/all.rb
33
+ - lib/fuby/and.rb
34
+ - lib/fuby/any.rb
35
+ - lib/fuby/attributes.rb
36
+ - lib/fuby/bind.rb
37
+ - lib/fuby/class_attributes.rb
38
+ - lib/fuby/deep.rb
39
+ - lib/fuby/deep_each.rb
40
+ - lib/fuby/define_instance_method.rb
41
+ - lib/fuby/define_missing_method.rb
42
+ - lib/fuby/define_object_method.rb
43
+ - lib/fuby/define_tok.rb
44
+ - lib/fuby/descendants.rb
45
+ - lib/fuby/dimension.rb
46
+ - lib/fuby/drop.rb
47
+ - lib/fuby/drop_until.rb
48
+ - lib/fuby/drop_while.rb
49
+ - lib/fuby/each.rb
50
+ - lib/fuby/each_with_index_or_key.rb
51
+ - lib/fuby/eql.rb
52
+ - lib/fuby/eql_componentwise.rb
53
+ - lib/fuby/equivalence.rb
54
+ - lib/fuby/eval.rb
55
+ - lib/fuby/extend.rb
56
+ - lib/fuby/format.rb
57
+ - lib/fuby/include.rb
58
+ - lib/fuby/index_or_key.rb
59
+ - lib/fuby/instance_attributes.rb
60
+ - lib/fuby/intercept.rb
61
+ - lib/fuby/invert.rb
62
+ - lib/fuby/longest_common.rb
63
+ - lib/fuby/matches.rb
64
+ - lib/fuby/matches_componentwise.rb
65
+ - lib/fuby/matches_part_of.rb
66
+ - lib/fuby/matches_prefix_of.rb
67
+ - lib/fuby/matches_suffix_of.rb
68
+ - lib/fuby/member.rb
69
+ - lib/fuby/merge.rb
70
+ - lib/fuby/merge_css.rb
71
+ - lib/fuby/method_added_as.rb
72
+ - lib/fuby/method_added_as_binary_operator.rb
73
+ - lib/fuby/method_added_as_filter.rb
74
+ - lib/fuby/new.rb
75
+ - lib/fuby/not.rb
76
+ - lib/fuby/opposite.rb
77
+ - lib/fuby/or.rb
78
+ - lib/fuby/otherwise.rb
79
+ - lib/fuby/part_of.rb
80
+ - lib/fuby/plus.rb
81
+ - lib/fuby/pop.rb
82
+ - lib/fuby/pop_if.rb
83
+ - lib/fuby/pop_options.rb
84
+ - lib/fuby/pop_unless.rb
85
+ - lib/fuby/pop_until.rb
86
+ - lib/fuby/pop_while.rb
87
+ - lib/fuby/prefix_of.rb
88
+ - lib/fuby/prefixes.rb
89
+ - lib/fuby/prepend.rb
90
+ - lib/fuby/private.rb
91
+ - lib/fuby/protected.rb
92
+ - lib/fuby/public.rb
93
+ - lib/fuby/push.rb
94
+ - lib/fuby/push_options.rb
95
+ - lib/fuby/random.rb
96
+ - lib/fuby/self_and_descendants.rb
97
+ - lib/fuby/shift.rb
98
+ - lib/fuby/shift_if.rb
99
+ - lib/fuby/shift_options.rb
100
+ - lib/fuby/shift_unless.rb
101
+ - lib/fuby/shift_until.rb
102
+ - lib/fuby/shift_while.rb
103
+ - lib/fuby/splat.rb
104
+ - lib/fuby/strip.rb
105
+ - lib/fuby/subclass.rb
106
+ - lib/fuby/submodule.rb
107
+ - lib/fuby/suffix_of.rb
108
+ - lib/fuby/suffixes.rb
109
+ - lib/fuby/take.rb
110
+ - lib/fuby/take_until.rb
111
+ - lib/fuby/take_while.rb
112
+ - lib/fuby/tap.rb
113
+ - lib/fuby/to.rb
114
+ - lib/fuby/to_boolean.rb
115
+ - lib/fuby/to_camel_case.rb
116
+ - lib/fuby/to_case.rb
117
+ - lib/fuby/to_components.rb
118
+ - lib/fuby/to_dash_case.rb
119
+ - lib/fuby/to_hash.rb
120
+ - lib/fuby/to_pred.rb
121
+ - lib/fuby/to_proc.rb
122
+ - lib/fuby/to_regexp.rb
123
+ - lib/fuby/to_snake_case.rb
124
+ - lib/fuby/to_tok.rb
125
+ - lib/fuby/tok.rb
126
+ - lib/fuby/tok_arity.rb
127
+ - lib/fuby/tok_direction.rb
128
+ - lib/fuby/tok_parity.rb
129
+ - lib/fuby/tok_side.rb
130
+ - lib/fuby/try.rb
131
+ - lib/fuby/try_each.rb
132
+ - lib/fuby/try_eval.rb
133
+ - lib/fuby/try_exec.rb
134
+ - lib/fuby/unabbreviation.rb
135
+ - lib/fuby/unshift.rb
136
+ - lib/fuby/unshift_options.rb
137
+ - lib/fuby/uuid.rb
138
+ - test/fuby/abbreviation.rb
139
+ - test/fuby/alias_method.rb
140
+ - test/fuby/all.rb
141
+ - test/fuby/and.rb
142
+ - test/fuby/any.rb
143
+ - test/fuby/attributes.rb
144
+ - test/fuby/bind.rb
145
+ - test/fuby/class_attributes.rb
146
+ - test/fuby/deep.rb
147
+ - test/fuby/deep_each.rb
148
+ - test/fuby/define_missing_method.rb
149
+ - test/fuby/define_tok.rb
150
+ - test/fuby/descendants.rb
151
+ - test/fuby/dimension.rb
152
+ - test/fuby/drop.rb
153
+ - test/fuby/drop_until.rb
154
+ - test/fuby/drop_while.rb
155
+ - test/fuby/each.rb
156
+ - test/fuby/each_with_index_or_key.rb
157
+ - test/fuby/eql.rb
158
+ - test/fuby/eql_componentwise.rb
159
+ - test/fuby/equivalence.rb
160
+ - test/fuby/eval.rb
161
+ - test/fuby/extend.rb
162
+ - test/fuby/format.rb
163
+ - test/fuby/include.rb
164
+ - test/fuby/index_or_key.rb
165
+ - test/fuby/instance_attributes.rb
166
+ - test/fuby/intercept.rb
167
+ - test/fuby/invert.rb
168
+ - test/fuby/longest_common.rb
169
+ - test/fuby/matches.rb
170
+ - test/fuby/matches_componentwise.rb
171
+ - test/fuby/matches_prefix_of.rb
172
+ - test/fuby/matches_suffix_of.rb
173
+ - test/fuby/member.rb
174
+ - test/fuby/merge.rb
175
+ - test/fuby/merge_css.rb
176
+ - test/fuby/method_added_as.rb
177
+ - test/fuby/method_added_as_binary_operator.rb
178
+ - test/fuby/method_added_as_filter.rb
179
+ - test/fuby/new.rb
180
+ - test/fuby/not.rb
181
+ - test/fuby/opposite.rb
182
+ - test/fuby/or.rb
183
+ - test/fuby/otherwise.rb
184
+ - test/fuby/part_of.rb
185
+ - test/fuby/plus.rb
186
+ - test/fuby/pop.rb
187
+ - test/fuby/pop_if.rb
188
+ - test/fuby/pop_options.rb
189
+ - test/fuby/pop_unless.rb
190
+ - test/fuby/pop_until.rb
191
+ - test/fuby/pop_while.rb
192
+ - test/fuby/prefix_of.rb
193
+ - test/fuby/prefixes.rb
194
+ - test/fuby/prepend.rb
195
+ - test/fuby/private.rb
196
+ - test/fuby/protected.rb
197
+ - test/fuby/public.rb
198
+ - test/fuby/push.rb
199
+ - test/fuby/push_options.rb
200
+ - test/fuby/random.rb
201
+ - test/fuby/self_and_descendants.rb
202
+ - test/fuby/shift.rb
203
+ - test/fuby/shift_if.rb
204
+ - test/fuby/shift_options.rb
205
+ - test/fuby/shift_unless.rb
206
+ - test/fuby/shift_until.rb
207
+ - test/fuby/shift_while.rb
208
+ - test/fuby/splat.rb
209
+ - test/fuby/strip.rb
210
+ - test/fuby/submodule.rb
211
+ - test/fuby/suffix_of.rb
212
+ - test/fuby/suffixes.rb
213
+ - test/fuby/take.rb
214
+ - test/fuby/take_until.rb
215
+ - test/fuby/take_while.rb
216
+ - test/fuby/tap.rb
217
+ - test/fuby/to_boolean.rb
218
+ - test/fuby/to_camel_case.rb
219
+ - test/fuby/to_components.rb
220
+ - test/fuby/to_dash_case.rb
221
+ - test/fuby/to_hash.rb
222
+ - test/fuby/to_pred.rb
223
+ - test/fuby/to_proc.rb
224
+ - test/fuby/to_regexp.rb
225
+ - test/fuby/to_snake_case.rb
226
+ - test/fuby/to_tok.rb
227
+ - test/fuby/tok.rb
228
+ - test/fuby/tok_arity.rb
229
+ - test/fuby/tok_direction.rb
230
+ - test/fuby/tok_parity.rb
231
+ - test/fuby/tok_side.rb
232
+ - test/fuby/try.rb
233
+ - test/fuby/try_each.rb
234
+ - test/fuby/try_eval.rb
235
+ - test/fuby/try_exec.rb
236
+ - test/fuby/unabbreviation.rb
237
+ - test/fuby/unshift.rb
238
+ - test/fuby/unshift_options.rb
239
+ - test/fuby/uuid.rb
240
+ - test/fuby/version.rb
241
+ homepage: http://github.com/tosyx/fuby
242
+ licenses:
243
+ - MIT
244
+ metadata: {}
245
+ post_install_message:
246
+ rdoc_options: []
247
+ require_paths:
248
+ - lib
249
+ required_ruby_version: !ruby/object:Gem::Requirement
250
+ requirements:
251
+ - - '>='
252
+ - !ruby/object:Gem::Version
253
+ version: '0'
254
+ required_rubygems_version: !ruby/object:Gem::Requirement
255
+ requirements:
256
+ - - '>='
257
+ - !ruby/object:Gem::Version
258
+ version: '0'
259
+ requirements: []
260
+ rubyforge_project:
261
+ rubygems_version: 2.0.3
262
+ signing_key:
263
+ specification_version: 4
264
+ summary: Lightweight extensions to the Ruby standard library
265
+ test_files:
266
+ - test/fuby/abbreviation.rb
267
+ - test/fuby/alias_method.rb
268
+ - test/fuby/all.rb
269
+ - test/fuby/and.rb
270
+ - test/fuby/any.rb
271
+ - test/fuby/attributes.rb
272
+ - test/fuby/bind.rb
273
+ - test/fuby/class_attributes.rb
274
+ - test/fuby/deep.rb
275
+ - test/fuby/deep_each.rb
276
+ - test/fuby/define_missing_method.rb
277
+ - test/fuby/define_tok.rb
278
+ - test/fuby/descendants.rb
279
+ - test/fuby/dimension.rb
280
+ - test/fuby/drop.rb
281
+ - test/fuby/drop_until.rb
282
+ - test/fuby/drop_while.rb
283
+ - test/fuby/each.rb
284
+ - test/fuby/each_with_index_or_key.rb
285
+ - test/fuby/eql.rb
286
+ - test/fuby/eql_componentwise.rb
287
+ - test/fuby/equivalence.rb
288
+ - test/fuby/eval.rb
289
+ - test/fuby/extend.rb
290
+ - test/fuby/format.rb
291
+ - test/fuby/include.rb
292
+ - test/fuby/index_or_key.rb
293
+ - test/fuby/instance_attributes.rb
294
+ - test/fuby/intercept.rb
295
+ - test/fuby/invert.rb
296
+ - test/fuby/longest_common.rb
297
+ - test/fuby/matches.rb
298
+ - test/fuby/matches_componentwise.rb
299
+ - test/fuby/matches_prefix_of.rb
300
+ - test/fuby/matches_suffix_of.rb
301
+ - test/fuby/member.rb
302
+ - test/fuby/merge.rb
303
+ - test/fuby/merge_css.rb
304
+ - test/fuby/method_added_as.rb
305
+ - test/fuby/method_added_as_binary_operator.rb
306
+ - test/fuby/method_added_as_filter.rb
307
+ - test/fuby/new.rb
308
+ - test/fuby/not.rb
309
+ - test/fuby/opposite.rb
310
+ - test/fuby/or.rb
311
+ - test/fuby/otherwise.rb
312
+ - test/fuby/part_of.rb
313
+ - test/fuby/plus.rb
314
+ - test/fuby/pop.rb
315
+ - test/fuby/pop_if.rb
316
+ - test/fuby/pop_options.rb
317
+ - test/fuby/pop_unless.rb
318
+ - test/fuby/pop_until.rb
319
+ - test/fuby/pop_while.rb
320
+ - test/fuby/prefix_of.rb
321
+ - test/fuby/prefixes.rb
322
+ - test/fuby/prepend.rb
323
+ - test/fuby/private.rb
324
+ - test/fuby/protected.rb
325
+ - test/fuby/public.rb
326
+ - test/fuby/push.rb
327
+ - test/fuby/push_options.rb
328
+ - test/fuby/random.rb
329
+ - test/fuby/self_and_descendants.rb
330
+ - test/fuby/shift.rb
331
+ - test/fuby/shift_if.rb
332
+ - test/fuby/shift_options.rb
333
+ - test/fuby/shift_unless.rb
334
+ - test/fuby/shift_until.rb
335
+ - test/fuby/shift_while.rb
336
+ - test/fuby/splat.rb
337
+ - test/fuby/strip.rb
338
+ - test/fuby/submodule.rb
339
+ - test/fuby/suffix_of.rb
340
+ - test/fuby/suffixes.rb
341
+ - test/fuby/take.rb
342
+ - test/fuby/take_until.rb
343
+ - test/fuby/take_while.rb
344
+ - test/fuby/tap.rb
345
+ - test/fuby/to_boolean.rb
346
+ - test/fuby/to_camel_case.rb
347
+ - test/fuby/to_components.rb
348
+ - test/fuby/to_dash_case.rb
349
+ - test/fuby/to_hash.rb
350
+ - test/fuby/to_pred.rb
351
+ - test/fuby/to_proc.rb
352
+ - test/fuby/to_regexp.rb
353
+ - test/fuby/to_snake_case.rb
354
+ - test/fuby/to_tok.rb
355
+ - test/fuby/tok.rb
356
+ - test/fuby/tok_arity.rb
357
+ - test/fuby/tok_direction.rb
358
+ - test/fuby/tok_parity.rb
359
+ - test/fuby/tok_side.rb
360
+ - test/fuby/try.rb
361
+ - test/fuby/try_each.rb
362
+ - test/fuby/try_eval.rb
363
+ - test/fuby/try_exec.rb
364
+ - test/fuby/unabbreviation.rb
365
+ - test/fuby/unshift.rb
366
+ - test/fuby/unshift_options.rb
367
+ - test/fuby/uuid.rb
368
+ - test/fuby/version.rb
369
+ has_rdoc: