reactive-ruby 0.7.20 → 0.7.21

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: 9ca98468e40f18b1764978546a1a3436390ebc84
4
- data.tar.gz: 70b9057c1a7924574a881d312c62551a8cb72adb
3
+ metadata.gz: ba020e5e9862a19e8d282dc496e6f2d4d333b95d
4
+ data.tar.gz: 1a22aab3bf6c5b1d2dd0f3c9d6476e70ee4a4725
5
5
  SHA512:
6
- metadata.gz: b6800c763a8cc32f967fd89277eb9f365de027ec052feae35facd86f06a155e2173f90b5e636f97bb12bda4936ed27b1f25ad5da3dd749608a10d2166a5f4f20
7
- data.tar.gz: ea5cc3ffdee3bbbfb778833338392e598de397638a7b48df10dedd3bfed61c7ddebe514dea54edbd0d16d9547c6e072720b655c3911e98207b2a52045a52da59
6
+ metadata.gz: 82f5d964eafb7dc65e5738af32fa53411a05be1f23fcb66dca829d33b60b039a920b69c8b2f5f024d3cbb2bf3c244db93b649e3789944fb9b46f625b5c54a11d
7
+ data.tar.gz: 4d333c0118ff987bc17e24a24dd0269bd02906c1656b2132cf1e892996ce792208ffc090cb2e0f4dd224e27c1711315e7aa37aaff65bd35c296b5c3fa5cb9ae9
@@ -73,7 +73,12 @@ module React
73
73
  node_only = true
74
74
  name = name.gsub(/_as_node$/, "")
75
75
  end
76
- unless name = const_get(name) and name.method_defined? :render
76
+ begin
77
+ name = const_get(name)
78
+ rescue Exception
79
+ name = nil
80
+ end
81
+ unless name and name.method_defined? :render
77
82
  return super
78
83
  end
79
84
  if node_only
@@ -81,9 +86,6 @@ module React
81
86
  else
82
87
  React::RenderingContext.render(name, *args, &block)
83
88
  end
84
- rescue Exception => e
85
- message = "#{base.name}.#{n} method_missing handler exception raised: #{e}" rescue nil
86
- `console.error(#{message})` rescue nil
87
89
  end
88
90
 
89
91
  end
@@ -1,3 +1,3 @@
1
1
  module React
2
- VERSION = "0.7.20"
2
+ VERSION = "0.7.21"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reactive-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.20
4
+ version: 0.7.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Chang