webkit_remote 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb9d8b3286536660ca3d24fa8a141624cf481ac7
4
- data.tar.gz: 230b9d1de0ac94e75371b5b70008d34a0f314827
3
+ metadata.gz: 416d67a2b6d35035f958ba12d78f6df811c8d3da
4
+ data.tar.gz: e84f8431c006987ed00bc6820d735ebd32007b33
5
5
  SHA512:
6
- metadata.gz: 7f81789922130b6afaff41745a2476c9d6dc724cec3f0c9c2159f828598a2ee4ad0af1f513f259c3bb66b21ee0e7bdc6ca02829049afbd0915b8034b9184ae6b
7
- data.tar.gz: 9c28a1f6f474f6e0992629e1d15e67f204e9891770f9a32fda629b2e555c00dd37b77c7b93217afd37f68c66759ac9a3ca3ecbae92b6277c9247c420722dcd4b
6
+ metadata.gz: ab633fc32026f9550a550ecfc24630a6256cd17b6253020dac5428f3810ab008dc2d982e2014d6ce75f57c50e6f75b164cc7fd74746ce0fc3236c5826261682a
7
+ data.tar.gz: 175f76e8c8fe401d7f3dd0285eb1019cb5a36da172dbb8d2c1646c940adcbfc1c80117bdbe6c618fd447c187d95670597326619bb45bf60d610739ce4ceb2855
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.1
1
+ 0.5.2
@@ -127,6 +127,14 @@ class UndefinedClass
127
127
  def inspect
128
128
  'JavaScript undefined'
129
129
  end
130
+
131
+ def release
132
+ self
133
+ end
134
+
135
+ def released?
136
+ true
137
+ end
130
138
  end # class WebkitRemote::Client::UndefinedClass
131
139
 
132
140
  Undefined = UndefinedClass.new
@@ -83,6 +83,11 @@ describe WebkitRemote::Client::Runtime do
83
83
  it 'is idempotent' do
84
84
  @undefined.must_equal @client.remote_eval('(function(){})()')
85
85
  end
86
+
87
+ it 'returns a JSObject-like object' do
88
+ @undefined.released?.must_equal true
89
+ @undefined.release.must_equal @undefined
90
+ end
86
91
  end
87
92
 
88
93
  describe 'for an object created via new' do
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "webkit_remote"
8
- s.version = "0.5.1"
8
+ s.version = "0.5.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Victor Costan"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webkit_remote
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Costan