1
0
mirror of https://github.com/cmur2/dyndnsd.git synced 2025-08-08 08:33:56 +02:00

Compare commits

..

8 Commits

Author SHA1 Message Date
dependabot[bot]
e859d9a5ca gems: update async requirement from ~> 1.31.0 to >= 1.31, < 2.28
Updates the requirements on [async](https://github.com/socketry/async) to permit the latest version.
- [Release notes](https://github.com/socketry/async/releases)
- [Changelog](https://github.com/socketry/async/blob/main/releases.md)
- [Commits](https://github.com/socketry/async/compare/v1.31.0...v2.27.0)

---
updated-dependencies:
- dependency-name: async
  dependency-version: 2.27.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-04 16:06:57 +00:00
renovate[bot]
01175ec8f9 docker: update alpine Docker tag to v3.22.1 2025-07-17 10:18:27 +02:00
dependabot[bot]
8d2c2f9c90 gems: update rubocop requirement from ~> 1.77.0 to ~> 1.78.0
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.77.0...v1.78.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.78.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-14 19:02:43 +02:00
dependabot[bot]
d3522e2c92 gems: update rubocop requirement from ~> 1.76.1 to ~> 1.77.0
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.76.1...v1.77.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.77.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-23 15:26:28 +02:00
dependabot[bot]
d92ee500c9 gems: update rubocop requirement from ~> 1.75.1 to ~> 1.76.1
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.75.1...v1.76.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.76.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-09 20:39:22 +02:00
cn
0ddb87cc57 gems: update solargraph 2025-06-05 23:56:42 +02:00
cn
685854aad3 project: update Renovate config migration 2025-06-05 23:03:03 +02:00
renovate[bot]
3825f57521 docker: update alpine Docker tag to v3.22.0 2025-06-05 23:02:12 +02:00
6 changed files with 10 additions and 11 deletions

View File

@@ -40,7 +40,7 @@
customManagers: [ customManagers: [
{ {
customType: "regex", customType: "regex",
fileMatch: ["\.rb$", "^Rakefile$"], managerFilePatterns: ["/.rb$/", "/^Rakefile$/"],
matchStrings: [ matchStrings: [
"renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s.*_version = '(?<currentValue>.*)'\\s" "renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s.*_version = '(?<currentValue>.*)'\\s"
] ]

View File

@@ -18,7 +18,6 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
ruby-version: ruby-version:
- '3.0'
- '3.1' - '3.1'
- '3.2' - '3.2'
- '3.3' - '3.3'

View File

@@ -1,11 +1,11 @@
FROM alpine:3.21.3 FROM alpine:3.22.1
EXPOSE 5353 8080 EXPOSE 5353 8080
ARG DYNDNSD_VERSION ARG DYNDNSD_VERSION
RUN apk --no-cache add openssl ca-certificates && \ RUN apk --no-cache add openssl ca-certificates && \
apk --no-cache add ruby ruby-etc ruby-io-console ruby-json ruby-webrick && \ apk --no-cache add ruby ruby-webrick && \
apk --no-cache add --virtual .build-deps linux-headers ruby-dev build-base tzdata && \ apk --no-cache add --virtual .build-deps linux-headers ruby-dev build-base tzdata && \
gem install --no-document dyndnsd -v ${DYNDNSD_VERSION} && \ gem install --no-document dyndnsd -v ${DYNDNSD_VERSION} && \
rm -rf /usr/lib/ruby/gems/*/cache/ && \ rm -rf /usr/lib/ruby/gems/*/cache/ && \

View File

@@ -1,11 +1,11 @@
FROM alpine:3.21.3 FROM alpine:3.22.1
EXPOSE 5353 8080 EXPOSE 5353 8080
COPY pkg/dyndnsd-*.gem /tmp/dyndnsd.gem COPY pkg/dyndnsd-*.gem /tmp/dyndnsd.gem
RUN apk --no-cache add openssl ca-certificates && \ RUN apk --no-cache add openssl ca-certificates && \
apk --no-cache add ruby ruby-etc ruby-io-console ruby-json ruby-webrick && \ apk --no-cache add ruby ruby-webrick && \
apk --no-cache add --virtual .build-deps linux-headers ruby-dev build-base tzdata && \ apk --no-cache add --virtual .build-deps linux-headers ruby-dev build-base tzdata && \
gem install --no-document /tmp/dyndnsd.gem && \ gem install --no-document /tmp/dyndnsd.gem && \
rm -rf /usr/lib/ruby/gems/*/cache/ && \ rm -rf /usr/lib/ruby/gems/*/cache/ && \

View File

@@ -27,9 +27,9 @@ Gem::Specification.new do |s|
s.required_ruby_version = '>= 3.0' s.required_ruby_version = '>= 3.0'
s.add_dependency 'async', '~> 1.31.0' s.add_dependency 'async', '>= 1.31', '< 2.28'
s.add_dependency 'async-dns', '~> 1.3.0' s.add_dependency 'async-dns', '~> 1.3.0'
s.add_dependency 'base64', '>= 0.2', '< 0.4' # needed for async s.add_dependency 'base64', '~> 0.2.0' # needed for async
s.add_dependency 'logger', '>= 1.6', '< 1.8' s.add_dependency 'logger', '>= 1.6', '< 1.8'
s.add_dependency 'metriks' s.add_dependency 'metriks'
s.add_dependency 'opentelemetry-exporter-jaeger', '~> 0.22.0' s.add_dependency 'opentelemetry-exporter-jaeger', '~> 0.22.0'
@@ -44,8 +44,8 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rack-test' s.add_development_dependency 'rack-test'
s.add_development_dependency 'rake' s.add_development_dependency 'rake'
s.add_development_dependency 'rspec' s.add_development_dependency 'rspec'
s.add_development_dependency 'rubocop', '~> 1.75.1' s.add_development_dependency 'rubocop', '~> 1.78.0'
s.add_development_dependency 'rubocop-rake', '~> 0.7.1' s.add_development_dependency 'rubocop-rake', '~> 0.7.1'
s.add_development_dependency 'rubocop-rspec', '~> 3.6.0' s.add_development_dependency 'rubocop-rspec', '~> 3.6.0'
s.add_development_dependency 'solargraph', '~> 0.49.0' s.add_development_dependency 'solargraph', '~> 0.55.0'
end end

View File

@@ -89,7 +89,7 @@ module Dyndnsd
# @return [Array{Array{Object}}] # @return [Array{Array{Object}}]
def self.parse_endpoints(endpoint_list) def self.parse_endpoints(endpoint_list)
endpoint_list.map { |addr_string| addr_string.split('@') } endpoint_list.map { |addr_string| addr_string.split('@') }
.map { |addr_parts| [addr_parts[0], addr_parts[1].to_i || 53] } .map { |addr_parts| [addr_parts[0], addr_parts[1]&.to_i || 53] }
.map { |addr| [:tcp, :udp].map { |type| [type] + addr } } .map { |addr| [:tcp, :udp].map { |type| [type] + addr } }
.flatten(1) .flatten(1)
end end