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 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
@@ -2,7 +2,7 @@ module Red
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 4
4
4
  MINOR = 0
5
- TINY = 4
5
+ TINY = 5
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
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
- `var tp=this.prototype,mp=mod.prototype`
816
- `Red.donateMethodsToSingleton(mod,this)`
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: red
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.4
4
+ version: 4.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesse Sielaff