wp-api 0.0.4 → 0.1.1

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: 4786dfab68505b62157fbfb015323f2e3f10f738
4
- data.tar.gz: 79ec8f42be18f457e0a6f47b621bdb689dce23b8
3
+ metadata.gz: f4c9c3faed41acdd43fd383185f27f860accb3a1
4
+ data.tar.gz: ed29bcb49bccd0103de686b97baf0def3fa38f91
5
5
  SHA512:
6
- metadata.gz: 4de8a015333ba781d172277959f0fd6f0730e975c71bd6a2fea7bc04e8e102347f3bd58ec03b67cdd57feaf448a9b82b1dbfef5ec8ac6035aac59d7c1aba424e
7
- data.tar.gz: df9758a2951ad7a7ab04b8924f3f4fab3ff9a2c365e5659b0ada9943174a3267082bd6ebccfaa7579b7a74ba38661935b763253106412a71c76c8992f0e513c9
6
+ metadata.gz: 9b7873a290e6886bbe870ade0a8b9d34aca4b5c55bf396c68e4c3deb54f3c1169681df3bebedc2cf975f11865fea3d85fa92fe030da68219570403d0cfee232a
7
+ data.tar.gz: 80b0e704c626de24b670ea50cf2372695d22463bc1ce872a033c5fc4369f7043370dfad94599aa1da37739afd36b9da05417e386ec34c57b67903bc741826d31
@@ -13,7 +13,7 @@ module WP::API
13
13
  end
14
14
 
15
15
  def post_named(slug)
16
- WP::API::Post.new *get("posts", name: slug).first
16
+ posts(name: slug).first
17
17
  end
18
18
 
19
19
  end
@@ -1,5 +1,5 @@
1
1
  module WP
2
2
  module API
3
- VERSION = "0.0.4"
3
+ VERSION = "0.1.1"
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.0.4
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colin Young