opal-native 0.0.4.1 → 0.0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/opal/native.rb +2 -0
  2. data/opal-native.gemspec +1 -1
  3. metadata +1 -1
@@ -24,6 +24,8 @@ module Native
24
24
  end
25
25
 
26
26
  def self.included (klass)
27
+ return super if klass.respond_to? :from_native
28
+
27
29
  class << klass
28
30
  def from_native (object)
29
31
  instance = allocate
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new {|s|
2
2
  s.name = 'opal-native'
3
- s.version = '0.0.4.1'
3
+ s.version = '0.0.4.2'
4
4
  s.author = 'meh.'
5
5
  s.email = 'meh@paranoici.org'
6
6
  s.homepage = 'http://github.com/opal/opal-native'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opal-native
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4.1
4
+ version: 0.0.4.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: