hobosupport 1.1.0.pre0 → 1.1.0.pre2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hobo_support.rb +1 -1
- data/lib/hobo_support/blankslate.rb +1 -1
- data/test/hobosupport.rdoctest +1 -1
- metadata +3 -3
data/lib/hobo_support.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Define BlankSlate in case ActiveSupport aint present
|
2
2
|
unless defined? BlankSlate
|
3
3
|
class BlankSlate
|
4
|
-
instance_methods.reject { |m| m =~ /^__/ || m.to_s == 'object_id' }.each { |m| undef_method m }
|
4
|
+
(instance_methods+protected_instance_methods+private_instance_methods).reject { |m| m =~ /^__/ || m.to_s == 'object_id' }.each { |m| undef_method m }
|
5
5
|
def initialize(me)
|
6
6
|
@me = me
|
7
7
|
end
|
data/test/hobosupport.rdoctest
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hobosupport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: -
|
4
|
+
hash: -1876988167
|
5
5
|
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
9
|
- 0
|
10
|
-
-
|
11
|
-
version: 1.1.0.
|
10
|
+
- pre2
|
11
|
+
version: 1.1.0.pre2
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Tom Locke
|