setsuzoku 0.10.4 → 0.10.5

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: 15658ef92bfe4161257a6d7d6663628c582cf630046020e993e5349990fcea60
4
- data.tar.gz: 4c829255f43d3cd3dff69d3592d4261192873ebe551deda0cf31772cc5efdea2
3
+ metadata.gz: ebb07133f2399524199b1c5a2f1cd500ae8317656ea91539bf99868eaa3a0b4d
4
+ data.tar.gz: 56c9a198f24fc19be3f510c062f8e5e6c13d6249c33932c7aba4715edca11c89
5
5
  SHA512:
6
- metadata.gz: b946d229887f6a4f8baa49d3b8df3aea86ad4500ba3d0fe72ed86c1a57fd597eae3cf14e2a35caf380fd817108b47717429dccbdd5120604502a0e63c190805b
7
- data.tar.gz: fa8861e578ab725a91b300762ef6a27390c4ce7dcebd3f9ba87afc2e4ccea4b2c429f4373d0f99c90dd866032772a1e52ed105afde8f52f8967e46b0a671c9a7
6
+ metadata.gz: c479986f2b169b6b6bfa503e10d6826d463ad08521aeb8bbbe9357840c964e8ca6b61e077876004fa3a7fd96a82fbf2f9fa3cce4dbb3792905ca9c7ee0b0ea6b
7
+ data.tar.gz: 2a73541b422fc3e802f293c5e6991b3e6aabc17b709531db19d2f33d0ecef712af530ac2eec33efc1de82ccdd130b24144d5c95eacb7cdfd4de4829cce83ac29
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- setsuzoku (0.10.4)
4
+ setsuzoku (0.10.5)
5
5
  activesupport (~> 5.0)
6
6
  faraday (~> 0.11)
7
7
  httparty (~> 0.16.4)
@@ -21,7 +21,7 @@ GEM
21
21
  concurrent-ruby (1.1.6)
22
22
  crack (0.4.3)
23
23
  safe_yaml (~> 1.0.0)
24
- diff-lcs (1.3)
24
+ diff-lcs (1.4.2)
25
25
  faraday (0.17.3)
26
26
  multipart-post (>= 1.2, < 3)
27
27
  hashdiff (1.0.1)
@@ -41,19 +41,19 @@ GEM
41
41
  mini_portile2 (~> 2.4.0)
42
42
  public_suffix (4.0.5)
43
43
  rake (10.5.0)
44
- rspec (3.9.0)
45
- rspec-core (~> 3.9.0)
46
- rspec-expectations (~> 3.9.0)
47
- rspec-mocks (~> 3.9.0)
48
- rspec-core (3.9.2)
49
- rspec-support (~> 3.9.3)
50
- rspec-expectations (3.9.2)
44
+ rspec (3.8.0)
45
+ rspec-core (~> 3.8.0)
46
+ rspec-expectations (~> 3.8.0)
47
+ rspec-mocks (~> 3.8.0)
48
+ rspec-core (3.8.2)
49
+ rspec-support (~> 3.8.0)
50
+ rspec-expectations (3.8.6)
51
51
  diff-lcs (>= 1.2.0, < 2.0)
52
- rspec-support (~> 3.9.0)
53
- rspec-mocks (3.9.1)
52
+ rspec-support (~> 3.8.0)
53
+ rspec-mocks (3.8.2)
54
54
  diff-lcs (>= 1.2.0, < 2.0)
55
- rspec-support (~> 3.9.0)
56
- rspec-support (3.9.3)
55
+ rspec-support (~> 3.8.0)
56
+ rspec-support (3.8.3)
57
57
  safe_yaml (1.0.5)
58
58
  sorbet (0.5.5675)
59
59
  sorbet-static (= 0.5.5675)
@@ -62,7 +62,7 @@ GEM
62
62
  thread_safe (0.3.6)
63
63
  tzinfo (1.2.7)
64
64
  thread_safe (~> 0.1)
65
- webmock (3.8.3)
65
+ webmock (3.8.0)
66
66
  addressable (>= 2.3.6)
67
67
  crack (>= 0.3.2)
68
68
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -73,10 +73,10 @@ PLATFORMS
73
73
  DEPENDENCIES
74
74
  bundler (~> 1.17)
75
75
  rake (~> 10.0)
76
- rspec (~> 3.0)
76
+ rspec (= 3.8)
77
77
  setsuzoku!
78
78
  sorbet (~> 0.5)
79
- webmock (~> 3.8)
79
+ webmock (= 3.8)
80
80
 
81
81
  BUNDLED WITH
82
82
  1.17.2
@@ -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
- plugin_class.any_instance.should_receive(action_name).and_return(spec[:stub][:response])
70
+ plugin_class.any_instance.stub(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
- plugin_class.any_instance.should_receive(meth).and_return(resp)
75
+ plugin_class.any_instance.stub(meth).and_return(resp)
76
76
  end
77
77
  end
78
78
  end
@@ -208,12 +208,12 @@ module Setsuzoku
208
208
  define_method stub_plugin_method_name do
209
209
  #TODO: let this use the appropriate rspec instance stub method
210
210
  #TODO: Does it make sense to have the stub with the method? or should it be in a json file we parse?
211
- plugin_class.any_instance.should_receive(action_name).and_return(spec[:stub][:response])
211
+ plugin_class.any_instance.stub(action_name).and_return(spec[:stub][:response])
212
212
  # a plugin spec might have some dynamic data, e.g. certain methods are called with plugin specific args.
213
213
  if spec[:stub][:dynamic_methods]
214
214
  spec[:stub][:dynamic_methods].each do |meth, resp|
215
215
  #how can we ignore the call count instead of just putting a high limit?
216
- plugin_class.any_instance.should_receive(meth).and_return(resp)
216
+ plugin_class.any_instance.stub(meth).and_return(resp)
217
217
  end
218
218
  end
219
219
  end
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Setsuzoku
5
- VERSION = '0.10.4'
5
+ VERSION = '0.10.5'
6
6
  end
@@ -38,8 +38,8 @@ Gem::Specification.new do |spec|
38
38
 
39
39
  spec.add_development_dependency "bundler", "~> 1.17"
40
40
  spec.add_development_dependency "rake", "~> 10.0"
41
- spec.add_development_dependency "rspec", "~> 3.0"
42
- spec.add_development_dependency "webmock", "~> 3.8"
41
+ spec.add_development_dependency "rspec", "3.8"
42
+ spec.add_development_dependency "webmock", "3.8"
43
43
  spec.add_runtime_dependency "activesupport", "~> 5.0"
44
44
  spec.add_development_dependency "sorbet", "~> 0.5"
45
45
  spec.add_runtime_dependency "sorbet-runtime", "~> 0.5"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: setsuzoku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.4
4
+ version: 0.10.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Stadtler
@@ -42,28 +42,28 @@ dependencies:
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: '3.0'
47
+ version: '3.8'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: '3.0'
54
+ version: '3.8'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: webmock
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - '='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '3.8'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - '='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3.8'
69
69
  - !ruby/object:Gem::Dependency