sekka 1.6.5 → 1.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION.yml +1 -1
- data/bin/sekka-server +1 -1
- data/emacs/sekka.el +2 -2
- data/lib/sekka/sekkaversion.rb +1 -1
- data/lib/sekkaserver.rb +19 -0
- data/sekka.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 622a15c6b5630995ddafce667cbcbbe1dacd4111
|
4
|
+
data.tar.gz: fcb2eea0fe4637ecdde0fe712dcd3ecf240e1404
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ad30407caa0d223a4ace33eeb68225f0d9c97ac6c2dca848dfa71c825bf26d0e02135dcd3fb8bd4e2144b21f127fcd84309214e0a8dc9af8425ad41c31f92ce
|
7
|
+
data.tar.gz: ebe4c31be852255ee475969a218fdb90cf2f21aba4037bea298c0cd65d105341b237f913e7bdb2e81d0f742f476fa69869c82f1c7bfe1cc78a5c2b6996398180
|
data/VERSION.yml
CHANGED
data/bin/sekka-server
CHANGED
@@ -93,7 +93,7 @@ def checkJisyoIsInstalled( dictType, dictSource )
|
|
93
93
|
redis.close()
|
94
94
|
ret
|
95
95
|
rescue => e
|
96
|
-
STDERR.printf( "Error: sekka-server can't connect to redis(
|
96
|
+
STDERR.printf( "Error: sekka-server can't connect to redis(hostname=%s)...\n", dictSource )
|
97
97
|
exit 1
|
98
98
|
end
|
99
99
|
end
|
data/emacs/sekka.el
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
;; Copyright (C) 2010-2014 Kiyoka Nishiyama
|
4
4
|
;;
|
5
5
|
;; Author: Kiyoka Nishiyama <kiyoka@sumibi.org>
|
6
|
-
;; Version: 1.6.
|
6
|
+
;; Version: 1.6.6 ;;SEKKA-VERSION
|
7
7
|
;; Keywords: ime, skk, japanese
|
8
8
|
;; Package-Requires: ((cl-lib "0.3") (concurrent "0.3.1") (popup "0.5.2"))
|
9
9
|
;; URL: https://github.com/kiyoka/sekka
|
@@ -1756,7 +1756,7 @@ point から行頭方向に同種の文字列が続く間を漢字変換しま
|
|
1756
1756
|
(setq default-input-method "japanese-sekka")
|
1757
1757
|
|
1758
1758
|
(defconst sekka-version
|
1759
|
-
"1.6.
|
1759
|
+
"1.6.6" ;;SEKKA-VERSION
|
1760
1760
|
)
|
1761
1761
|
(defun sekka-version (&optional arg)
|
1762
1762
|
"入力モード変更"
|
data/lib/sekka/sekkaversion.rb
CHANGED
data/lib/sekkaserver.rb
CHANGED
@@ -63,6 +63,25 @@ module SekkaServer
|
|
63
63
|
(@kvs,@initialCachesv) = @core.openSekkaJisyo( SekkaServer::Config.dictType,
|
64
64
|
SekkaServer::Config.dictSource,
|
65
65
|
SekkaServer::Config.cacheSource )
|
66
|
+
|
67
|
+
# connection check to memcached
|
68
|
+
fail_message = "sekka-server: failt to access memcached.\n"
|
69
|
+
begin
|
70
|
+
@core.flushCacheServer(@initialCachesv)
|
71
|
+
rescue MemCache::MemCacheError
|
72
|
+
STDERR.printf(fail_message)
|
73
|
+
exit(1)
|
74
|
+
rescue Timeout
|
75
|
+
STDERR.printf(fail_message)
|
76
|
+
exit(1)
|
77
|
+
rescue SocketError
|
78
|
+
STDERR.printf(fail_message)
|
79
|
+
exit(1)
|
80
|
+
rescue Errno::ECONNREFUSED
|
81
|
+
STDERR.printf(fail_message)
|
82
|
+
exit(1)
|
83
|
+
end
|
84
|
+
|
66
85
|
@cachesv = @initialCachesv
|
67
86
|
@downTime = DateTime.now
|
68
87
|
|
data/sekka.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
spec.add_dependency "eventmachine", "~> 1.0"
|
21
21
|
spec.add_dependency "memcache-client", "~> 1.8"
|
22
|
-
spec.add_dependency "nendo", "
|
22
|
+
spec.add_dependency "nendo", "~> 0.8.0"
|
23
23
|
spec.add_dependency "distributed-trie", "= 0.8.0"
|
24
24
|
spec.add_dependency "rack", "~> 1.5"
|
25
25
|
spec.add_dependency "ruby-progressbar", "~> 1.4"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sekka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kiyoka Nishiyama
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eventmachine
|
@@ -42,16 +42,16 @@ dependencies:
|
|
42
42
|
name: nendo
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.8.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.8.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: distributed-trie
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|