red 4.0.4 → 4.0.5
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.
- data/config/hoe.rb +0 -2
- data/lib/red/version.rb +1 -1
- data/lib/source/ruby.rb +2 -3
- metadata +1 -1
data/config/hoe.rb
CHANGED
|
@@ -62,13 +62,11 @@ $hoe = Hoe.new(GEM_NAME, VERS) do |p|
|
|
|
62
62
|
p.clean_globs |= ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store'] #An array of file patterns to delete on clean.
|
|
63
63
|
|
|
64
64
|
# == Optional
|
|
65
|
-
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
|
|
66
65
|
p.extra_deps = EXTRA_DEPENDENCIES
|
|
67
66
|
|
|
68
67
|
#p.spec_extras = {} # A hash of extra values to set in the gemspec.
|
|
69
68
|
end
|
|
70
69
|
|
|
71
|
-
CHANGES = $hoe.paragraphs_of('History.txt', 0..1).join("\\n\\n")
|
|
72
70
|
PATH = (RUBYFORGE_PROJECT == GEM_NAME) ? RUBYFORGE_PROJECT : "#{RUBYFORGE_PROJECT}/#{GEM_NAME}"
|
|
73
71
|
$hoe.remote_rdoc_dir = File.join(PATH.gsub(/^#{RUBYFORGE_PROJECT}\/?/,''), 'rdoc')
|
|
74
72
|
$hoe.rsync_args = '-av --delete --ignore-errors'
|
data/lib/red/version.rb
CHANGED
data/lib/source/ruby.rb
CHANGED
|
@@ -812,9 +812,8 @@ class Module
|
|
|
812
812
|
#
|
|
813
813
|
# FIX: Incomplete
|
|
814
814
|
def append_features(mod)
|
|
815
|
-
`
|
|
816
|
-
`Red.
|
|
817
|
-
`Red.donateMethodsToClass(mod.prototype,this.prototype)`
|
|
815
|
+
`Red.donateMethodsToSingleton(this,mod)`
|
|
816
|
+
`Red.donateMethodsToClass(this.prototype,mod.prototype)`
|
|
818
817
|
return `mod`
|
|
819
818
|
end
|
|
820
819
|
|