mlb 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/mlb.rb +1 -1
  2. metadata +2 -2
data/lib/mlb.rb CHANGED
@@ -54,7 +54,7 @@ class MLB
54
54
  ]
55
55
  }
56
56
 
57
- @response ||= get('/service/mqlread?', :query => {:query => JSON.unparse(@query)})
57
+ @response ||= get('/service/mqlread?', :query => {:query => @query.to_json})
58
58
  unless @response['code'] == '/api/status/ok'
59
59
  errors = Array(@response['messages']).map{|m| m.inspect}.join(', ')
60
60
  raise "#{@response['status']}: #{errors} (#{@response['transaction_id']})"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mlb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Michaels-Ober
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-06 00:00:00 -07:00
12
+ date: 2009-10-07 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency