hal-client 4.1.4 → 4.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hal_client/representation_set.rb +2 -1
- data/lib/hal_client/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: efcf798149673758521fcaf3816c0d0bf9ef7a60
|
4
|
+
data.tar.gz: 2db07e4799e463cb5a43e1282831ed1589a3cc80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2634325d8730ee52e83beaa43915ad49602eff032b325066be3a1d8f63a9746d9613fe8d98b5d23225dff7ec2b9c5ff41cc320e6ab69f5f1db8a0171fbed4139
|
7
|
+
data.tar.gz: 18def3b9cccc4be9f466f1503edfab366b37fac03b145af3e15cc52124430af38c5b709706835c400efe719fd2dec6220164d9b574f69cd72e8018d0c2e6e829
|
@@ -34,9 +34,10 @@ class HalClient
|
|
34
34
|
# (including embedded links) whose rel is `link_rel`.
|
35
35
|
#
|
36
36
|
# link_rel - The link rel of interest
|
37
|
-
def
|
37
|
+
def related?(link_rel)
|
38
38
|
any? {|it| it.has_related?(link_rel) }
|
39
39
|
end
|
40
|
+
alias_method :has_related?, :related?
|
40
41
|
|
41
42
|
# Post a `Representation` or `String` to the resource.
|
42
43
|
#
|
data/lib/hal_client/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hal-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|