dominate 0.6.0 → 0.6.1

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: 002723ab44811ed63d9c1288531e1ac92eb3a0f5
4
- data.tar.gz: 6c7eaaad47a20ba8274b9beb91ee0945e111b315
3
+ metadata.gz: e395d2086436cdb2ce8e73ff7e8b4ff3bdb33975
4
+ data.tar.gz: 97061dbbb9e56558721bc9cd3266aec83b15c14b
5
5
  SHA512:
6
- metadata.gz: f9f9c264fa9524b3474f45f4dee0460bc6ec316602908af12cc76d9ff1a7fcd0d7ae4eb7dbc8b3cfe674b1e54841ba288261408b9a51f6ac86d3b42ed66adea5
7
- data.tar.gz: e30b012604baebe274ff73e3a885a7be5d39f05bc063303dce4409d69da38803bf18d27fc355a5454f3b0425fc89678325b6bef8b5fb4d0a87176fce0cadb252
6
+ metadata.gz: 5d5f41678d8ff7d2fc9ccf22a72eb62d728696443f9d1bae8cc1c9866e2b80279e5bd757a04e410cfcf4ce78ea43fcde1c2ab2d56a1b636556649b19abe2293b
7
+ data.tar.gz: af47481108af632da963b17ea4fe7ba30bc62f11a9055e655e9029a5f8af6391ee43db5b80743675b18249cff7198fe8fe804d54fb4da437bc9e953639d72413
@@ -1,3 +1,3 @@
1
1
  module Dominate
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
@@ -17,15 +17,15 @@ module Dominate
17
17
  @event = event
18
18
  @widget_state = false
19
19
 
20
+ self.instance_variables.each do |n|
21
+ app.instance_variable_set n, self.instance_variable_get(n)
22
+ end
23
+
20
24
  event.add_observer self, :trigger_event
21
25
  end
22
26
 
23
27
  def method_missing method, *args, &block
24
28
  if app.respond_to? method
25
- self.instance_variables.each do |name|
26
- app.instance_variable_set name, self.instance_variable_get(name)
27
- end
28
-
29
29
  app.send method, *args, &block
30
30
  else
31
31
  super
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dominate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj