Skip to content

Commit

Permalink
remove dependency on deep_matching gem (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
markburns authored Dec 29, 2023
1 parent a9d0d3a commit f6fb87e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 14 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@
## [0.3.0-alpha.1] - 2023-12-29

- Added support for `{if: :condition, then: A, else: B}` in organizers

## [0.3.0-alpha.2] - 2023-12-29

- Remove deep_matching development dependency
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ source "https://rubygems.org"

# Specify your gem's dependencies in interactify.gemspec
gemspec
gem "deep_matching"
gem "simplecov", require: false

gem "rake", "~> 13.0"
Expand Down
8 changes: 1 addition & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
interactify (0.3.0.pre.alpha.1)
interactify (0.3.0.pre.alpha.2)
interactor
interactor-contracts
rails
Expand Down Expand Up @@ -82,11 +82,6 @@ GEM
debug (1.9.0)
irb (~> 1.10)
reline (>= 0.3.8)
deep_matching (0.1.0.pre.alpha.1)
activemodel
activesupport
rspec
rspec-mocks
diff-lcs (1.5.0)
digest (3.1.1)
docile (1.4.0)
Expand Down Expand Up @@ -239,7 +234,6 @@ PLATFORMS

DEPENDENCIES
debug
deep_matching
interactify!
rake (~> 13.0)
rspec (~> 3.0)
Expand Down
1 change: 0 additions & 1 deletion interactify.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,5 @@ Gem::Specification.new do |spec|
spec.add_dependency "rails"
spec.add_dependency "sidekiq"
spec.add_development_dependency "debug"
spec.add_development_dependency "deep_matching"
spec.metadata["rubygems_mfa_required"] = "true"
end
2 changes: 1 addition & 1 deletion lib/interactify/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Interactify
VERSION = "0.3.0-alpha.1"
VERSION = "0.3.0-alpha.2"
end
4 changes: 1 addition & 3 deletions spec/lib/interactify.expect_spec.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# frozen_string_literal: true

RSpec.describe Interactify do
include DeepMatching

describe ".expect" do
class DummyInteractorClass
include Interactify
Expand Down Expand Up @@ -76,7 +74,7 @@ def self.log_error(exception); end

outputted_failures = JSON.parse(e.message)

expect_deep_matching(outputted_failures, failures[:contract_failures])
expect(outputted_failures.symbolize_keys).to eq(failures[:contract_failures].symbolize_keys)
end

expect(@some_context).to eq NOISY_CONTEXT.symbolize_keys
Expand Down
1 change: 0 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true

require "interactify"
require "deep_matching"
require "rails"
require "sidekiq/testing"
require "debug"
Expand Down

0 comments on commit f6fb87e

Please sign in to comment.