Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

minor bug correction in checking method name (should allow strings)

  • Loading branch information...
commit 6773e77c57f3750b8cee091651b4251e304e6ce3 1 parent bbb889d
Martin Poljak authored
Showing with 4 additions and 2 deletions.
  1. +3 −1 Gemfile.lock
  2. +1 −1  lib/json-rpc-objects/v10/request.rb
4 Gemfile.lock
View
@@ -4,7 +4,8 @@ GEM
abstract (1.0.0)
addressable (2.2.6)
git (1.2.5)
- hash-utils (0.18.1)
+ hash-utils (1.1.0)
+ ruby-version
jeweler (1.6.4)
bundler (~> 1.0)
git (>= 1.2.5)
@@ -13,6 +14,7 @@ GEM
multi_json
multi_json (1.0.3)
rake (0.9.2)
+ ruby-version (0.3.1)
PLATFORMS
ruby
2  lib/json-rpc-objects/v10/request.rb
View
@@ -134,7 +134,7 @@ def normalize!
#
def __check_method
- if not @method.symbol?
+ if not (@method.symbol? or @method.string?)
raise Exception::new("Service name must be Symbol or convertable to Symbol.")
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.