Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moves to unified_mode #89

Merged
merged 4 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 1 addition & 10 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-11-27 21:13:08 -0800 using RuboCop version 0.75.1.
# on 2024-04-03 13:43:12 UTC using RuboCop version 1.25.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: **/resources/*.rb, **/libraries/*.rb
Chef/RedundantCode:
Exclude:
- 'libraries/resource_dnsimple_certificate.rb'
- 'libraries/resource_dnsimple_record.rb'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,6 @@ See CONTRIBUTING.md

## License

Copyright 2023, DNSimple Corp.
Copyright 2024, DNSimple Corp.

Licensed under the Apache License, Version 2.0.
2 changes: 1 addition & 1 deletion libraries/dnsimple_resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class Chef
class Resource
class DnsimpleResource < Chef::Resource
provides :dnsimple_resource
unified_mode false
unified_mode true

attr_accessor :exists

Expand Down
2 changes: 1 addition & 1 deletion libraries/provider_dnsimple_certificate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Cookbook:: dnsimple
# Library:: provider_dnsimple_certificate
#
# Copyright:: 2014-2018 DNSimple Corp
# Copyright:: 2024 DNSimple Corp
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion libraries/provider_dnsimple_record.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Cookbook:: dnsimple
# Library:: provider_dnsimple_record
#
# Copyright:: 2014-2018 DNSimple Corp
# Copyright:: 2024 DNSimple Corp
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion libraries/resource_dnsimple_certificate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Cookbook:: dnsimple
# Library:: resource_dnsimple_certificate
#
# Copyright:: 2014-2018 DNSimple Corp
# Copyright:: 2024 DNSimple Corp
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion libraries/resource_dnsimple_record.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Cookbook:: dnsimple
# Library:: resource_dnsimple_record
#
# Copyright:: 2014-2018 DNSimple Corp
# Copyright:: 2024 DNSimple Corp
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

chef_version '>= 17'

gem 'dnsimple', '~> 8'
gem 'dnsimple', '~> 9'

%w(amazon centos debian fedora freebsd redhat ubuntu).each do |os|
supports os
Expand Down
2 changes: 1 addition & 1 deletion test/cookbooks/dnsimple_test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ This cookbook is used to do integration level testing in test kitchen.

## License and Authors

Copyright:: 2021, DNSimple Corp.
Copyright:: 2024, DNSimple Corp.

All rights reserved - Do Not Redistribute