rspec-hal 1.4.1 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspec/hal/matchers/hal_matcher_helpers.rb +5 -0
- data/lib/rspec/hal/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d42ecb6670f79116c24406bf8380d4e3d5c2db72
|
4
|
+
data.tar.gz: 672ac001ec64f173ab976cc00fd05319f43d7741
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
data/lib/rspec/hal/version.rb
CHANGED
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
|
+
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-
|
11
|
+
date: 2015-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|