gogo_driver 0.0.1 → 0.0.2

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: fe0127bc9f9097e3d029d25fcb4f16f79d70fe1e
4
- data.tar.gz: d6efb3c729a6c19ea79891f9eb74d59e573212c8
3
+ metadata.gz: 01029823284f8df21714f295f3f8c6a6258e82c7
4
+ data.tar.gz: 861604e0197d12d1eeff2c438c100a24f0d97efc
5
5
  SHA512:
6
- metadata.gz: 538fcbc834f2ece8b9445fcf3e3e5d0e6153899aa6e7aac4e060e923b8bf366320f29e6d6b8acc74162a805607479a0ae257b233fb98cfbe854247af1f1329a2
7
- data.tar.gz: b2e734eaaeb82101523fa3f815c72d941c3ef477024dd455534a91a42744eef4cb7c4b1383690ed6dc0bdfdd942f604d46dc513a98e232cd0f0007b21282e731
6
+ metadata.gz: 0af08fd4e5bc15b501325381f0e0a75dde82944c5eb23caaa72dad51f98df88c76a037d53b5cdeb03c7140cac2322029e6ca3b70b324e1cc2bb07200d01837ad
7
+ data.tar.gz: 4beb205c4dc22a54cf02697d6eea01d982392cfbba658c5057a7a62719f33a36e5b223987e4773231b43b0efac643602fb0d8bf876506c2a2bcc7c52110811ce
@@ -1,3 +1,3 @@
1
1
  module GogoDriver
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/gogo_driver.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require "gogo_driver/version"
2
+ require "gogo_driver/entity"
2
3
 
3
4
  module GogoDriver
4
5
  def init
@@ -7,5 +8,7 @@ module GogoDriver
7
8
 
8
9
  def method_missing(method, *args, &block)
9
10
  @entity.respond_to?(method) ? @entity.send(method, *args, &block) : super
11
+ rescue Errno::ECONNREFUSED
12
+ @entity = Entity.new
10
13
  end
11
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gogo_driver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - gogotanaka