stat-count-client 0.0.8.1 → 0.0.8.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e5fceff3a7c13de9a82e186f45514dc5b20ce497
4
- data.tar.gz: d1ef97c15dd36de8dda4aad5a01d619237aa9930
3
+ metadata.gz: 85eb9401d520c3e4aa62480b9441f0ee74ad47ae
4
+ data.tar.gz: c64f075249cddd7b9c1d808bf8b6ac89ef52de98
5
5
  SHA512:
6
- metadata.gz: 1e7998e10bf0f88b8bbad95f9204700e5911b745656bf68edc139a871d11c46b2d7821173de718b9d0859a5b0c1cf543453fe30ad64ffe0ea2881b79d784cde1
7
- data.tar.gz: 265b145af48de9f27488e096d3455065977c3c7e223ecb5b46d2e3e0f9c1df295a2da599a5866011862a250fa72f0cd680641193c18e5d0b9264fe155928fba8
6
+ metadata.gz: 67ff207c0145354c9f89a8e7663532ebd2066d7fbfb7ab774d4d4b1229ee1229a6d2dc9c63783993dbfc555a5783e45fb1e70841b3c3a98d9172e5a6591fd029
7
+ data.tar.gz: b897f74167ec35dbc4185e0162c69f82ada6cf6371c452e346158b261c8fbd972bec69e071514bf764fcbe4035813a3084bf8a31794d4c6e1d2af4dcba0bf2c9
data/Gemfile CHANGED
@@ -1,5 +1,5 @@
1
1
  source 'https://rubygems.org'
2
- source 'http://192.168.3.220:9292/'
2
+ source 'http://ruby.ximalaya.com'
3
3
 
4
4
  # Specify your gem's dependencies in stat-count-client.gemspec
5
5
  gemspec
@@ -0,0 +1 @@
1
+ # Logfile created on 2014-03-27 12:10:19 +0800 by logger.rb/36483
@@ -14,7 +14,7 @@ class LoggerFactory
14
14
  if @@logger.nil?
15
15
  log_path = CONFIG['log.file.'+name];
16
16
  if(log_path.nil?)
17
- log_path = "../Stat-count-client.log"
17
+ log_path = "./stat-count/Stat-count-client.log"
18
18
  end
19
19
 
20
20
  log_level = CONFIG['log.level.'+name]
@@ -1,7 +1,7 @@
1
1
  module Stat
2
2
  module Count
3
3
  module Client
4
- VERSION = "0.0.8.1"
4
+ VERSION = "0.0.8.2"
5
5
  end
6
6
  end
7
7
  end
@@ -24,6 +24,11 @@ class TC_StatCountClientTest < Test::Unit::TestCase
24
24
  # Do nothing
25
25
  end
26
26
 
27
+ def test_get
28
+ value = @client.get("user.tracks.count", "12872")
29
+ puts value
30
+ end
31
+
27
32
  # Fake test
28
33
  def test_incr
29
34
  @client.set("testDay", "1", 1)
@@ -24,6 +24,11 @@ class TC_StatCountClientTest < Test::Unit::TestCase
24
24
  # Do nothing
25
25
  end
26
26
 
27
+ def test_get
28
+ value = @client.get("user.tracks.count", "12872")
29
+ puts value
30
+ end
31
+
27
32
  # Fake test
28
33
  def test_incr
29
34
  @client.set("testDay", "1", 1)
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stat-count-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8.1
4
+ version: 0.0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - gavin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-26 00:00:00.000000000 Z
11
+ date: 2014-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hessian2
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: thrift-client
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: ruby client for stat count server
@@ -48,14 +48,12 @@ files:
48
48
  - Gemfile
49
49
  - Gemfile.lock
50
50
  - LICENSE
51
- - Rakefile
52
51
  - README.md
53
- - test/count_benchmark.rb
54
- - test/count_mother.rb
55
- - test/stat_ccount_client_test.rb
56
- - test/stat_count_client_test.rb
57
- - test/test.rb
58
- - test/thrift_count_client_test.rb
52
+ - Rakefile
53
+ - Stat-count-client.log
54
+ - doc/collecter.thrift
55
+ - doc/gen.txt
56
+ - lib/stat-count-client.rb
59
57
  - lib/stat-count-client/config_loader.rb
60
58
  - lib/stat-count-client/hessian/stat_data_utils.rb
61
59
  - lib/stat-count-client/hessian_client.rb
@@ -66,9 +64,12 @@ files:
66
64
  - lib/stat-count-client/thrift/remote_simple_count_collecter.rb
67
65
  - lib/stat-count-client/thrift_client.rb
68
66
  - lib/stat-count-client/version.rb
69
- - lib/stat-count-client.rb
70
- - doc/collecter.thrift
71
- - doc/gen.txt
67
+ - test/count_benchmark.rb
68
+ - test/count_mother.rb
69
+ - test/stat_ccount_client_test.rb
70
+ - test/stat_count_client_test.rb
71
+ - test/test.rb
72
+ - test/thrift_count_client_test.rb
72
73
  homepage: http://www.ximalaya.com
73
74
  licenses: []
74
75
  metadata: {}
@@ -79,17 +80,17 @@ require_paths:
79
80
  - test
80
81
  required_ruby_version: !ruby/object:Gem::Requirement
81
82
  requirements:
82
- - - '>='
83
+ - - ">="
83
84
  - !ruby/object:Gem::Version
84
85
  version: '0'
85
86
  required_rubygems_version: !ruby/object:Gem::Requirement
86
87
  requirements:
87
- - - '>='
88
+ - - ">="
88
89
  - !ruby/object:Gem::Version
89
90
  version: '0'
90
91
  requirements: []
91
92
  rubyforge_project:
92
- rubygems_version: 2.0.3
93
+ rubygems_version: 2.2.2
93
94
  signing_key:
94
95
  specification_version: 4
95
96
  summary: stat count client
@@ -100,4 +101,3 @@ test_files:
100
101
  - test/stat_count_client_test.rb
101
102
  - test/test.rb
102
103
  - test/thrift_count_client_test.rb
103
- has_rdoc: