genki-kyototycoon 0.6.0.1 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile.lock +54 -12
- data/VERSION +1 -1
- data/benchmark/getset_while_1sec.rb +1 -1
- data/kyototycoon.gemspec +6 -20
- data/lib/kyototycoon.rb +1 -1
- metadata +79 -105
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c30ed4550e1a64adc642a13a139b974325062302
|
4
|
+
data.tar.gz: 3fb734cc00d934e1fc7fe1594b4ee3bca7f96f0e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e20c368d57a5df961ffb827aef9287499c35e6cc912aebbc052972b0e1aa927816ab9a09c2e5099a9098a2330a3224d8cfbf03c5988db28e377ec4e98e4485e7
|
7
|
+
data.tar.gz: 75f1117e7603e67773bcc1c35d2ed73c3513d61a59e1c9a1f4e5a2859700932c938753e04f5a306a5e685e1e5382c492c6cec4c44c7d5affecc4d1bc68128867
|
data/Gemfile.lock
CHANGED
@@ -1,20 +1,57 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
genki-kyototycoon (0.6.
|
4
|
+
genki-kyototycoon (0.6.1)
|
5
5
|
msgpack
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: http://rubygems.org/
|
9
9
|
specs:
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
10
|
+
addressable (2.4.0)
|
11
|
+
builder (3.2.2)
|
12
|
+
descendants_tracker (0.0.4)
|
13
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
14
|
+
diff-lcs (1.1.3)
|
15
|
+
faraday (0.9.2)
|
16
|
+
multipart-post (>= 1.2, < 3)
|
17
|
+
git (1.2.9.1)
|
18
|
+
github_api (0.13.1)
|
19
|
+
addressable (~> 2.4.0)
|
20
|
+
descendants_tracker (~> 0.0.4)
|
21
|
+
faraday (~> 0.8, < 0.10)
|
22
|
+
hashie (>= 3.4)
|
23
|
+
multi_json (>= 1.7.5, < 2.0)
|
24
|
+
oauth2
|
25
|
+
hashie (3.4.3)
|
26
|
+
highline (1.7.8)
|
27
|
+
jeweler (2.0.1)
|
28
|
+
builder
|
29
|
+
bundler (>= 1.0)
|
14
30
|
git (>= 1.2.5)
|
31
|
+
github_api
|
32
|
+
highline (>= 1.6.15)
|
33
|
+
nokogiri (>= 1.5.10)
|
15
34
|
rake
|
16
|
-
|
17
|
-
|
35
|
+
rdoc
|
36
|
+
json (1.8.3)
|
37
|
+
jwt (1.5.1)
|
38
|
+
mini_portile2 (2.0.0)
|
39
|
+
msgpack (0.7.4)
|
40
|
+
multi_json (1.7.7)
|
41
|
+
multi_xml (0.5.5)
|
42
|
+
multipart-post (2.0.0)
|
43
|
+
nokogiri (1.6.7.2)
|
44
|
+
mini_portile2 (~> 2.0.0.rc2)
|
45
|
+
oauth2 (1.1.0)
|
46
|
+
faraday (>= 0.8, < 0.10)
|
47
|
+
jwt (~> 1.0, < 1.5.2)
|
48
|
+
multi_json (~> 1.3)
|
49
|
+
multi_xml (~> 0.5)
|
50
|
+
rack (>= 1.2, < 3)
|
51
|
+
rack (1.6.4)
|
52
|
+
rake (10.5.0)
|
53
|
+
rdoc (4.2.2)
|
54
|
+
json (~> 1.4)
|
18
55
|
rspec (2.1.0)
|
19
56
|
rspec-core (~> 2.1.0)
|
20
57
|
rspec-expectations (~> 2.1.0)
|
@@ -23,16 +60,21 @@ GEM
|
|
23
60
|
rspec-expectations (2.1.0)
|
24
61
|
diff-lcs (~> 1.1.2)
|
25
62
|
rspec-mocks (2.1.0)
|
26
|
-
simplecov (0.
|
27
|
-
|
28
|
-
|
63
|
+
simplecov (0.7.1)
|
64
|
+
multi_json (~> 1.0)
|
65
|
+
simplecov-html (~> 0.7.1)
|
66
|
+
simplecov-html (0.7.1)
|
67
|
+
thread_safe (0.3.5)
|
29
68
|
|
30
69
|
PLATFORMS
|
31
70
|
ruby
|
32
71
|
|
33
72
|
DEPENDENCIES
|
34
|
-
bundler (
|
73
|
+
bundler (>= 1.0.0)
|
35
74
|
genki-kyototycoon!
|
36
|
-
jeweler (
|
75
|
+
jeweler (>= 2.0.0)
|
37
76
|
rspec (~> 2.1.0)
|
38
77
|
simplecov
|
78
|
+
|
79
|
+
BUNDLED WITH
|
80
|
+
1.11.2
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.6.1
|
data/kyototycoon.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = %q{genki-kyototycoon}
|
6
|
-
s.version = "0.6.
|
6
|
+
s.version = "0.6.1"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
9
|
s.authors = ["uu59"]
|
@@ -25,25 +25,11 @@ Gem::Specification.new do |s|
|
|
25
25
|
|
26
26
|
s.add_dependency(%q<msgpack>, [">= 0"])
|
27
27
|
|
28
|
-
|
29
|
-
s.specification_version = 3
|
28
|
+
s.specification_version = 3
|
30
29
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
36
|
-
else
|
37
|
-
s.add_dependency(%q<rspec>, ["~> 2.1.0"])
|
38
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
39
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
|
40
|
-
s.add_dependency(%q<simplecov>, [">= 0"])
|
41
|
-
end
|
42
|
-
else
|
43
|
-
s.add_dependency(%q<rspec>, ["~> 2.1.0"])
|
44
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
45
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
|
46
|
-
s.add_dependency(%q<simplecov>, [">= 0"])
|
47
|
-
end
|
30
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.1.0"])
|
31
|
+
s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
32
|
+
s.add_development_dependency(%q<jeweler>, [">= 2.0.0"])
|
33
|
+
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
48
34
|
end
|
49
35
|
|
data/lib/kyototycoon.rb
CHANGED
@@ -260,7 +260,7 @@ class KyotoTycoon
|
|
260
260
|
def ping(host, port)
|
261
261
|
begin
|
262
262
|
rpc = Tsvrpc::Skinny.new(host, port)
|
263
|
-
timeout(@connect_timeout){
|
263
|
+
Timeout.timeout(@connect_timeout){
|
264
264
|
@logger.debug("connect check #{host}:#{port}")
|
265
265
|
res = rpc.request('/rpc/echo', {'0' => '0'}, :U)
|
266
266
|
@logger.debug(res)
|
metadata
CHANGED
@@ -1,110 +1,94 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: genki-kyototycoon
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 6
|
9
|
-
- 0
|
10
|
-
- 1
|
11
|
-
version: 0.6.0.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.6.1
|
12
5
|
platform: ruby
|
13
|
-
authors:
|
6
|
+
authors:
|
14
7
|
- uu59
|
15
8
|
autorequire:
|
16
9
|
bindir: bin
|
17
10
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
dependencies:
|
22
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2011-08-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
23
14
|
name: msgpack
|
24
|
-
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
25
20
|
type: :runtime
|
26
|
-
|
27
|
-
|
28
|
-
requirements:
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
29
24
|
- - ">="
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
|
32
|
-
|
33
|
-
- 0
|
34
|
-
version: "0"
|
35
|
-
requirement: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
37
28
|
name: rspec
|
38
|
-
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.1.0
|
39
34
|
type: :development
|
40
|
-
|
41
|
-
|
42
|
-
requirements:
|
43
|
-
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
hash: 11
|
46
|
-
segments:
|
47
|
-
- 2
|
48
|
-
- 1
|
49
|
-
- 0
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
50
40
|
version: 2.1.0
|
51
|
-
|
52
|
-
- !ruby/object:Gem::Dependency
|
41
|
+
- !ruby/object:Gem::Dependency
|
53
42
|
name: bundler
|
54
|
-
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.0.0
|
55
48
|
type: :development
|
56
|
-
|
57
|
-
|
58
|
-
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
hash: 23
|
62
|
-
segments:
|
63
|
-
- 1
|
64
|
-
- 0
|
65
|
-
- 0
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
66
54
|
version: 1.0.0
|
67
|
-
|
68
|
-
- !ruby/object:Gem::Dependency
|
55
|
+
- !ruby/object:Gem::Dependency
|
69
56
|
name: jeweler
|
70
|
-
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 2.0.0
|
71
62
|
type: :development
|
72
|
-
version_requirements: &id004 !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ~>
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
hash: 1
|
78
|
-
segments:
|
79
|
-
- 1
|
80
|
-
- 5
|
81
|
-
- 1
|
82
|
-
version: 1.5.1
|
83
|
-
requirement: *id004
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: simplecov
|
86
63
|
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.0.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: simplecov
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
87
76
|
type: :development
|
88
|
-
|
89
|
-
|
90
|
-
requirements:
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
91
80
|
- - ">="
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
|
94
|
-
segments:
|
95
|
-
- 0
|
96
|
-
version: "0"
|
97
|
-
requirement: *id005
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
98
83
|
description: KyotoTycoon client for Ruby
|
99
84
|
email: k@uu59.org
|
100
|
-
executables:
|
85
|
+
executables:
|
101
86
|
- kyototycoon-console
|
102
87
|
extensions: []
|
103
|
-
|
104
|
-
extra_rdoc_files:
|
88
|
+
extra_rdoc_files:
|
105
89
|
- README.markdown
|
106
|
-
files:
|
107
|
-
- .gitignore
|
90
|
+
files:
|
91
|
+
- ".gitignore"
|
108
92
|
- Changes.md
|
109
93
|
- Gemfile
|
110
94
|
- Gemfile.lock
|
@@ -132,41 +116,31 @@ files:
|
|
132
116
|
- spec/ktslave.txt
|
133
117
|
- spec/options_spec.rb
|
134
118
|
- spec/spec_helper.rb
|
135
|
-
has_rdoc: true
|
136
119
|
homepage: http://github.com/uu59/kyototycoon-ruby
|
137
|
-
licenses:
|
120
|
+
licenses:
|
138
121
|
- MIT
|
122
|
+
metadata: {}
|
139
123
|
post_install_message:
|
140
124
|
rdoc_options: []
|
141
|
-
|
142
|
-
require_paths:
|
125
|
+
require_paths:
|
143
126
|
- lib
|
144
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
145
|
-
|
146
|
-
requirements:
|
127
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
147
129
|
- - ">="
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
version: "0"
|
153
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
154
|
-
none: false
|
155
|
-
requirements:
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
156
134
|
- - ">="
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
|
159
|
-
segments:
|
160
|
-
- 0
|
161
|
-
version: "0"
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0'
|
162
137
|
requirements: []
|
163
|
-
|
164
138
|
rubyforge_project:
|
165
|
-
rubygems_version:
|
139
|
+
rubygems_version: 2.5.1
|
166
140
|
signing_key:
|
167
141
|
specification_version: 3
|
168
142
|
summary: KyotoTycoon client for Ruby
|
169
|
-
test_files:
|
143
|
+
test_files:
|
170
144
|
- spec/connect_spec.rb
|
171
145
|
- spec/cursor_spec.rb
|
172
146
|
- spec/ktslave.txt
|