nowa-top4r 0.0.18 → 0.0.19

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.
@@ -123,7 +123,7 @@ class Top4R::Client
123
123
  :v => "1.0"
124
124
  })
125
125
  params = params.merge({
126
- :sign => Digest::MD5.hexdigest(params.sort {|a,b| "#{a[0]}"<=>"#{b[0]}"}.flatten.unshift(@app_secret).map {|p| p.to_utf8 if p.is_a?(String)}.join).upcase
126
+ :sign => Digest::MD5.hexdigest(params.sort {|a,b| "#{a[0]}"<=>"#{b[0]}"}.flatten.unshift(@app_secret).join).upcase
127
127
  })
128
128
  end
129
129
 
@@ -6,7 +6,7 @@ module Top4R
6
6
  end
7
7
 
8
8
  def suites(service_code, options = {})
9
- @client.suites(self.nick, service_code, :list, options)
9
+ @client.suites(self.nick.to_utf8, service_code, :list, options)
10
10
  end
11
11
  end
12
12
 
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 = 18
4
+ REVISION = 19
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.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nowa Zhu