use_cases 1.0.4 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c1ed9f7d86b9109062b207489f37e67f84b93e676d7e81b930f219abbd47224
4
- data.tar.gz: 2b9234f7075cb8240836875845d5d61036caa9a3c7feeb72abf31d2dd5830f91
3
+ metadata.gz: b7c9560f067bb15b9e9a94d5e89b2840e438486452c640f9b2b2b2b828529850
4
+ data.tar.gz: 7c5a1beaedb5d0c4c159860c059513d4da8018e6864e9bb71d0ea855170b8768
5
5
  SHA512:
6
- metadata.gz: fe3e66534633de66dff8811dad8a3d2c9f0f350d392db60a7e91989d11a861510e32937abc77f47ff8d74b9439a8c6bb321e18d655f655af0778bf676efcc28f
7
- data.tar.gz: 4da7071b68b859462feda741591b9862330f9b7dbe5ad127a76ff6052ac13bf7622241620c17a3ef20ee52e6f8b16c67e44b398f01621643df646b6d94759e62
6
+ metadata.gz: 5a88ed6dfdacb0d141aa1a782f6f0219f131a52b3c800b86ca62fa6d8a1e77c139e5bfa6fd3bd726d10f278d06ab0e848edd31a1542797f70a405e35e93342ba
7
+ data.tar.gz: aacfe4f3862a363757534b259f6ca332f998c8dec8bf7be26568b6db6789d893794a933eaa55cba640ad5b769dd278b94b7ea9419216470fccd3b0abce3f9e95
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- use_cases (1.0.2)
4
+ use_cases (1.0.5)
5
5
  activesupport
6
6
  dry-events
7
7
  dry-matcher
@@ -38,7 +38,7 @@ RSpec::Matchers.define(:be_failure_with) do |*expected_failure|
38
38
  expect(test_subject.failure).to eql expected_failure
39
39
  end
40
40
 
41
- expected_result, expected_code = expect_failure
41
+ expected_result, expected_code = expected_failure
42
42
 
43
43
  failure_message do |test_subject|
44
44
  if test_subject.failure?
@@ -42,7 +42,7 @@ module UseCases
42
42
 
43
43
  return args.first(callable_args_count) unless external? && selects_external_args?
44
44
 
45
- hashed_args(args)
45
+ hashed_args(args).values
46
46
  end
47
47
 
48
48
  def hashed_args(args)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UseCases
4
- VERSION = "1.0.4"
4
+ VERSION = "1.0.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: use_cases
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ring Twice