jiji 1.2.7 → 1.2.8

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/ChangeLog CHANGED
@@ -1,4 +1,10 @@
1
1
 
2
+ 2010-02-07 1.2.8
3
+ * 初回起動時に証券会社の初期設定がクリアされてしまう問題を改修。
4
+ * 「jiji setting」でプラグインロードエラーが発生した場合、詳細をコンソールに
5
+ 出力するように修正。
6
+ * 依存モジュールのバージョンを最新に更新。
7
+
2
8
  2009-12-16 1.2.7
3
9
  * clickclient_scrap のバージョンを最新に更新。
4
10
 
@@ -16,7 +16,7 @@ module JIJI
16
16
  tmp = key_to_sym(YAML.load_file(conf_file))
17
17
 
18
18
  # 証券会社アクセス関連の設定値を置換
19
- if( tmp[:securities] )
19
+ if( tmp[:securities] && tmp[:securities][:account] )
20
20
  old = tmp[:securities]
21
21
  tmp[:securities] = {
22
22
  :type=>:click_securities_demo,
@@ -40,8 +40,13 @@ module JIJI
40
40
  server_logger.info( "plugin loaded. plugin_path=#{plugin}" ) if server_logger
41
41
  @loaded << plugin
42
42
  rescue Exception
43
- server_logger.error( "plugin load failed. plugin_path=#{plugin}" ) if server_logger
44
- server_logger.error($!) if server_logger
43
+ if server_logger
44
+ server_logger.error( "plugin load failed. plugin_path=#{plugin}" )
45
+ server_logger.error($!)
46
+ else
47
+ puts "plugin load failed. plugin_path=#{plugin}"
48
+ puts ([$!.to_s] + $!.backtrace).join("\n ")
49
+ end
45
50
  end
46
51
  }
47
52
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jiji
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.7
4
+ version: 1.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masaya Yamauchi
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-16 00:00:00 +09:00
12
+ date: 2010-02-07 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -80,7 +80,7 @@ dependencies:
80
80
  requirements:
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
- version: 0.1.8
83
+ version: 0.1.9
84
84
  version:
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: sbiclient
@@ -90,7 +90,7 @@ dependencies:
90
90
  requirements:
91
91
  - - ">="
92
92
  - !ruby/object:Gem::Version
93
- version: 0.1.0
93
+ version: 0.1.1
94
94
  version:
95
95
  description:
96
96
  email: y-masaya@red.hot.co.jp