stat-analysis-query 0.0.8 → 0.0.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86e04034c2d15325743718e53b05a292aa46604e
4
- data.tar.gz: e6c80314e7cba294ba1e60d49e70cf8133fcb918
3
+ metadata.gz: 8455165deb32bb0680f1f900263ee925d9664cd6
4
+ data.tar.gz: 785baeba343c58f72db00fc4464ccaee1e099801
5
5
  SHA512:
6
- metadata.gz: 2f65f46abeb4770fc2aa7241bfad2789258cca434984ad2bb2304129db01e47b512d48d11217da05cf505aa9b193ab084436e3dcf105474b6b501e50e6b66c6f
7
- data.tar.gz: 697a293435253cf2567c73e87c973557bf97ede5adf34310691943d14599905e8e452c392897bede6523978032eb1617c65c81721e32aaadb451ba9f35eb52d7
6
+ metadata.gz: f21e00d5e195d04be5186a65642204b91cf9933b87f49fae7adab5265fde07f1f55b3c75e3bad2c20652492c3c67a10f2a488e8c9dfc241f170999d9150060dc
7
+ data.tar.gz: eabd84f31f66571e8c56bab0e5afb10354cdb1854091b441f5e9319548ed9456c033a309ce168d2a02f5e5ae74ab5f664df2b714d7f8a47f22c8da5fd89d6c95
@@ -215,19 +215,19 @@ module Stat
215
215
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'selectMobileMultiCategories failed: unknown result')
216
216
  end
217
217
 
218
- def getSelectedAlbumSwitch(catetoryIds)
219
- send_getSelectedAlbumSwitch(catetoryIds)
220
- return recv_getSelectedAlbumSwitch()
218
+ def selectAlbumSwitches(catetoryIds)
219
+ send_selectAlbumSwitches(catetoryIds)
220
+ return recv_selectAlbumSwitches()
221
221
  end
222
222
 
223
- def send_getSelectedAlbumSwitch(catetoryIds)
224
- send_message('getSelectedAlbumSwitch', GetSelectedAlbumSwitch_args, :catetoryIds => catetoryIds)
223
+ def send_selectAlbumSwitches(catetoryIds)
224
+ send_message('selectAlbumSwitches', SelectAlbumSwitches_args, :catetoryIds => catetoryIds)
225
225
  end
226
226
 
227
- def recv_getSelectedAlbumSwitch()
228
- result = receive_message(GetSelectedAlbumSwitch_result)
227
+ def recv_selectAlbumSwitches()
228
+ result = receive_message(SelectAlbumSwitches_result)
229
229
  return result.success unless result.success.nil?
230
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getSelectedAlbumSwitch failed: unknown result')
230
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'selectAlbumSwitches failed: unknown result')
231
231
  end
232
232
 
233
233
  end
@@ -332,11 +332,11 @@ module Stat
332
332
  write_result(result, oprot, 'selectMobileMultiCategories', seqid)
333
333
  end
334
334
 
335
- def process_getSelectedAlbumSwitch(seqid, iprot, oprot)
336
- args = read_args(iprot, GetSelectedAlbumSwitch_args)
337
- result = GetSelectedAlbumSwitch_result.new()
338
- result.success = @handler.getSelectedAlbumSwitch(args.catetoryIds)
339
- write_result(result, oprot, 'getSelectedAlbumSwitch', seqid)
335
+ def process_selectAlbumSwitches(seqid, iprot, oprot)
336
+ args = read_args(iprot, SelectAlbumSwitches_args)
337
+ result = SelectAlbumSwitches_result.new()
338
+ result.success = @handler.selectAlbumSwitches(args.catetoryIds)
339
+ write_result(result, oprot, 'selectAlbumSwitches', seqid)
340
340
  end
341
341
 
342
342
  end
@@ -805,7 +805,7 @@ module Stat
805
805
  ::Thrift::Struct.generate_accessors self
806
806
  end
807
807
 
808
- class GetSelectedAlbumSwitch_args
808
+ class SelectAlbumSwitches_args
809
809
  include ::Thrift::Struct, ::Thrift::Struct_Union
810
810
  CATETORYIDS = 1
811
811
 
@@ -821,7 +821,7 @@ module Stat
821
821
  ::Thrift::Struct.generate_accessors self
822
822
  end
823
823
 
824
- class GetSelectedAlbumSwitch_result
824
+ class SelectAlbumSwitches_result
825
825
  include ::Thrift::Struct, ::Thrift::Struct_Union
826
826
  SUCCESS = 0
827
827
 
@@ -17,7 +17,7 @@ class QueryTest < Test::Unit::TestCase
17
17
  'size' => 1,
18
18
  'multiplexed' => true,
19
19
  'client_class' => 'Stat::Query::TDiscoverService::Client',
20
- 'servers' => '192.168.3.161:9002'
20
+ 'servers' => '192.168.5.49:9002'
21
21
  }
22
22
 
23
23
  @client = ThriftClient.new(config)
@@ -155,10 +155,10 @@ class QueryTest < Test::Unit::TestCase
155
155
  }
156
156
  end
157
157
 
158
- def test_getSelectedAlbumSwitch
158
+ def test_selectAlbumSwitches
159
159
  category_ids = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]
160
160
  assert_nothing_raised {
161
- p @client.getSelectedAlbumSwitch(category_ids)
161
+ p @client.selectAlbumSwitches(category_ids)
162
162
  }
163
163
  end
164
164
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stat-analysis-query
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ted Wang