borium 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +8 -8
  2. data/VERSION +1 -1
  3. data/bin/borium +2 -2
  4. data/borium.gemspec +64 -0
  5. metadata +2 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- N2VlNWI2YzExMDA2NWVmODJmYzdiMTZmM2VkNjRhYzA5OWI3YmFkYg==
4
+ NDg5MTZhMjAwOWU4NDJhNDM1YTM4YjUyMWU2N2ZhYThlZDgxNDMyZA==
5
5
  data.tar.gz: !binary |-
6
- NjJjYWVhZmYxYmI0MGM0YzMzOTI0OWFmYTVlMGE1MWFkY2UyYWI2Mg==
6
+ ZmM0ZDg5N2ZhNWYxYjI3YjAyNjA2ZWNlMGQ2NTEzOWNmZjY1NGFiNA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDVmY2NmZmViNmYxMTk0YWEzZjA5NTUxY2Y4N2ViMjI4MTk5ZTY1N2FjMjEx
10
- NmQ4ODUxZTRlNTE3OTA5MzYzMjkwNjE5OWU2NTYxMWQ2YjJjNGM1YmRlMDEw
11
- YjYzZWU4M2IyOGMwNjM1ZWJlYWFiNWFkNWQwY2MzZjZhMjg1MjU=
9
+ YWY5NmI2Y2U2YjU5YzkzYTBlNThiYjM1MGQ1N2MwMmJjNmZlNmUwN2M4MGJi
10
+ NjZiNjhkNjFmYzY4OGViOGNlOWU4OTM1YzE2ZThkNTU5Yjk0YWY3YzU1N2Qz
11
+ ZmMyNWZjMmE0NmE2MmM5OGVjZDc5YWE4Y2I3OTg2YjQ1MTQ0MjY=
12
12
  data.tar.gz: !binary |-
13
- YTMxYjY2NjU3ZDhlNjAxMzk2NzYzMGY1MjUzNGM5ZTAyMDZlZWY5YmRiYzA4
14
- YzE2ZWZiZWViZDAwMjJhMmFjNjMzOWM5YzBkMTRmMzUxYjYzZmQ5MzM3ZTRl
15
- MmUzMzA4NTZhMGQwMjNiODEwZDlhY2M3OTQzYTk2ZGQwYzQ5ZjQ=
13
+ MGE4MGY2MGEyNzdiOWVkODcyNmJlOTg5NjIxOTI2MDliN2NlZjY3ZGVhNzQ5
14
+ MzUzYjIwNTQzZTQ2ZjYzZDU3YzliNmJhMmYxMjZkMTFkZWU4MGYyNWE3YzRl
15
+ ZDQ5MjdkMzM3ZGU3MGUzYjMyNjY2MWUxMDAxNTUyNzM0YjBjYWM=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.0
1
+ 0.0.1
data/bin/borium CHANGED
@@ -100,10 +100,10 @@ loop do
100
100
  response[:status] = app[:status][:unparsable]
101
101
  begin
102
102
  client.puts response.to_json
103
+ client.close
103
104
  rescue => e
104
105
  logger.warn 'Client closed the connection.'
105
106
  end
106
- client.close
107
107
  logger.error "wrong request: #{chunks.inspect}"
108
108
  next
109
109
  end
@@ -139,10 +139,10 @@ loop do
139
139
  result = response.to_json
140
140
  begin
141
141
  client.puts(result)
142
+ client.close
142
143
  rescue => e
143
144
  logger.warn 'Client closed the connection.'
144
145
  end
145
- client.close
146
146
  if response[:status] == app[:status][:nothing]
147
147
  app[:nothing_counter] += 1
148
148
  if app[:nothing_counter] > 5000
data/borium.gemspec ADDED
@@ -0,0 +1,64 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+ # stub: borium 0.0.1 ruby lib
6
+
7
+ Gem::Specification.new do |s|
8
+ s.name = "borium"
9
+ s.version = "0.0.1"
10
+
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib"]
13
+ s.authors = ["kazuyoshi tlacaelel"]
14
+ s.date = "2014-05-26"
15
+ s.description = "Borium is a distributed super-queue engine, capable of storing many different kinds of queues (fifo)."
16
+ s.email = "kazu.dev@gmail.com"
17
+ s.executables = ["borium", "borium"]
18
+ s.extra_rdoc_files = [
19
+ "LICENSE.txt",
20
+ "README.rdoc"
21
+ ]
22
+ s.files = [
23
+ ".document",
24
+ ".ruby-gemset",
25
+ ".ruby-version",
26
+ "Gemfile",
27
+ "Gemfile.lock",
28
+ "LICENSE.txt",
29
+ "README.rdoc",
30
+ "Rakefile",
31
+ "VERSION",
32
+ "bin/borium",
33
+ "borium.gemspec",
34
+ "lib/borium.rb",
35
+ "test/helper.rb",
36
+ "test/test_borium.rb"
37
+ ]
38
+ s.homepage = "http://github.com/freshout-dev/borium"
39
+ s.licenses = ["MIT"]
40
+ s.rubygems_version = "2.2.2"
41
+ s.summary = "Borium - Distributed background engine."
42
+
43
+ if s.respond_to? :specification_version then
44
+ s.specification_version = 4
45
+
46
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
47
+ s.add_runtime_dependency(%q<tokyocabinet>, ["= 1.29.1"])
48
+ s.add_runtime_dependency(%q<json>, ["= 1.8.1"])
49
+ s.add_development_dependency(%q<bundler>, ["= 1.6.2"])
50
+ s.add_development_dependency(%q<jeweler>, ["= 2.0.1"])
51
+ else
52
+ s.add_dependency(%q<tokyocabinet>, ["= 1.29.1"])
53
+ s.add_dependency(%q<json>, ["= 1.8.1"])
54
+ s.add_dependency(%q<bundler>, ["= 1.6.2"])
55
+ s.add_dependency(%q<jeweler>, ["= 2.0.1"])
56
+ end
57
+ else
58
+ s.add_dependency(%q<tokyocabinet>, ["= 1.29.1"])
59
+ s.add_dependency(%q<json>, ["= 1.8.1"])
60
+ s.add_dependency(%q<bundler>, ["= 1.6.2"])
61
+ s.add_dependency(%q<jeweler>, ["= 2.0.1"])
62
+ end
63
+ end
64
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: borium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - kazuyoshi tlacaelel
@@ -86,6 +86,7 @@ files:
86
86
  - Rakefile
87
87
  - VERSION
88
88
  - bin/borium
89
+ - borium.gemspec
89
90
  - lib/borium.rb
90
91
  - test/helper.rb
91
92
  - test/test_borium.rb