setsuzoku 0.10.3 → 0.10.4

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
  SHA256:
3
- metadata.gz: be6b4f73f228cd56bcafd263862f5a84c6d7ef27bf37dcbbacb08e9d9924f28a
4
- data.tar.gz: 735fd334007864a9a40647edff5d3441c3baad7b8b637bfde5414a5d1f20adc7
3
+ metadata.gz: 15658ef92bfe4161257a6d7d6663628c582cf630046020e993e5349990fcea60
4
+ data.tar.gz: 4c829255f43d3cd3dff69d3592d4261192873ebe551deda0cf31772cc5efdea2
5
5
  SHA512:
6
- metadata.gz: b3bf581fad087d683aa66a7c80d18b31317cae6401953b5f67f6e04e574d1507fafbe3dea6d0a3f8d2fa17ef8852f3a2f35633eb0e68328f87625d6ccfff1c77
7
- data.tar.gz: 31bf1b3ab7eee17f8e00a3ba51471c5340f4ffecad8812e96daaafe7d1181b8365b1d20a5152ef7398758d5b4649af93033e9d2349ea5b8abf14afefc5b38214
6
+ metadata.gz: b946d229887f6a4f8baa49d3b8df3aea86ad4500ba3d0fe72ed86c1a57fd597eae3cf14e2a35caf380fd817108b47717429dccbdd5120604502a0e63c190805b
7
+ data.tar.gz: fa8861e578ab725a91b300762ef6a27390c4ce7dcebd3f9ba87afc2e4ccea4b2c429f4373d0f99c90dd866032772a1e52ed105afde8f52f8967e46b0a671c9a7
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- setsuzoku (0.10.3)
4
+ setsuzoku (0.10.4)
5
5
  activesupport (~> 5.0)
6
6
  faraday (~> 0.11)
7
7
  httparty (~> 0.16.4)
@@ -67,12 +67,12 @@ module Setsuzoku
67
67
  def stub_plugin_methods_for_spec(registering_class = self.described_class)
68
68
  plugin_class = registering_class.plugin_context[:plugin_class]
69
69
  plugin_class.spec_definitions.each do |action_name, spec|
70
- allow_any_instance_of(plugin_class).to receive(action_name).and_return(spec[:stub][:response])
70
+ plugin_class.any_instance.should_receive(action_name).and_return(spec[:stub][:response])
71
71
  # a plugin spec might have some dynamic data, e.g. certain methods are called with plugin specific args.
72
72
  if spec[:stub][:dynamic_methods]
73
73
  spec[:stub][:dynamic_methods].each do |meth, resp|
74
74
  #how can we ignore the call count instead of just putting a high limit?
75
- allow_any_instance_of(plugin_class).to receive(meth).and_return(resp)
75
+ plugin_class.any_instance.should_receive(meth).and_return(resp)
76
76
  end
77
77
  end
78
78
  end
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Setsuzoku
5
- VERSION = '0.10.3'
5
+ VERSION = '0.10.4'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: setsuzoku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.3
4
+ version: 0.10.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Stadtler
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-26 00:00:00.000000000 Z
11
+ date: 2020-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler