clickclient 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -2
- data/lib/clickclient/common.rb +2 -2
- data/lib/clickclient/version.rb +1 -1
- data/test/alltests.rb +2 -2
- data/test/connect_test_fx.rb +10 -2
- metadata +53 -46
data/History.txt
CHANGED
data/lib/clickclient/common.rb
CHANGED
@@ -9,7 +9,7 @@ require 'date'
|
|
9
9
|
#
|
10
10
|
#=== クリック証券アクセスクライアント
|
11
11
|
#
|
12
|
-
#*Version*:: 0.0.
|
12
|
+
#*Version*:: 0.0.2
|
13
13
|
#*License*:: Ruby ライセンスに準拠
|
14
14
|
#
|
15
15
|
#クリック証券Webサービスを利用するためのクライアントライブラリです。以下の機能を提供します。
|
@@ -44,7 +44,7 @@ module ClickClient
|
|
44
44
|
class Client
|
45
45
|
|
46
46
|
# ホスト名
|
47
|
-
DEFAULT_HOST_NAME = "https://sec-sso.
|
47
|
+
DEFAULT_HOST_NAME = "https://sec-sso.click-sec.com"
|
48
48
|
|
49
49
|
#
|
50
50
|
#===コンストラクタ
|
data/lib/clickclient/version.rb
CHANGED
data/test/alltests.rb
CHANGED
data/test/connect_test_fx.rb
CHANGED
@@ -80,13 +80,21 @@ class ClickClient_FxTest < RUNIT::TestCase
|
|
80
80
|
now = DateTime.now
|
81
81
|
|
82
82
|
# 範囲指定のみ
|
83
|
-
|
83
|
+
begin
|
84
|
+
list = fx.list_execution_results now - 100, now
|
85
|
+
rescue
|
86
|
+
puts $! # 約定履歴がないとエラーになるので
|
87
|
+
end
|
84
88
|
list.each {|execution_result|
|
85
89
|
assert_valid_execution_result( execution_result )
|
86
90
|
}
|
87
91
|
|
88
92
|
# 範囲指定、種別、通貨ペアコードを指定
|
89
|
-
|
93
|
+
begin
|
94
|
+
list = fx.list_execution_results now - 100, now, ClickClient::FX::TRADE_TYPE_SETTLEMENT, ClickClient::FX::ZARJPY
|
95
|
+
rescue
|
96
|
+
puts $! # 約定履歴がないとエラーになるので
|
97
|
+
end
|
90
98
|
list.each {|execution_result|
|
91
99
|
assert_valid_execution_result( execution_result )
|
92
100
|
}
|
metadata
CHANGED
@@ -1,33 +1,36 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.4
|
3
|
-
specification_version: 1
|
4
2
|
name: clickclient
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0.
|
7
|
-
|
8
|
-
summary: CLICK Securities Web Service Client For Ruby.
|
9
|
-
require_paths:
|
10
|
-
- lib
|
11
|
-
email: masaya.yamauchi@gmail.com
|
12
|
-
homepage: http://clickclient.rubyforge.org
|
13
|
-
rubyforge_project: clickclient
|
14
|
-
description: CLICK Securities Web Service Client For Ruby.
|
15
|
-
autorequire:
|
16
|
-
default_executable:
|
17
|
-
bindir: bin
|
18
|
-
has_rdoc: true
|
19
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 0.0.0
|
24
|
-
version:
|
25
|
-
platform: ruby
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
|
-
post_install_message:
|
4
|
+
version: 0.0.2
|
5
|
+
platform: ""
|
29
6
|
authors:
|
30
7
|
- masaya yamauchi
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-03-30 00:00:00 +09:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: httpclient
|
17
|
+
version_requirement:
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.1.2
|
23
|
+
version:
|
24
|
+
description: CLICK Securities Web Service Client For Ruby.
|
25
|
+
email: masaya.yamauchi@gmail.com
|
26
|
+
executables: []
|
27
|
+
|
28
|
+
extensions: []
|
29
|
+
|
30
|
+
extra_rdoc_files:
|
31
|
+
- History.txt
|
32
|
+
- License.txt
|
33
|
+
- README.txt
|
31
34
|
files:
|
32
35
|
- History.txt
|
33
36
|
- License.txt
|
@@ -41,29 +44,33 @@ files:
|
|
41
44
|
- test/connect_test_fx.rb
|
42
45
|
- test/test_base.rb
|
43
46
|
- example/example_use_localserver.rb
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
+
has_rdoc: true
|
48
|
+
homepage: http://clickclient.rubyforge.org
|
49
|
+
post_install_message:
|
47
50
|
rdoc_options:
|
48
51
|
- --main
|
49
52
|
- README.txt
|
50
|
-
|
51
|
-
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
53
|
+
require_paths:
|
54
|
+
- lib
|
55
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: "0"
|
60
|
+
version:
|
61
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
62
|
+
requirements:
|
63
|
+
- - ">="
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: "0"
|
66
|
+
version:
|
58
67
|
requirements: []
|
59
68
|
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
version: 2.1.2
|
69
|
-
version:
|
69
|
+
rubyforge_project: clickclient
|
70
|
+
rubygems_version: 0.9.5
|
71
|
+
signing_key:
|
72
|
+
specification_version: 2
|
73
|
+
summary: CLICK Securities Web Service Client For Ruby.
|
74
|
+
test_files:
|
75
|
+
- test/test_base.rb
|
76
|
+
- test/test_helper.rb
|