Skip to content

Commit

Permalink
Merge pull request #37 from inspec/ss/fix-ActiveSupport.deprecator-issue
Browse files Browse the repository at this point in the history
Fix ActiveSupport's `undefined method deprecator for ActiveSupport:Module (NoMethodError)` issue
  • Loading branch information
ahasunos authored Oct 17, 2023
2 parents b982e92 + a848c99 commit 6ee35ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions libraries/k8sobject.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

require 'k8s_backend'
require 'pry'
require 'active_support'
require 'active_support/core_ext/module/delegation'

module Inspec
Expand Down
1 change: 1 addition & 0 deletions libraries/k8sobjects.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# frozen_string_literal: true

require 'k8s_backend'
require 'active_support'
require 'active_support/core_ext/string'

module Inspec
Expand Down
1 change: 1 addition & 0 deletions test/unit/libraries/resource_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require_relative '../../test_helper'
require 'active_support'
require 'active_support/core_ext/hash/indifferent_access'
require_relative '../../shared/examples'

Expand Down

0 comments on commit 6ee35ee

Please sign in to comment.