Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update for current rubygems, add license MIT like ar adapter , add ra…

…kefile
  • Loading branch information...
commit a6d9bbc0e4414d1233229ba287bdb3d5b2bec460 1 parent 13af630
@mariuz mariuz authored
Showing with 34 additions and 24 deletions.
  1. +8 −0 Rakefile
  2. +26 −24 fb.gemspec
View
8 Rakefile
@@ -0,0 +1,8 @@
+load 'fb.gemspec'
+require 'rake/dsl_definition'
+require 'rubygems/package_task'
+
+Gem::PackageTask.new(spec) do |pkg|
+ pkg.need_tar = false
+ pkg.need_zip = false
+end
View
50 fb.gemspec
@@ -1,31 +1,33 @@
-#!/bin/env ruby
require 'rubygems'
-spec = Gem::Specification.new do |s|
- s.name = "fb"
- s.version = "0.7.0"
- s.date = "2012-05-15"
- s.summary = "Firebird and Interbase driver"
- s.requirements = "Firebird client library fbclient.dll, libfbclient.so or Firebird.framework."
- s.require_path = '.'
- s.author = "Brent Rowland"
- s.email = "rowland@rowlandresearch.com"
- s.homepage = "http://github.com/rowland/fb"
- s.rubyforge_project = "fblib"
- s.test_file = "test/FbTestSuite.rb"
- s.has_rdoc = true
- s.extra_rdoc_files = ['README']
- s.rdoc_options << '--title' << 'Fb -- Ruby Firebird Extension' << '--main' << 'README' << '-x' << 'test'
- s.files = ['extconf.rb', 'fb.c', 'README', 'fb_extensions.rb'] + Dir.glob("test/*.rb")
- s.platform = case RUBY_PLATFORM
- when /win32/ then Gem::Platform::WIN32
- else
- Gem::Platform::RUBY
+def spec
+ Gem::Specification.new do |s|
+ s.name = "fb"
+ s.version = "0.7.0"
+ s.date = "2012-05-15"
+ s.summary = "Firebird database driver"
+ s.description = "Ruby Firebird Extension Library"
+ s.licenses = ["MIT"]
+ s.requirements = "Firebird client library fbclient.dll, libfbclient.so or Firebird.framework."
+ s.require_path = '.'
+ s.author = "Brent Rowland"
+ s.email = "rowland@rowlandresearch.com"
+ s.homepage = "http://github.com/rowland/fb"
+ s.rubyforge_project = "fblib"
+ s.test_file = "test/FbTestSuite.rb"
+ s.has_rdoc = true
+ s.extra_rdoc_files = ['README']
+ s.rdoc_options << '--title' << 'Fb -- Ruby Firebird Extension' << '--main' << 'README' << '-x' << 'test'
+ s.files = ['extconf.rb', 'fb.c', 'README', 'fb_extensions.rb'] + Dir.glob("test/*.rb")
+ s.platform = case RUBY_PLATFORM
+ when /win32/ then Gem::Platform::WIN32
+ else
+ Gem::Platform::RUBY
+ end
+ s.extensions = ['extconf.rb'] if s.platform == Gem::Platform::RUBY
end
- s.extensions = ['extconf.rb'] if s.platform == Gem::Platform::RUBY
end
if __FILE__ == $0
- # Gem.manage_gems
- Gem::Builder.new(spec).build
+ Gem::Package.build(spec)
end
Please sign in to comment.
Something went wrong with that request. Please try again.