wp-api 0.1.4 → 0.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: 014bb33ae92d9361bbd8d6a7459ace08504f29d3
4
- data.tar.gz: 0b58919d93d5d0707daeba5a6b17284fd5bb0285
3
+ metadata.gz: 24107fb97de7c7e955a96022492ac049a5c5b424
4
+ data.tar.gz: 8693d0c868cc4bd0b92a20b57f99cdff665fc38d
5
5
  SHA512:
6
- metadata.gz: 32242ca52e07b44cc838066ab46cae8a9dbcbb073e539a04d999c32be2dd68f733f035aac659a71ad322ea1bd15e7dc8ef1ada6ce6020bfaac6b0c5f05ea8261
7
- data.tar.gz: c3f076406ad24ab9e555201ce6374daa56c2a56cac06e450211dc9565acef676d93bd346bf6166f1c507e5c2a61cc99d98a9c9d77c107f15c51966033b76b0c7
6
+ metadata.gz: 437f01e8194026b1a2dd599b3106ce3e572b34881beb9bd441f3bfb8e43663580253acacef6e8852b9c5e1e959a0d2a664a40ab093bcaaae254a46092846497a
7
+ data.tar.gz: 0ae505405a2bec384e2aef714c945c0c9cea89fcde8db674bd0e8aac117867515fdc2f1a98cadbd645a7ab8054145a8b6fbb926e473cdf750157b7c611ebcdb9
@@ -44,7 +44,7 @@ module WP::API
44
44
 
45
45
  def resource_subpath(res, id, subpath, query = {})
46
46
  query.merge(should_raise_on_empty: false)
47
- get("#{res}/#{id}/#{subpath}", query).first
47
+ get("#{res}/#{id}/#{subpath}", query)
48
48
  end
49
49
 
50
50
  def resource_named(res, slug)
@@ -1,5 +1,5 @@
1
1
  module WP
2
2
  module API
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wp-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colin Young