rebind 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in rebind.gemspec
4
+ gemspec
@@ -0,0 +1,2 @@
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
@@ -0,0 +1,5 @@
1
+ class Method
2
+ def rebind(*args,&block)
3
+ unbind.bind(*args,&block)
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ module Rebind
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,21 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "rebind/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "rebind"
7
+ s.version = Rebind::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["Stefan Penner"]
10
+ s.email = ["Stefan.Penner@gmail.com"]
11
+ s.homepage = ""
12
+ s.summary = %q{Rebind a method in ruby}
13
+ s.description = %q{More then likely a terrible idea, but a fun addition, this allows you to rebind a method}
14
+
15
+ s.rubyforge_project = "rebind"
16
+
17
+ s.files = `git ls-files`.split("\n")
18
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
+ s.require_paths = ["lib"]
21
+ end
metadata ADDED
@@ -0,0 +1,52 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rebind
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Stefan Penner
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-05-30 00:00:00.000000000Z
13
+ dependencies: []
14
+ description: More then likely a terrible idea, but a fun addition, this allows you
15
+ to rebind a method
16
+ email:
17
+ - Stefan.Penner@gmail.com
18
+ executables: []
19
+ extensions: []
20
+ extra_rdoc_files: []
21
+ files:
22
+ - .gitignore
23
+ - Gemfile
24
+ - Rakefile
25
+ - lib/rebind.rb
26
+ - lib/rebind/version.rb
27
+ - rebind.gemspec
28
+ homepage: ''
29
+ licenses: []
30
+ post_install_message:
31
+ rdoc_options: []
32
+ require_paths:
33
+ - lib
34
+ required_ruby_version: !ruby/object:Gem::Requirement
35
+ none: false
36
+ requirements:
37
+ - - ! '>='
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ required_rubygems_version: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ requirements: []
47
+ rubyforge_project: rebind
48
+ rubygems_version: 1.8.4
49
+ signing_key:
50
+ specification_version: 3
51
+ summary: Rebind a method in ruby
52
+ test_files: []