extlib 0.9.3 → 0.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of extlib might be problematic. Click here for more details.

@@ -1 +0,0 @@
1
- require File.join(File.dirname(__FILE__), '..', 'lib', 'extlib')
@@ -1,4 +0,0 @@
1
- require File.expand_path(File.join(File.dirname(__FILE__), 'spec_helper'))
2
-
3
- describe String do
4
- end
@@ -1,12 +0,0 @@
1
- require File.expand_path(File.join(File.dirname(__FILE__), 'spec_helper'))
2
-
3
- describe Struct do
4
-
5
- it "should have attributes" do
6
-
7
- s = Struct.new(:name).new('bob')
8
- s.attributes.should == { :name => 'bob' }
9
-
10
- end
11
-
12
- end
@@ -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