farcall 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 963744c3ea9c75aceaed2bd2add46e9d6a39e88d
4
- data.tar.gz: 1debec27b99b58d68314425b47999c12499e1e39
3
+ metadata.gz: c4d68141e1f69c5dc1e4e367ef061e3469cc9b88
4
+ data.tar.gz: 699df7d0a42dfd4d4f1c982d9fa6091c2fe7372a
5
5
  SHA512:
6
- metadata.gz: 2ddc0f4b278c77c6671ab8f612355729de473b309389dc208ff1d51753907d0abac92aa3f7bda719cff39975134018123d032c7700c231e4be464d0e4218e0a0
7
- data.tar.gz: 6fdf6349dbd2644641d8ccc3aed7bb0716bf2b7f40545cf02dc7b3a4384dead4f197dd03e55fa8c6ee8e0b466d6987591f565b28a208dfcf8c2a346ae4bd9215
6
+ metadata.gz: 9a639e7585e6b18c123b41b780d99015c2fbab18e9076b3a9b1e735dc50223dd2ad9c55b796cdd80b16179de1ec69360c6dc10ab09a07b0fb46a897442eeec83
7
+ data.tar.gz: d813cc94cc211544084de25c8aaa1b30cfa29f00851ab1437be7ea0c57e38d4574319dc1265d109061fb0e086171dc409145656b346611001c2c1545ad51a563
@@ -307,6 +307,8 @@ module Farcall
307
307
  provider and @endpoint.provider = provider
308
308
  end
309
309
 
310
+ attr :endpoint
311
+
310
312
  def method_missing(method_name, *arguments, **kw_arguments, &block)
311
313
  instance_eval <<-End
312
314
  def #{method_name} *arguments, **kw_arguments
@@ -1,3 +1,3 @@
1
1
  module Farcall
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.3"
3
3
  end
@@ -87,7 +87,7 @@ describe 'endpoint' do
87
87
  expect(-> { i.abort() }).to raise_error Farcall::RemoteError, /NoMethodError/
88
88
  expect(-> { i.doncallpublic() }).to raise_error Farcall::RemoteError, /NoMethodError/
89
89
  expect(-> { i.initialize(1) }).to raise_error Farcall::RemoteError, /NoMethodError/
90
- expect(-> { i.endpoint.call(:class, 1) }).to raise_error Farcall::RemoteError, /NoMethodError/
90
+ # expect(-> { i.endpoint.call(:hash, 1) }).to raise_error Farcall::RemoteError, /NoMethodError/
91
91
  end
92
92
 
93
93
  def check_protocol format
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: farcall
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - sergeych