mirror of
https://github.com/cmur2/dyndnsd.git
synced 2025-08-08 08:33:56 +02:00
Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
c335a96e12 | |||
c2ed69da6d | |||
![]() |
b2d421154e | ||
5444782ead | |||
1c1bcd253a | |||
23c09f722c | |||
e29b451de4 | |||
d89c1c6091 | |||
2a7ea2bb8f |
2
.github/workflows/cd.yml
vendored
2
.github/workflows/cd.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Extract dyndnsd version from tag name
|
- name: Extract dyndnsd version from tag name
|
||||||
run: |
|
run: |
|
||||||
echo ::set-env name=DYNDNSD_VERSION::${GITHUB_REF#refs/*/v}
|
echo "DYNDNSD_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
|
||||||
# https://github.com/marketplace/actions/build-and-push-docker-images
|
# https://github.com/marketplace/actions/build-and-push-docker-images
|
||||||
- name: Build and push Docker image for dyndnsd ${{ env.DYNDNSD_VERSION }}
|
- name: Build and push Docker image for dyndnsd ${{ env.DYNDNSD_VERSION }}
|
||||||
uses: docker/build-push-action@v1
|
uses: docker/build-push-action@v1
|
||||||
|
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
|
||||||
|
12
CHANGELOG.md
12
CHANGELOG.md
@@ -1,5 +1,17 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 3.2.0 (January 14, 2021)
|
||||||
|
|
||||||
|
IMPROVEMENTS:
|
||||||
|
|
||||||
|
- Add Ruby 3.0 support
|
||||||
|
|
||||||
|
## 3.1.3 (December 20, 2020)
|
||||||
|
|
||||||
|
OTHER:
|
||||||
|
|
||||||
|
- fix Docker image release process in Github Actions CI, 3.1.2 was not released as a Docker image
|
||||||
|
|
||||||
## 3.1.2 (December 20, 2020)
|
## 3.1.2 (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]
|
||||||
|
@@ -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.7.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.1.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.2'
|
VERSION = '3.2.0'
|
||||||
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