protobuf-rspec 0.1.0.rc1 → 0.1.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
@@ -55,7 +55,7 @@ module Protobuf
55
55
  # @param [block] optionally provide a block which will be yielded the service instance just prior to invoking the rpc method.
56
56
  # @return [Protobuf::Service] the service instance post-calling the rpc method.
57
57
  def call_local_service(klass, method_name, request)
58
- request = service.rpcs[method_name].request_type.new(request) if request.is_a?(Hash)
58
+ request = klass.rpcs[method_name].request_type.new(request) if request.is_a?(Hash)
59
59
  service = klass.new(method_name, request.serialize_to_string)
60
60
  yield(service) if block_given?
61
61
  service.method(method_name).call
@@ -1,5 +1,5 @@
1
1
  module Protobuf
2
2
  module RSpec
3
- VERSION = "0.1.0.rc1"
3
+ VERSION = "0.1.0.rc2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protobuf-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.rc1
4
+ version: 0.1.0.rc2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-10-16 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: protobuf
16
- requirement: &2161458660 !ruby/object:Gem::Requirement
16
+ requirement: &2155337520 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '1.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2161458660
24
+ version_requirements: *2155337520
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
27
- requirement: &2161457900 !ruby/object:Gem::Requirement
27
+ requirement: &2155337020 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '2.8'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2161457900
35
+ version_requirements: *2155337020
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
38
- requirement: &2161457260 !ruby/object:Gem::Requirement
38
+ requirement: &2155336640 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2161457260
46
+ version_requirements: *2155336640
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: yard
49
- requirement: &2161456720 !ruby/object:Gem::Requirement
49
+ requirement: &2155336100 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0.7'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *2161456720
57
+ version_requirements: *2155336100
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: redcarpet
60
- requirement: &2161456140 !ruby/object:Gem::Requirement
60
+ requirement: &2155335600 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: '2.1'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *2161456140
68
+ version_requirements: *2155335600
69
69
  description: Protobuf RSpec helpers for testing services and clients. Meant to be
70
70
  used with the protobuf gem. Decouple external services/clients from each other using
71
71
  the given helper methods.
@@ -97,7 +97,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
97
97
  version: '0'
98
98
  segments:
99
99
  - 0
100
- hash: -1776446749920294311
100
+ hash: -4305518628667414038
101
101
  required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  none: false
103
103
  requirements: