blank_slate 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +5 -0
- data/lib/blank_slate.rb +1 -1
- data/lib/blank_slate/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d98e8ec51e0d5404e761fa84b0b4f7fc65c238a752d747ea4b5ba6f94a3c2c1f
|
4
|
+
data.tar.gz: dc6643c7f80e4d635133cd1c8b3dfebe9132bf0ee5896f4ad86ba7808112882a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ac8ea9d6e58504ea64e013a081c692dc5d8b5b4bd870f90445b70380cd3e8b1ddaf26b875690681f9a94ef850afef2707b2505e4d56261f0ce19b722ec9d195
|
7
|
+
data.tar.gz: 2b725ebbf53bdf4e6c711d3d21f17fdb7d695ae687f93de36ed59709cfcdc7adff7531aedbc82fa157209c4e74d58335cf302f27b2afeca7101db1043466dc86
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
data/lib/blank_slate.rb
CHANGED
@@ -3,7 +3,7 @@ module BlankSlate
|
|
3
3
|
blank_slate = Class.new(klass, &block)
|
4
4
|
blank_slate.class_eval do
|
5
5
|
klass.instance_methods(false).
|
6
|
-
reject{|meth|
|
6
|
+
reject{|meth| instance_methods(false).include?(meth) }.
|
7
7
|
each do |meth|
|
8
8
|
define_method(meth){ nil }
|
9
9
|
end
|
data/lib/blank_slate/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blank_slate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Gay
|
@@ -98,7 +98,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
- !ruby/object:Gem::Version
|
99
99
|
version: '0'
|
100
100
|
requirements: []
|
101
|
-
|
101
|
+
rubyforge_project:
|
102
|
+
rubygems_version: 2.7.6
|
102
103
|
signing_key:
|
103
104
|
specification_version: 4
|
104
105
|
summary: Impliment a null object without resorting to method_missing.
|