dyndnsd 3.6.2 → 3.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: 36982dc3ced66ccf671b87d264f633ddeb8b716241b03cd65753bde1ecd17172
4
- data.tar.gz: 6e24b422185ac2b087187d0e98af4990816758ea62e69dfdc37e43b795bc16cc
3
+ metadata.gz: a77513980910c028d044c0b2fc2cd4f0190a98bd4a2f044ad902a373ff185ac3
4
+ data.tar.gz: e7f0c1c6e0ffae50624e2b5fa7b06dacde7ff89c48491a9bbf6a740b56253a55
5
5
  SHA512:
6
- metadata.gz: fa739e555ba66263f93cc2b78b83eab7d8ea95336a2bcf00e78c069abebd795f40b553cde0294b490f86d0220c41223e7b369cd9fb1bc83ad7618ec310df2219
7
- data.tar.gz: 1b2d280c60679d02f005a2709aec0dc17f9e84a538fc3ff0caa8472a6d7c081c19a8dafa233c8da67457a5c7bd74946739f193cc6e00d26bde81841d0bba0fa2
6
+ metadata.gz: 3ff3f3c5d94c5a5cfb7d1a7d126251173b2d76661baf071ee504c5c09fb0f932166dcaca3580a33db4fb2b1808f0e4f0599c863baec187957e673b15fc7c77a9
7
+ data.tar.gz: cfbcd9ea9f2a548b190a8bfa5ca8d32b0f89f5c4f86aae1b164b89f2e7a70b629313cfce851c4bf615b8ee15da6573e226a55bddd808ec2e97928a14d5343bc1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.7.0 (September 16th, 2022)
4
+
5
+ IMPROVEMENTS:
6
+
7
+ - Update to Rack 3
8
+
3
9
  ## 3.6.2 (August 11th, 2022)
4
10
 
5
11
  OTHER:
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dyndnsd
4
- VERSION = '3.6.2'
4
+ VERSION = '3.7.0'
5
5
  end
data/lib/dyndnsd.rb CHANGED
@@ -7,6 +7,7 @@ require 'ipaddr'
7
7
  require 'json'
8
8
  require 'yaml'
9
9
  require 'rack'
10
+ require 'rackup'
10
11
  require 'metriks'
11
12
  require 'opentelemetry/instrumentation/rack'
12
13
  require 'opentelemetry/sdk'
@@ -259,10 +260,10 @@ module Dyndnsd
259
260
  # @return [void]
260
261
  private_class_method def self.setup_traps
261
262
  Signal.trap('INT') do
262
- Rack::Handler::WEBrick.shutdown
263
+ Rackup::Handler::WEBrick.shutdown
263
264
  end
264
265
  Signal.trap('TERM') do
265
- Rack::Handler::WEBrick.shutdown
266
+ Rackup::Handler::WEBrick.shutdown
266
267
  end
267
268
  end
268
269
 
@@ -350,7 +351,7 @@ module Dyndnsd
350
351
 
351
352
  app = OpenTelemetry::Instrumentation::Rack::Middlewares::TracerMiddleware.new(app)
352
353
 
353
- Rack::Handler::WEBrick.run app, Host: config['host'], Port: config['port']
354
+ Rackup::Handler::WEBrick.run app, Host: config['host'], Port: config['port']
354
355
  end
355
356
  end
356
357
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dyndnsd
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.2
4
+ version: 3.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Nicolai
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-08-11 00:00:00.000000000 Z
11
+ date: 2022-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async
@@ -100,14 +100,28 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '2.0'
103
+ version: '3.0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '2.0'
110
+ version: '3.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rackup
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: webrick
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -198,14 +212,14 @@ dependencies:
198
212
  requirements:
199
213
  - - "~>"
200
214
  - !ruby/object:Gem::Version
201
- version: 1.34.1
215
+ version: 1.36.0
202
216
  type: :development
203
217
  prerelease: false
204
218
  version_requirements: !ruby/object:Gem::Requirement
205
219
  requirements:
206
220
  - - "~>"
207
221
  - !ruby/object:Gem::Version
208
- version: 1.34.1
222
+ version: 1.36.0
209
223
  - !ruby/object:Gem::Dependency
210
224
  name: rubocop-rake
211
225
  requirement: !ruby/object:Gem::Requirement
@@ -226,28 +240,28 @@ dependencies:
226
240
  requirements:
227
241
  - - "~>"
228
242
  - !ruby/object:Gem::Version
229
- version: 2.12.0
243
+ version: 2.13.1
230
244
  type: :development
231
245
  prerelease: false
232
246
  version_requirements: !ruby/object:Gem::Requirement
233
247
  requirements:
234
248
  - - "~>"
235
249
  - !ruby/object:Gem::Version
236
- version: 2.12.0
250
+ version: 2.13.1
237
251
  - !ruby/object:Gem::Dependency
238
252
  name: solargraph
239
253
  requirement: !ruby/object:Gem::Requirement
240
254
  requirements:
241
255
  - - "~>"
242
256
  - !ruby/object:Gem::Version
243
- version: 0.45.0
257
+ version: 0.46.0
244
258
  type: :development
245
259
  prerelease: false
246
260
  version_requirements: !ruby/object:Gem::Requirement
247
261
  requirements:
248
262
  - - "~>"
249
263
  - !ruby/object:Gem::Version
250
- version: 0.45.0
264
+ version: 0.46.0
251
265
  description: A small, lightweight and extensible DynDNS server written with Ruby and
252
266
  Rack.
253
267
  email: