Skip to content

Commit 868db91

Browse files
committed
Merge pull request #8 from robmiller/gemspec
Gem things
2 parents 2281424 + 31fbcdf commit 868db91

File tree

5 files changed

+45
-8
lines changed

5 files changed

+45
-8
lines changed

Gemfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
source 'https://rubygems.org'
22

3-
gem 'mysql2', '~> 0.3.11'
4-
gem 'sequel', '~> 4.2.0'
5-
gem 'sequel_sluggable', '~> 0.0.6'
3+
gemspec
64
gem 'php-serialize', '~> 1.1', :require => 'php_serialize'
7-
8-
gem 'letters', '~> 0.4.1'
9-
gem 'rake', '~> 10.1.0'
10-
gem 'pry', '~> 0.9.12'
11-
gem 'pry-debugger', '~> 0.2.2'

LICENSE

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Copyright (c) 2011 Rob Miller
2+
3+
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:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
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.
8+

Rakefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
require 'rake/testtask'
2+
require 'rubygems/tasks'
23

34
task :default => [:'']
45

@@ -9,3 +10,5 @@ task :'' do
910
end
1011
task("alltests").execute
1112
end
13+
14+
Gem::Tasks.new

lib/ruby-wpdb/version.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module WPDB
2+
VERSION = "1.0.beta1"
3+
end

ruby-wpdb.gemspec

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
$:.push File.expand_path("../lib", __FILE__)
2+
require "ruby-wpdb/version"
3+
4+
Gem::Specification.new do |s|
5+
s.name = "ruby-wpdb"
6+
s.version = WPDB::VERSION
7+
s.date = "2013-10-24"
8+
9+
s.summary = "A Ruby ORM wrapper for WordPress"
10+
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."
11+
12+
s.authors = ["Rob Miller"]
13+
s.email = "[email protected]"
14+
s.homepage = "http://github.com/robmiller/ruby-wpdb"
15+
16+
s.license = "MIT"
17+
18+
s.files = Dir.glob("{lib,data,test}/**/*") + %w(LICENSE README.md Gemfile)
19+
s.require_path = 'lib'
20+
21+
s.add_runtime_dependency 'mysql2', '~> 0.3.11'
22+
s.add_runtime_dependency 'sequel', '~> 4.2.0'
23+
s.add_runtime_dependency 'sequel_sluggable', '~> 0.0.6'
24+
s.add_runtime_dependency 'php-serialize', '~> 1.1'
25+
26+
s.add_development_dependency 'rake', '~> 10.1.0'
27+
s.add_development_dependency 'letters', '~> 0.4.1'
28+
s.add_development_dependency 'pry', '~> 0.9.12'
29+
s.add_development_dependency 'pry-debugger', '~> 0.2.2'
30+
end

0 commit comments

Comments
 (0)