hal-client 4.1.3 → 4.1.4

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: c0c0e1539630f8980093f15aadd3b1fcbc14d25c
4
- data.tar.gz: 214d31c02a626d1f26423ebd1445436790ce189e
3
+ metadata.gz: 30db03c696b8e89a69570d01cdaf39acb70fdb04
4
+ data.tar.gz: aefc50b2c67f3ad603c7fb106594c5824e173db5
5
5
  SHA512:
6
- metadata.gz: 58c7cdcc017d440025ac1d4f8553789a7ffefc4ca0276a6e00bf314eff12361cd34f29e9d1ee302642e411c86b10710babcd137cdd805d681d39debbc3320a2c
7
- data.tar.gz: b7371c8a8cb56e71b58c40b6aff6d35f02629379461e92115a8ee2966371b8caa9b261967432001396fd51f46979923865e27e2f38d4d22d8e159267be4656c7
6
+ metadata.gz: 2c0eef5ff79c851f9f85bf47ab043902b505a555a1619f7a6bfebd340961c0873e4d6c22f6804e93fd82a2c15be3e647d4041e01c2581e4208bb8b61e3cc18e6
7
+ data.tar.gz: 53fd2b0d0c992f54b96e859fd1aef2b0bfbd8bed03dabe08e611a4a301dbfdc585817a3d88f92517fbe45329ad65d8a16b7a9b06faeef77e4a6091be9c4e411c
@@ -47,7 +47,7 @@ class HalClient
47
47
  # Yields the next item of the iteration.
48
48
  def each(&blk)
49
49
  each_page do |a_page|
50
- a_page.related("item").each(&blk)
50
+ a_page.related("item").each(&blk) if a_page.related?("item")
51
51
  end
52
52
  end
53
53
 
@@ -1,3 +1,3 @@
1
1
  class HalClient
2
- VERSION = "4.1.3"
2
+ VERSION = "4.1.4"
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.3
4
+ version: 4.1.4
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-24 00:00:00.000000000 Z
11
+ date: 2017-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http