Permalink
Browse files

Use concord 0.1.0

  • Loading branch information...
mbj committed May 20, 2013
1 parent 056b9a6 commit 29352c2adda407b560a43fc0a7bbc3a8fb6bc554
Showing with 25 additions and 1 deletion.
  1. +8 −0 lib/request/method.rb
  2. +16 −0 lib/request/protocol.rb
  3. +1 −1 request.gemspec
View
@@ -13,6 +13,14 @@ class Method
ALL << DELETE = new('DELETE')
ALL.freeze
+ # Return verb
+ #
+ # @return [String]
+ #
+ # @api private
+ #
+ attr_reader :verb
+
INDEX = ALL.each_with_object({}) do |method, index|
index[method.verb]=method
end.freeze
View
@@ -9,6 +9,22 @@ class Protocol
ALL << HTTP = new('http', 80)
ALL << HTTPS = new('https', 443)
+ # Return name
+ #
+ # @return [String]
+ #
+ # @api private
+ #
+ attr_reader :name
+
+ # Return default port
+ #
+ # @return [Fixnum]
+ #
+ # @api private
+ #
+ attr_reader :default_port
+
ALL.freeze
INDEX = ALL.each_with_object({}) do |protocol, index|
View
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
gem.extra_rdoc_files = %w[LICENSE README.md TODO]
gem.add_dependency('backports', [ '~> 3.0', '>= 3.0.3' ])
- gem.add_dependency('concord', '~> 0.0.3')
+ gem.add_dependency('concord', '~> 0.1.0')
gem.add_dependency('ice_nine', '~> 0.7.0')
gem.add_dependency('adamantium', '~> 0.0.7')
gem.add_dependency('equalizer', '~> 0.0.5')

0 comments on commit 29352c2

Please sign in to comment.