mirror of
https://github.com/cmur2/dyndnsd.git
synced 2025-08-09 04:48:39 +02:00
Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
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
|
||||||
|
12
CHANGELOG.md
12
CHANGELOG.md
@@ -1,5 +1,17 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 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,4 +1,4 @@
|
|||||||
FROM alpine:3.12
|
FROM alpine:3.13
|
||||||
|
|
||||||
EXPOSE 5353 8080
|
EXPOSE 5353 8080
|
||||||
|
|
||||||
|
@@ -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.3'
|
VERSION = '3.3.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