Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add Version file and write gem description

  • Loading branch information...
commit f3ac8e4978e829dbc8c216e917a1d3cd968fafac 1 parent 59b536f
labocho authored
Showing with 15 additions and 2 deletions.
  1. +4 −2 Rakefile
  2. +11 −0 lib/foreign_key_constraints/version.rb
6 Rakefile
View
@@ -12,13 +12,15 @@ end
require 'rake'
require 'jeweler'
+require File.expand_path "#{File.dirname(__FILE__)}/lib/foreign_key_constraints/version"
Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
gem.name = "mysql2-foreign_key_constraints"
+ gem.version = Mysql2::ForeignKeyConstraints::Version::STRING
gem.homepage = "http://github.com/labocho/mysql2-foreign_key_constraints"
gem.license = "MIT"
- gem.summary = %Q{TODO: one-line summary of your gem}
- gem.description = %Q{TODO: longer description of your gem}
+ gem.summary = %Q{Add foreign key constraints helper methods to ActiveRecord migration for mysql2 adapter.}
+ gem.description = %Q{Add foreign key constraints helper methods to ActiveRecord migration for mysql2 adapter.}
gem.email = "labocho@penguinlab.jp"
gem.authors = ["labocho"]
# dependencies defined in Gemfile
11 lib/foreign_key_constraints/version.rb
View
@@ -0,0 +1,11 @@
+module Mysql2
+ module ForeignKeyConstraints
+ module Version
+ MAJOR = 0
+ MINOR = 1
+ PATCH = 0
+ BUILD = nil
+ STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
+ end
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.