extlib 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of extlib might be problematic. Click here for more details.
- data/LICENSE +20 -0
- data/README.txt +1 -1
- data/Rakefile +66 -11
- data/lib/extlib.rb +16 -3
- data/lib/extlib/blank.rb +19 -2
- data/lib/extlib/class.rb +175 -0
- data/lib/extlib/hash.rb +410 -0
- data/lib/extlib/hook.rb +4 -4
- data/lib/extlib/inflection.rb +3 -6
- data/lib/extlib/lazy_array.rb +1 -1
- data/lib/extlib/logger.rb +202 -0
- data/lib/extlib/mash.rb +143 -0
- data/lib/extlib/object.rb +141 -4
- data/lib/extlib/object_space.rb +13 -0
- data/lib/extlib/rubygems.rb +38 -0
- data/lib/extlib/simple_set.rb +39 -0
- data/lib/extlib/string.rb +87 -0
- data/lib/extlib/tasks/release.rb +15 -0
- data/lib/extlib/time.rb +12 -0
- data/lib/extlib/version.rb +1 -1
- data/lib/extlib/virtual_file.rb +10 -0
- metadata +23 -37
- data/.autotest +0 -21
- data/History.txt +0 -1
- data/Manifest.txt +0 -29
- data/spec/blank_spec.rb +0 -85
- data/spec/hook_spec.rb +0 -1198
- data/spec/inflection_spec.rb +0 -50
- data/spec/lazy_array_spec.rb +0 -896
- data/spec/module_spec.rb +0 -58
- data/spec/object_spec.rb +0 -4
- data/spec/pooling_spec.rb +0 -486
- data/spec/spec_helper.rb +0 -1
- data/spec/string_spec.rb +0 -4
- data/spec/struct_spec.rb +0 -12
- data/tasks/hoe.rb +0 -39
data/spec/spec_helper.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require File.join(File.dirname(__FILE__), '..', 'lib', 'extlib')
|
data/spec/string_spec.rb
DELETED
data/spec/struct_spec.rb
DELETED
data/tasks/hoe.rb
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
require 'hoe'
|
2
|
-
|
3
|
-
@config_file = "~/.rubyforge/user-config.yml"
|
4
|
-
@config = nil
|
5
|
-
RUBYFORGE_USERNAME = "unknown"
|
6
|
-
def rubyforge_username
|
7
|
-
unless @config
|
8
|
-
begin
|
9
|
-
@config = YAML.load(File.read(File.expand_path(@config_file)))
|
10
|
-
rescue
|
11
|
-
puts <<-EOS
|
12
|
-
ERROR: No rubyforge config file found: #{@config_file}
|
13
|
-
Run 'rubyforge setup' to prepare your env for access to Rubyforge
|
14
|
-
- See http://newgem.rubyforge.org/rubyforge.html for more details
|
15
|
-
EOS
|
16
|
-
exit
|
17
|
-
end
|
18
|
-
end
|
19
|
-
RUBYFORGE_USERNAME.replace @config["username"]
|
20
|
-
end
|
21
|
-
|
22
|
-
hoe = Hoe.new(GEM_NAME, GEM_VERSION) do |p|
|
23
|
-
|
24
|
-
p.developer(AUTHOR, EMAIL)
|
25
|
-
|
26
|
-
p.description = PROJECT_DESCRIPTION
|
27
|
-
p.summary = PROJECT_SUMMARY
|
28
|
-
p.url = PROJECT_URL
|
29
|
-
|
30
|
-
p.rubyforge_name = PROJECT_NAME if PROJECT_NAME
|
31
|
-
|
32
|
-
p.clean_globs |= GEM_CLEAN
|
33
|
-
p.spec_extras = GEM_EXTRAS if GEM_EXTRAS
|
34
|
-
|
35
|
-
GEM_DEPENDENCIES.each do |dep|
|
36
|
-
p.extra_deps << dep
|
37
|
-
end
|
38
|
-
|
39
|
-
end
|