stub_server 0.6.0 → 0.7.0

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: 05ae6e405bf5a0cba95079404c91d8d6d2c9ce3db5c7b8945152317784ac557e
4
- data.tar.gz: 63ffb7d7b3ecfd68efb46afc7bc3b057c44330cd7d90efe314c3ba1abd43b1d1
3
+ metadata.gz: 474c62a560d37024c944c9fb8326652b006d68ef08fd63e831e398900c9adab9
4
+ data.tar.gz: e7fab068fd71807320901a7c8454cf65bdb406f3dfe14ec6460cf45c3d725680
5
5
  SHA512:
6
- metadata.gz: 740f2b4d866208cb25d9327bd1641709383212532fd826de9821f5c136b5a7f103447780337c51bc93974308c856db9f5e76e3840c05c3d243144510af2679a1
7
- data.tar.gz: b14b9380693882907c8c56dc5aeb5ad5bbb179c464d6d4fc6315a1d083c4e3ce372b9495d0e69e9f967440f2f73424d40bc4a79f217d1cb28e05b8f0b031aa61
6
+ metadata.gz: 637024bd7354c0ff7f656b237b085426301c58853cdf4c89257d7bd2a65073124b4c31c098e4dc22af0580be62cab4d273b0d833277abc2ce4ea7d127b017b88
7
+ data.tar.gz: 9ce63bc5fb6f758113785d126a458aad69546b579bae640f833593be0e6312667e44bf631803d4ff12b28db3404cb70b5b916daa237bde4ddd267b0b53b21b88
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  class StubServer
3
- VERSION = "0.6.0"
3
+ VERSION = "0.7.0"
4
4
  end
data/lib/stub_server.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
- require 'rack'
2
+ require 'rackup'
3
3
  require 'webrick'
4
4
 
5
5
  class StubServer
@@ -47,7 +47,7 @@ class StubServer
47
47
 
48
48
  options.merge!(@webrick)
49
49
 
50
- Rack::Handler::WEBrick.run(self, **options) { |s| @server = s }
50
+ Rackup::Handler::WEBrick.run(self, **options) { |s| @server = s }
51
51
  end
52
52
  end
53
53
 
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stub_server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-01 00:00:00.000000000 Z
11
+ date: 2022-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rack
14
+ name: rackup
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 0.2.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 0.2.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: webrick
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -59,14 +59,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: 2.5.0
62
+ version: 2.7.0
63
63
  required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - ">="
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
68
  requirements: []
69
- rubygems_version: 3.2.16
69
+ rubygems_version: 3.1.6
70
70
  signing_key:
71
71
  specification_version: 4
72
72
  summary: Boot up a real server to serve testing replies