rubyexts 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -0
- data/LICENSE +20 -0
- data/README.textile +0 -0
- data/Rakefile +79 -0
- data/TODO.txt +6 -0
- data/lib/rubyexts.rb +102 -0
- data/lib/rubyexts/array.rb +20 -0
- data/lib/rubyexts/attribute.rb +151 -0
- data/lib/rubyexts/capture_io.rb +32 -0
- data/lib/rubyexts/class.rb +177 -0
- data/lib/rubyexts/colored_string.rb +103 -0
- data/lib/rubyexts/enumerable.rb +30 -0
- data/lib/rubyexts/file.rb +84 -0
- data/lib/rubyexts/hash.rb +180 -0
- data/lib/rubyexts/kernel.rb +91 -0
- data/lib/rubyexts/module.rb +53 -0
- data/lib/rubyexts/object.rb +56 -0
- data/lib/rubyexts/object_space.rb +16 -0
- data/lib/rubyexts/os.rb +89 -0
- data/lib/rubyexts/platform.rb +27 -0
- data/lib/rubyexts/random.rb +25 -0
- data/lib/rubyexts/string.rb +92 -0
- data/lib/rubyexts/time.rb +15 -0
- data/lib/rubyexts/time_dsl.rb +62 -0
- data/lib/rubyexts/try_dup.rb +43 -0
- data/lib/rubyexts/unique_array.rb +16 -0
- data/rubyexts.gemspec +36 -0
- data/script/spec +12 -0
- data/spec/rubyexts/array_spec.rb +19 -0
- data/spec/rubyexts/attribute_spec.rb +37 -0
- data/spec/rubyexts/class_spec.rb +1 -0
- data/spec/rubyexts/cli_spec.rb +0 -0
- data/spec/rubyexts/colored_string_spec.rb +9 -0
- data/spec/rubyexts/enumerable_spec.rb +52 -0
- data/spec/rubyexts/file_spec.rb +78 -0
- data/spec/rubyexts/hash_spec.rb +91 -0
- data/spec/rubyexts/kernel_spec.rb +9 -0
- data/spec/rubyexts/module_spec.rb +0 -0
- data/spec/rubyexts/object_space_spec.rb +17 -0
- data/spec/rubyexts/object_spec.rb +57 -0
- data/spec/rubyexts/os_spec.rb +121 -0
- data/spec/rubyexts/platform_spec.rb +0 -0
- data/spec/rubyexts/random_spec.rb +31 -0
- data/spec/rubyexts/string_spec.rb +23 -0
- data/spec/rubyexts/time_dsl_spec.rb +88 -0
- data/spec/rubyexts/time_spec.rb +11 -0
- data/spec/rubyexts/unique_array_spec.rb +0 -0
- data/spec/rubyexts_spec.rb +182 -0
- data/spec/spec.opts +5 -0
- data/spec/spec_helper.rb +16 -0
- metadata +104 -0
data/spec/spec.opts
ADDED
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
SPEC_ROOT = File.dirname(__FILE__)
|
4
|
+
require "spec" # so you can run ruby spec/rango/whatever_spec.rb
|
5
|
+
|
6
|
+
module Spec
|
7
|
+
module Matchers
|
8
|
+
def match(expected)
|
9
|
+
Matcher.new :match, expected do |expected|
|
10
|
+
match do |actual|
|
11
|
+
actual.match(expected)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
metadata
ADDED
@@ -0,0 +1,104 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rubyexts
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- "Jakub \xC5\xA0\xC5\xA5astn\xC3\xBD aka Botanicus"
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain:
|
11
|
+
date: 2009-11-23 00:00:00 +00:00
|
12
|
+
default_executable:
|
13
|
+
dependencies: []
|
14
|
+
|
15
|
+
description: ""
|
16
|
+
email: knava.bestvinensis@gmail.com
|
17
|
+
executables: []
|
18
|
+
|
19
|
+
extensions: []
|
20
|
+
|
21
|
+
extra_rdoc_files: []
|
22
|
+
|
23
|
+
files:
|
24
|
+
- CHANGELOG
|
25
|
+
- lib/rubyexts/array.rb
|
26
|
+
- lib/rubyexts/attribute.rb
|
27
|
+
- lib/rubyexts/capture_io.rb
|
28
|
+
- lib/rubyexts/class.rb
|
29
|
+
- lib/rubyexts/colored_string.rb
|
30
|
+
- lib/rubyexts/enumerable.rb
|
31
|
+
- lib/rubyexts/file.rb
|
32
|
+
- lib/rubyexts/hash.rb
|
33
|
+
- lib/rubyexts/kernel.rb
|
34
|
+
- lib/rubyexts/module.rb
|
35
|
+
- lib/rubyexts/object.rb
|
36
|
+
- lib/rubyexts/object_space.rb
|
37
|
+
- lib/rubyexts/os.rb
|
38
|
+
- lib/rubyexts/platform.rb
|
39
|
+
- lib/rubyexts/random.rb
|
40
|
+
- lib/rubyexts/string.rb
|
41
|
+
- lib/rubyexts/time.rb
|
42
|
+
- lib/rubyexts/time_dsl.rb
|
43
|
+
- lib/rubyexts/try_dup.rb
|
44
|
+
- lib/rubyexts/unique_array.rb
|
45
|
+
- lib/rubyexts.rb
|
46
|
+
- LICENSE
|
47
|
+
- Rakefile
|
48
|
+
- README.textile
|
49
|
+
- rubyexts-0.0.1.gem
|
50
|
+
- rubyexts.gemspec
|
51
|
+
- script/spec
|
52
|
+
- spec/rubyexts/array_spec.rb
|
53
|
+
- spec/rubyexts/attribute_spec.rb
|
54
|
+
- spec/rubyexts/class_spec.rb
|
55
|
+
- spec/rubyexts/cli_spec.rb
|
56
|
+
- spec/rubyexts/colored_string_spec.rb
|
57
|
+
- spec/rubyexts/enumerable_spec.rb
|
58
|
+
- spec/rubyexts/file_spec.rb
|
59
|
+
- spec/rubyexts/hash_spec.rb
|
60
|
+
- spec/rubyexts/kernel_spec.rb
|
61
|
+
- spec/rubyexts/module_spec.rb
|
62
|
+
- spec/rubyexts/object_space_spec.rb
|
63
|
+
- spec/rubyexts/object_spec.rb
|
64
|
+
- spec/rubyexts/os_spec.rb
|
65
|
+
- spec/rubyexts/platform_spec.rb
|
66
|
+
- spec/rubyexts/random_spec.rb
|
67
|
+
- spec/rubyexts/string_spec.rb
|
68
|
+
- spec/rubyexts/time_dsl_spec.rb
|
69
|
+
- spec/rubyexts/time_spec.rb
|
70
|
+
- spec/rubyexts/unique_array_spec.rb
|
71
|
+
- spec/rubyexts_spec.rb
|
72
|
+
- spec/spec.opts
|
73
|
+
- spec/spec_helper.rb
|
74
|
+
- TODO.txt
|
75
|
+
has_rdoc: true
|
76
|
+
homepage: http://github.com/botanicus/rubyexts
|
77
|
+
licenses: []
|
78
|
+
|
79
|
+
post_install_message:
|
80
|
+
rdoc_options: []
|
81
|
+
|
82
|
+
require_paths:
|
83
|
+
- lib
|
84
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: 1.9.1
|
89
|
+
version:
|
90
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - ">="
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: "0"
|
95
|
+
version:
|
96
|
+
requirements: []
|
97
|
+
|
98
|
+
rubyforge_project: rubyexts
|
99
|
+
rubygems_version: 1.3.5
|
100
|
+
signing_key:
|
101
|
+
specification_version: 3
|
102
|
+
summary: Tiny library with Ruby extensions
|
103
|
+
test_files: []
|
104
|
+
|