hal_presenter 0.4.2 → 0.4.3

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
  SHA256:
3
- metadata.gz: 7b50b572e8dbb37fc9e2c9bd8163777817c4b4b3d6ee4eb674fb6525e0227bb5
4
- data.tar.gz: 1f6293ded1e6130509b7055e295ae16bff05aa26fbb9b5a4b875c68ef49cd756
3
+ metadata.gz: 87410b9fd22646e39f88be76f6643df56f195aaa1b5301a7e68a65b750bcf90f
4
+ data.tar.gz: 06f256252ca7d7db3529b5d065717fe2d382345f91c83bd68fc650bf6ed2c179
5
5
  SHA512:
6
- metadata.gz: 68f613bb134a5ec3e457e6a259f402cea5ea2906824dce227c922652c195e410bd97aec89a3aa6acba81d2b2b1e9b69437f7826916e4b8052c67f70b0235efd1
7
- data.tar.gz: 5bb3b2d3f637f2dff4350193a9022cdd6c4e2cb2f6295223efa6f53f97c675d665a8a8df31fa23a7c48bf5135f588d5871124441fbb369a3790e250e1cdf1ebd
6
+ metadata.gz: 4314d9b1e1428bfbbd5b969cc8501f28401eef04a3ab4857dccc4a03f7fb4835efe72530f15f1c529bf0b847b9aa6894cc84ded10712e7258c6a76d2731dc2ef
7
+ data.tar.gz: 295a1112d0e103bf536357d2f221191311c592fdc614bfd26b2bfbb350fa0cd7e25ff9ac3804d89ff2e22cd1b0b788e2a60d63577e8ce324b107a51fe72d125e
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -42,7 +42,8 @@ module HALPresenter
42
42
  end
43
43
 
44
44
  def embed_rule_for(name)
45
- embedded[name]
45
+ return embedded[name] if embedded.key? name
46
+ embedded[strip_curie(name)]
46
47
  end
47
48
 
48
49
  def add_embed(name, block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hal_presenter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sammy Henningsson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  CNZdF8Vavp6xMQbPHZwqjaeZz2WRXYS7jyYSvCunjwa3OtvXtfbIEGEWE6IM+t9k
32
32
  H1g6Q+B6qk9O6g==
33
33
  -----END CERTIFICATE-----
34
- date: 2018-02-15 00:00:00.000000000 Z
34
+ date: 2018-02-16 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
metadata.gz.sig CHANGED
@@ -1 +1,2 @@
1
- U�2u}�̂2OSQ�-9�?gDlw��X=��%C�s��� �.��b̄�D����a2|���L�aGsjI8Q�+��Gq��+$0U �2
1
+ ��8�-�Q�"��<É�cHL� "���-�:��3"�J+Mcn��\�5?�����c�ĖC�l�{@XcxԹq�| ̄`�i���"��CA�ކ����o��ֶpZ͠uxY,r|�w���fr66`5�UE���Y����5��\��A�ڻ���B*F��4�=ÈW ��3nNP�1eF�ػW!̸c��Z��qp1���
2
+ �R�‚�v�@{��.�J̰R_p;��ƅAM�: �Hqyy