Skip to content

Commit

Permalink
removed nasty log output
Browse files Browse the repository at this point in the history
  • Loading branch information
code-later committed May 2, 2011
1 parent a244d0a commit 93ecb0a
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 65 deletions.
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.3.2.beta5
0.3.2.beta6
135 changes: 74 additions & 61 deletions hoth.gemspec
@@ -1,93 +1,96 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{hoth}
s.version = "0.3.2.beta5"
s.version = "0.3.2.beta6"

s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
s.authors = ["Dirk Breuer"]
s.date = %q{2011-03-11}
s.date = %q{2011-05-02}
s.description = %q{Creating a SOA requires a centralized location to define all services within the
SOA. Furthermore you want to know where to deploy those services.
}
s.email = %q{dirk.breuer@gmail.com}
s.extra_rdoc_files = [
"LICENSE",
"README.rdoc",
"TODO"
"README.rdoc",
"TODO"
]
s.files = [
"Gemfile.lock",
"README.rdoc",
"THANKS.md",
"lib/hoth.rb",
"lib/hoth/encoding/json.rb",
"lib/hoth/encoding/no_op.rb",
"lib/hoth/endpoint.rb",
"lib/hoth/exceptions.rb",
"lib/hoth/extension/core/exception.rb",
"lib/hoth/modules.rb",
"lib/hoth/providers/beanstalkd_provider.rb",
"lib/hoth/providers/bertrpc_provider.rb",
"lib/hoth/providers/rack_provider.rb",
"lib/hoth/service.rb",
"lib/hoth/service_definition.rb",
"lib/hoth/service_module.rb",
"lib/hoth/service_registry.rb",
"lib/hoth/services.rb",
"lib/hoth/transport.rb",
"lib/hoth/transport/base.rb",
"lib/hoth/transport/beanstalkd.rb",
"lib/hoth/transport/bert.rb",
"lib/hoth/transport/http.rb",
"lib/hoth/transport/https.rb",
"lib/hoth/transport/workling.rb",
"lib/hoth/util/logger.rb",
"spec/spec_helper.rb",
"spec/unit/encoding/json_spec.rb",
"spec/unit/endpoint_spec.rb",
"spec/unit/extension/core/exception_spec.rb",
"spec/unit/hoth_spec.rb",
"spec/unit/providers/beanstalkd_provider_spec.rb",
"spec/unit/providers/rack_provider_spec.rb",
"spec/unit/service_definition_spec.rb",
"spec/unit/service_module_spec.rb",
"spec/unit/service_spec.rb",
"spec/unit/transport/base_spec.rb",
"spec/unit/transport/http_spec.rb",
"spec/unit/transport/workling_spec.rb",
"spec/unit/transport_spec.rb"
"README.rdoc",
"THANKS.md",
"lib/hoth.rb",
"lib/hoth/encoding/json.rb",
"lib/hoth/encoding/no_op.rb",
"lib/hoth/endpoint.rb",
"lib/hoth/exceptions.rb",
"lib/hoth/extension/core/exception.rb",
"lib/hoth/modules.rb",
"lib/hoth/providers/beanstalkd_provider.rb",
"lib/hoth/providers/bertrpc_provider.rb",
"lib/hoth/providers/rack_provider.rb",
"lib/hoth/service.rb",
"lib/hoth/service_definition.rb",
"lib/hoth/service_module.rb",
"lib/hoth/service_registry.rb",
"lib/hoth/services.rb",
"lib/hoth/transport.rb",
"lib/hoth/transport/base.rb",
"lib/hoth/transport/beanstalkd.rb",
"lib/hoth/transport/bert.rb",
"lib/hoth/transport/http.rb",
"lib/hoth/transport/https.rb",
"lib/hoth/transport/workling.rb",
"lib/hoth/util/logger.rb",
"spec/spec_helper.rb",
"spec/unit/encoding/json_spec.rb",
"spec/unit/endpoint_spec.rb",
"spec/unit/extension/core/exception_spec.rb",
"spec/unit/hoth_spec.rb",
"spec/unit/providers/beanstalkd_provider_spec.rb",
"spec/unit/providers/rack_provider_spec.rb",
"spec/unit/service_definition_spec.rb",
"spec/unit/service_module_spec.rb",
"spec/unit/service_spec.rb",
"spec/unit/transport/base_spec.rb",
"spec/unit/transport/http_spec.rb",
"spec/unit/transport/workling_spec.rb",
"spec/unit/transport_spec.rb"
]
s.homepage = %q{http://github.com/galaxycats/hoth}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.6}
s.rubygems_version = %q{1.5.0}
s.summary = %q{Registry and deployment description abstraction for SOA-Services}
s.test_files = [
"spec/spec_helper.rb",
"spec/unit/encoding/json_spec.rb",
"spec/unit/endpoint_spec.rb",
"spec/unit/extension/core/exception_spec.rb",
"spec/unit/hoth_spec.rb",
"spec/unit/providers/beanstalkd_provider_spec.rb",
"spec/unit/providers/rack_provider_spec.rb",
"spec/unit/service_definition_spec.rb",
"spec/unit/service_module_spec.rb",
"spec/unit/service_spec.rb",
"spec/unit/transport/base_spec.rb",
"spec/unit/transport/http_spec.rb",
"spec/unit/transport/workling_spec.rb",
"spec/unit/transport_spec.rb"
"spec/unit/encoding/json_spec.rb",
"spec/unit/endpoint_spec.rb",
"spec/unit/extension/core/exception_spec.rb",
"spec/unit/hoth_spec.rb",
"spec/unit/providers/beanstalkd_provider_spec.rb",
"spec/unit/providers/rack_provider_spec.rb",
"spec/unit/service_definition_spec.rb",
"spec/unit/service_module_spec.rb",
"spec/unit/service_spec.rb",
"spec/unit/transport/base_spec.rb",
"spec/unit/transport/http_spec.rb",
"spec/unit/transport/workling_spec.rb",
"spec/unit/transport_spec.rb"
]

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<hoth>, [">= 0"])
s.add_development_dependency(%q<rspec>, [">= 0"])
s.add_development_dependency(%q<simple_publisher>, [">= 0"])
s.add_development_dependency(%q<beanstalk-client>, [">= 0"])
s.add_development_dependency(%q<em-jack>, [">= 0"])
s.add_runtime_dependency(%q<activesupport>, [">= 0"])
s.add_runtime_dependency(%q<bertrpc>, [">= 0"])
s.add_runtime_dependency(%q<json>, [">= 0"])
Expand All @@ -96,6 +99,11 @@ SOA. Furthermore you want to know where to deploy those services.
s.add_development_dependency(%q<beanstalk-client>, [">= 0"])
s.add_development_dependency(%q<em-jack>, [">= 0"])
else
s.add_dependency(%q<hoth>, [">= 0"])
s.add_dependency(%q<rspec>, [">= 0"])
s.add_dependency(%q<simple_publisher>, [">= 0"])
s.add_dependency(%q<beanstalk-client>, [">= 0"])
s.add_dependency(%q<em-jack>, [">= 0"])
s.add_dependency(%q<activesupport>, [">= 0"])
s.add_dependency(%q<bertrpc>, [">= 0"])
s.add_dependency(%q<json>, [">= 0"])
Expand All @@ -105,6 +113,11 @@ SOA. Furthermore you want to know where to deploy those services.
s.add_dependency(%q<em-jack>, [">= 0"])
end
else
s.add_dependency(%q<hoth>, [">= 0"])
s.add_dependency(%q<rspec>, [">= 0"])
s.add_dependency(%q<simple_publisher>, [">= 0"])
s.add_dependency(%q<beanstalk-client>, [">= 0"])
s.add_dependency(%q<em-jack>, [">= 0"])
s.add_dependency(%q<activesupport>, [">= 0"])
s.add_dependency(%q<bertrpc>, [">= 0"])
s.add_dependency(%q<json>, [">= 0"])
Expand Down
4 changes: 1 addition & 3 deletions lib/hoth/providers/rack_provider.rb
Expand Up @@ -9,11 +9,9 @@ def initialize(app=nil)
end

def call(env)
Hoth::Logger.debug "env: #{env.inspect}"
if env["PATH_INFO"] =~ /^\/execute/
begin
req = Rack::Request.new(env)
Hoth::Logger.debug "req: #{req.inspect}"

service_name = req.params["name"]
service_params = req.params["params"]
Expand Down Expand Up @@ -51,4 +49,4 @@ def call(env)

end
end
end
end

0 comments on commit 93ecb0a

Please sign in to comment.