unageanu-jiji 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/lib/jiji/operator.rb CHANGED
@@ -337,8 +337,13 @@ module JIJI
337
337
  end
338
338
  super(position)
339
339
  end
340
-
341
- attr :trade_enable, true
340
+
341
+ def trade_enable=(value)
342
+ @trade_enable = value && conf.get([:system,:trade_enable], true)
343
+ end
344
+ def trade_enable
345
+ return @trade_enable
346
+ end
342
347
  end
343
348
 
344
349
  # 各エージェントに設定されるオペレータ。
data/lib/jiji_plugin.rb CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
- require 'jiji/plugin/embedded/click_securities_demo_plugin'
3
-
4
- JIJI::Plugin.register(
5
- JIJI::Plugin::SecuritiesPlugin::FUTURE_NAME,
6
- JIJI::Plugin::ClickSecuritiesDemoPlugin.new )
2
+ #require 'jiji/plugin/embedded/click_securities_demo_plugin'
3
+ #
4
+ #JIJI::Plugin.register(
5
+ # JIJI::Plugin::SecuritiesPlugin::FUTURE_NAME,
6
+ # JIJI::Plugin::ClickSecuritiesDemoPlugin.new )
data/test/all_tests.rb CHANGED
@@ -32,5 +32,5 @@ require 'migration/test_Migrator1_0_3'
32
32
  require 'migration/test_Migrator1_1_0'
33
33
 
34
34
  require 'plugin/test_Loader'
35
- require 'plugin/embedded/test_SingleClickClient'
35
+ #require 'plugin/embedded/test_SingleClickClient'
36
36
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unageanu-jiji
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masaya Yamauchi
@@ -12,16 +12,6 @@ cert_chain: []
12
12
  date: 2009-05-16 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: clickclient
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - "="
22
- - !ruby/object:Gem::Version
23
- version: 0.0.2
24
- version:
25
15
  - !ruby/object:Gem::Dependency
26
16
  name: unageanu-clickclient_scrap
27
17
  type: :runtime
@@ -685,6 +675,7 @@ files:
685
675
  - test/util/test_SynchronizeInterceptor.rb
686
676
  has_rdoc: true
687
677
  homepage: http://github.com/unageanu/jiji/tree/master
678
+ licenses:
688
679
  post_install_message:
689
680
  rdoc_options:
690
681
  - --main
@@ -705,7 +696,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
705
696
  requirements: []
706
697
 
707
698
  rubyforge_project:
708
- rubygems_version: 1.2.0
699
+ rubygems_version: 1.3.5
709
700
  signing_key:
710
701
  specification_version: 2
711
702
  summary: open and free fx auto trade system.