diff --git a/Gemfile b/Gemfile index f284314..c162b9b 100644 --- a/Gemfile +++ b/Gemfile @@ -2,6 +2,7 @@ source "http://rubygems.org" gem 'hoe' gem 'hoe-git' +gem 'hoe-gemspec' group :development do gem 'metaid' diff --git a/Gemfile.lock b/Gemfile.lock index 96a7b25..ea1c5ce 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -5,6 +5,8 @@ GEM flexmock (0.8.11) hoe (2.8.0) rake (>= 0.8.7) + hoe-gemspec (1.0.0) + hoe (>= 2.2.0) hoe-git (1.3.0) hoe (>= 2.2.0) metaid (1.0) @@ -24,6 +26,7 @@ PLATFORMS DEPENDENCIES flexmock hoe + hoe-gemspec hoe-git metaid rspec (~> 2.0) diff --git a/Rakefile b/Rakefile index a3569f9..5707067 100644 --- a/Rakefile +++ b/Rakefile @@ -14,6 +14,8 @@ MANIFEST = File.read("Manifest.txt").split MINRUBY = "1.8.7" Hoe.plugin :git +Hoe.plugin :gemspec + Hoe.spec PKG_NAME do self.version = PKG_VERSION self.rubyforge_name = PKG_NAME @@ -121,4 +123,4 @@ task :build_manifest do |t| end desc "Run a full set of integration and unit tests" -task :cruise => [:test, :spec] \ No newline at end of file +task :cruise => [:test, :spec] diff --git a/net-ldap.gemspec b/net-ldap.gemspec new file mode 100644 index 0000000..ad509d3 --- /dev/null +++ b/net-ldap.gemspec @@ -0,0 +1,46 @@ +# -*- encoding: utf-8 -*- + +Gem::Specification.new do |s| + s.name = %q{net-ldap} + s.version = "0.1.1.20110316141115" + + s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= + s.authors = ["Francis Cianfrocca", "Emiel van de Laar", "Rory O'Connell", "Kaspar Schiess", "Austin Ziegler"] + s.date = %q{2011-03-16} + s.description = %q{Pure Ruby LDAP library.} + s.email = ["blackhedd@rubyforge.org", "gemiel@gmail.com", "rory.ocon@gmail.com", "kaspar.schiess@absurd.li", "austin@rubyforge.org"] + s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.txt", "Hacking.rdoc"] + s.files = ["COPYING", "Hacking.rdoc", "History.txt", "LICENSE", "Manifest.txt", "README.txt", "Rakefile", "lib/net-ldap.rb", "lib/net/ber.rb", "lib/net/ber/ber_parser.rb", "lib/net/ber/core_ext.rb", "lib/net/ber/core_ext/array.rb", "lib/net/ber/core_ext/bignum.rb", "lib/net/ber/core_ext/false_class.rb", "lib/net/ber/core_ext/fixnum.rb", "lib/net/ber/core_ext/string.rb", "lib/net/ber/core_ext/true_class.rb", "lib/net/ldap.rb", "lib/net/ldap/dataset.rb", "lib/net/ldap/entry.rb", "lib/net/ldap/filter.rb", "lib/net/ldap/pdu.rb", "lib/net/ldap/psw.rb", "lib/net/ldif.rb", "lib/net/snmp.rb", "spec/integration/ssl_ber_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "spec/unit/ber/ber_spec.rb", "spec/unit/ber/core_ext/string_spec.rb", "spec/unit/ldap/entry_spec.rb", "spec/unit/ldap/filter_spec.rb", "spec/unit/ldap_spec.rb", "test/common.rb", "test/test_ber.rb", "test/test_entry.rb", "test/test_filter.rb", "test/test_ldif.rb", "test/test_password.rb", "test/test_snmp.rb", "test/testdata.ldif", "testserver/ldapserver.rb", "testserver/testdata.ldif", "test/test_rename.rb"] + s.homepage = %q{http://net-ldap.rubyforge.org/} + s.rdoc_options = ["--main", "README.txt"] + s.require_paths = ["lib"] + s.required_ruby_version = Gem::Requirement.new(">= 1.8.7") + s.rubyforge_project = %q{net-ldap} + s.rubygems_version = %q{1.6.2} + s.summary = %q{Pure Ruby LDAP support library with most client features and some server features.} + s.test_files = ["test/test_entry.rb", "test/test_filter.rb", "test/test_ldif.rb", "test/test_password.rb", "test/test_rename.rb", "test/test_snmp.rb"] + + if s.respond_to? :specification_version then + s.specification_version = 3 + + if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then + s.add_development_dependency(%q, ["~> 0.5.1"]) + s.add_development_dependency(%q, ["~> 0.1.2"]) + s.add_development_dependency(%q, ["~> 1"]) + s.add_development_dependency(%q, ["~> 1"]) + s.add_development_dependency(%q, [">= 2.8.0"]) + else + s.add_dependency(%q, ["~> 0.5.1"]) + s.add_dependency(%q, ["~> 0.1.2"]) + s.add_dependency(%q, ["~> 1"]) + s.add_dependency(%q, ["~> 1"]) + s.add_dependency(%q, [">= 2.8.0"]) + end + else + s.add_dependency(%q, ["~> 0.5.1"]) + s.add_dependency(%q, ["~> 0.1.2"]) + s.add_dependency(%q, ["~> 1"]) + s.add_dependency(%q, ["~> 1"]) + s.add_dependency(%q, [">= 2.8.0"]) + end +end