roma-client 0.4.1 → 0.4.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9bf98250d1cdace281868bb804e5b6ff0f8967ba
4
+ data.tar.gz: b509fa06dc3c6e732a0f3c472c5641f93ee0dff4
5
+ SHA512:
6
+ metadata.gz: 6df5d76cfb1a9ff408fc930a0b33b883a558a8da3764cb483914430cf064cb08d95b39c9312fb87adad1359578f9f9d3c4ef42dd2c01324c4c382f5345bad3cc
7
+ data.tar.gz: de2c9ed944175faa9db14b203840f9ac9f406ad202befa783a9c0338ad49c9faddbe89d0d46e4f2e36c5a6ef8ce1106a05dd9f950b54cdd623592804b17d5f6c
data/CHANGELOG CHANGED
@@ -1,2 +1,12 @@
1
- = 0.4.0
2
- - support ClientPool
1
+ * 0.4.2 (Mar 31 2015)
2
+
3
+ * Add gemspec and convert "should" to "expect" on rspec tests. [Hiroki Matsue] 4c7c465
4
+ * modify to reproduce environment with Gemfile [tarr1124] 2205ed7
5
+
6
+ * 0.4.1 (Feb 20 2012)
7
+
8
+ * add client plugin files. [junji torii] caa2201
9
+
10
+ * 0.4.0
11
+
12
+ * support ClientPool
data/Gemfile CHANGED
@@ -1,8 +1,3 @@
1
- source :rubygems
1
+ source 'https://rubygems.org'
2
2
 
3
- gem "rake"
4
- gem "rspec"
5
- gem "rr"
6
-
7
- # add rdoc for darkfish format
8
- gem "rdoc"
3
+ gemspec
data/Gemfile.lock CHANGED
@@ -1,20 +1,30 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ roma-client (0.4.2)
5
+
1
6
  GEM
2
- remote: http://rubygems.org/
7
+ remote: https://rubygems.org/
3
8
  specs:
4
- diff-lcs (1.1.3)
5
- json (1.6.1)
6
- rake (0.9.2.2)
7
- rdoc (3.11)
9
+ diff-lcs (1.2.5)
10
+ json (1.8.2)
11
+ rake (10.4.2)
12
+ rdoc (4.2.0)
8
13
  json (~> 1.4)
9
- rr (1.0.4)
10
- rspec (2.7.0)
11
- rspec-core (~> 2.7.0)
12
- rspec-expectations (~> 2.7.0)
13
- rspec-mocks (~> 2.7.0)
14
- rspec-core (2.7.1)
15
- rspec-expectations (2.7.0)
16
- diff-lcs (~> 1.1.2)
17
- rspec-mocks (2.7.0)
14
+ rr (1.1.2)
15
+ rspec (3.2.0)
16
+ rspec-core (~> 3.2.0)
17
+ rspec-expectations (~> 3.2.0)
18
+ rspec-mocks (~> 3.2.0)
19
+ rspec-core (3.2.2)
20
+ rspec-support (~> 3.2.0)
21
+ rspec-expectations (3.2.0)
22
+ diff-lcs (>= 1.2.0, < 2.0)
23
+ rspec-support (~> 3.2.0)
24
+ rspec-mocks (3.2.1)
25
+ diff-lcs (>= 1.2.0, < 2.0)
26
+ rspec-support (~> 3.2.0)
27
+ rspec-support (3.2.2)
18
28
 
19
29
  PLATFORMS
20
30
  ruby
@@ -22,5 +32,6 @@ PLATFORMS
22
32
  DEPENDENCIES
23
33
  rake
24
34
  rdoc
35
+ roma-client!
25
36
  rr
26
37
  rspec
data/Rakefile CHANGED
@@ -1,11 +1,4 @@
1
- # -*- coding: utf-8 -*-
2
- require 'rubygems'
3
- require 'rake'
4
- require 'rubygems/package_task'
5
-
6
- if File.exist?(File.expand_path('Gemfile', File.dirname(__FILE__)))
7
- require 'bundler/setup'
8
- end
1
+ require "bundler/gem_tasks"
9
2
 
10
3
  begin
11
4
  require 'rdoc/task'
@@ -14,33 +7,11 @@ rescue LoadError
14
7
  end
15
8
 
