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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa94942c23846ec9d55697fe34a8e1c4284876ea
4
- data.tar.gz: e1f77599a798bd28afc4bbb95d98eb5c095ccf11
3
+ metadata.gz: 622a15c6b5630995ddafce667cbcbbe1dacd4111
4
+ data.tar.gz: fcb2eea0fe4637ecdde0fe712dcd3ecf240e1404
5
5
  SHA512:
6
- metadata.gz: 681576210806cc908bc49803c5dbeae28f167711027300e9be429a101dec5c5b382816350a9b160d4dd5f3ec1ecda62726ac69a814d8815ef31a8bf5e1746990
7
- data.tar.gz: 379907fe89171aaaa4a91f29e78e3b5a5b756f1ef5e0d2b0d788d6b2a7da5139490cd287523a9eb4a61489a97675c039834f65fedcab5c7fc58f8d75e44d5750
6
+ metadata.gz: 5ad30407caa0d223a4ace33eeb68225f0d9c97ac6c2dca848dfa71c825bf26d0e02135dcd3fb8bd4e2144b21f127fcd84309214e0a8dc9af8425ad41c31f92ce
7
+ data.tar.gz: ebe4c31be852255ee475969a218fdb90cf2f21aba4037bea298c0cd65d105341b237f913e7bdb2e81d0f742f476fa69869c82f1c7bfe1cc78a5c2b6996398180
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 1
3
3
  :minor: 6
4
- :patch: 5
4
+ :patch: 6
@@ -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(port=%s)...\n", dictSource )
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
@@ -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.5 ;;SEKKA-VERSION
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.5" ;;SEKKA-VERSION
1759
+ "1.6.6" ;;SEKKA-VERSION
1760
1760
  )
1761
1761
  (defun sekka-version (&optional arg)
1762
1762
  "入力モード変更"
@@ -1,4 +1,4 @@
1
1
  class SekkaVersion
2
- def self.version() "1.6.5" end
2
+ def self.version() "1.6.6" end
3
3
  def self.dictVersion() "1.6.2" end
4
4
  end
@@ -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
 
@@ -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", "= 0.7.4"
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.5
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-01-15 00:00:00.000000000 Z
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.7.4
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.7.4
54
+ version: 0.8.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: distributed-trie
57
57
  requirement: !ruby/object:Gem::Requirement