Skip to content

Commit

Permalink
Merge pull request #150 from mocktools/develop
Browse files Browse the repository at this point in the history
Ruby DnsMock v1.7.3
  • Loading branch information
bestwebua authored Jun 27, 2024
2 parents f2eb340 + 251618e commit c78639f
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .circleci/gemspecs/latest
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ Gem::Specification.new do |spec|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.require_paths = %w[lib]

spec.add_runtime_dependency 'simpleidn', '~> 0.2.2'
spec.add_runtime_dependency 'simpleidn', '~> 0.2.3'

spec.add_development_dependency 'bundler-audit', '~> 0.9.1'
spec.add_development_dependency 'fasterer', '~> 0.11.0'
spec.add_development_dependency 'ffaker', '~> 2.23'
spec.add_development_dependency 'net-ftp', '~> 0.3.4'
spec.add_development_dependency 'net-ftp', '~> 0.3.7'
spec.add_development_dependency 'pry-byebug', '~> 3.10', '>= 3.10.1'
spec.add_development_dependency 'rake', '~> 13.2', '>= 13.2.1'
spec.add_development_dependency 'reek', '~> 6.3'
spec.add_development_dependency 'rspec', '~> 3.13'
spec.add_development_dependency 'rspec-dns', '~> 0.1.8'
spec.add_development_dependency 'rubocop', '~> 1.63', '>= 1.63.5'
spec.add_development_dependency 'rubocop-performance', '~> 1.21'
spec.add_development_dependency 'rubocop-rspec', '~> 2.29', '>= 2.29.2'
spec.add_development_dependency 'rubocop', '~> 1.64', '>= 1.64.1'
spec.add_development_dependency 'rubocop-performance', '~> 1.21', '>= 1.21.1'
spec.add_development_dependency 'rubocop-rspec', '~> 3.0', '>= 3.0.1'
spec.add_development_dependency 'simplecov', '~> 0.22.0'
end
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.7.3] - 2024-06-27

### Updated

- Updated gem runtime/development dependencies
- Updated gem version

## [1.7.2] - 2024-05-13

### Updated
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ If you won't use `DnsMock::TestFramework::RSpec::Helper` you can use `DnsMock::T
DnsMock::TestFramework::RSpec::Interface.start_server # creates and runs DnsMock server instance
DnsMock::TestFramework::RSpec::Interface.stop_server! # stops current DnsMock server instance
DnsMock::TestFramework::RSpec::Interface.reset_mocks! # resets mocks in current DnsMock server instance
DnsMock::TestFramework::RSpec::Interface.clear_messages! # clears collected lookup messages in current DnsMock server instance
DnsMock::TestFramework::RSpec::Interface.clear_server! # stops and clears current DnsMock server instance
```

Expand Down
4 changes: 2 additions & 2 deletions dns_mock.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ Gem::Specification.new do |spec|
spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(bin|lib)/|.ruby-version|dns_mock.gemspec|LICENSE}) }
spec.require_paths = %w[lib]

spec.add_runtime_dependency 'simpleidn', '~> 0.2.2'
spec.add_runtime_dependency 'simpleidn', '~> 0.2.3'

spec.add_development_dependency 'ffaker', ffaker_version
spec.add_development_dependency 'net-ftp', '~> 0.3.4' if current_ruby_version >= ::Gem::Version.new('3.1.0')
spec.add_development_dependency 'net-ftp', '~> 0.3.7' if current_ruby_version >= ::Gem::Version.new('3.1.0')
spec.add_development_dependency 'rake', '~> 13.2', '>= 13.2.1'
spec.add_development_dependency 'rspec', '~> 3.13'
spec.add_development_dependency 'rspec-dns', '~> 0.1.8'
Expand Down
2 changes: 1 addition & 1 deletion lib/dns_mock/record/factory/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def initialize(
def instance_params; end

def create
self.class.target_class.public_send(:new, *instance_params)
self.class.target_class.new(*instance_params)
rescue => error
raise DnsMock::Error::RecordContext.new(error.message, record_type)
end
Expand Down
2 changes: 1 addition & 1 deletion lib/dns_mock/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module DnsMock
VERSION = '1.7.2'
VERSION = '1.7.3'
end

0 comments on commit c78639f

Please sign in to comment.