16
9
  RDOC_OPTIONS = [
17
- '--line-numbers',
18
- '--inline-source',
19
- "--main", "README",
20
- "-c UTF-8",
21
- ]
22
-
23
- # gem tasks
24
- PKG_FILES = FileList[
25
- '[A-Z]*',
26
- 'bin/**/*',
27
- 'lib/**/*.rb',
28
- 'test/**/*.rb',
29
- 'spec/**/*.rb',
30
- 'doc/**/*',
31
- 'examples/**/*',
32
- ]
33
-
34
- require File.expand_path(File.join("lib", "roma", "client", "version"),
35
- File.dirname(__FILE__))
36
-
37
- VER_NUM = Roma::Client::VERSION::STRING
38
-
39
- if VER_NUM =~ /([0-9.]+)$/
40
- CURRENT_VERSION = $1
41
- else
42
- CURRENT_VERSION = "0.0.0"
43
- end
10
+ '--line-numbers',
11
+ '--inline-source',
12
+ "--main", "README",
13
+ "-c UTF-8",
14
+ ]
44
15
 
45
16
  begin
46
17
  require 'rspec/core'
@@ -48,40 +19,19 @@ begin
48
19
  rescue LoadError
49
20
  puts "no rspec"
50
21
  else
22
+ require 'rspec'
51
23
  RSpec::Core::RakeTask.new(:spec) do |t|
52
24
  t.ruby_opts=""
53
- t.rcov = false
25
+ #t.rcov = false
54
26
  end
55
27
  task :default => :spec
56
28
  end
57
29
 
58
- SPEC = Gem::Specification.new do |s|
59
- s.authors = ["Muga Nishizawa", "Junji Torii"]
60
- s.name = "roma-client"
61
- s.version = CURRENT_VERSION
62
- s.summary = "ROMA client library"
63
- s.description = <<-EOF
64
- ROMA client library
65
- EOF
66
- s.files = PKG_FILES.to_a
67
-
68
- s.require_path = 'lib' # Use these for libraries.
69
-
70
- s.has_rdoc = true
71
- s.rdoc_options.concat RDOC_OPTIONS
72
- s.extra_rdoc_files = ["README", "CHANGELOG"]
73
- end
74
-
75
- package_task = Gem::PackageTask.new(SPEC) do |pkg|
76
- end
77
-
78
-
79
- Rake::RDocTask.new("doc") { |rdoc|
30
+ Rake::RDocTask.new("doc") do |rdoc|
80
31
  rdoc.rdoc_dir = 'doc'
81
32
  rdoc.title = "ROMA documents"
82
33
  rdoc.options.concat RDOC_OPTIONS
83
34
  rdoc.rdoc_files.include('lib/**/*.rb')
84
35
  rdoc.rdoc_files.include("README")
85
36
  rdoc.rdoc_files.include("CHANGELOG")
86
- }
87
-
37
+ end
@@ -35,7 +35,9 @@ module Roma
35
35
 
36
36
  # release all pool
37
37
  def self.release_all
38
- @@client_pools = {}
38
+ @@client_pools.each do |k,v|
39
+ v.release
40
+ end
39
41
  end
40
42
 
41
43
  # get RomaClient instance
@@ -13,7 +13,7 @@ module Roma #:nodoc:
13
13
 
14
14
  MINOR = 4
15
15
 
16
- TINY = 1
16
+ TINY = 2
17
17
 
18
18
  STRING = [MAJOR, MINOR, TINY].join('.')
19
19
  end
@@ -1,4 +1,3 @@
1
- # -*- coding: utf-8 -*-
2
1
  require File.expand_path(File.join('..', '..', 'spec_helper'), File.dirname(__FILE__))
3
2
 
4
3
  describe Roma::Client::ClientPool do
@@ -9,15 +8,15 @@ describe Roma::Client::ClientPool do
9
8
  context "Singleton" do
10
9
  subject { Roma::Client::ClientPool.instance(:test) }
11
10
  it {
12
- subject.class.should == Roma::Client::ClientPool
11
+ expect(subject.class).to eq(Roma::Client::ClientPool)
13
12
  }
14
13
 
15
14
  it {
16
- subject.should be_equal Roma::Client::ClientPool.instance(:test)
15
+ expect(subject).to be_equal Roma::Client::ClientPool.instance(:test)
17
16
  }
18
17
 
19
18
  it {
20
- subject.should_not be_equal Roma::Client::ClientPool.instance(:test2)
19
+ expect(subject).not_to be_equal Roma::Client::ClientPool.instance(:test2)
21
20
  }
22
21
 
23
22
  it {
@@ -30,37 +29,45 @@ describe Roma::Client::ClientPool do
30
29
 
31
30
  context "max pool size of default" do
32
31
  subject{ Roma::Client::ClientPool.instance(:test) }
33
- its(:max_pool_size) {
34
- should == 1
35
- }
32
+
33
+ describe '#max_pool_size' do
34
+ subject { super().max_pool_size }
35
+ it {
36
+ is_expected.to eq(1)
37
+ }
38
+ end
36
39
  end
37
40
 
38
41
  context "set max pool size " do
39
42
  it do
40
43
  pool = Roma::Client::ClientPool.instance(:test)
41
- pool.max_pool_size.should == 1
44
+ expect(pool.max_pool_size).to eq(1)
42
45
  pool.max_pool_size = 3
43
- pool.max_pool_size.should == 3
46
+ expect(pool.max_pool_size).to eq(3)
44
47
 
45
48
  pool2 = Roma::Client::ClientPool.instance(:test2)
46
- pool2.max_pool_size.should == 1
49
+ expect(pool2.max_pool_size).to eq(1)
47
50
  end
48
51
  end
49
52
 
50
53
  context "servers default" do
51
54
  subject { Roma::Client::ClientPool.instance(:test) }
52
- its(:servers) { should be_nil }
55
+
56
+ describe '#servers' do
57
+ subject { super().servers }
58
+ it { is_expected.to be_nil }
59
+ end
53
60
  end
54
61
 
55
62
  context "servers set" do
56
63
  it {
57
64
  pool = Roma::Client::ClientPool.instance(:test_servers_set)
58
- pool.servers.should be_nil
65
+ expect(pool.servers).to be_nil
59
66
  nodes = get_nodes
60
67
  pool.servers = nodes
61
- pool.servers.should == nodes
68
+ expect(pool.servers).to eq(nodes)
62
69
 
63
- Roma::Client::ClientPool.instance(:test_ini_nodes_set2).servers.should be_nil
70
+ expect(Roma::Client::ClientPool.instance(:test_ini_nodes_set2).servers).to be_nil
64
71
  }
65
72
  end
66
73
 
@@ -71,15 +78,15 @@ describe Roma::Client::ClientPool do
71
78
  pool
72
79
  end
73
80
 
74
- it { pending 'TODO: startup or mock roma server'}
75
- it { subject.pool_count.should == 0 }
81
+ it { skip 'TODO: startup or mock roma server'}
82
+ it { expect(subject.pool_count).to eq(0) }
76
83
  it {
77
84
  client = subject.client
78
- client.class.should == Roma::Client::RomaClient
85
+ expect(client.class).to eq(Roma::Client::RomaClient)
79
86
  subject.push_client(client)
80
- subject.pool_count.should == 1
87
+ expect(subject.pool_count).to eq(1)
81
88
  }
82
- it { pending "TODO: check nodes" }
89
+ it { skip "TODO: check nodes" }
83
90
  end
84
91
 
85
92
  context "client multi pool" do
@@ -90,21 +97,21 @@ describe Roma::Client::ClientPool do
90
97
  end
91
98
 
92
99
  it {
93
- subject.pool_count.should == 0
100
+ expect(subject.pool_count).to eq(0)
94
101
  client = subject.client
95
- client.should_not be_nil
102
+ expect(client).not_to be_nil
96
103
 
97
104
  client2 = subject.client
98
- client2.should_not be_nil
105
+ expect(client2).not_to be_nil
99
106
 
100
107
  subject.push_client(client)
101
- subject.pool_count.should == 1
108
+ expect(subject.pool_count).to eq(1)
102
109
 
103
110
  subject.push_client(client2)
104
- subject.pool_count.should == 1
111
+ expect(subject.pool_count).to eq(1)
105
112
 
106
- client.should be_equal subject.client
107
- subject.pool_count.should == 0
113
+ expect(client).to be_equal subject.client
114
+ expect(subject.pool_count).to eq(0)
108
115
  }
109
116
  end
110
117
 
@@ -115,7 +122,7 @@ describe Roma::Client::ClientPool do
115
122
  end
116
123
  end
117
124
 
118
- module TestPlugin2
125
+ module TestPlugin2
119
126
  def test_plugin2
120
127
  "test_plugin2"
121
128
  end
@@ -123,20 +130,20 @@ describe Roma::Client::ClientPool do
123
130
 
124
131
  it {
125
132
  pool = Roma::Client::ClientPool.instance(:pm_test)
126
- pool.plugin_modules.should be_nil
133
+ expect(pool.plugin_modules).to be_nil
127
134
 
128
135
  pool.add_plugin_module(TestPlugin)
129
- pool.plugin_modules.should_not be_nil
130
- pool.plugin_modules.size.should == 1
136
+ expect(pool.plugin_modules).not_to be_nil
137
+ expect(pool.plugin_modules.size).to eq(1)
131
138
  pool.plugin_modules[0] == TestPlugin
132
139
  }
133
140
 
134
141
  it {
135
142
  pool = Roma::Client::ClientPool.instance(:pms_test)
136
- pool.plugin_modules.should be_nil
143
+ expect(pool.plugin_modules).to be_nil
137
144
 
138
145
  pool.plugin_modules = [TestPlugin, TestPlugin2]
139
- pool.plugin_modules.size.should == 2
146
+ expect(pool.plugin_modules.size).to eq(2)
140
147
  pool.plugin_modules[0] == TestPlugin
141
148
  pool.plugin_modules[1] == TestPlugin2
142
149
  }
@@ -144,21 +151,21 @@ describe Roma::Client::ClientPool do
144
151
  it {
145
152
  pool = Roma::Client::ClientPool.instance(:pms_test2)
146
153
  pool.servers = get_nodes
147
- pool.plugin_modules.should be_nil
154
+ expect(pool.plugin_modules).to be_nil
148
155
 
149
156
  pool.plugin_modules = [TestPlugin, TestPlugin2]
150
157
  client = pool.client
151
- client.should_not be_nil
152
- client.test_plugin.should == "test_plugin"
153
- client.test_plugin2.should == "test_plugin2"
158
+ expect(client).not_to be_nil
159
+ expect(client.test_plugin).to eq("test_plugin")
160
+ expect(client.test_plugin2).to eq("test_plugin2")
154
161
  }
155
162
  end
156
163
 
157
164
  context "default type" do
158
165
  subject { Roma::Client::ClientPool.instance }
159
- it { should_not be_nil }
160
- it { subject.class.should == Roma::Client::ClientPool }
161
- it { subject.should be_equal Roma::Client::ClientPool.instance(:default) }
166
+ it { is_expected.not_to be_nil }
167
+ it { expect(subject.class).to eq(Roma::Client::ClientPool) }
168
+ it { expect(subject).to be_equal Roma::Client::ClientPool.instance(:default) }
162
169
  end
163
170
 
164
171
  context "support hash name" do
@@ -172,15 +179,15 @@ describe Roma::Client::ClientPool do
172
179
  pool
173
180
  }
174
181
 
175
- it { subject.default_hash_name.should == 'roma' }
182
+ it { expect(subject.default_hash_name).to eq('roma') }
176
183
  it {
177
184
  subject.default_hash_name = 'new_name'
178
- subject.default_hash_name.should == 'new_name'
179
- Roma::Client::ClientPool.instance.default_hash_name.should == 'new_name'
180
- Roma::Client::ClientPool.instance(:other).default_hash_name.should == 'roma'
185
+ expect(subject.default_hash_name).to eq('new_name')
186
+ expect(Roma::Client::ClientPool.instance.default_hash_name).to eq('new_name')
187
+ expect(Roma::Client::ClientPool.instance(:other).default_hash_name).to eq('roma')
181
188
 
182
189
  client = subject.client
183
- client.default_hash_name.should == 'new_name'
190
+ expect(client.default_hash_name).to eq('new_name')
184
191
  }
185
192
  end
186
193
 
@@ -192,13 +199,13 @@ describe Roma::Client::ClientPool do
192
199
  }
193
200
 
194
201
  it {
195
- subject.pool_count.should == 0
202
+ expect(subject.pool_count).to eq(0)
196
203
  subject.client do |client|
197
204
  end
198
205
 
199
- subject.pool_count.should == 1
200
- subject.release.should be_true
201
- subject.pool_count.should == 0
206
+ expect(subject.pool_count).to eq(1)
207
+ expect(subject.release).to be_truthy
208
+ expect(subject.pool_count).to eq(0)
202
209
  }
203
210
  end
204
211
 
@@ -215,27 +222,27 @@ describe Roma::Client::ClientPool do
215
222
  }
216
223
 
217
224
  it "use block"do
218
- subject.pool_count.should == 0
225
+ expect(subject.pool_count).to eq(0)
219
226
  subject.client do |client|
220
- client.set("test", "value").should == "STORED"
227
+ expect(client.set("test", "value")).to eq("STORED")
221
228
  end
222
- subject.pool_count.should == 1
229
+ expect(subject.pool_count).to eq(1)
223
230
  end
224
231
 
225
232
  it "raise exception in block, but pool certainly" do
226
- subject.pool_count.should == 0
233
+ expect(subject.pool_count).to eq(0)
227
234
  subject.client do |client|
228
- client.set("test", "value").should == "STORED"
235
+ expect(client.set("test", "value")).to eq("STORED")
229
236
  end
230
- subject.pool_count.should == 1
237
+ expect(subject.pool_count).to eq(1)
231
238
 
232
- lambda {
239
+ expect {
233
240
  subject.client do |client|
234
241
  raise "test error"
235
242
  end
236
- }.should raise_error RuntimeError, "test error"
243
+ }.to raise_error RuntimeError, "test error"
237
244
 
238
- subject.pool_count.should == 1
245
+ expect(subject.pool_count).to eq(1)
239
246
  end
240
247
  end
241
248
 
@@ -247,8 +254,8 @@ describe Roma::Client::ClientPool do
247
254
  pool.client do |c|
248
255
  end
249
256
 
250
- pool.pool_count.should == 1
251
- Thread.list.length.should == old_thread_count + 1
257
+ expect(pool.pool_count).to eq(1)
258
+ expect(Thread.list.length).to eq(old_thread_count + 1)
252
259
  }
253
260
 
254
261
  it {
@@ -259,8 +266,8 @@ describe Roma::Client::ClientPool do
259
266
  pool.client do |c|
260
267
  end
261
268
 
262
- pool.pool_count.should == 1
263
- Thread.list.length.should == old_thread_count
269
+ expect(pool.pool_count).to eq(1)
270
+ expect(Thread.list.length).to eq(old_thread_count)
264
271
  }
265
272
  end
266
273
 
@@ -270,18 +277,21 @@ describe Roma::Client::ClientPool do
270
277
  pool.servers = get_nodes
271
278
  pool.client do |c|
272
279
  end
273
- Roma::Client::ClientPool.instance(:release_all_1).pool_count.should == 1
280
+ expect(Roma::Client::ClientPool.instance(:release_all_1).pool_count).to eq(1)
274
281
 
275
282
  pool = Roma::Client::ClientPool.instance(:release_all_2)
276
283
  pool.servers = get_nodes
277
284
  pool.client do |c|
278
285
  end
279
- pool.pool_count.should == 1
280
- Roma::Client::ClientPool.instance(:release_all_2).pool_count.should == 1
286
+ expect(pool.pool_count).to eq(1)
287
+ expect(Roma::Client::ClientPool.instance(:release_all_2).pool_count).to eq(1)
281
288
 
282
289
  Roma::Client::ClientPool.release_all
283
- Roma::Client::ClientPool.instance(:release_all_1).pool_count.should == 0
284
- Roma::Client::ClientPool.instance(:release_all_2).pool_count.should == 0
290
+ expect(Roma::Client::ClientPool.instance(:release_all_1).pool_count).to eq(0)
291
+ expect(Roma::Client::ClientPool.instance(:release_all_2).pool_count).to eq(0)
292
+
293
+ expect(Roma::Client::ClientPool.instance(:release_all_1).servers).to eq(get_nodes)
294
+ expect(Roma::Client::ClientPool.instance(:release_all_2).servers).to eq(get_nodes)
285
295
  }
286
296
  end
287
297
  end
@@ -3,9 +3,10 @@ require File.expand_path(File.join('..', '..', 'spec_helper'), File.dirname(__FI
3
3
 
4
4
  describe Roma::Client::VERSION do
5
5
  it 'should string' do
6
- Roma::Client::VERSION::STRING.should ==
6
+ expect(Roma::Client::VERSION::STRING).to eq(
7
7
  "#{Roma::Client::VERSION::MAJOR}." +
8
8
  "#{Roma::Client::VERSION::MINOR}." +
9
9
  "#{Roma::Client::VERSION::TINY}"
10
+ )
10
11
  end
11
12
  end
metadata CHANGED
@@ -1,98 +1,135 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: roma-client
3
- version: !ruby/object:Gem::Version
4
- hash: 13
5
- prerelease:
6
- segments:
7
- - 0
8
- - 4
9
- - 1
10
- version: 0.4.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.2
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Muga Nishizawa
14
8
  - Junji Torii
15
9
  autorequire:
16
10
  bindir: bin
17
11
  cert_chain: []
18
-
19
- date: 2012-02-20 00:00:00 Z
20
- dependencies: []
21
-
22
- description: " ROMA client library\n"
12
+ date: 2015-03-31 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rake
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: '0'
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rspec
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: rr
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rdoc
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ description: ROMA client library
23
71
  email:
24
72
  executables: []
25
-
26
73
  extensions: []
27
-
28
- extra_rdoc_files:
74
+ extra_rdoc_files:
29
75
  - README
30
76
  - CHANGELOG
31
- files:
32
- - README
33
- - Rakefile
77
+ files:
34
78
  - CHANGELOG
79
+ - Gemfile
35
80
  - Gemfile.lock
36
81
  - LICENSE
37
- - Gemfile
38
- - bin/showbalance
82
+ - README
83
+ - Rakefile
39
84
  - bin/rcdaemon
40
85
  - bin/sample
86
+ - bin/showbalance
41
87
  - lib/roma-client.rb
42
- - lib/roma/client/proxy/version.rb
43
- - lib/roma/client/proxy/daemon.rb
44
- - lib/roma/client/con_pool.rb
45
- - lib/roma/client/version.rb
46
- - lib/roma/client/rlogger.rb
88
+ - lib/roma/client.rb
47
89
  - lib/roma/client/client_pool.rb
48
- - lib/roma/client/routing/routing_data.rb
49
- - lib/roma/client/sender.rb
90
+ - lib/roma/client/client_rttable.rb
91
+ - lib/roma/client/con_pool.rb
92
+ - lib/roma/client/plugin/alist.rb
50
93
  - lib/roma/client/plugin/map.rb
51
94
  - lib/roma/client/plugin/mapcount.rb
52
- - lib/roma/client/plugin/alist.rb
95
+ - lib/roma/client/proxy/daemon.rb
96
+ - lib/roma/client/proxy/version.rb
53
97
  - lib/roma/client/rclient.rb
54
- - lib/roma/client/client_rttable.rb
98
+ - lib/roma/client/rlogger.rb
99
+ - lib/roma/client/routing/routing_data.rb
100
+ - lib/roma/client/sender.rb
55
101
  - lib/roma/client/tools/showbalance.rb
56
- - lib/roma/client.rb
102
+ - lib/roma/client/version.rb
57
103
  - spec/roma/client/client_pool_spec.rb
58
104
  - spec/roma/client/version_spec.rb
59
105
  - spec/spec_helper.rb
60
- homepage:
61
- licenses: []
62
-
106
+ homepage: http://roma-kvs.org/
107
+ licenses:
108
+ - GPL-3.0
109
+ metadata: {}
63
110
  post_install_message:
64
- rdoc_options:
65
- - --line-numbers
66
- - --inline-source
67
- - --main
111
+ rdoc_options:
112
+ - "--line-numbers"
113
+ - "--inline-source"
114
+ - "--main"
68
115
  - README
69
- - -c UTF-8
70
- require_paths:
116
+ - "-c UTF-8"
117
+ require_paths:
71
118
  - lib
72
- required_ruby_version: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
119
+ required_ruby_version: !ruby/object:Gem::Requirement
120
+ requirements:
75
121
  - - ">="
76
- - !ruby/object:Gem::Version
77
- hash: 3
78
- segments:
79
- - 0
80
- version: "0"
81
- required_rubygems_version: !ruby/object:Gem::Requirement
82
- none: false
83
- requirements:
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ required_rubygems_version: !ruby/object:Gem::Requirement
125
+ requirements:
84
126
  - - ">="
85
- - !ruby/object:Gem::Version
86
- hash: 3
87
- segments:
88
- - 0
89
- version: "0"
127
+ - !ruby/object:Gem::Version
128
+ version: '0'
90
129
  requirements: []
91
-
92
130
  rubyforge_project:
93
- rubygems_version: 1.8.12
131
+ rubygems_version: 2.2.2
94
132
  signing_key:
95
- specification_version: 3
133
+ specification_version: 4
96
134
  summary: ROMA client library
97
135
  test_files: []
98
-