inheritance_module_eval 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,13 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
5
+ .idea/
6
+ doc/
7
+ log/*.log
8
+ /tmp/
9
+ tmp/
10
+ db/*.sqlite3
11
+ /coverage
12
+ /coverage.data
13
+ /.yardoc
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --colour --format documentation
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in inheritance_module_eval.gemspec
4
+ gemspec
data/HISTORY.md ADDED
@@ -0,0 +1,3 @@
1
+ 0.0.1
2
+ =====
3
+ Initial release. Add README, LICENSE, .gitignore, etc
data/LICENSE ADDED
@@ -0,0 +1,7 @@
1
+ Copyright (c) 2011 Alexander N Paramonov
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,12 @@
1
+ Inheritance module_eval
2
+ =======================
3
+ Inheritance module_eval saves inheritance structure of dynamically created methods.
4
+ Allows to redefine dynamic method in the same class or in any child class, and call original method by super keyword
5
+
6
+ Installation
7
+ ------------
8
+ gem inheritance_module_eval
9
+
10
+ Copyright
11
+ ---------
12
+ Copyright © 2011 Alexander N Paramonov. See LICENSE for details.
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => [:spec]
@@ -0,0 +1,25 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "inheritance_module_eval/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "inheritance_module_eval"
7
+ s.version = InheritanceModuleEval::VERSION
8
+ s.authors = ["Alexander Paramonov"]
9
+ s.email = ["alexander.n.paramonov@gmail.com"]
10
+ s.homepage = "http://github.com/AlexParamonov/inheritance_module_eval"
11
+ s.summary = %q{inheritance safe module_eval.}
12
+ s.description = %q{saves inheritance structure of dynamically created methods.
13
+ Allows to redefine dynamic method in the same class or in any child class, and call original method by super keyword}
14
+
15
+ s.rubyforge_project = "inheritance_module_eval"
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
+
22
+ # specify any dependencies here; for example:
23
+ s.add_development_dependency "rspec", ">= 2.6"
24
+ # s.add_runtime_dependency "rest-client"
25
+ end
@@ -0,0 +1,3 @@
1
+ module InheritanceModuleEval
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,5 @@
1
+ require "inheritance_module_eval/version"
2
+
3
+ module InheritanceModuleEval
4
+ # Your code goes here...
5
+ end
metadata ADDED
@@ -0,0 +1,69 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: inheritance_module_eval
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Alexander Paramonov
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-11-12 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rspec
16
+ requirement: &22648120 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '2.6'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: *22648120
25
+ description: ! 'saves inheritance structure of dynamically created methods.
26
+
27
+ Allows to redefine dynamic method in the same class or in any child class, and call
28
+ original method by super keyword'
29
+ email:
30
+ - alexander.n.paramonov@gmail.com
31
+ executables: []
32
+ extensions: []
33
+ extra_rdoc_files: []
34
+ files:
35
+ - .gitignore
36
+ - .rspec
37
+ - Gemfile
38
+ - HISTORY.md
39
+ - LICENSE
40
+ - README.md
41
+ - Rakefile
42
+ - inheritance_module_eval.gemspec
43
+ - lib/inheritance_module_eval.rb
44
+ - lib/inheritance_module_eval/version.rb
45
+ homepage: http://github.com/AlexParamonov/inheritance_module_eval
46
+ licenses: []
47
+ post_install_message:
48
+ rdoc_options: []
49
+ require_paths:
50
+ - lib
51
+ required_ruby_version: !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ! '>='
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
57
+ required_rubygems_version: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ requirements: []
64
+ rubyforge_project: inheritance_module_eval
65
+ rubygems_version: 1.8.6
66
+ signing_key:
67
+ specification_version: 3
68
+ summary: inheritance safe module_eval.
69
+ test_files: []