rails_wordpress 0.0.5 → 0.0.6

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: 8f50a930e3d3f57a31a8ba68bd47fdf0b2f4960c
4
- data.tar.gz: 5ee3278cc538e07aa79d275a6e88bcc9910382a5
3
+ metadata.gz: d426ea36f9f46b2161ee71befbeaf5011c44da2c
4
+ data.tar.gz: e848b57b5dbaf922bef96e9f21a1a92abcfa4d1a
5
5
  SHA512:
6
- metadata.gz: 911f12cdfde197b34b0a120dc1284248ef34bdee2da35910b4c4795247a8132ae9aeeccffd96167a0c60b84e71ab6cef1930c12720689d10ba11be000b941a96
7
- data.tar.gz: 9c6fae1c9e32e551e36c96badcbc672ef760e77878bb82af5f24f56d90aa4a4f8959b11ffdad0e1d4c23615d9172aaa7fc357d7cb00de08051d8163007a7b8ea
6
+ metadata.gz: 59d527f1e2f2342d35b89ceb97e62395bb93957e898dc5745e37e1805aa62fdba770736eede2e15b6081384dd8e2fd3714bb28cc8a64d42769d8cd75a61eac1c
7
+ data.tar.gz: ac635282a51b89e99c24b7e33d79d1f25477b0ab27a18195d6fe50c195418d7908b4db717a6b613cead60b1fc3cdf37f65af6644bcfb7ba3713e1ef33540e366
@@ -1,4 +1,5 @@
1
1
  module Wordpress
2
2
  class Page < WpPost
3
+ has_many :metas, class_name: "Pagemeta", foreign_key: "post_id"
3
4
  end
4
5
  end
@@ -0,0 +1,7 @@
1
+ module Wordpress
2
+ class Pagemeta < WpBase
3
+ self.table_name = 'wp_postmeta'
4
+
5
+ belongs_to :page, foreign_key: "post_id"
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module Wordpress
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end