Skip to content
Browse files

mkgems

  • Loading branch information...
1 parent db9dc3d commit 37b68d7abee3169b6ff449a6f6e341e2cf58da83 @caryl committed Mar 6, 2012
View
4 Gemfile
@@ -0,0 +1,4 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in simple_enum.gemspec
+gemspec
View
23 Rakefile 100755 → 100644
@@ -1,11 +1,12 @@
-require 'rake'
-require 'rake/testtask'
-
-task :default => [:test]
-
-desc 'Test the simple_enum plugin.'
-Rake::TestTask.new(:test) do |t|
- t.libs << 'lib'
- t.pattern = 'test/*_test.rb'
- t.verbose = true
-end
+require "bundler/gem_tasks"
+require 'rake'
+require 'rake/testtask'
+
+task :default => [:test]
+
+desc 'Test the simple_enum plugin.'
+Rake::TestTask.new(:test) do |t|
+ t.libs << 'lib'
+ t.pattern = 'test/*_test.rb'
+ t.verbose = true
+end
View
0 init.rb
No changes.
View
3 lib/simple_enum/version.rb
@@ -0,0 +1,3 @@
+module SimpleEnum
+ VERSION = "0.1.1"
+end
View
24 simple_enum.gemspec
@@ -0,0 +1,24 @@
+# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "simple_enum/version"
+
+Gem::Specification.new do |s|
+ s.name = "simple_enum"
+ s.version = SimpleEnum::VERSION
+ s.authors = ["CarylWang"]
+ s.email = ["xianwei.wang@gmail.com"]
+ s.homepage = "http://github.com/caryl/simple_enum"
+ s.summary = %q{a plugin for using enum attribute.}
+ s.description = %q{Simple Enum is a simple and useful plugin for using enum attribute.}
+
+ #s.rubyforge_project = "simple_enum"
+
+ 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"]
+
+ # specify any dependencies here; for example:
+ # s.add_development_dependency "rspec"
+ # s.add_runtime_dependency "rest-client"
+end
View
0 test/database.yml 100755 → 100644
File mode changed.
View
0 test/schema.rb 100755 → 100644
File mode changed.
View
0 test/test_helper.rb 100755 → 100644
File mode changed.

0 comments on commit 37b68d7

Please sign in to comment.
Something went wrong with that request. Please try again.