mirror of
https://github.com/cmur2/dyndnsd.git
synced 2025-08-08 08:33:56 +02:00
Compare commits
16 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
70ec21af94 | ||
![]() |
920d82f073 | ||
![]() |
dee9beb4e0 | ||
![]() |
08e92a0772 | ||
![]() |
eb1c107bf3 | ||
![]() |
a75d9dc5e6 | ||
![]() |
3af42e4c20 | ||
![]() |
aae2a633c5 | ||
![]() |
c7aed4353a | ||
c335a96e12 | |||
c2ed69da6d | |||
![]() |
b2d421154e | ||
5444782ead | |||
1c1bcd253a | |||
23c09f722c | |||
e29b451de4 |
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -19,15 +19,14 @@ jobs:
|
|||||||
- '2.5'
|
- '2.5'
|
||||||
- '2.6'
|
- '2.6'
|
||||||
- '2.7'
|
- '2.7'
|
||||||
|
- '3.0'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Ruby ${{ matrix.ruby-version }}
|
- name: Set up Ruby ${{ matrix.ruby-version }}
|
||||||
uses: ruby/setup-ruby@v1
|
uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: ${{ matrix.ruby-version }}
|
ruby-version: ${{ matrix.ruby-version }}
|
||||||
- name: Install dependencies
|
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
||||||
run: |
|
- name: Lint and Test
|
||||||
bundle
|
|
||||||
- name: Test
|
|
||||||
run: |
|
run: |
|
||||||
bundle exec rake ci
|
bundle exec rake ci
|
||||||
|
10
.rubocop.yml
10
.rubocop.yml
@@ -1,3 +1,7 @@
|
|||||||
|
require:
|
||||||
|
- rubocop-rake
|
||||||
|
- rubocop-rspec
|
||||||
|
|
||||||
AllCops:
|
AllCops:
|
||||||
TargetRubyVersion: '2.5'
|
TargetRubyVersion: '2.5'
|
||||||
NewCops: enable
|
NewCops: enable
|
||||||
@@ -86,3 +90,9 @@ Style/SymbolArray:
|
|||||||
|
|
||||||
Style/TrailingCommaInArrayLiteral:
|
Style/TrailingCommaInArrayLiteral:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
|
RSpec/ExampleLength:
|
||||||
|
Max: 20
|
||||||
|
|
||||||
|
RSpec/MultipleExpectations:
|
||||||
|
Max: 20
|
||||||
|
18
CHANGELOG.md
18
CHANGELOG.md
@@ -1,5 +1,23 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 3.3.1 (February 18, 2021)
|
||||||
|
|
||||||
|
OTHER:
|
||||||
|
|
||||||
|
- update base of Docker image to Alpine 3.13.2 to fix security vulnerabilities
|
||||||
|
|
||||||
|
## 3.3.0 (January 18, 2021)
|
||||||
|
|
||||||
|
OTHER:
|
||||||
|
|
||||||
|
- update base of Docker image to Alpine 3.13
|
||||||
|
|
||||||
|
## 3.2.0 (January 14, 2021)
|
||||||
|
|
||||||
|
IMPROVEMENTS:
|
||||||
|
|
||||||
|
- Add Ruby 3.0 support
|
||||||
|
|
||||||
## 3.1.3 (December 20, 2020)
|
## 3.1.3 (December 20, 2020)
|
||||||
|
|
||||||
OTHER:
|
OTHER:
|
||||||
|
2
Gemfile
2
Gemfile
@@ -3,5 +3,3 @@
|
|||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
gemspec
|
gemspec
|
||||||
|
|
||||||
gem 'solargraph', git: 'https://github.com/zaratan/solargraph.git', branch: 'fix_rubocop_1_0'
|
|
||||||
|
1
Rakefile
1
Rakefile
@@ -28,4 +28,5 @@ end
|
|||||||
|
|
||||||
task default: [:rubocop, :spec, 'bundle:audit', :solargraph]
|
task default: [:rubocop, :spec, 'bundle:audit', :solargraph]
|
||||||
|
|
||||||
|
desc 'Run all tasks desired for CI'
|
||||||
task ci: ['solargraph:init', :default, :hadolint]
|
task ci: ['solargraph:init', :default, :hadolint]
|
||||||
|
@@ -1,12 +1,12 @@
|
|||||||
FROM alpine:3.12
|
FROM alpine:3.13.2
|
||||||
|
|
||||||
EXPOSE 5353 8080
|
EXPOSE 5353 8080
|
||||||
|
|
||||||
ARG DYNDNSD_VERSION=3.0.0
|
ARG DYNDNSD_VERSION=3.3.1
|
||||||
|
|
||||||
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-etc ruby-io-console ruby-json ruby-webrick && \
|
||||||
apk --no-cache add --virtual .build-deps 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} && \
|
||||||
# set timezone to Berlin
|
# set timezone to Berlin
|
||||||
cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime && \
|
cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime && \
|
||||||
|
@@ -40,6 +40,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.6.1'
|
s.add_development_dependency 'rubocop', '~> 1.10.0'
|
||||||
# s.add_development_dependency 'solargraph', '~> 0.39.0'
|
s.add_development_dependency 'rubocop-rake', '~> 0.5.1'
|
||||||
|
s.add_development_dependency 'rubocop-rspec', '~> 2.2.0'
|
||||||
|
s.add_development_dependency 'solargraph', '~> 0.40.0'
|
||||||
end
|
end
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Dyndnsd
|
module Dyndnsd
|
||||||
VERSION = '3.1.3'
|
VERSION = '3.3.1'
|
||||||
end
|
end
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative 'spec_helper'
|
require_relative '../spec_helper'
|
||||||
|
|
||||||
describe Dyndnsd::Daemon do
|
describe Dyndnsd::Daemon do
|
||||||
include Rack::Test::Methods
|
include Rack::Test::Methods
|
Reference in New Issue
Block a user