opal-connect 0.0.13 → 0.0.14

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: 7ef662424f8bb11baa278d0bf6533507f85b5a9b
4
- data.tar.gz: 420e337deeea7e370069c8efcf1c42eace4422ca
3
+ metadata.gz: 95fb28324af881c61bc29987d3d1fe527e8bb719
4
+ data.tar.gz: d6c5afedeb80966c6863c8900dc37e5ed6b37914
5
5
  SHA512:
6
- metadata.gz: feaf9a7bab608966b709ec38bedbecb2dcdf72c62647524f89feb381de6f3e7926ca6377c9c21471d7d4bb1d4738baeb198ffff1c80f5a81c15ada25a5a8f591
7
- data.tar.gz: 3123e9949594dc7fd069bf3673ff669e6bb638f43e75e9e6869911520187180d19e55ad5720c59ab39c2bd2ffb4206baa87ba457975aaf55625c3dbf206c62dd
6
+ metadata.gz: 9452f6abcc753dddfc85ad4b786f444ab175f038075646ae0cc387026ac49e05198e86a5b01987417332a661c7353825a1a445e8a3bfad3c43deb8f394e63f03
7
+ data.tar.gz: aa24cf63d004be9ae549dfcc6cd85ab7137688216f041ba36a0cef380041f6a031f2a5015ec6f57a1e95d8a367eea679b3e02ec16e83eee889f51eaf8eb91dbe
data/lib/opal/connect.rb CHANGED
@@ -31,10 +31,12 @@ module Opal
31
31
  end
32
32
 
33
33
  def setup(&block)
34
- instance_exec(&block) if block_given?
34
+ if block_given?
35
+ instance_exec(&block)
35
36
 
36
- # make sure we include the default plugins with connect
37
- options[:plugins].each { |plug| Connect.plugin plug }
37
+ # make sure we include the default plugins with connect
38
+ options[:plugins].each { |plug| Connect.plugin plug }
39
+ end
38
40
 
39
41
  unless block_given?
40
42
  options[:setup_blocks].each { |b| Class.new { include Opal::Connect }.instance_exec(&b) }
@@ -1,5 +1,5 @@
1
1
  module Opal
2
2
  module Connect
3
- VERSION = "0.0.13"
3
+ VERSION = "0.0.14"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opal-connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj