goodyear 0.2.0 → 0.2.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: 50ec1a555376dedcd7d61bd6ee0af28c5ff1d223
4
- data.tar.gz: cc8c41f84f247e8e5b6545b0d370bd2880811d4e
3
+ metadata.gz: 0a5948a74ef155fa3c8cad82f8a3612771eb184d
4
+ data.tar.gz: 1064c9ccf64af862013d2acc5efe5433d343c7ed
5
5
  SHA512:
6
- metadata.gz: 730d430c78ae09d1d856c7c609ee49f012009f98901843c65c5553ad9f7570f735e2ba338d56ae394f00888f57d6db5fc2d1e4e042a680383b61083298519ac4
7
- data.tar.gz: c25747f334ffca81cb31d807aee123e6fcb4a46b3f32c13e96a2414d87bf55c364ee6006729a94af221f568003ccddba35f8203cad6e2b22f894af39ba4d8bb1
6
+ metadata.gz: a91119e4b3e28d0959de2322f782e5ef8effae8ffb83a600bc810f0728d84a259bd721017d40a792ba1af01a080cfadecbd58740b606b68d2ebe8455ea01c37f
7
+ data.tar.gz: 1fe4916dd0997412b6c7eae11e1a1a14a1bfd8b16ed3cb0c26a947d429dc95bbef654ccc7d22ab7eb7217ebbbe84ca2854bf5608cacd5ed751c324879aebff75
@@ -39,7 +39,7 @@ module Tire
39
39
  when document.is_a?(Hash)
40
40
  document[:_index] || document['_index']
41
41
  when document.respond_to?(:_index)
42
- document._index
42
+ document._index rescue nil
43
43
  end
44
44
 
45
45
  return ind if ind.to_s != @name.to_s
@@ -1,3 +1,3 @@
1
1
  module Goodyear
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: goodyear
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Spencer Markowski