nowa-top4r 0.0.13 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ class Top4R::Client
8
8
  u = u.nick if u.is_a?(Top4R::User)
9
9
  params = {:service_code => service_code}.merge(options).merge(:nick => u)
10
10
  response = http_connect {|conn| create_http_get_request(@@SUITE_METHODS[method], params)}
11
- suites = Top4R::Suite.unmarshal(JSON.parse(response.body)["rsp"]["suite"])
11
+ suites = Top4R::Suite.unmarshal(JSON.parse(response.body)["rsp"]["suites"])
12
12
  suites.each {|suite| bless_model(suite); yield suite if block_given?}
13
13
  # puts "\nsuites: #{suites.inspect}"
14
14
  @total_results = JSON.parse(response.body)["rsp"]["totalResults"].to_i
data/lib/top4r/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Top4R::Version
2
2
  MAJOR = 0
3
3
  MINOR = 0
4
- REVISION = 13
4
+ REVISION = 14
5
5
 
6
6
  class << self
7
7
  # Returns X.Y.Z formatted version string
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nowa-top4r
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nowa Zhu