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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/setsuzoku/rspec/dynamic_spec_helper.rb +2 -2
- data/lib/setsuzoku/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15658ef92bfe4161257a6d7d6663628c582cf630046020e993e5349990fcea60
|
4
|
+
data.tar.gz: 4c829255f43d3cd3dff69d3592d4261192873ebe551deda0cf31772cc5efdea2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b946d229887f6a4f8baa49d3b8df3aea86ad4500ba3d0fe72ed86c1a57fd597eae3cf14e2a35caf380fd817108b47717429dccbdd5120604502a0e63c190805b
|
7
|
+
data.tar.gz: fa8861e578ab725a91b300762ef6a27390c4ce7dcebd3f9ba87afc2e4ccea4b2c429f4373d0f99c90dd866032772a1e52ed105afde8f52f8967e46b0a671c9a7
|
data/Gemfile.lock
CHANGED
@@ -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
|
-
|
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
|
-
|
75
|
+
plugin_class.any_instance.should_receive(meth).and_return(resp)
|
76
76
|
end
|
77
77
|
end
|
78
78
|
end
|
data/lib/setsuzoku/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2020-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|