eksa-mination 1.0.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1b4a71a3c02a2d192423b2b171a1cd6752a712ffee7093e611e33a88a1c6e48
4
- data.tar.gz: 79f31960ca216c4c3b97d9086b446b495199978046a0d094d62a56faf94df758
3
+ metadata.gz: 69dbf74cbc9a0dfe0e21524fad8aec8611d88bbfba5c44f20ab18caae42c0d15
4
+ data.tar.gz: 4bb30ca5dd86b256a821523f9de52cb2cab9b8b3c4b4c650cffa8d228167b98e
5
5
  SHA512:
6
- metadata.gz: f45bb698967aa92f5ffa516a882100390da7b743865c11a0b1c7738e0e09ad19dedbbee65ed10ffd5230690ae731f1d80ce88545aecd49d69f7978231ca384f4
7
- data.tar.gz: 319c76f62089634983380db8e92b3a9049261d022f1666fecb0fa5e0a04292d592239c03e72e105ffdbc8595fd0771c5452749a4f3e95371c2f7960d9c52a0b8
6
+ metadata.gz: 690442450f08fb58406e271a4839af2ade6227f27d1e1f2ca32fadd0be0ace9653e1c4f664c48925ced77f82a4b68c5efc4d63bedd504cf47aed58325c525a9b
7
+ data.tar.gz: 3420f4f9e399e0dbd9e6ebbb708686f0fe7d06ed105474826a1107c6dc5e6d4b98aa2114a2e0efc702766a31128026417062c49c6715c28305152464745e5d41
@@ -10,8 +10,9 @@ require_relative 'matchers/respond_to'
10
10
 
11
11
  module EksaMination
12
12
  module Expectations
13
- def expect(actual = nil, &block)
14
- Expectation.new(actual || block)
13
+ def expect(actual = :no_actual, &block)
14
+ actual_value = actual == :no_actual ? block : actual
15
+ Expectation.new(actual_value)
15
16
  end
16
17
  end
17
18
 
data/lib/eksa-mination.rb CHANGED
@@ -9,7 +9,7 @@ require_relative 'eksa-mination/mocks'
9
9
  require_relative 'eksa-mination/cli'
10
10
 
11
11
  module EksaMination
12
- VERSION = "1.0.0"
12
+ VERSION = "2.0.0"
13
13
 
14
14
  class << self
15
15
  attr_accessor :reporter
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eksa-mination
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - IshikawaUta
@@ -43,6 +43,7 @@ files:
43
43
  - lib/eksa-mination/matchers/truthy.rb
44
44
  - lib/eksa-mination/mocks.rb
45
45
  - lib/eksa-mination/runner.rb
46
+ homepage: https://github.com/IshikawaUta/eksa-mination
46
47
  licenses:
47
48
  - MIT
48
49
  metadata: {}