zeevex_proxy 0.9.5 → 0.9.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,6 +12,14 @@ module ZeevexProxy
12
12
  end
13
13
 
14
14
  def initialize(*args); end
15
+
16
+ # this causes a warning
17
+ old_verbosity = $VERBOSE
18
+ $VERBOSE = nil
19
+ def object_id
20
+ __id__
21
+ end
22
+ $VERBOSE = old_verbosity
15
23
  end
16
24
  else
17
25
  puts "Defining our own BasicObject"
@@ -1,3 +1,3 @@
1
1
  module ZeevexProxy
2
- VERSION = "0.9.5"
2
+ VERSION = "0.9.6"
3
3
  end
@@ -65,8 +65,8 @@ describe ZeevexProxy::Base do
65
65
  it "responds_to a defined method on Responder" do
66
66
  proxy.should respond_to(:responder_method)
67
67
  end
68
- it "has the same object_id as the proxy target" do
69
- proxy.object_id.should == object.object_id
68
+ it "does not have the same object_id as the proxy target" do
69
+ proxy.object_id.should_not == object.object_id
70
70
  end
71
71
  it "returns target to __getobj__" do
72
72
  proxy.__getobj__.should == object
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zeevex_proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: