kyototycoon 0.5.3 → 0.5.4
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.
- data/README.markdown +1 -0
- data/VERSION +1 -1
- data/bin/kyototycoon-console +26 -0
- data/kyototycoon.gemspec +7 -5
- metadata +9 -32
data/README.markdown
CHANGED
|
@@ -2,6 +2,7 @@ KyotoTycoon client for Ruby.
|
|
|
2
2
|
|
|
3
3
|
# Feature / Fixture
|
|
4
4
|
|
|
5
|
+
* Usable console as `$ bin/kyototycoon-console -h localhost -p 1991` like a Sequel(v0.5.4+)
|
|
5
6
|
* Always Keep-Alive connect (v0.5.0+)
|
|
6
7
|
* You can choise key/value encoding from URI or Base64
|
|
7
8
|
* You can use MessagePack tranparency
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.5.4
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require "irb"
|
|
4
|
+
require "optparse"
|
|
5
|
+
require "rubygems"
|
|
6
|
+
require File.expand_path('../lib/kyototycoon.rb', File.dirname(__FILE__))
|
|
7
|
+
|
|
8
|
+
options = {
|
|
9
|
+
:host => 'localhost',
|
|
10
|
+
:port => 1978,
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
OptionParser.new do |opts|
|
|
14
|
+
opts.on('-h VAL', '--host=VAL', 'hostname'){|v| options[:host] = v}
|
|
15
|
+
opts.on('-p VAL', '--port=VAL', 'port numver'){|v| options[:port] = v}
|
|
16
|
+
opts.parse! ARGV
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
KT = KyotoTycoon.new(options[:host], options[:port])
|
|
20
|
+
|
|
21
|
+
puts "="*30
|
|
22
|
+
puts "You can use KyotoTycoon object for KT"
|
|
23
|
+
puts "options are: #{options.inspect}"
|
|
24
|
+
puts "="*30
|
|
25
|
+
|
|
26
|
+
IRB.start
|
data/kyototycoon.gemspec
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{kyototycoon}
|
|
8
|
-
s.version = "0.5.
|
|
8
|
+
s.version = "0.5.4"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["uu59"]
|
|
12
|
-
s.date = %q{2011-
|
|
12
|
+
s.date = %q{2011-06-29}
|
|
13
|
+
s.default_executable = %q{kyototycoon-console}
|
|
13
14
|
s.description = %q{KyotoTycoon client for Ruby}
|
|
14
|
-
s.email = %q{
|
|
15
|
+
s.email = %q{k@uu59.org}
|
|
16
|
+
s.executables = ["kyototycoon-console"]
|
|
15
17
|
s.extra_rdoc_files = [
|
|
16
18
|
"README.markdown"
|
|
17
19
|
]
|
|
@@ -28,6 +30,7 @@ Gem::Specification.new do |s|
|
|
|
28
30
|
"benchmark/getset.rb",
|
|
29
31
|
"benchmark/getset_while_1sec.rb",
|
|
30
32
|
"benchmark/helper.rb",
|
|
33
|
+
"bin/kyototycoon-console",
|
|
31
34
|
"kyototycoon.gemspec",
|
|
32
35
|
"lib/kyototycoon.rb",
|
|
33
36
|
"lib/kyototycoon/serializer.rb",
|
|
@@ -42,14 +45,13 @@ Gem::Specification.new do |s|
|
|
|
42
45
|
s.homepage = %q{http://github.com/uu59/kyototycoon-ruby}
|
|
43
46
|
s.licenses = ["MIT"]
|
|
44
47
|
s.require_paths = ["lib"]
|
|
45
|
-
s.rubygems_version = %q{1.
|
|
48
|
+
s.rubygems_version = %q{1.6.2}
|
|
46
49
|
s.summary = %q{KyotoTycoon client for Ruby}
|
|
47
50
|
s.test_files = [
|
|
48
51
|
"spec/helper.rb"
|
|
49
52
|
]
|
|
50
53
|
|
|
51
54
|
if s.respond_to? :specification_version then
|
|
52
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
53
55
|
s.specification_version = 3
|
|
54
56
|
|
|
55
57
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
metadata
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kyototycoon
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
prerelease:
|
|
5
|
-
|
|
6
|
-
- 0
|
|
7
|
-
- 5
|
|
8
|
-
- 3
|
|
9
|
-
version: 0.5.3
|
|
4
|
+
prerelease:
|
|
5
|
+
version: 0.5.4
|
|
10
6
|
platform: ruby
|
|
11
7
|
authors:
|
|
12
8
|
- uu59
|
|
@@ -14,8 +10,8 @@ autorequire:
|
|
|
14
10
|
bindir: bin
|
|
15
11
|
cert_chain: []
|
|
16
12
|
|
|
17
|
-
date: 2011-
|
|
18
|
-
default_executable:
|
|
13
|
+
date: 2011-06-29 00:00:00 +10:00
|
|
14
|
+
default_executable: kyototycoon-console
|
|
19
15
|
dependencies:
|
|
20
16
|
- !ruby/object:Gem::Dependency
|
|
21
17
|
name: rspec
|
|
@@ -25,10 +21,6 @@ dependencies:
|
|
|
25
21
|
requirements:
|
|
26
22
|
- - ~>
|
|
27
23
|
- !ruby/object:Gem::Version
|
|
28
|
-
segments:
|
|
29
|
-
- 2
|
|
30
|
-
- 1
|
|
31
|
-
- 0
|
|
32
24
|
version: 2.1.0
|
|
33
25
|
type: :development
|
|
34
26
|
version_requirements: *id001
|
|
@@ -40,10 +32,6 @@ dependencies:
|
|
|
40
32
|
requirements:
|
|
41
33
|
- - ~>
|
|
42
34
|
- !ruby/object:Gem::Version
|
|
43
|
-
segments:
|
|
44
|
-
- 1
|
|
45
|
-
- 0
|
|
46
|
-
- 0
|
|
47
35
|
version: 1.0.0
|
|
48
36
|
type: :development
|
|
49
37
|
version_requirements: *id002
|
|
@@ -55,10 +43,6 @@ dependencies:
|
|
|
55
43
|
requirements:
|
|
56
44
|
- - ~>
|
|
57
45
|
- !ruby/object:Gem::Version
|
|
58
|
-
segments:
|
|
59
|
-
- 1
|
|
60
|
-
- 5
|
|
61
|
-
- 1
|
|
62
46
|
version: 1.5.1
|
|
63
47
|
type: :development
|
|
64
48
|
version_requirements: *id003
|
|
@@ -70,8 +54,6 @@ dependencies:
|
|
|
70
54
|
requirements:
|
|
71
55
|
- - ">="
|
|
72
56
|
- !ruby/object:Gem::Version
|
|
73
|
-
segments:
|
|
74
|
-
- 0
|
|
75
57
|
version: "0"
|
|
76
58
|
type: :development
|
|
77
59
|
version_requirements: *id004
|
|
@@ -83,15 +65,13 @@ dependencies:
|
|
|
83
65
|
requirements:
|
|
84
66
|
- - ">="
|
|
85
67
|
- !ruby/object:Gem::Version
|
|
86
|
-
segments:
|
|
87
|
-
- 0
|
|
88
68
|
version: "0"
|
|
89
69
|
type: :development
|
|
90
70
|
version_requirements: *id005
|
|
91
71
|
description: KyotoTycoon client for Ruby
|
|
92
|
-
email:
|
|
93
|
-
executables:
|
|
94
|
-
|
|
72
|
+
email: k@uu59.org
|
|
73
|
+
executables:
|
|
74
|
+
- kyototycoon-console
|
|
95
75
|
extensions: []
|
|
96
76
|
|
|
97
77
|
extra_rdoc_files:
|
|
@@ -109,6 +89,7 @@ files:
|
|
|
109
89
|
- benchmark/getset.rb
|
|
110
90
|
- benchmark/getset_while_1sec.rb
|
|
111
91
|
- benchmark/helper.rb
|
|
92
|
+
- bin/kyototycoon-console
|
|
112
93
|
- kyototycoon.gemspec
|
|
113
94
|
- lib/kyototycoon.rb
|
|
114
95
|
- lib/kyototycoon/serializer.rb
|
|
@@ -133,21 +114,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
133
114
|
requirements:
|
|
134
115
|
- - ">="
|
|
135
116
|
- !ruby/object:Gem::Version
|
|
136
|
-
segments:
|
|
137
|
-
- 0
|
|
138
117
|
version: "0"
|
|
139
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
119
|
none: false
|
|
141
120
|
requirements:
|
|
142
121
|
- - ">="
|
|
143
122
|
- !ruby/object:Gem::Version
|
|
144
|
-
segments:
|
|
145
|
-
- 0
|
|
146
123
|
version: "0"
|
|
147
124
|
requirements: []
|
|
148
125
|
|
|
149
126
|
rubyforge_project:
|
|
150
|
-
rubygems_version: 1.
|
|
127
|
+
rubygems_version: 1.6.2
|
|
151
128
|
signing_key:
|
|
152
129
|
specification_version: 3
|
|
153
130
|
summary: KyotoTycoon client for Ruby
|