rspec-hal 1.4.1 → 1.5.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
  SHA1:
3
- metadata.gz: a436335f91ac4529f28854e3fd81130890e6a1a0
4
- data.tar.gz: cd635e22c4da6f1f0ecc447c8ce6cebccf771698
3
+ metadata.gz: d42ecb6670f79116c24406bf8380d4e3d5c2db72
4
+ data.tar.gz: 672ac001ec64f173ab976cc00fd05319f43d7741
5
5
  SHA512:
6
- metadata.gz: aba9ea56b8d6d8757b1f9c62b401c22d0ac3876a5a074198f8f5744d44f2af95be9f3d19ff4ca53bc351281df587f30ea162c9f3c364d9c5c8cce2b4b6cf27f8
7
- data.tar.gz: 3546032951a23c57bb85e6c514bb785c9bbd23cb35a8bbea6bec40604d2c0e04010b9a9ad9b39e30924fbd56f954d8b9d602fe5dee1356e801b393a21764d9d3
6
+ metadata.gz: 55a319e37abdf81f456710d734b891cbdd0ce9335f0e6a8fdf994561f332b0126dadb88f6a599418b7b49b199a29c216fa7ad3a0912e04657ac5efd6a99a148b
7
+ data.tar.gz: 7cb8f2f15267bc54c9e07f9235d65bb9ca44105a59f2cf2a272f0f2c8a43222ebf82e89728ef5e6fd1d1189472aee270dfc5c7bb5bee04a24bf09c560ca03a96
@@ -1,7 +1,10 @@
1
+ require 'forwardable'
2
+
1
3
  module RSpec
2
4
  module Hal
3
5
  module Matchers
4
6
  module HalMatcherHelpers
7
+ extend Forwardable
5
8
 
6
9
  # A matcher that always matches. Useful for avoiding special
7
10
  # cases in value testing logic.
@@ -30,6 +33,8 @@ module RSpec
30
33
  end
31
34
  attr_reader :repr
32
35
 
36
+ def_delegator :self, :matches?, :===
37
+
33
38
  # Returns string composed of the specified clauses with proper
34
39
  # spacing between them. Empty and nil clauses are ignored.
35
40
  def sentencize(*clauses)
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module Hal
3
- VERSION = "1.4.1"
3
+ VERSION = "1.5.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-hal
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-23 00:00:00.000000000 Z
11
+ date: 2015-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler