resque-scheduler 4.7.0 → 4.8.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of resque-scheduler might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4bd2a447d845ab5c056174d73fb88995693d998b06b90a3b565d3aa15981c3bb
4
- data.tar.gz: d3cbbd2b7bdff68726bb9565e5c00531c7eb18397915fe6edfe568a9f0d34c26
3
+ metadata.gz: fd9d3813b4dfbf31849dd4cc5866f8039face2673ec14c69906b90bb40f2208e
4
+ data.tar.gz: f3f4c9bfb5cb1a68c11a7284b8820a4231640a1ccf18c2a661777f51b2dc4f6b
5
5
  SHA512:
6
- metadata.gz: b91aca3627cc71d2082702b3a46be5ae1d38fd6b75961b49fd41c61c78fb3921dbd469a64ed3fb89348d6c00e79dc09c86a68ede59d75ed11d12ef55097bd6bf
7
- data.tar.gz: eae2165cb529f4a38b8321f9c2dfe120ffeae5b13c001819af6bde9901a084a1710724caea469ffbd1b88266621b56e64c7f79b11e75ae55ca45f688497f8d24
6
+ metadata.gz: 8ce3e99af96433cbc202163b2bea73ec9ee54a4f3691e987582bb110cfece6be0f53935e755d95d6113024e73cacaa23ae397dc4178e8e5b452553752add531f
7
+ data.tar.gz: b782b127a76f17c22c3299f90d57812eb966e9a7e7bcd1372d44d0204fbbab86c3f70e0fea1abb9181f8fb825f99bded51e6ff9f0c7358c1e59b6cfc04b1a604
data/CHANGELOG.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  **ATTN**: This project uses [semantic versioning](http://semver.org/).
4
4
 
5
+ ## [4.8.0] - 2023-27-1
6
+ - Replace deprecated Socket.gethostname with Addrinfo.getaddrinfo to fix deprecation warnings (#753)
7
+
5
8
  ## [4.7.0] - 2022-10-6
6
9
  ### Fixed
7
10
  - Fix tests for redis-rb 5.0 (#757)
@@ -47,7 +47,7 @@ module Resque
47
47
 
48
48
  def hostname
49
49
  local_hostname = Socket.gethostname
50
- Socket.gethostbyname(local_hostname).first
50
+ Addrinfo.getaddrinfo(local_hostname, 'http').first.getnameinfo.first
51
51
  rescue
52
52
  local_hostname
53
53
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Resque
4
4
  module Scheduler
5
- VERSION = '4.7.0'.freeze
5
+ VERSION = '4.8.0'.freeze
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-scheduler
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.7.0
4
+ version: 4.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben VandenBos
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: exe
14
14
  cert_chain: []
15
- date: 2022-10-07 00:00:00.000000000 Z
15
+ date: 2023-01-27 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: bundler