Skip to content

Commit

Permalink
Merge pull request #8 from robmiller/gemspec
Browse files Browse the repository at this point in the history
Gem things
  • Loading branch information
robmiller committed Oct 24, 2013
2 parents 2281424 + 31fbcdf commit 868db91
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 8 deletions.
9 changes: 1 addition & 8 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
source 'https://rubygems.org'

gem 'mysql2', '~> 0.3.11'
gem 'sequel', '~> 4.2.0'
gem 'sequel_sluggable', '~> 0.0.6'
gemspec
gem 'php-serialize', '~> 1.1', :require => 'php_serialize'

gem 'letters', '~> 0.4.1'
gem 'rake', '~> 10.1.0'
gem 'pry', '~> 0.9.12'
gem 'pry-debugger', '~> 0.2.2'
8 changes: 8 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Copyright (c) 2011 Rob Miller

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

3 changes: 3 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require 'rake/testtask'
require 'rubygems/tasks'

task :default => [:'']

Expand All @@ -9,3 +10,5 @@ task :'' do
end
task("alltests").execute
end

Gem::Tasks.new
3 changes: 3 additions & 0 deletions lib/ruby-wpdb/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module WPDB
VERSION = "1.0.beta1"
end
30 changes: 30 additions & 0 deletions ruby-wpdb.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
$:.push File.expand_path("../lib", __FILE__)
require "ruby-wpdb/version"

Gem::Specification.new do |s|
s.name = "ruby-wpdb"
s.version = WPDB::VERSION
s.date = "2013-10-24"

s.summary = "A Ruby ORM wrapper for WordPress"
s.description = "ruby-wpdb gives you a painless way to access and interact with WordPress from Ruby, accessing posts, tags, and all other WordPress concepts as plain-old Ruby objects."

s.authors = ["Rob Miller"]
s.email = "[email protected]"
s.homepage = "http://github.com/robmiller/ruby-wpdb"

s.license = "MIT"

s.files = Dir.glob("{lib,data,test}/**/*") + %w(LICENSE README.md Gemfile)
s.require_path = 'lib'

s.add_runtime_dependency 'mysql2', '~> 0.3.11'
s.add_runtime_dependency 'sequel', '~> 4.2.0'
s.add_runtime_dependency 'sequel_sluggable', '~> 0.0.6'
s.add_runtime_dependency 'php-serialize', '~> 1.1'

s.add_development_dependency 'rake', '~> 10.1.0'
s.add_development_dependency 'letters', '~> 0.4.1'
s.add_development_dependency 'pry', '~> 0.9.12'
s.add_development_dependency 'pry-debugger', '~> 0.2.2'
end

0 comments on commit 868db91

Please sign in to comment.