Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Prepared gemspec with bundler (prerelease for now)

  • Loading branch information...
commit 975bb9a97b0e26f3700f589af09e1f0da386b48a 1 parent 23689fc
@musybite authored
View
4 .gitignore
@@ -4,3 +4,7 @@ coverage
.idea
.idea/*
.idea/**/*
+*.gem
+.bundle
+Gemfile.lock
+pkg/*
View
4 Gemfile
@@ -0,0 +1,4 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in flag_shih_tzu.gemspec
+gemspec
View
5 Rakefile
@@ -2,6 +2,9 @@ require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
+require 'bundler'
+Bundler::GemHelper.install_tasks
+
desc 'Default: run unit tests.'
task :default => :test
@@ -28,4 +31,4 @@ namespace :test do
system("rcov -Ilib test/*_test.rb")
system("open coverage/index.html") if PLATFORM['darwin']
end
-end
+end
View
23 flag_shih_tzu.gemspec
@@ -0,0 +1,23 @@
+# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "flag_shih_tzu/version"
+
+Gem::Specification.new do |s|
+ s.name = "flag_shih_tzu"
+ s.version = FlagShihTzu::VERSION
+ s.platform = Gem::Platform::RUBY
+ s.authors = ["Patryk Peszko", "Sebastian Roebke", "David Anderson", "Tim Payton"]
+ s.homepage = "https://github.com/xing/flag_shih_tzu"
+ s.summary = %q{A rails plugin to store a collection of boolean attributes in a single ActiveRecord column as a bit field}
+ s.description = <<-EODOC
+This plugin lets you use a single integer column in an ActiveRecord model
+to store a collection of boolean attributes (flags). Each flag can be used
+almost in the same way you would use any boolean attribute on an
+ActiveRecord object.
+ EODOC
+
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.require_paths = ["lib"]
+end
View
3  lib/flag_shih_tzu/version.rb
@@ -0,0 +1,3 @@
+module FlagShihTzu
+ VERSION = "0.1.0.pre"
+end
Please sign in to comment.
Something went wrong with that request. Please try again.