remove Echoe dependency
This commit is contained in:
parent
bde838865c
commit
ed05b900da
25
Manifest
25
Manifest
|
@ -1,25 +0,0 @@
|
|||
CHANGELOG
|
||||
LICENSE
|
||||
Manifest
|
||||
README.rdoc
|
||||
Rakefile
|
||||
lib/thrift_client.rb
|
||||
lib/thrift_client/abstract_thrift_client.rb
|
||||
lib/thrift_client/connection.rb
|
||||
lib/thrift_client/connection/base.rb
|
||||
lib/thrift_client/connection/factory.rb
|
||||
lib/thrift_client/connection/http.rb
|
||||
lib/thrift_client/connection/socket.rb
|
||||
lib/thrift_client/event_machine.rb
|
||||
lib/thrift_client/server.rb
|
||||
lib/thrift_client/simple.rb
|
||||
lib/thrift_client/thrift.rb
|
||||
test/greeter/greeter.rb
|
||||
test/greeter/greeter.thrift
|
||||
test/greeter/server.rb
|
||||
test/multiple_working_servers_test.rb
|
||||
test/simple_test.rb
|
||||
test/test_helper.rb
|
||||
test/thrift_client_http_test.rb
|
||||
test/thrift_client_test.rb
|
||||
thrift_client.gemspec
|
22
Rakefile
22
Rakefile
|
@ -1,14 +1,14 @@
|
|||
|
||||
require 'rubygems'
|
||||
require 'echoe'
|
||||
require 'rake/testtask'
|
||||
|
||||
Echoe.new("thrift_client") do |p|
|
||||
p.author = ["Evan Weaver", "Ryan King", "Jeff Hodges"]
|
||||
p.project = "fauna"
|
||||
p.summary = "A Thrift client wrapper that encapsulates some common failover behavior."
|
||||
p.rubygems_version = ">= 0.8"
|
||||
p.dependencies = ['thrift ~>0.8.0']
|
||||
p.ignore_pattern = /^(vendor\/thrift)/
|
||||
p.rdoc_pattern = /^(lib|bin|tasks|ext)|^README|^CHANGELOG|^TODO|^LICENSE|^COPYING$/
|
||||
p.spec_pattern = "spec/*_spec.rb"
|
||||
Rake::TestTask.new(:test) do |test|
|
||||
test.libs << 'lib' << 'test'
|
||||
test.pattern = 'test/**/*_test.rb'
|
||||
test.verbose = true
|
||||
end
|
||||
|
||||
task :build do
|
||||
`gem build thrift_client.gemspec`
|
||||
end
|
||||
|
||||
task :default => :test
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
# -*- encoding: utf-8 -*-
|
||||
|
||||
VERSION = File.read("CHANGELOG")[/^\s*v([\d\w\.]+)(\.|\s|$)/, 1]
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "thrift_client"
|
||||
s.version = VERSION
|
||||
|
||||
s.platform = Gem::Platform::RUBY
|
||||
s.authors = ["Evan Weaver", "Ryan King", "Jeff Hodges"]
|
||||
s.homepage = "https://github.com/twitter/thrift_client"
|
||||
s.summary = "A Thrift client wrapper that encapsulates some common failover behavior."
|
||||
|
||||
s.files = Dir["lib/**/*.rb"].to_a
|
||||
s.test_files = Dir["test/**/*.rb"].to_a
|
||||
|
||||
s.require_paths = ["lib"]
|
||||
|
||||
s.add_dependency("thrift", ["~> 0.8.0"])
|
||||
|
||||
s.add_development_dependency 'rake'
|
||||
s.add_development_dependency 'mongrel', '1.2.0.pre2'
|
||||
end
|
Loading…
Reference in New Issue