Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 6773e77c57f3750b8cee091651b4251e304e6ce3 1 parent bbb889d
Martin Poljak authored

Showing 2 changed files with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. +3 1 Gemfile.lock
  2. +1 1  lib/json-rpc-objects/v10/request.rb
4 Gemfile.lock
@@ -4,7 +4,8 @@ GEM
4 4 abstract (1.0.0)
5 5 addressable (2.2.6)
6 6 git (1.2.5)
7   - hash-utils (0.18.1)
  7 + hash-utils (1.1.0)
  8 + ruby-version
8 9 jeweler (1.6.4)
9 10 bundler (~> 1.0)
10 11 git (>= 1.2.5)
@@ -13,6 +14,7 @@ GEM
13 14 multi_json
14 15 multi_json (1.0.3)
15 16 rake (0.9.2)
  17 + ruby-version (0.3.1)
16 18
17 19 PLATFORMS
18 20 ruby
2  lib/json-rpc-objects/v10/request.rb
@@ -134,7 +134,7 @@ def normalize!
134 134 #
135 135
136 136 def __check_method
137   - if not @method.symbol?
  137 + if not (@method.symbol? or @method.string?)
138 138 raise Exception::new("Service name must be Symbol or convertable to Symbol.")
139 139 end
140 140 end

0 comments on commit 6773e77

Please sign in to comment.
Something went wrong with that request. Please try again.