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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 30db03c696b8e89a69570d01cdaf39acb70fdb04
4
- data.tar.gz: aefc50b2c67f3ad603c7fb106594c5824e173db5
3
+ metadata.gz: efcf798149673758521fcaf3816c0d0bf9ef7a60
4
+ data.tar.gz: 2db07e4799e463cb5a43e1282831ed1589a3cc80
5
5
  SHA512:
6
- metadata.gz: 2c0eef5ff79c851f9f85bf47ab043902b505a555a1619f7a6bfebd340961c0873e4d6c22f6804e93fd82a2c15be3e647d4041e01c2581e4208bb8b61e3cc18e6
7
- data.tar.gz: 53fd2b0d0c992f54b96e859fd1aef2b0bfbd8bed03dabe08e611a4a301dbfdc585817a3d88f92517fbe45329ad65d8a16b7a9b06faeef77e4a6091be9c4e411c
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 has_related?(link_rel)
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
  #
@@ -1,3 +1,3 @@
1
1
  class HalClient
2
- VERSION = "4.1.4"
2
+ VERSION = "4.1.5"
3
3
  end
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
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-05-31 00:00:00.000000000 Z
11
+ date: 2017-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http