fix 1.0.0.beta2 → 1.0.0.beta3

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: efd28aa8b034a7e70f2ffcbe7ad441aeeb93bbd3e35ab1bc31ca66f231589232
4
- data.tar.gz: fca05e03672e0f3f5b51c943bc78234882f83eb14acf99c3fa7a7abc99e4be9b
3
+ metadata.gz: d55ef5f2323d4329f5b62fa981130fc4027f72a44aedb4cedc1d60a8f6482a8c
4
+ data.tar.gz: 4f19f7567567c70f180a1cc3cfbcbad8f907dd16154a815d1395b1fb22a3c18d
5
5
  SHA512:
6
- metadata.gz: d758dd2de2e9ef7273eb90eb15e9366e8ff4ed6594a772a1de14f6e1ed3b1df03be8170f133671a0b571da4a583363f9f871a219de2c52bd5c724452e62b18a7
7
- data.tar.gz: 29a3b83203f004d42d5824e384f4f022ccedecaaf32957a48ca8204d4a8778fc9da8759e5ad8f8a38579d8d599c81c55210260fe11c0ec6980e5bf49c30418e5
6
+ metadata.gz: e14033e214c24666156eed3c3c4f29699bb40c4f6404dd1ab1b8c50b626d3db36ae7986cb29cba180ca0aaac1d80f677b6750693870e9932dbe98c51e01964d9
7
+ data.tar.gz: bf125f159f6f672f3d799c3c67631949d724d71cbd06137644158ac83d54cb9f9957b5e98f9f6676ab7a1381e0f5e74b773fde659bffe7e95a18d150ea9827a4
data/README.md CHANGED
@@ -14,7 +14,7 @@
14
14
  Add this line to your application's Gemfile:
15
15
 
16
16
  ```ruby
17
- gem 'fix', '>= 1.0.0.beta2'
17
+ gem 'fix', '>= 1.0.0.beta3'
18
18
  ```
19
19
 
20
20
  And then execute:
@@ -85,7 +85,7 @@ examples/duck/fix.rb:16: NoMethodError: undefined method `sings' for #<Duck:0x00
85
85
  ## Contact
86
86
 
87
87
  * Home page: https://fixrb.dev/
88
- * Source code: https://github.com/fixrb/fix/issues
88
+ * Source code: https://github.com/fixrb/fix
89
89
 
90
90
  ## Versioning
91
91
 
@@ -106,7 +106,7 @@ module Fix
106
106
  abort result.colored_string
107
107
  ensure
108
108
  @after_hooks.each { |hook| i.instance_eval(&hook) }
109
- raise ExpectationResultNotFoundError unless result.is_a?(::Spectus::Result::Common)
109
+ raise ExpectationResultNotFoundError, result.class.inspect unless result.is_a?(::Spectus::Result::Common)
110
110
  end
111
111
 
112
112
  def on(name, *args, **options, &block)
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Kernel
4
4
  # rubocop:disable Naming/MethodName
5
- def Fix(subject, **lets, &block)
5
+ def Fix(subject = nil, **lets, &block)
6
6
  ::Fix.describe(subject, **lets, &block)
7
7
  end
8
8
  # rubocop:enable Naming/MethodName
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fix
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta2
4
+ version: 1.0.0.beta3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyril Kato
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-12 00:00:00.000000000 Z
11
+ date: 2020-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: defi