wpdb 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -27
  3. data/lib/wpdb/version.rb +1 -1
  4. data/wpdb.gemspec +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a7af0350573bfa1a4eb2d1f3a689927a51860ec9
4
- data.tar.gz: d02789ffa9886cd8d85504225932cf736c6cadb4
3
+ metadata.gz: c8bd628611a7c320a37ff9fe9cf520ab8e7ce7d0
4
+ data.tar.gz: 83c63ae4d845aef8cbf211c664d54d338698b9f4
5
5
  SHA512:
6
- metadata.gz: f50d3692ab955bffd42110e127e2d911d9ced6fc9a4256705662209eefb71748594aa0a23dc03f94997a91638ffc610732f7b5ceca6ddb447ce47aa3e4c6226a
7
- data.tar.gz: faaa5a4d37dacbdb8e1e17b44ec4e12aa33531c4a3244d193d1c5e4148c7ec9043ca0e6312f87b3fe0c647ccd3f4f6719d44a057a48388125b0c457a15536f37
6
+ metadata.gz: 8bcfad9e5d0e7e6878ea0195dfca4b922e4561068666f1d6cc4c05144d144479328f76c33fcb31d58fd1379ebfa9b2df1995e9fc44ba8d65cbeb716896bf0236
7
+ data.tar.gz: f9dad422c3faac31c7a751bade7cd156009c4176e180722e9cd6ae8ed08fd9e3732d4a06d443e752888ee77764455d595ac8be63310cd37a10244152e0c983bc
data/README.md CHANGED
@@ -1,29 +1,12 @@
1
1
  # Wpdb
2
2
 
3
- TODO: Write a gem description
4
-
5
- ## Installation
6
-
7
- Add this line to your application's Gemfile:
8
-
9
- gem 'wpdb'
10
-
11
- And then execute:
12
-
13
- $ bundle
14
-
15
- Or install it yourself as:
16
-
17
- $ gem install wpdb
18
-
19
- ## Usage
20
-
21
- TODO: Write usage instructions here
22
-
23
- ## Contributing
24
-
25
- 1. Fork it
26
- 2. Create your feature branch (`git checkout -b my-new-feature`)
27
- 3. Commit your changes (`git commit -am 'Add some feature'`)
28
- 4. Push to the branch (`git push origin my-new-feature`)
29
- 5. Create new Pull Request
3
+ An Active Record wrapper for the Wordpress Database
4
+
5
+ ```ruby
6
+ wp_post = WpPost.posts.last
7
+ puts wp_post.attributes
8
+ puts wp_post.comments
9
+ puts wp_post.wp_comments.map(&:attributes)
10
+ puts wp_post.categories
11
+ puts wp_post.tags
12
+ ```
data/lib/wpdb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Wpdb
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/wpdb.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["inbox@seanbehan.com"]
11
11
  spec.description = %q{Wrapper for Wordpress DB}
12
12
  spec.summary = %q{Active Record for the Wordpress DB}
13
- spec.homepage = ""
13
+ spec.homepage = "https://github.com/seanbehan/wpdb"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wpdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Behan
@@ -67,7 +67,7 @@ files:
67
67
  - lib/wpdb.rb
68
68
  - lib/wpdb/version.rb
69
69
  - wpdb.gemspec
70
- homepage: ''
70
+ homepage: https://github.com/seanbehan/wpdb
71
71
  licenses:
72
72
  - MIT
73
73
  metadata: {}