wedge 0.1.63 → 0.1.64

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: 39b7c08fa1dbe213d74ca26c1c74472a0499c5d5
4
- data.tar.gz: 81c675b88aae66be1cf815a7257e83f29bcd0f35
3
+ metadata.gz: 64a06a5840341d1d3ad5492b2152ef166d8ef33a
4
+ data.tar.gz: 39fa76d09924848cd7123d8c04151ff0a37e89a1
5
5
  SHA512:
6
- metadata.gz: d2a1cd5f87a251389b56a3a1947ae9b48432c27048a9d1d9976fee9837312a526097a68cc4a209e475a63041a92ffa47c61a6294572c823818020f170c578593
7
- data.tar.gz: d6920bae03919ace7fa0951db22354c416f10d444ef57f086256dbc09397791356e46cf2fdd5892eb63fb3ccdb9a9d3b4f392332b500da241258f29c3ceb1aa9
6
+ metadata.gz: 9eb934fc8eec76be67ad9f03e0e9f3919a7c0a1b260e7026cd4f94f5a8ac6f439d492412a1077e25e50224eb8e4edfc8c0f5584d45a81b5a31fe7f57a382ca2a
7
+ data.tar.gz: a30e31007dd9c89b25178217eb57b1cd415b4dde538a7ec83aa600528807154d04aa4e04e864916c366562a5c1828d6d607e6f3a814888093add65c58138fe6c
@@ -75,7 +75,8 @@ class Wedge
75
75
  end
76
76
 
77
77
  def get_class(object)
78
- object.class.method_defined?(:original_class_name) ? object.class.original_class_name : object.class.name
78
+ return object.class.original_class_name if object.class.method_defined?(:original_class_name)
79
+ [NilClass, Symbol].include?(object.class) ? object : object.class.name
79
80
  end
80
81
  end
81
82
 
data/lib/wedge/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Wedge
2
- VERSION = '0.1.63'
2
+ VERSION = '0.1.64'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wedge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.63
4
+ version: 0.1.64
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-25 00:00:00.000000000 Z
11
+ date: 2015-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opal-wedge