Permalink
Browse files

fixed up the gemspec, prepared for new release

  • Loading branch information...
1 parent a77b3f3 commit 785beddf3e8c885741ca2be1c7ae7e8106bed7b6 @jkutner jkutner committed Nov 15, 2011
Showing with 19 additions and 98 deletions.
  1. +1 −0 .gitignore
  2. +0 −82 Rakefile
  3. +0 −16 release.sh
  4. +18 −0 ruleby.gemspec
View
@@ -1,4 +1,5 @@
pkg
+*.gem
ruleby.tmproj
nbproject
.idea
View
@@ -1,82 +0,0 @@
-
-require 'rubygems'
-
-require 'rake'
-require 'rake/clean'
-require 'rake/packagetask'
-require 'rake/gempackagetask'
-require 'rake/rdoctask'
-require 'rake/testtask'
-
-#
-# GEM SPEC
-
-spec = Gem::Specification.new do |s|
-
- s.name = "ruleby"
- s.version = "0.9.b5"
- s.authors = [ "Joe Kutner", "Matt Smith" ]
- s.email = 'jpkutner@gmail.com'
- s.homepage = "http://ruleby.org"
- s.platform = Gem::Platform::RUBY
- s.summary = "Rete based Ruby Rule Engine"
- s.required_ruby_version = '>= 1.8.2'
- #s.license = "GPL3"
-
- s.require_paths = [ "lib" ]
- s.test_file = "tests/test.rb"
- s.has_rdoc = true
- s.rubyforge_project = 'ruleby'
- s.description = <<EOF
-Ruleby is a rule engine written in the Ruby language. It is a system for executing a set
-of IF-THEN statements known as production rules. These rules are matched to objects using
-the forward chaining Rete algorithm. Ruleby provides an internal Domain Specific Language
-(DSL) for building the productions that make up a Ruleby program.
-EOF
-
- #s.extra_rdoc_files = [ 'README.txt' ]
-
- #[ 'other-gem', 'yet-another-gem' ].each do |d|
- # s.requirements << d
- # s.add_dependency d
- #end
-
- files = FileList[ "{lib}/**/*" ]
- #files.exclude "rdoc"
- s.files = files.to_a
-end
-
-#
-# tasks
-
-CLEAN.include("pkg", "rdoc")
-
-task :default => [ :clean, :repackage ]
-
-FileList['tasks/**/*.rake'].each { |task| import task }
-
-
-#
-# PACKAGING
-
-Rake::GemPackageTask.new(spec) do |pkg|
- #pkg.need_tar = true
-end
-
-Rake::PackageTask.new(spec.name, spec.version) do |pkg|
-
- pkg.need_zip = true
- pkg.package_files = FileList[
- "Rakefile",
- "*.txt",
- "lib/**/*",
- "tests/**/*"
- ].to_a
- #pkg.package_files.delete("MISC.txt")
- class << pkg
- def package_name
- "#{@name}-#{@version}-src"
- end
- end
-end
-
View
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-VERSION=0.8
-
-git branch $VERSION
-
-git push origin $VERSION
-
-sed 's/0.8/0.9/g' Rakefile > tmp-Rakefile
-
-mv tmp-Rakefile Rakefile
-
-git add Rakefile
-
-git commit -m "Updated Rakefile for next version"
-
View
@@ -0,0 +1,18 @@
+Gem::Specification.new do |s|
+ s.name = %q{ruleby}
+ s.version = "0.9.b5"
+
+ s.authors = [%q{Joe Kutner}, %q{Matt Smith}]
+ s.date = %q{2011-06-16}
+ s.description = %q{Ruleby is a rule engine written in the Ruby language. It is a system for executing a set
+of IF-THEN statements known as production rules. These rules are matched to objects using
+the forward chaining Rete algorithm. Ruleby provides an internal Domain Specific Language
+(DSL) for building the productions that make up a Ruleby program.
+}
+ s.email = %q{jpkutner@gmail.com}
+ s.homepage = %q{http://ruleby.org}
+ s.files = `git ls-files`.split("\n")
+ s.require_paths = [%q{lib}]
+ s.rubyforge_project = %q{ruleby}
+ s.summary = %q{Rete based Ruby Rule Engine}
+end

0 comments on commit 785bedd

Please sign in to comment.