sbiclient 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/sbiclient.rb +2 -2
  2. metadata +2 -2
@@ -455,7 +455,7 @@ module SBIClient
455
455
  link = result.links.find {|l|
456
456
  l.href =~ /syoukaiTatigyoku.aspx\?.*&urikai=#{sell_or_buy}/
457
457
  }
458
- raise "position not found. position_id=#{position_id} body=#{result.body}" unless link
458
+ raise "position not found. position_id=#{position_id} body=#{result.body.toutf8}" unless link
459
459
  result = @client.click(link)
460
460
 
461
461
  # ポジション一覧
@@ -466,7 +466,7 @@ module SBIClient
466
466
  }
467
467
  link != nil
468
468
  }
469
- raise "position not found. position_id=#{position_id} body=#{result.body}" unless link
469
+ raise "position not found. position_id=#{position_id} body=#{result.body.toutf8}" unless link
470
470
  result = @client.click(link)
471
471
  form = result.forms.find{|f|
472
472
  f.name == "kessaiForm"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sbiclient
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
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: 2010-03-21 00:00:00 +09:00
12
+ date: 2010-04-14 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency